|
@@ -62,12 +62,22 @@ public class WMSController extends BaseRESTfulController {
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
|
|
- @PostMapping("/insertWmspOutboundScanResult")
|
|
|
|
- public Map<String, Object> insertWmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> mapval) {
|
|
|
|
- Map<String, Object> resTfulResult = wmsFeign.insertWmspOutboundScanResult(mapval);
|
|
|
|
|
|
+ @PostMapping(value = "/deletewmspOutboundResult")
|
|
|
|
+ public Map<String,Object> deleteWmspOutboundResult(@RequestParam Integer resultId){
|
|
|
|
+ return wmsFeign.deleteWmspOutboundResult(resultId);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("/insertwmspOutboundScanResult")
|
|
|
|
+ public Map<String, Object> insertwmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> map) {
|
|
|
|
+ Map<String, Object> resTfulResult = wmsFeign.insertwmspOutboundScanResult(map);
|
|
return resTfulResult;
|
|
return resTfulResult;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @PostMapping("/outbountResultToSuccess")
|
|
|
|
+ public Map<String,Object> outbountResultToSuccess(@RequestParam Integer resultId){
|
|
|
|
+ return wmsFeign.outbountResultToSuccess(resultId);
|
|
|
|
+ }
|
|
|
|
+
|
|
@PostMapping("/updataResultStatus")
|
|
@PostMapping("/updataResultStatus")
|
|
public Map<String, Object> updataResultStatus(@RequestParam Integer resultId) {
|
|
public Map<String, Object> updataResultStatus(@RequestParam Integer resultId) {
|
|
Map<String, Object> resTfulResult = wmsFeign.updataResultStatus(resultId);
|
|
Map<String, Object> resTfulResult = wmsFeign.updataResultStatus(resultId);
|
|
@@ -490,7 +500,7 @@ public class WMSController extends BaseRESTfulController {
|
|
@ApiOperation("新增入库实绩")
|
|
@ApiOperation("新增入库实绩")
|
|
@PostMapping("/insertInboundResult")
|
|
@PostMapping("/insertInboundResult")
|
|
@Transactional
|
|
@Transactional
|
|
- public String addInvoice(@RequestBody List<Map<String, Object>> mapList) {
|
|
|
|
|
|
+ public Map<String,Object> addInvoice(@RequestBody List<Map<String, Object>> mapList) {
|
|
/*
|
|
/*
|
|
获取入库物资件数
|
|
获取入库物资件数
|
|
*/
|
|
*/
|
|
@@ -498,15 +508,15 @@ public class WMSController extends BaseRESTfulController {
|
|
/*
|
|
/*
|
|
获取入库垛位
|
|
获取入库垛位
|
|
*/
|
|
*/
|
|
- Map<String, Object> map1 = qmsFeign.getStackingId(new BigDecimal(1), size);
|
|
|
|
- String stackNo = (String) map1.get("stackNo");
|
|
|
|
- BigDecimal stackId = new BigDecimal(map1.get("stackId").toString());
|
|
|
|
- for (Map<String, Object> map : mapList
|
|
|
|
- ) {
|
|
|
|
- map.put("stackingId", stackId);
|
|
|
|
- }
|
|
|
|
- wmsFeign.insertInboundResult(mapList);
|
|
|
|
- return stackNo;
|
|
|
|
|
|
+// Map<String, Object> map1 = qmsFeign.getStackingId(new BigDecimal(1), size);
|
|
|
|
+// String stackNo = (String) map1.get("stackNo");
|
|
|
|
+// BigDecimal stackId = new BigDecimal(map1.get("stackId").toString());
|
|
|
|
+// for (Map<String, Object> map : mapList
|
|
|
|
+// ) {
|
|
|
|
+// map.put("stackingId", stackId);
|
|
|
|
+// }
|
|
|
|
+
|
|
|
|
+ return wmsFeign.insertInboundResult(mapList);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -638,4 +648,72 @@ public class WMSController extends BaseRESTfulController {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+ @PostMapping("/selectScanResultByIboundResultId")
|
|
|
|
+ @ApiOperation(value = "根据入库实绩id获得扫描实绩数据")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public RESTfulResult selectScanResultByIboundResultId(Map<String, Object> mapValue,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize) {
|
|
|
|
+ return wmsFeign.selectScanResultByIboundResultId(mapValue, apiId, pageNum, pageSize);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @PostMapping("/getIvboundMakeResultList")
|
|
|
|
+ @ApiOperation(value = "展示倒库列表")
|
|
|
|
+ @ApiImplicitParams({
|
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "372", required = false, dataType = "BigDecimal"),
|
|
|
|
+ })
|
|
|
|
+ public RESTfulResult getIvboundMakeResultList(Map<String, Object> mapValue,
|
|
|
|
+ Integer pageNum,
|
|
|
|
+ Integer pageSize,
|
|
|
|
+ Integer apiId,
|
|
|
|
+ String con) {
|
|
|
|
+ if (mapValue == null) {
|
|
|
|
+ mapValue = new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ return wmsFeign.getIvboundMakeResultList(mapValue, pageNum, pageSize, apiId, con);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 新增倒库作业
|
|
|
|
+ * @param mapValue
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/addIvboundMakeResult")
|
|
|
|
+ public Map<String,Object> addIvboundMakeResult(@RequestBody Map<String,Object> mapValue) {
|
|
|
|
+ return wmsFeign.addIvboundMakeResult(mapValue);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 逻辑删除倒库作业
|
|
|
|
+ * @param resultId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/deleteIvboundMakeResult/{resultId}")
|
|
|
|
+ public Map<String,Object> deleteIvboundMakeResult(@PathVariable("resultId") Integer resultId) {
|
|
|
|
+ return wmsFeign.deleteIvboundMakeResult(resultId);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 查询倒库作业
|
|
|
|
+ * @param resultId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/selectIvboundMakeResult/{resultId}")
|
|
|
|
+ public List<Map<String,Object>> selectIvboundMakeResult(@PathVariable("resultId") Integer resultId) {
|
|
|
|
+ return wmsFeign.selectIvboundMakeResult(resultId);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 修改倒库作业
|
|
|
|
+ * @param mapValue
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/updateIvboundMakeResult")
|
|
|
|
+ public Map<String,Object> updateIvboundMakeResult(@RequestBody Map<String,Object> mapValue) {
|
|
|
|
+ return wmsFeign.updateIvboundMakeResult(mapValue);
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|