diff --git a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/contractManagement/purchaseManagement/domain/vo/XzdPurchaseContractInformationVo.java b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/contractManagement/purchaseManagement/domain/vo/XzdPurchaseContractInformationVo.java index a2d23a68..106a02e4 100644 --- a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/contractManagement/purchaseManagement/domain/vo/XzdPurchaseContractInformationVo.java +++ b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/contractManagement/purchaseManagement/domain/vo/XzdPurchaseContractInformationVo.java @@ -239,7 +239,6 @@ public class XzdPurchaseContractInformationVo implements Serializable { * 其他收入合同项目名称 */ @ExcelProperty(value = "其他收入合同项目名称") - @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "otherIncomeContractProject") private String otherIncomeContractProjectName; /** diff --git a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdCorrespondentListImp.java b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdCorrespondentListImp.java index 63325eb9..d6cc0978 100644 --- a/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdCorrespondentListImp.java +++ b/xinnengyuan/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/xzd/service/impl/XzdCorrespondentListImp.java @@ -134,7 +134,7 @@ public class XzdCorrespondentListImp implements IXzdCorrespondentList { xzdCustomertypeInfoService.saveBatch(collect); for (XzdCustomertypeInfo customertypeInfo : collect) { - if (customertypeInfo.getPrimaryClass() == "1"){ + if (customertypeInfo.getPrimaryClass().equals("1")){ XzdCustomertype xzdCustomertype = iXzdCustomertypeService.getBaseMapper().selectById(customertypeInfo.getCustomertypeId()); if (xzdCustomertype != null){ customertype = xzdCustomertype.getCustomerType(); @@ -353,7 +353,7 @@ public class XzdCorrespondentListImp implements IXzdCorrespondentList { }).collect(Collectors.toList()); xzdCustomertypeInfoService.saveBatch(collect); for (XzdCustomertypeInfo customertypeInfo : collect) { - if (customertypeInfo.getPrimaryClass() == "1"){ + if (customertypeInfo.getPrimaryClass().equals("1")){ XzdCustomertype xzdCustomertype = iXzdCustomertypeService.getBaseMapper().selectById(customertypeInfo.getCustomertypeId()); if (xzdCustomertype != null){ customertype = xzdCustomertype.getCustomerType();