|
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.ydtech.constants.enums.dict.FeeAuditAuditstatus;
|
|
import com.ydtech.constants.enums.dict.FeeAuditAuditstatus;
|
|
|
import com.ydtech.constants.enums.dict.agreement.ProductsType;
|
|
import com.ydtech.constants.enums.dict.agreement.ProductsType;
|
|
|
|
|
+import com.ydtech.constants.enums.dict.insurance.TrafficManagementVehicleType;
|
|
|
import com.ydtech.exception.SystemException;
|
|
import com.ydtech.exception.SystemException;
|
|
|
import com.ydtech.modules.admin.model.SysUser;
|
|
import com.ydtech.modules.admin.model.SysUser;
|
|
|
import com.ydtech.modules.admin.model.vo.SysChannelGroupPageVo;
|
|
import com.ydtech.modules.admin.model.vo.SysChannelGroupPageVo;
|
|
@@ -358,7 +359,19 @@ public class PtlAgreementProductCostsNewServiceImpl extends ServiceImpl<PtlAgree
|
|
|
desc += radioIdentifying(ptlAgreementUndwrtRulesAttr, v.get(i)) + "\n";
|
|
desc += radioIdentifying(ptlAgreementUndwrtRulesAttr, v.get(i)) + "\n";
|
|
|
}
|
|
}
|
|
|
if ("checkbox".equals(ptlAgreementUndwrtRulesAttr.getAttrType()) || "select".equals(ptlAgreementUndwrtRulesAttr.getAttrType())) {
|
|
if ("checkbox".equals(ptlAgreementUndwrtRulesAttr.getAttrType()) || "select".equals(ptlAgreementUndwrtRulesAttr.getAttrType())) {
|
|
|
- desc += ptlAgreementUndwrtRulesAttr.getAttrName() + "包含" + v.get(i).getMin() + "\n";
|
|
|
|
|
|
|
+ //车辆类型不显示代码k33 显示普通货车
|
|
|
|
|
+ if(ptlAgreementUndwrtRulesAttr.getAttrCode().equals("CarClass"))
|
|
|
|
|
+ {
|
|
|
|
|
+ String[] split = v.get(i).getMin().split(",");
|
|
|
|
|
+ desc += ptlAgreementUndwrtRulesAttr.getAttrName() + "包含";
|
|
|
|
|
+ for (String s : split) {
|
|
|
|
|
+ desc += TrafficManagementVehicleType.getDesc(s) + ",";
|
|
|
|
|
+ }
|
|
|
|
|
+ desc = desc.substring(0,desc.length()-1);
|
|
|
|
|
+ desc += "\n";
|
|
|
|
|
+ }else{
|
|
|
|
|
+ desc += ptlAgreementUndwrtRulesAttr.getAttrName() + "包含" + v.get(i).getMin() + "\n";
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if ("input".equals(ptlAgreementUndwrtRulesAttr.getAttrType())) {
|
|
if ("input".equals(ptlAgreementUndwrtRulesAttr.getAttrType())) {
|
|
|
if (ptlAgreementUndwrtRulesAttr.getAttrCode().equals("BrandandModel") || ptlAgreementUndwrtRulesAttr.getAttrCode().equals("CarOwnerName")) {
|
|
if (ptlAgreementUndwrtRulesAttr.getAttrCode().equals("BrandandModel") || ptlAgreementUndwrtRulesAttr.getAttrCode().equals("CarOwnerName")) {
|