Quellcode durchsuchen

外部订单 表单校验

785834757 vor 2 Jahren
Ursprung
Commit
79b7dd7ac2

+ 6 - 0
src/main/java/com/ydtech/modules/order/service/impl/InsAreaCompanyServiceImpl.java

@@ -472,6 +472,12 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
                 throw new SystemException("非车险总比例不能为空");
             }
         }
+        if(quoteVo.getTaxamount() ==  null){
+            throw new SystemException("请填写车船税");
+        }
+        if(quoteVo.getSignDate() == null){
+            throw new SystemException("请选择签单日期");
+        }
     }
 
     @Override