Commit e31a8859 authored by data-爬虫-任锋's avatar data-爬虫-任锋

vcc不校验期数

parent ab925ea5
......@@ -144,7 +144,8 @@ public class AssetServiceImpl implements IAssetService{
}
public GlobalResponse checkNewAssetForm(AssetForm assetForm) {
if (StringUtils.isEmpty(assetForm.getAmount()) || StringUtils.isEmpty(assetForm.getTerm())) {
//"8"-vcc 不校验期数
if (StringUtils.isEmpty(assetForm.getAmount()) || (StringUtils.isEmpty(assetForm.getTerm()) && !"8".equals(assetForm.getBizType()))) {
return GlobalResponse.create(AssetResponse.AMOUNT_OR_TERM_IS_EMPTY);
}
return GlobalResponse.create(AssetResponse.SUCCESS);
......@@ -368,7 +369,7 @@ public class AssetServiceImpl implements IAssetService{
/**
* 资方配置空跑
* @param testAssetForm
* @param assetForm
* @param data
*/
private void doTestExecute(AssetForm assetForm, Map<String, Object> data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment