ezhizao_zx 9 月之前
父節點
當前提交
7eda972870

+ 1 - 1
Dockerfile

@@ -15,6 +15,6 @@ ADD ./jar/ezhizao_dms_sys.jar /jar
 EXPOSE 7001
 
 #  启动系统服务
-ENTRYPOINT ["java","-Xms128m","-Xmx256m","-Xmn64m","-Xss1024k","-jar","/jar/ezhizao_dms_sys.jar"]
+ENTRYPOINT ["java","-Xms1024m","-Xmx2048m","-Xmn512m","-Xss5120k","-jar","/jar/ezhizao_dms_sys.jar"]
 
 

+ 4 - 4
src/main/java/cn/ezhizao/project/business/inspectionChamber/controller/BizInspectionChamberController.java

@@ -52,7 +52,7 @@ public class BizInspectionChamberController extends BaseController
     @GetMapping("/list")
     public TableDataInfo list(BizInspectionChamber bizInspectionChamber) throws NoSuchFieldException, IllegalAccessException
     {
-        setTenantId(bizInspectionChamber);
+//        setTenantId(bizInspectionChamber);
         startPage();
         List<BizInspectionChamber> list = bizInspectionChamberService.getList(bizInspectionChamber);
         List<BizWorkshopChamber> chambers = bizWorkshopChamberService.query().in("chamber_id", list.isEmpty() ? Collections.singletonList(0L) : list.stream().map(BizInspectionChamber::getId).collect(Collectors.toList())).list();
@@ -73,7 +73,7 @@ public class BizInspectionChamberController extends BaseController
     @PostMapping("/export")
     public void export(HttpServletResponse response, BizInspectionChamber bizInspectionChamber) throws NoSuchFieldException, IllegalAccessException
     {
-        setTenantId(bizInspectionChamber);
+//        setTenantId(bizInspectionChamber);
         List<BizInspectionChamber> list = bizInspectionChamberService.getList(bizInspectionChamber);
         ExcelUtil<BizInspectionChamber> util = new ExcelUtil<BizInspectionChamber>(BizInspectionChamber.class);
         util.exportExcel(response, list, "检测室配置数据");
@@ -101,7 +101,7 @@ public class BizInspectionChamberController extends BaseController
         if (bizInspectionChamberService.query().eq("chamber_name", bizInspectionChamber.getChamberName()).count() > 0) {
             return error("仪器室名称不可重复");
         }
-        setTenantId(bizInspectionChamber);
+//        setTenantId(bizInspectionChamber);
         return toAjax(bizInspectionChamberService.save(bizInspectionChamber, bizInspectionChamber.getWorkShopIds()));
     }
 
@@ -117,7 +117,7 @@ public class BizInspectionChamberController extends BaseController
         if (bizInspectionChamberService.query().eq("chamber_name", bizInspectionChamber.getChamberName()).ne("id", bizInspectionChamber.getId()).count() > 0) {
             return error("仪器室名称不可重复");
         }
-        setTenantId(bizInspectionChamber);
+//        setTenantId(bizInspectionChamber);
         return toAjax(bizInspectionChamberService.updateById(bizInspectionChamber, bizInspectionChamber.getWorkShopIds()));
     }