| | |
| | | i++; |
| | | continue; |
| | | } |
| | | String productionLine = ""; |
| | | switch (name.get()){ |
| | | case "炒机1": |
| | | productionLine = "产线1"; |
| | | break; |
| | | case "炒机2": |
| | | productionLine = "产线2"; |
| | | break; |
| | | case "炒机3": |
| | | productionLine = "产线3"; |
| | | break; |
| | | case "炒机4": |
| | | productionLine = "产线4"; |
| | | break; |
| | | } |
| | | SalesLedgerScheduling salesLedgerScheduling = SalesLedgerScheduling.builder() |
| | | .salesLedgerId(productionDispatchAddDto.getSalesLedgerId()) |
| | | .salesLedgerProductId(productionDispatchAddDto.getSalesLedgerProductId()) |
| | | .speculativeTradingName(name.get()) |
| | | .productionLine(productionLine) |
| | | .schedulingUserId(sysUser.getUserId()) |
| | | .schedulingUserName(sysUser.getNickName()) |
| | | .schedulingNum(productionDispatchAddDto.getSchedulingNum()) |