|
@@ -949,8 +949,11 @@ public class WMSController extends BaseRESTfulController {
|
|
@RequestParam(value = "materialCode") String materialCode,
|
|
@RequestParam(value = "materialCode") String materialCode,
|
|
@RequestParam(value = "materialSpecification") String materialSpecification,
|
|
@RequestParam(value = "materialSpecification") String materialSpecification,
|
|
@RequestParam(value = "materialModel") String materialModel,
|
|
@RequestParam(value = "materialModel") String materialModel,
|
|
- @RequestParam(value = "quantity") Integer quantity) {
|
|
|
|
- return wmsFeign.insertReserved(warehouseId,materialCode,materialSpecification,materialModel,quantity);
|
|
|
|
|
|
+ @RequestParam(value = "quantity") Integer quantity,
|
|
|
|
+ @RequestParam String actuallyWeight,
|
|
|
|
+ @RequestParam String materialTheWeight,
|
|
|
|
+ @RequestParam(value = "remark") String remark) {
|
|
|
|
+ return wmsFeign.insertReserved(warehouseId,materialCode,materialSpecification,materialModel,quantity,actuallyWeight,materialTheWeight,remark);
|
|
}
|
|
}
|
|
//修改预留转入库作业,针对预留
|
|
//修改预留转入库作业,针对预留
|
|
@PostMapping(value = "/insertInbounds")
|
|
@PostMapping(value = "/insertInbounds")
|
|
@@ -1053,5 +1056,38 @@ public class WMSController extends BaseRESTfulController {
|
|
public Map<String,Object> afterInwardOutbound(@RequestBody Map<String,Object> map){
|
|
public Map<String,Object> afterInwardOutbound(@RequestBody Map<String,Object> map){
|
|
return wmsFeign.afterInwardOutbound(map);
|
|
return wmsFeign.afterInwardOutbound(map);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @ApiOperation("获取理重信息")
|
|
|
|
+ @PostMapping("getTheoreticalByInfo")
|
|
|
|
+ public Map<String,Object> getTheoreticalByInfo(@RequestParam String warehouseId,
|
|
|
|
+ @RequestParam String materialCode,
|
|
|
|
+ @RequestParam String materialSpecification,
|
|
|
|
+ @RequestParam String materialModel,
|
|
|
|
+ @RequestParam Integer status,
|
|
|
|
+ @RequestParam Integer num){
|
|
|
|
+ return wmsFeign.getTheoreticalByInfo(warehouseId,materialCode,materialSpecification,materialModel,status,num);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation("获取上传金蝶信息")
|
|
|
|
+ @PostMapping("getInboundEasInfo")
|
|
|
|
+ public Map<String,Object> getInboundEasInfo(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer warehouseId,
|
|
|
|
+ String startTime,
|
|
|
|
+ String endTime){
|
|
|
|
+ if(mapValue == null){
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return wmsFeign.getInboundEasInfo(mapValue,apiId,pageNum,pageSize,warehouseId,startTime,endTime);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @ApiOperation("撤销上传金蝶")
|
|
|
|
+ @PostMapping("reduceInboundEas")
|
|
|
|
+ public Map<String,Object> reduceInboundEas(Integer inboundEasId){
|
|
|
|
+ return wmsFeign.reduceInboundEas(inboundEasId);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|