|
|
|
@ -2919,14 +2919,16 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
} |
|
|
|
if (ItemGridPlatformHandleStatusEnum.HANDLE_PQ.getValue() == dto.getState()) { |
|
|
|
pushToCityGridService.appealDispatch(dto);//2.2 诉求派遣
|
|
|
|
pushToCityGridService.dispatchAudit(dto);//2.4 派遣审核
|
|
|
|
//pushToCityGridService.dispatchAudit(dto);//2.4 派遣审核
|
|
|
|
new DataReport().myRun(dto, "2"); |
|
|
|
} else if (ItemGridPlatformHandleStatusEnum.HANDLE_CZ.getValue() == dto.getState()) { |
|
|
|
if ("区中心".equals(dto.getGridNextpartname())) { |
|
|
|
// 诉求上报
|
|
|
|
pushToCityGridService.appealReporting(dto.getId(), NumConstant.ONE_STR); |
|
|
|
} else { |
|
|
|
pushToCityGridService.appealDispatch(dto);//2.2 诉求派遣
|
|
|
|
pushToCityGridService.dispatchAudit(dto);//2.4 派遣审核
|
|
|
|
//pushToCityGridService.dispatchAudit(dto);//2.4 派遣审核
|
|
|
|
new DataReport().myRun(dto, "2"); |
|
|
|
} |
|
|
|
} else if (ItemGridPlatformHandleStatusEnum.HANDLE_TD.getValue() == dto.getState()) { |
|
|
|
pushToCityGridService.rebut(dto);//2.8 诉求退件
|
|
|
|
@ -2956,7 +2958,29 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
|
if (ItemGridPlatformHandleStatusEnum.HANDLE_CL.getValue() == dto.getState()) { |
|
|
|
pushToCityGridService.appealHandling(dto); |
|
|
|
// 诉求审核,上报市平台
|
|
|
|
pushToCityGridService.appealAudit(dto.getId()); |
|
|
|
//pushToCityGridService.appealAudit(dto.getId());
|
|
|
|
new DataReport().myRun(dto, "2"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public class DataReport { |
|
|
|
public void myRun(ItemHandleProcessDTO dto ,String type) { |
|
|
|
new Thread(new Runnable() { |
|
|
|
@SneakyThrows |
|
|
|
@Override |
|
|
|
public void run() { |
|
|
|
try { |
|
|
|
Thread.sleep(131000); |
|
|
|
if("1".equals(type)){ |
|
|
|
pushToCityGridService.dispatchAudit(dto);//2.4 派遣审核
|
|
|
|
}else if("2".equals(type)){ |
|
|
|
pushToCityGridService.appealAudit(dto.getId()); // 诉求审核
|
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
}).start(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|