Commit 0283cec0 authored by huyuchen's avatar huyuchen

huych-含风险项目商险不购买申请提交

parent e287c1cd
......@@ -226,9 +226,8 @@ public class TInsuranceUnpurchaseApplyServiceImpl extends ServiceImpl<TInsurance
return R.ok();
} else if (CommonConstants.TWO_STRING.equals(tInsuranceUnpurchaseApply.getSaveFlag())) {
TInsuranceUnpurchaseApply apply = baseMapper.selectById(tInsuranceUnpurchaseApply.getId());
if (Common.isNotNull(apply) && (CommonConstants.TWO_STRING.equals(tInsuranceUnpurchaseApply.getStatus()) ||
CommonConstants.THREE_STRING.equals(tInsuranceUnpurchaseApply.getStatus())) ||
CommonConstants.FOUR_STRING.equals(tInsuranceUnpurchaseApply.getStatus())) {
if (Common.isNotNull(apply) && (CommonConstants.TWO_STRING.equals(apply.getStatus()) ||
CommonConstants.THREE_STRING.equals(apply.getStatus()))) {
return R.failed("当前数据已被提交!");
}
......
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