| | |
| | | /** |
| | | * 轮换计划同步 |
| | | * |
| | | * @author chen |
| | | * @author czt |
| | | * @date 2023-05-14 19:51 |
| | | */ |
| | | @Slf4j |
| | |
| | | apiLog.setStatus(99); |
| | | apiLog.setId(ContextUtil.getUUID()); |
| | | try { |
| | | List<Fz35Plan> list = fzzy35Sync1403Rep.findDate("3", start, end); |
| | | List<Fz35Plan> list = fzzy35Sync1403Rep.findDateByTime(start, end); |
| | | if (null == list || list.isEmpty()) { |
| | | return; |
| | | } |
| | |
| | | List<Api1403> api1403List; |
| | | for (Fz35Plan fz35Plan : list) { |
| | | api1403 = new Api1403(); |
| | | api1403.setLhjhdh(fz35Plan.getId()); |
| | | api1403.setLhjhdh(kqdm.substring(0, 18) + fz35Plan.getId().split("_")[1] + fz35Plan.getId().split("_")[2]); |
| | | api1403.setJhwh(fz35Plan.getReferenceNumber()); |
| | | api1403.setJhmc(fz35Plan.getName()); |
| | | api1403.setJhnd(fz35Plan.getYear()); |