|
|
@@ -201,7 +201,7 @@ public class IotOperationPlanJob implements JobHandler {
|
|
|
|
|
|
Set<Long> ryIdList = new HashSet<>();
|
|
|
if(plan.getIsReport()==1){
|
|
|
-
|
|
|
+ //瑞鹰
|
|
|
ryIdList = deptService.getChildDeptIdListFromCache(158L);
|
|
|
ryIdList.add(158L);
|
|
|
|
|
|
@@ -256,11 +256,11 @@ public class IotOperationPlanJob implements JobHandler {
|
|
|
|
|
|
//插入工单主表
|
|
|
iotOpeationFillOrderMapper.insertBatch(orderList1);
|
|
|
-
|
|
|
+ //瑞都
|
|
|
ryIdList = deptService.getChildDeptIdListFromCache(163L);
|
|
|
ryIdList.add(163L);
|
|
|
Set<Long> rhIdList = new HashSet<>();
|
|
|
- rhIdList = deptService.getChildDeptIdListFromCache(157L);
|
|
|
+ rhIdList = deptService.getChildDeptIdListFromCache(157L);//瑞恒
|
|
|
rhIdList.add(157L);
|
|
|
boolean exist = ryIdList.contains(plan.getDeptId());
|
|
|
if(!exist){
|
|
|
@@ -356,7 +356,7 @@ public class IotOperationPlanJob implements JobHandler {
|
|
|
private void rhReportInsert(IotOperationPlanDO plan, List<IotOpeationFillOrderDO> orderList1, boolean rhContain) {
|
|
|
if(rhContain){
|
|
|
|
|
|
- //创建日报设备
|
|
|
+ //创建瑞恒日报虚拟设备
|
|
|
List <IotOpeationFillDO> devList = opeationFillService.reportMethod(orderList1);
|
|
|
//插入日报设备
|
|
|
iotOpeationFillMapper.insertFill(devList);
|
|
|
@@ -417,4 +417,4 @@ public class IotOperationPlanJob implements JobHandler {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|