| | |
| | | |
| | | iApsWorkOrderJobService.syncPlateOrderData(); |
| | | } |
| | | |
| | | /** |
| | | * 每日同步气柜管路数据 |
| | | * */ |
| | | public void syncGasPipingData () |
| | | { |
| | | iApsWorkOrderJobService.syncGasPipingData(); |
| | | } |
| | | /** |
| | | * 每日同步所有工单数据 |
| | | * */ |
| | |
| | | currentPage++; |
| | | } |
| | | } |
| | | /** |
| | | * 每日同步所有工单数据 |
| | | * */ |
| | | public void syncAllWorkOrder() |
| | | { |
| | | |
| | | boolean continueFlag = true; |
| | | Integer currentPage = 1; |
| | | ApsWorkOrderJobParam param=new ApsWorkOrderJobParam(); |
| | | param.setPageIndex(currentPage); |
| | | param.setDocState(Arrays.asList(0,1,2,4)); |
| | | param.setPageSize(1000); |
| | | while (continueFlag){ |
| | | param.setPageIndex(currentPage); |
| | | continueFlag= iApsWorkOrderJobService.batchSaveByPager(param); |
| | | currentPage++; |
| | | } |
| | | } |
| | | /** |
| | | * 将工单工序数据同步到业务表中 |
| | | */ |