瀏覽代碼

添加维护人

wks 1 年之前
父節點
當前提交
5cf210a883

+ 0 - 13
src/main/java/com/ydtech/modules/fnc/entity/InsPlyIncome.java

@@ -480,19 +480,6 @@ public class InsPlyIncome implements Serializable {
     @TableField("add_type")
     private String addType;
 
-    /**
-     * 维护人id
-     */
-    @TableField(value = "leader_id")
-    private String leaderId;
-
-    /**
-     * 维护人名称
-     */
-    @TableField(value = "leader_name")
-    private String leaderName;
-
-
     public InsPlyIncome(String orderno, String policyno, String syPolicyno, String noPolicyno, String settleno, String deptId, String deptName, String riskcode, LocalDateTime payDate, LocalDateTime signDate, String companyId, String companyName, String agreementId, String licenseno, BigDecimal taxamount, BigDecimal noTaxPremium, BigDecimal commissionFeerate, BigDecimal otherFeerate, BigDecimal commissionFeevalue, BigDecimal otherFeevalue, BigDecimal allFeeValue, BigDecimal finalFeeValue, BigDecimal doingFeeValue, LocalDateTime createTime, String voucherNumber, String contractId, String contractFileId, String handlingFeesStatus, String documentaryFeesStatus, String isNotCar, String isNotDocumentary) {
         this.orderno = orderno;
         this.policyno = policyno;

+ 1 - 12
src/main/java/com/ydtech/modules/fnc/service/impl/InsPlyIncomeServiceImpl.java

@@ -221,9 +221,6 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
         insPlyIncome.setAllFeeValue(insFeeOrderNew.getNoOtherCostsPremiums());
         insPlyIncome.setNoOtherCostsPremium(insFeeOrderNew.getNoOtherCostsPremiums());
         insPlyIncome.setNoOtherCostsProportion(insFeeOrderNew.getNoOtherCostsProportion());
-        // 维护人
-        insPlyIncome.setLeaderId(leaderId);
-        insPlyIncome.setLeaderName(leaderName);
         this.saveByCompanyId(insFeeOrderNew, insAreaCompany.getCompanyId(), insPlyIncome);
 
         this.getDeptId(insPlyIncome);
@@ -272,9 +269,7 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
         insPlyIncome.setSyEndDate(StringOperations.emptyStringToNull(insAreaCompany.getSyEndDate()));
         insPlyIncome.setNoSuperviseCostsPremiums(insFeeOrderNew.getNoSuperviseCostsPremiums());
         insPlyIncome.setNoSuperviseCostsProportion(insFeeOrderNew.getNoSuperviseCostsProportion());
-        // 维护人
-        insPlyIncome.setLeaderId(leaderId);
-        insPlyIncome.setLeaderName(leaderName);
+
         this.getDeptId(insPlyIncome);
         this.saveByCompanyId(insFeeOrderNew, insAreaCompany.getCompanyId(), insPlyIncome);
         insPlyIncome.setReceivableAmount(insFeeOrderNew.getNoSuperviseCostsPremiums());
@@ -342,9 +337,6 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
         insPlyIncome.setUserId(insFeeOrderNew.getUserId());
         insPlyIncome.setInsuredName(order.getInsuredname());
         insPlyIncome.setReceivableAmount(otherAmount);
-        // 维护人
-        insPlyIncome.setLeaderId(leaderId);
-        insPlyIncome.setLeaderName(leaderName);
         this.getDeptId(insPlyIncome);
         this.saveByCompanyId(insFeeOrderNew, insAreaCompany.getCompanyId(), insPlyIncome);
 
@@ -391,9 +383,6 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
         insPlyIncome.setSyStartDate(StringOperations.emptyStringToNull(insAreaCompany.getSyStartDate()));
         insPlyIncome.setSyEndDate(StringOperations.emptyStringToNull(insAreaCompany.getSyEndDate()));
         insPlyIncome.setReceivableAmount(handlingAmount);
-        // 维护人
-        insPlyIncome.setLeaderId(leaderId);
-        insPlyIncome.setLeaderName(leaderName);
         this.saveByCompanyId(insFeeOrderNew, insAreaCompany.getCompanyId(), insPlyIncome);
         this.getDeptId(insPlyIncome);
         baseMapper.insert(insPlyIncome);