|
|
@@ -196,8 +196,7 @@ public class IotOperationPlanJob implements JobHandler {
|
|
|
List<IotOpeationFillOrderDO> orderList1 = orderList.stream()
|
|
|
.filter(obj -> idList.contains(obj.getUserId()))
|
|
|
.collect(Collectors.toList());
|
|
|
- //插入工单主表
|
|
|
- iotOpeationFillOrderMapper.insertBatch(orderList1);
|
|
|
+
|
|
|
|
|
|
|
|
|
Set<Long> ryIdList = new HashSet<>();
|
|
|
@@ -254,6 +253,10 @@ public class IotOperationPlanJob implements JobHandler {
|
|
|
ryReportInsert(plan,distinctOrderList,ryContain);
|
|
|
|
|
|
}else{
|
|
|
+
|
|
|
+ //插入工单主表
|
|
|
+ iotOpeationFillOrderMapper.insertBatch(orderList1);
|
|
|
+
|
|
|
ryIdList = deptService.getChildDeptIdListFromCache(163L);
|
|
|
ryIdList.add(163L);
|
|
|
Set<Long> rhIdList = new HashSet<>();
|