|
@@ -3,6 +3,7 @@ package com.steerinfo.dil.feign;
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
import com.steerinfo.framework.controller.RESTfulResult;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
@@ -51,13 +52,29 @@ public interface WMSFeign {
|
|
@RequestMapping(value = "/api/v1/wms/wmspoutboundresults/insertWmspOutBoundResult",method = RequestMethod.POST)
|
|
@RequestMapping(value = "/api/v1/wms/wmspoutboundresults/insertWmspOutBoundResult",method = RequestMethod.POST)
|
|
Map<String,Object> insertWmspOutBoundResult(@RequestBody(required = false) Map<String, Object> mapval);
|
|
Map<String,Object> insertWmspOutBoundResult(@RequestBody(required = false) Map<String, Object> mapval);
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 逻辑删除出库单
|
|
|
|
+ * @param resultId
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmspoutboundresults/deletewmspOutboundResult")
|
|
|
|
+ Map<String,Object> deleteWmspOutboundResult(@RequestParam Integer resultId);
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 新增出库扫描实绩
|
|
* 新增出库扫描实绩
|
|
- * @param mapval
|
|
|
|
|
|
+ * @param map
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmspoutboundresults/insertwmspOutboundScanResult")
|
|
|
|
+ Map<String,Object> insertwmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> map);
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 装卸工PDA前端点击出库
|
|
|
|
+ * @param resultId
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @PostMapping(value = "/api/v1/wms/wmspoutboundscanresults/insertWmspOutboundScanResult")
|
|
|
|
- Map<String,Object> insertWmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> mapval);
|
|
|
|
|
|
+ @PostMapping("/api/v1/wms/wmspoutboundresults/outbountResultToSuccess")
|
|
|
|
+ Map<String,Object> outbountResultToSuccess(@RequestParam Integer resultId);
|
|
|
|
|
|
/**
|
|
/**
|
|
* 更新出库状态
|
|
* 更新出库状态
|
|
@@ -190,8 +207,9 @@ public interface WMSFeign {
|
|
@RequestParam Integer pageNum,
|
|
@RequestParam Integer pageNum,
|
|
@RequestParam Integer pageSize,
|
|
@RequestParam Integer pageSize,
|
|
@RequestParam Integer warehouseid,
|
|
@RequestParam Integer warehouseid,
|
|
- @RequestParam Integer gradtionNumber,
|
|
|
|
- @RequestParam Integer stackingId);
|
|
|
|
|
|
+ @RequestParam Integer stackingId,
|
|
|
|
+ @RequestParam Integer gradtionNumber
|
|
|
|
+ );
|
|
|
|
|
|
/**
|
|
/**
|
|
* 添加倒垛单实绩
|
|
* 添加倒垛单实绩
|
|
@@ -199,7 +217,12 @@ public interface WMSFeign {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/addRestackMakeResult")
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/addRestackMakeResult")
|
|
- Map<String,Object> addRestackMakeResult(@RequestBody(required = false) Map<String,Object> mapval);
|
|
|
|
|
|
+ Map<String,Object> addRestackMakeResult(@RequestBody Map<String,Object> mapval);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @PostMapping("/api/v1/wms/wmsprestackdrivingresults/updateInstruction")
|
|
|
|
+ Map<String, Object> updateInstruction(@RequestBody Map<String, Object> map);
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -252,7 +275,7 @@ public interface WMSFeign {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackList")
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackList")
|
|
- Map<String,Object> selectRestackList(@RequestBody(required = false)
|
|
|
|
|
|
+ Map<String,Object> selectRestackList (@RequestBody(required = false) Map<String,Object> map,
|
|
@RequestParam Integer apiId,
|
|
@RequestParam Integer apiId,
|
|
@RequestParam Integer pageNum,
|
|
@RequestParam Integer pageNum,
|
|
@RequestParam Integer pageSize,
|
|
@RequestParam Integer pageSize,
|
|
@@ -287,6 +310,17 @@ public interface WMSFeign {
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackForPDA")
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackForPDA")
|
|
Map<String,Object> selectRestackForPDA(@RequestBody(required = false)Map<String,Object> map);
|
|
Map<String,Object> selectRestackForPDA(@RequestBody(required = false)Map<String,Object> map);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/getRestackInfoByResultId")
|
|
|
|
+ public RESTfulResult getRestackInfoByResultId(@RequestBody(required = false) Map<String,Object> mapVal,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
|
+ @RequestParam Integer apiId
|
|
|
|
+
|
|
|
|
+ );
|
|
/**
|
|
/**
|
|
* PDA根据实绩id查找物资信息
|
|
* PDA根据实绩id查找物资信息
|
|
* @param map
|
|
* @param map
|
|
@@ -308,6 +342,12 @@ public interface WMSFeign {
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackscanresults/ScanTagResult")
|
|
@PostMapping(value = "/api/v1/wms/wmsprestackscanresults/ScanTagResult")
|
|
Map<String,Object> ScanTagResult(@RequestBody(required = false)Map<String,Object> mal);
|
|
Map<String,Object> ScanTagResult(@RequestBody(required = false)Map<String,Object> mal);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/inboundScanResult/getScanResult")
|
|
|
|
+ Map<String,Object> getScanResult(@RequestBody Map<String,Object> map);
|
|
/**
|
|
/**
|
|
* 库管员下发倒垛单
|
|
* 库管员下发倒垛单
|
|
* @param mapList
|
|
* @param mapList
|
|
@@ -323,12 +363,30 @@ public interface WMSFeign {
|
|
* @param pageSize
|
|
* @param pageSize
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/api/v1/wms/inboundResult/getWmsReboundResult",method = RequestMethod.POST)
|
|
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/reboundResult/getWmsReboundResult",method = RequestMethod.POST)
|
|
RESTfulResult getWmsReboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
RESTfulResult getWmsReboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
@RequestParam Integer apiId,
|
|
@RequestParam Integer apiId,
|
|
@RequestParam Integer pageNum,
|
|
@RequestParam Integer pageNum,
|
|
@RequestParam Integer pageSize);
|
|
@RequestParam Integer pageSize);
|
|
|
|
|
|
|
|
+
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/inboundResult/selectScanResultByIboundResultId",method = RequestMethod.POST)
|
|
|
|
+ RESTfulResult selectScanResultByIboundResultId(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ @RequestParam Integer apiId,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
|
+ @RequestParam Integer inboundId);
|
|
|
|
+ //根据物资信息查找暂存的垛位
|
|
|
|
+ @PostMapping("/api/v1/wms/reboundResult/selectInfoByMaterialCode")
|
|
|
|
+ Map<String,Object> selectInfoByMaterialCode(@RequestBody(required = false) Map<String,Object> mal);
|
|
|
|
+
|
|
|
|
+ //根据仓库id查询未接收的垛位
|
|
|
|
+ @PostMapping("/api/v1/wms/inboundScanResult/selectStackingInfoByWarehouseId")
|
|
|
|
+ Map<String,Object> selectStackingInfoByWarehouseId(@RequestBody(required = false) Map<String,Object> mal);
|
|
|
|
+
|
|
|
|
+ //更新垛位
|
|
|
|
+ @PostMapping("/api/v1/wms/inboundScanResult/updateStatus")
|
|
|
|
+ Map<String,Object> updateStatus(@RequestBody(required = false) Map<String,Object> mal);
|
|
/**
|
|
/**
|
|
* 展示倒库实绩
|
|
* 展示倒库实绩
|
|
* @param mapValue
|
|
* @param mapValue
|
|
@@ -344,6 +402,8 @@ public interface WMSFeign {
|
|
@RequestParam Integer pageSize);
|
|
@RequestParam Integer pageSize);
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 展示倒库物资实绩
|
|
* 展示倒库物资实绩
|
|
* @param mapValue
|
|
* @param mapValue
|
|
@@ -416,14 +476,14 @@ public interface WMSFeign {
|
|
* 展示退库已下发吊钢工扫描吊牌实绩
|
|
* 展示退库已下发吊钢工扫描吊牌实绩
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/api/v1/wms/inboundScanResult/getReIssuedResult",method = RequestMethod.POST)
|
|
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/reboundResult/getReIssuedResult",method = RequestMethod.POST)
|
|
Map<String,Object> getIssuedResult();
|
|
Map<String,Object> getIssuedResult();
|
|
|
|
|
|
/**
|
|
/**
|
|
* 展示未下发退库吊钢工扫描吊牌实绩
|
|
* 展示未下发退库吊钢工扫描吊牌实绩
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/api/v1/wms/inboundScanResult/getReTagResult",method = RequestMethod.POST)
|
|
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/reboundResult/getReTagResult",method = RequestMethod.POST)
|
|
Map<String,Object> getReTagResult();
|
|
Map<String,Object> getReTagResult();
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -446,14 +506,14 @@ public interface WMSFeign {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "/api/v1/wms/inboundResult/insertInboundResult",method = RequestMethod.POST)
|
|
@RequestMapping(value = "/api/v1/wms/inboundResult/insertInboundResult",method = RequestMethod.POST)
|
|
- String insertInboundResult(@RequestBody List<Map<String, Object>> mapList);
|
|
|
|
|
|
+ Map<String,Object> insertInboundResult(@RequestBody List<Map<String, Object>> mapList);
|
|
|
|
|
|
/**
|
|
/**
|
|
* 新增退库实绩,返回选择垛位
|
|
* 新增退库实绩,返回选择垛位
|
|
* @param mapList
|
|
* @param mapList
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/api/v1/wms/inboundResult/insertReboundResult",method = RequestMethod.POST)
|
|
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/reboundResult/insertReboundResult",method = RequestMethod.POST)
|
|
String insertReboundResult(@RequestBody List<Map<String, Object>> mapList);
|
|
String insertReboundResult(@RequestBody List<Map<String, Object>> mapList);
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -512,5 +572,36 @@ public interface WMSFeign {
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/api/vi/wms/wmsprestackscanresults/selectMaterialSteelIdByReusltId")
|
|
@PostMapping(value = "/api/vi/wms/wmsprestackscanresults/selectMaterialSteelIdByReusltId")
|
|
Map<String, Object> selectMaterialSteelIdByReusltId(@RequestBody(required = false) Map<String, Object> map);
|
|
Map<String, Object> selectMaterialSteelIdByReusltId(@RequestBody(required = false) Map<String, Object> map);
|
|
|
|
+
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/inboundResult/selectScanResultByIboundResultId",method = RequestMethod.POST)
|
|
|
|
+ RESTfulResult selectScanResultByIboundResultId(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ @RequestParam Integer apiId,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize);
|
|
|
|
+
|
|
|
|
+ @RequestMapping(value = "/api/v1/wms/wmspivboundmakeresult/getIvboundMakeResultList",method = RequestMethod.POST)
|
|
|
|
+ RESTfulResult getIvboundMakeResultList(@RequestBody(required = false)Map<String, Object> mapValue,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
|
+ @RequestParam Integer apiId,
|
|
|
|
+ @RequestParam String con);
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/addIvboundMakeResult")
|
|
|
|
+ Map<String, Object> addIvboundMakeResult(@RequestBody Map<String, Object> mapValue);
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/deleteIvboundMakeResult/{resultId}")
|
|
|
|
+ Map<String, Object> deleteIvboundMakeResult(@PathVariable("resultId") Integer resultId);
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/selectIvboundMakeResult/{resultId}")
|
|
|
|
+ List<Map<String, Object>> selectIvboundMakeResult(@PathVariable("resultId") Integer resultId);
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/updateIvboundMakeResult")
|
|
|
|
+ Map<String, Object> updateIvboundMakeResult(@RequestBody Map<String, Object> mapValue);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ //下发给行车工
|
|
|
|
+ @PostMapping("/api/v1/wms/reboundResult/IssueToCrane")
|
|
|
|
+ Map<String,Object> IssueToCrane(@RequestBody Map<String, Object> map);
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|