yumeng пре 4 година
родитељ
комит
b9469c9dfd

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/ProjectController.java

@@ -211,7 +211,7 @@ public class ProjectController {
                     supplierListQueryWrapper.last("limit 1");
                     SupplierList one = supplierListService.getOne(supplierListQueryWrapper);
                     if (!Check.isNull(one)) {
-                        project1.setSupplierName(one.getSupplierName());
+                        project1.setSupplierCode_dictText(one.getSupplierName());
                     }
                 }
 

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/entity/Project.java

@@ -105,7 +105,7 @@ public class Project {
     private String supplierCode;
 
     @TableField(exist = false)
-    private String supplierName;
+    private String supplierCode_dictText;
 
     // 销售
     @Dict(dicCode = "id", dictTable = "sys_user", dicText = "realname")