提交 daacaec8 authored 作者: 133's avatar 133

fix(维修模块): 修改了省市区看到的所在单位不同bug

修改了省市区看到的所在单位不同bug
上级 8134cc9a
...@@ -551,7 +551,7 @@ public class RepairController { ...@@ -551,7 +551,7 @@ public class RepairController {
repairDetail1.setLocationUnit(repairBill.getReceiveUnit()); repairDetail1.setLocationUnit(repairBill.getReceiveUnit());
deviceRepairDetailService.update(repairDetail1); deviceRepairDetailService.update(repairDetail1);
if (repairDetail1.getPid() != null) { if (repairDetail1.getPid() != null) {
RepairDetail repairDetail2 = deviceRepairDetailService.getOne(repairDetail.getPid()); RepairDetail repairDetail2 = deviceRepairDetailService.getOne(repairDetail1.getPid());
repairDetail2.setLocationUnit(repairBill.getReceiveUnit()); repairDetail2.setLocationUnit(repairBill.getReceiveUnit());
deviceRepairDetailService.update(repairDetail2); deviceRepairDetailService.update(repairDetail2);
} }
......
...@@ -24,5 +24,4 @@ public class CacheConfig { ...@@ -24,5 +24,4 @@ public class CacheConfig {
return new StatisticalCache(statisticalService.getDeviceNum(),statisticalService.getLifeStatus(1),statisticalService.getLifeStatus(2),statisticalService.getSelfCheck(),statisticalService.getYearSelfCheck(),statisticalService.getRfidWarning(),statisticalService.getRfidWarningDetail(1),statisticalService.getRfidWarningDetail(2),statisticalService.getCheckNum(),statisticalService.getConfirmCheck(1),statisticalService.getConfirmCheck(2),statisticalService.getUserGeneralSituation(),statisticalService.getSelfCheckStat()); return new StatisticalCache(statisticalService.getDeviceNum(),statisticalService.getLifeStatus(1),statisticalService.getLifeStatus(2),statisticalService.getSelfCheck(),statisticalService.getYearSelfCheck(),statisticalService.getRfidWarning(),statisticalService.getRfidWarningDetail(1),statisticalService.getRfidWarningDetail(2),statisticalService.getCheckNum(),statisticalService.getConfirmCheck(1),statisticalService.getConfirmCheck(2),statisticalService.getUserGeneralSituation(),statisticalService.getSelfCheckStat());
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论