Browse Source

更新1.6.0,fix null2

xiewj 1 năm trước cách đây
mục cha
commit
7fbe3da905

+ 1 - 1
720yun_fd_manage/gis_web/src/main/java/com/gis/web/controller/TestController.java

@@ -339,7 +339,7 @@ public class TestController extends BaseController {
         if (workId.equalsIgnoreCase("all")){
             List<WorkEntity> all = workService.findAll();
             for (WorkEntity workEntity : all) {
-                if (workEntity.getStatus()==1){
+                if (workEntity.getStatus()==1&&workEntity.getId().startsWith("WK")){
                     workService.fixSomeData2(workEntity.getId(),active);
                 }