|
|
|
|
@ -7,11 +7,9 @@ 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.pojo.entity.StUserRight; |
|
|
|
|
import org.springblade.wms.pojo.vo.GraphiteStockKitVO; |
|
|
|
|
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.springblade.wms.service.*; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
@ -41,6 +39,8 @@ public class WmsTaskClientImpl implements WmsTaskClient{ |
|
|
|
|
|
|
|
|
|
private final IStGraphiteMoldOutService stGraphiteMoldOutService; |
|
|
|
|
|
|
|
|
|
private final IStUserRightService stUserRightService; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean executeGoodsStatusUpdate() { |
|
|
|
|
stGoodsExtService.executeGoodsStatusUpdate(); |
|
|
|
|
@ -67,4 +67,9 @@ public class WmsTaskClientImpl implements WmsTaskClient{ |
|
|
|
|
@RequestParam Integer isGraphite) { |
|
|
|
|
return R.data(stGraphiteMoldOutService.getStockAndKit(goodsCode, isGraphite)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public R<StUserRight> getStorekeepersByGoodsCode(@RequestParam String goodsCode) { |
|
|
|
|
return R.data(stUserRightService.getStorekeepersByMaterialCode(goodsCode)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|