Explorar o código

后台管理部分表字段修改

wangb %!s(int64=2) %!d(string=hai) anos
pai
achega
3afe6953dc

+ 2 - 2
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicCompanyServiceImpl.java

@@ -31,10 +31,10 @@ public class ProBasicCompanyServiceImpl extends ServiceImpl<ProBasicCompanyMappe
             qw.eq("id", id);
         }
         if (StringUtils.isNotEmpty(groupId)) {
-            qw.eq("groupId", groupId);
+            qw.eq("group_id", groupId);
         }
         if (StringUtils.isNotEmpty(regionId)) {
-            qw.eq("regionId", regionId);
+            qw.eq("region_id", regionId);
         }
 
         if (StringUtils.isNotEmpty(name)) {

+ 3 - 3
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicEquipmentServiceImpl.java

@@ -30,13 +30,13 @@ public class ProBasicEquipmentServiceImpl extends ServiceImpl<ProBasicEquipmentM
             qw.eq("id",id);
         }
         if (StringUtils.isNotEmpty(nemCode)){
-            qw.like("nemCode",nemCode);
+            qw.like("nem_code",nemCode);
         }
         if (StringUtils.isNotEmpty(companyId)) {
-            qw.eq("companyId", companyId);
+            qw.eq("company_id", companyId);
         }
         if (StringUtils.isNotEmpty(regionId)) {
-            qw.eq("regionId", regionId);
+            qw.eq("region_id", regionId);
         }
 
         if (StringUtils.isNotEmpty(windpowerstationId)){

+ 1 - 1
web/backmanagerconfig-xktj/src/main/java/com/gyee/backconfig/service/auto/impl/ProBasicRegionServiceImpl.java

@@ -38,7 +38,7 @@ public class ProBasicRegionServiceImpl extends ServiceImpl<ProBasicRegionMapper,
             qw.like("aname",aname);
         }
         if (StringUtils.isNotEmpty(nemCode)){
-            qw.like("nemCode",nemCode);
+            qw.like("nem_code",nemCode);
         }
 
         Page<ProBasicRegion> page = new Page<>(Integer.parseInt(pageNum),Integer.parseInt(pageSize));