Commit fee0eb6c authored by liwenbin's avatar liwenbin

定制化一单一身不校验期数

parent 4fbbc727
......@@ -113,7 +113,8 @@ public class AssetServiceImpl implements IAssetService{
public GlobalResponse checkNewAssetForm(AssetForm assetForm) {
//"8"-vcc 不校验期数
if (StringUtils.isEmpty(assetForm.getAmount()) || (StringUtils.isEmpty(assetForm.getTerm()) && !"8".equals(assetForm.getBizType()))) {
if (StringUtils.isEmpty(assetForm.getAmount()) || (StringUtils.isEmpty(assetForm.getTerm()) && !"8".equals(assetForm.getBizType())
&& !"101".equals(assetForm.getBizType()))) {
return GlobalResponse.create(AssetResponse.AMOUNT_OR_TERM_IS_EMPTY);
}
return GlobalResponse.create(AssetResponse.SUCCESS);
......
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