| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import com.vincent.rsf.common.domain.CommonReponse; |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.framework.exception.CoolException; |
| | | import com.vincent.rsf.server.api.config.RemotesInfoProperties; |
| | | import com.vincent.rsf.server.api.controller.erp.params.ReportParams; |
| | | import com.vincent.rsf.server.api.entity.dto.PoItemsDto; |
| | | import com.vincent.rsf.server.api.entity.params.ErpInspectItem; |
| | | import com.vincent.rsf.server.api.entity.params.ErpInspectParams; |
| | |
| | | |
| | | @Autowired |
| | | private PurchaseService purchaseService; |
| | | |
| | | @Autowired |
| | | private RemotesInfoProperties.ApiInfo apiInfo; |
| | | |
| | | @Autowired |
| | | private RestTemplate restTemplate; |
| | | @Autowired |
| | | private RemotesInfoProperties remotesInfoProperties; |
| | | |
| | | @Autowired |
| | | private AsnOrderService asnOrderService; |
| | | @Autowired |
| | | private AsnOrderItemService asnOrderItemService; |
| | | @Autowired |
| | | private RemotesInfoProperties.RcsApi rcsApi; |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @description 上报质检列表 |
| | |
| | | |
| | | if (!asnOrderItemService.update(new LambdaUpdateWrapper<WkOrderItem>().in(WkOrderItem::getId, list).set(WkOrderItem::getNtyStatus, 1))) { |
| | | throw new CoolException("ASN明细单据状态修改失败!!"); |
| | | |
| | | } |
| | | |
| | | /************************** 修改ASN主单数据 ******************************/ |
| | |
| | | throw new CoolException(reponse.getMsg()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 上报已完成订单明细 |
| | | * @author Ryan |
| | | * @date 2025/10/27 21:36 |
| | | * @param params |
| | | * @return com.vincent.rsf.framework.common.R |
| | | */ |
| | | @Override |
| | | public R reportOrders(ReportParams params) { |
| | | return null; |
| | | } |
| | | } |