| | |
| | | import com.core.common.Cools; |
| | | import com.core.common.DateUtils; |
| | | import com.core.exception.CoolException; |
| | | import com.zy.api.entity.ReportOrderParam; |
| | | import com.zy.api.service.KopenApiService; |
| | | import com.zy.asrs.entity.*; |
| | | import com.zy.asrs.enums.OrderTypeEnum; |
| | | import com.zy.asrs.service.*; |
| | |
| | | private OrderPakinService orderPakinService; |
| | | @Autowired |
| | | private OrderDetlPakinService orderDetlPakinService; |
| | | @Autowired |
| | | private KopenApiService kopenApiService; |
| | | |
| | | @Transactional |
| | | public ReturnT<String> startOrderIssuedOnceMore(Order order) { |
| | |
| | | OrderInAndOutUtil.updateOrder(order.getPakinPakoutStatus$(),order.getId(),6L,null); |
| | | return SUCCESS; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 单据上报 |
| | | * @author Ryan |
| | | * @date 2025/12/15 16:14 |
| | | * @param order |
| | | * @return com.zy.asrs.task.core.ReturnT<java.lang.String> |
| | | */ |
| | | @Transactional |
| | | public ReturnT<String> startOrderReport(Order order) { |
| | | DocType docType = docTypeService.selectById(order.getDocType()); |
| | |
| | | String response = ""; |
| | | boolean success = false; |
| | | try { |
| | | ReportOrderParam orderParam = new ReportOrderParam(); |
| | | |
| | | kopenApiService.getInDispatchResult(orderParam); |
| | | // response = new HttpHandler.Builder() |
| | | // .setUri(MesConstant.URL) |
| | | // .setPath(MesConstant.PAKIN_URL) |