|
|
|
|
@ -4,12 +4,17 @@ import io.swagger.v3.oas.annotations.Hidden; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.core.tenant.annotation.NonDS; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.wms.pojo.dto.StGraphiteMoldOutDTO; |
|
|
|
|
import org.springblade.wms.pojo.entity.StGraphiteMoldOut; |
|
|
|
|
import org.springblade.wms.service.IStBuyOrderService; |
|
|
|
|
import org.springblade.wms.service.IStGoodsExtService; |
|
|
|
|
import org.springblade.wms.service.IStGraphiteMoldOutService; |
|
|
|
|
import org.springblade.wms.service.IStOtherReceiptRecordService; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @version 1.0 |
|
|
|
|
@ -32,6 +37,8 @@ public class WmsTaskClientImpl implements WmsTaskClient{ |
|
|
|
|
|
|
|
|
|
private final IStOtherReceiptRecordService stOtherReceiptRecordService; |
|
|
|
|
|
|
|
|
|
private final IStGraphiteMoldOutService stGraphiteMoldOutService; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean executeGoodsStatusUpdate() { |
|
|
|
|
stGoodsExtService.executeGoodsStatusUpdate(); |
|
|
|
|
@ -47,4 +54,9 @@ public class WmsTaskClientImpl implements WmsTaskClient{ |
|
|
|
|
public void saveSubOrderWarehousing(String goodsCode, String batchNo, Double quantity, Long shId, Long slId, Date date, Long userId) throws Exception { |
|
|
|
|
stOtherReceiptRecordService.saveSubOrderWarehousing(goodsCode, batchNo, quantity, shId, slId, date, userId); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public R<List<StGraphiteMoldOut>> generatePreOutOrder(StGraphiteMoldOutDTO dto) { |
|
|
|
|
return R.data(stGraphiteMoldOutService.generatePreOutOrder(dto)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|