WMSFeign.java 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. package com.steerinfo.dil.feign;
  2. import com.steerinfo.dil.util.BaseRESTfulController;
  3. import com.steerinfo.framework.controller.RESTfulResult;
  4. import org.springframework.cloud.openfeign.FeignClient;
  5. import org.springframework.transaction.annotation.Transactional;
  6. import org.springframework.web.bind.annotation.*;
  7. import java.math.BigDecimal;
  8. import java.text.ParseException;
  9. import java.util.List;
  10. import java.util.Map;
  11. /**
  12. * @author luobang
  13. * @create 2021-09-17 14:13
  14. */
  15. @FeignClient(value = "DAL-DAZHOU-WMS-DEV",url = "${openfeign.WMSFeign.url}")
  16. public interface WMSFeign {
  17. /**
  18. * 钢材入库实绩
  19. * @param mapValue
  20. * @param apiId
  21. * @param pageNum
  22. * @param pageSize
  23. * @return
  24. */
  25. @RequestMapping(value = "/api/v1/wms/inboundResult/getWmsInboundResult",method = RequestMethod.POST)
  26. Map<String,Object> getWmsInboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
  27. @RequestParam Integer apiId,
  28. @RequestParam Integer pageNum,
  29. @RequestParam Integer pageSize,
  30. @RequestParam String con);
  31. /**
  32. * 展示出库实绩
  33. * @param apiId
  34. * @param pageNum
  35. * @param pageSize
  36. * @return
  37. */
  38. @RequestMapping(value = "/api/v1/wms/wmspoutboundresults/getWmspOutboundResult",method = RequestMethod.POST)
  39. Map<String,Object> getWmspOutboundResult(@RequestBody(required = false) Map<String,Object> map,
  40. @RequestParam Integer apiId,
  41. @RequestParam Integer pageNum,
  42. @RequestParam Integer pageSize,
  43. @RequestParam String con);
  44. /**
  45. * 新增出库实绩
  46. * @param mapval
  47. * @return
  48. */
  49. @RequestMapping(value = "/api/v1/wms/wmspoutboundresults/insertWmspOutBoundResult",method = RequestMethod.POST)
  50. Map<String,Object> insertWmspOutBoundResult(@RequestBody(required = false) Map<String, Object> mapval);
  51. /**
  52. * 逻辑删除出库单
  53. * @param resultId
  54. * @return
  55. */
  56. @PostMapping(value = "/api/v1/wms/wmspoutboundresults/deletewmspOutboundResult")
  57. Map<String,Object> deleteWmspOutboundResult(@RequestParam Integer resultId);
  58. /**
  59. * 新增出库扫描实绩
  60. * @param map
  61. * @return
  62. */
  63. @PostMapping(value = "/api/v1/wms/wmspoutboundresults/insertwmspOutboundScanResult")
  64. Map<String,Object> insertwmspOutboundScanResult(@RequestBody(required = false) Map<String, Object> map);
  65. /**
  66. * 装卸工PDA前端点击出库
  67. * @param resultId
  68. * @return
  69. */
  70. @PostMapping("/api/v1/wms/wmspoutboundresults/outbountResultToSuccess")
  71. Map<String,Object> outbountResultToSuccess(@RequestParam Integer resultId);
  72. /**
  73. * 更新出库状态
  74. * @param resultId
  75. * @return
  76. */
  77. @PostMapping(value = "/api/v1/wms/wmspoutboundresults/updataResultStatus")
  78. Map<String,Object> updataResultStatus(@RequestBody(required = false)Integer resultId);
  79. @PostMapping(value = "/api/v1/wms/wmsoffsitelibaryoutbounds/getRmsMaterial")
  80. Map<String,Object> getRmsMaterial(@RequestBody(required = false)Map<String, Object> mapval);
  81. /**
  82. * 展示实时库存数据
  83. * @param apiId
  84. * @param pageNum
  85. * @param pageSize
  86. * @return
  87. */
  88. @RequestMapping(value = "/api/v1/wms/wmspgridmaterials/selectGridMaterialList",method = RequestMethod.POST)
  89. Map<String,Object> selectGridMaterialList(@RequestBody(required = false) Map<String,Object> map,
  90. @RequestParam Integer apiId,
  91. @RequestParam Integer pageNum,
  92. @RequestParam Integer pageSize,
  93. @RequestParam String con);
  94. /**
  95. * 通过成品仓库网格ID查询实时库存数据
  96. * @param gridId
  97. * @return
  98. */
  99. @RequestMapping(value = "/api/v1/wms/wmspgridmaterials/selectGridMaterialListByGridId",method = RequestMethod.POST)
  100. Map<String,Object> selectGridMaterialListByGridId(@RequestParam BigDecimal gridId);
  101. /**
  102. * 修改物资钢材表的质量是否合格字段和逻辑删除
  103. * @param map
  104. * @return
  105. */
  106. @PostMapping(value = "/api/v1/wms/wmspgridmaterials/updateRmsMaterialSteelDemotion")
  107. Map<String,Object> updateRmsMaterialSteelDemotion(@RequestBody Map<String,Object> map);
  108. /**
  109. * 钢材异地库出库扫描
  110. * @param map
  111. * @return
  112. */
  113. @PostMapping(value = "/api/v1/wms/wmsoffsitelibaryoutbounds/OutScanResultTag")
  114. Map<String,Object> OutScanResultTag(@RequestBody(required = false)Map<String,Object> map);
  115. /**
  116. * 获取钢材异地库出库数据
  117. * @param apiId
  118. * @param pageNum
  119. * @param pageSize
  120. * @return
  121. */
  122. @RequestMapping(value = "/api/v1/wms/wmsoffsitelibaryoutbounds/getWmsOffsiteLibaryOutboundList",method = RequestMethod.POST)
  123. Map<String,Object> getWmsOffsiteLibaryOutboundList(@RequestBody(required = false) Map<String,Object> map,
  124. @RequestParam("pageNum") Integer pageNum,
  125. @RequestParam("pageSize") Integer pageSize,
  126. @RequestParam("apiId") Integer apiId,
  127. @RequestParam("con") String con);
  128. /**
  129. * 展示钢材异地库入库实绩表
  130. * @param apiId
  131. * @param pageNum
  132. * @param pageSize
  133. * @return
  134. */
  135. @RequestMapping(value = "/api/v1/wms/wmsoffsitelibraryinbounds/getWmsOffsiteLibaryInboundList",method = RequestMethod.POST)
  136. Map<String,Object> getWmsOffsiteLibaryInboundList(@RequestBody(required = false) Map<String,Object> map,
  137. @RequestParam Integer apiId,
  138. @RequestParam Integer pageNum,
  139. @RequestParam Integer pageSize,
  140. @RequestParam String con);
  141. /**
  142. * 钢材异地库入库扫描新增异地库入库实绩
  143. * @param map
  144. * @return
  145. */
  146. @PostMapping(value = "/api/v1/wms/wmsoffsitelibraryinbounds/insertOffsiteLibraryInbound")
  147. Map<String,Object> insertOffsiteLibraryInbound(@RequestBody(required = false)Map<String,Object> map);
  148. /**
  149. * //展示在途库存列表
  150. * @param apiId
  151. * @param pageNum
  152. * @param pageSize
  153. * @return
  154. */
  155. @RequestMapping(value = "/api/v1/wms/wmspintransitinventorys/getWmspIntransitInventory",method = RequestMethod.POST)
  156. Map<String,Object> getWmspIntransitInventory(@RequestBody(required = false)Map<String,Object>mapval,
  157. @RequestParam Integer apiId,
  158. @RequestParam Integer pageNum,
  159. @RequestParam Integer pageSize,
  160. @RequestParam String con);
  161. /**
  162. *新增倒库出库实绩
  163. * @param map
  164. * @return
  165. */
  166. @PostMapping(value = "/api/v1/wms/wmspoutboundresults/insertOutBoundResult")
  167. Map<String,Object> insertOutBoundResult(@RequestBody(required = false)Map<String,Object> map);
  168. /**
  169. * //新增倒库出库扫描实绩
  170. * @param mapval
  171. * @return
  172. */
  173. @PostMapping(value = "/api/v1/wms/wmspoutboundscanresults/AddWmspOutboundScanResult")
  174. Map<String,Object> AddWmspOutboundScanResult(@RequestBody(required = false)Map<String,Object> mapval);
  175. /**
  176. * 通过下拉框筛选数据
  177. * @param apiId
  178. * @param pageNum
  179. * @param pageSize
  180. * @param warehouseid
  181. * @param gradtionNumber
  182. * @param stackingId
  183. * @return
  184. */
  185. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/getWmspRestackMakeResultList")
  186. Map<String,Object> getWmspRestackMakeResultList(@RequestBody(required = false) Map<String,Object> map,
  187. @RequestParam Integer apiId,
  188. @RequestParam Integer pageNum,
  189. @RequestParam Integer pageSize,
  190. @RequestParam Integer warehouseid,
  191. @RequestParam Integer stackingId,
  192. @RequestParam Integer gradtionNumber
  193. );
  194. /**
  195. * 添加倒垛单实绩
  196. * @param mapval
  197. * @return
  198. */
  199. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/addRestackMakeResult")
  200. Map<String,Object> addRestackMakeResult(@RequestBody Map<String,Object> mapval);
  201. @PostMapping("/api/v1/wms/wmsprestackdrivingresults/updateInstruction")
  202. Map<String, Object> updateInstruction(@RequestBody Map<String, Object> map);
  203. /**
  204. * 删除倒垛单
  205. * @param resultId
  206. * @return
  207. */
  208. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/deleteByResultId/{resultId}")
  209. Map<String,Object> deleteByResultId(@PathVariable Integer resultId);
  210. /**
  211. * 下发倒垛单pc端
  212. * @param resultId
  213. * @return
  214. */
  215. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/dispatchDistrubtionStatus/{resultId}")
  216. Map<String,Object> dispatchDistrubtionStatus(@PathVariable Integer resultId);
  217. /**
  218. * 下拉框获取层次
  219. * @param warehouseid
  220. * @param stackingId
  221. * @return
  222. */
  223. @GetMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectGardationNumber")
  224. Map<String,Object> selectGardationNumber(@RequestParam Integer warehouseid,
  225. @RequestParam Integer stackingId );
  226. /**
  227. * 下拉框获取垛位
  228. * @param warehouseid
  229. * @return
  230. */
  231. @GetMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectStackingId")
  232. Map<String,Object> selectStackingId(@RequestParam Integer warehouseid);
  233. /**
  234. * 下拉框获取仓库名称
  235. * @return
  236. */
  237. @GetMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectWarehouse")
  238. Map<String,Object> selectWarehouse();
  239. /**
  240. *展示倒垛单
  241. * @param apiId
  242. * @param pageNum
  243. * @param pageSize
  244. * @param DistrubtionStatus
  245. * @return
  246. */
  247. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackList")
  248. Map<String,Object> selectRestackList (@RequestBody(required = false) Map<String,Object> map,
  249. @RequestParam Integer apiId,
  250. @RequestParam Integer pageNum,
  251. @RequestParam Integer pageSize,
  252. @RequestParam Integer DistrubtionStatus
  253. );
  254. /**
  255. * 修改倒垛单
  256. * @param mapval
  257. * @return
  258. */
  259. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/editRestackMakeResult")
  260. Map<String,Object> editRestackMakeResult(@RequestBody(required = false)Map<String,Object> mapval);
  261. /**
  262. * 渲染倒垛后的仓库信息
  263. * @param resultId
  264. * @return
  265. */
  266. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectAfterWarehouseByResultId/{resultId}")
  267. Map<String,Object> selectAfterWarehouseByResultId(@PathVariable Integer resultId);
  268. /**
  269. * 渲染倒垛后的垛位信息
  270. * @param resultId
  271. * @return
  272. */
  273. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectAfterstackingByResultId/{resultId}")
  274. Map<String,Object> selectAfterstackingByResultId(@PathVariable Integer resultId);
  275. /**
  276. * PDA展示倒垛单
  277. * @param map
  278. * @return
  279. */
  280. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackForPDA")
  281. Map<String,Object> selectRestackForPDA(@RequestBody(required = false)Map<String,Object> map);
  282. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/getRestackInfoByResultId")
  283. public RESTfulResult getRestackInfoByResultId(@RequestBody(required = false) Map<String,Object> mapVal,
  284. @RequestParam Integer pageNum,
  285. @RequestParam Integer pageSize,
  286. @RequestParam Integer apiId
  287. );
  288. /**
  289. * PDA根据实绩id查找物资信息
  290. * @param map
  291. * @return
  292. */
  293. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectMaterialInfoByResultId")
  294. Map<String,Object> selectMaterialInfoByResultId(@RequestBody(required = false)Map<String,Object> map);
  295. /**
  296. * PDA根据仓库id查找倒垛单
  297. * @param map
  298. * @return
  299. */
  300. @PostMapping(value = "/api/v1/wms/wmsprestackmakeresults/selectRestackByWarehouseId")
  301. Map<String,Object> selectRestackByWarehouseId(@RequestBody(required = false)Map<String,Object> map);
  302. /**
  303. * 库管员扫描吊牌添加扫描实绩
  304. * @param mal
  305. * @return
  306. */
  307. @PostMapping(value = "/api/v1/wms/wmsprestackscanresults/ScanTagResult")
  308. Map<String,Object> ScanTagResult(@RequestBody(required = false)Map<String,Object> mal);
  309. @PostMapping(value = "/api/v1/wms/inboundScanResult/getScanResult")
  310. Map<String,Object> getScanResult(@RequestBody(required = false) Map<String,Object> map);
  311. /**
  312. * 库管员下发倒垛单
  313. * @param mapList
  314. * @return
  315. */
  316. @PostMapping(value = "/api/v1/wms/wmsprestackscanresults/Issue")
  317. Map<String,Object> Issue(@RequestBody(required = false) List<Map<String, Object>> mapList);
  318. /**
  319. * 展示退库实绩
  320. * @param mapValue
  321. * @param apiId
  322. * @param pageNum
  323. * @param pageSize
  324. * @return
  325. */
  326. @RequestMapping(value = "/api/v1/wms/reboundResult/getWmsReboundResult",method = RequestMethod.POST)
  327. RESTfulResult getWmsReboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
  328. @RequestParam Integer apiId,
  329. @RequestParam Integer pageNum,
  330. @RequestParam Integer pageSize,
  331. @RequestParam String con);
  332. @RequestMapping(value = "/api/v1/wms/inboundScanResult/selectScanResultByIboundResultId",method = RequestMethod.POST)
  333. RESTfulResult selectScanResultByIboundResultId(@RequestBody(required = false) Map<String, Object> mapValue,
  334. @RequestParam Integer apiId,
  335. @RequestParam Integer pageNum,
  336. @RequestParam Integer pageSize,
  337. @RequestParam Integer inboundId
  338. );
  339. //根据物资信息查找暂存的垛位
  340. @PostMapping("/api/v1/wms/reboundResult/selectInfoByMaterialCode")
  341. Map<String,Object> selectInfoByMaterialCode(@RequestBody(required = false) Map<String,Object> mal);
  342. //根据仓库id查询未接收的垛位
  343. @PostMapping("/api/v1/wms/inboundScanResult/selectStackingInfoByWarehouseId")
  344. Map<String,Object> selectStackingInfoByWarehouseId(@RequestBody(required = false) Map<String,Object> mal);
  345. //更新垛位
  346. @PostMapping("/api/v1/wms/inboundScanResult/updateStatus")
  347. Map<String,Object> updateStatus(@RequestBody(required = false) Map<String,Object> mal);
  348. /**
  349. * 展示倒库实绩
  350. * @param mapValue
  351. * @param apiId
  352. * @param pageNum
  353. * @param pageSize
  354. * @return
  355. */
  356. @RequestMapping(value = "/api/v1/wms/inboundResult/getWmsIvboundResult",method = RequestMethod.POST)
  357. RESTfulResult getWmsIvboundResult(@RequestBody(required = false) Map<String, Object> mapValue,
  358. @RequestParam Integer apiId,
  359. @RequestParam Integer pageNum,
  360. @RequestParam Integer pageSize);
  361. /**
  362. * 展示倒库物资实绩
  363. * @param mapValue
  364. * @param apiId
  365. * @param pageNum
  366. * @param pageSize
  367. * @return
  368. */
  369. @RequestMapping(value = "/api/v1/wms/inboundScanResult/getWmsIvboundMaterial",method = RequestMethod.POST)
  370. RESTfulResult getWmsIvboundMaterial(@RequestBody(required = false) Map<String, Object> mapValue,
  371. @RequestParam Integer apiId,
  372. @RequestParam Integer pageNum,
  373. @RequestParam Integer pageSize);
  374. /**
  375. * 库存盘点实绩
  376. */
  377. @RequestMapping(value = "/api/v1/wms/inventoryCheck/getInventoryCheck",method = RequestMethod.POST)
  378. RESTfulResult getInventoryCheck(@RequestBody(required = false) Map<String, Object> mapValue,
  379. @RequestParam Integer apiId,
  380. @RequestParam Integer pageNum,
  381. @RequestParam Integer pageSize,
  382. @RequestParam String con);
  383. /**
  384. * 库存结转
  385. * @param mapValue
  386. * @param apiId
  387. * @param pageNum
  388. * @param pageSize
  389. * @return
  390. */
  391. @RequestMapping(value = "/api/v1/wms/inventoryClose/getInventoryClose",method = RequestMethod.POST)
  392. RESTfulResult getInventoryClose(@RequestBody(required = false) Map<String, Object> mapValue,
  393. @RequestParam Integer apiId,
  394. @RequestParam Integer pageNum,
  395. @RequestParam Integer pageSize,
  396. @RequestParam String con);
  397. /**
  398. * 收发存报表
  399. */
  400. @RequestMapping(value = "/api/v1/wms/sendReceive/getSendReceive",method = RequestMethod.POST)
  401. RESTfulResult getSendReceive(@RequestBody(required = false) Map<String, Object> mapValue,
  402. @RequestParam Integer apiId,
  403. @RequestParam Integer pageNum,
  404. @RequestParam Integer pageSize,
  405. @RequestParam String con);
  406. /**
  407. * 展示未下发吊钢工扫描吊牌实绩
  408. * @return
  409. */
  410. @PostMapping(value = "/api/v1/wms/inboundScanResult/getTagResult")
  411. Map<String,Object> getTagResult();
  412. /**
  413. * 展示已入库吊钢工扫描吊牌实绩
  414. * @return
  415. */
  416. @RequestMapping(value = "/api/v1/wms/inboundScanResult/getIssuedTagResult",method = RequestMethod.POST)
  417. Map<String,Object> getIssuedTagResult();
  418. /**
  419. * 展示异常入库吊钢工扫描吊牌实绩
  420. * @return
  421. */
  422. @RequestMapping(value = "/api/v1/wms/inboundScanResult/getIssuedTagNoResult",method = RequestMethod.POST)
  423. Map<String,Object> getIssuedTagNoResult();
  424. /**
  425. * 展示退库已下发吊钢工扫描吊牌实绩
  426. * @return
  427. */
  428. @RequestMapping(value = "/api/v1/wms/reboundResult/getReIssuedResult",method = RequestMethod.POST)
  429. Map<String,Object> getIssuedResult();
  430. /**
  431. * 展示未下发退库吊钢工扫描吊牌实绩
  432. * @return
  433. */
  434. @RequestMapping(value = "/api/v1/wms/reboundResult/getReTagResult",method = RequestMethod.POST)
  435. Map<String,Object> getReTagResult();
  436. /**
  437. * 展示已倒库入库吊钢工扫描吊牌实绩
  438. * @return
  439. */
  440. @RequestMapping(value = "/api/v1/wms/inboundScanResult/getIvIssuedResult",method = RequestMethod.POST)
  441. Map<String,Object> getIvIssuedResult();
  442. /**
  443. * 展示倒库入库未下发退库吊钢工扫描吊牌实绩
  444. * @return
  445. */
  446. @RequestMapping(value = "/api/v1/wms/inboundScanResult/getIvTagResult",method = RequestMethod.POST)
  447. Map<String,Object> getIvTagResult();
  448. /**
  449. * 新增入库实绩,返回选择垛位
  450. * @param mapList
  451. * @return
  452. */
  453. @RequestMapping(value = "/api/v1/wms/inboundResult/insertInboundResult",method = RequestMethod.POST)
  454. Map<String,Object> insertInboundResult(@RequestBody List<Map<String, Object>> mapList);
  455. /**
  456. * 新增退库实绩,返回选择垛位
  457. * @param mapList
  458. * @return
  459. */
  460. @RequestMapping(value = "/api/v1/wms/reboundResult/insertReboundResult",method = RequestMethod.POST)
  461. String insertReboundResult(@RequestBody List<Map<String, Object>> mapList);
  462. /**
  463. * 新增倒库入库实绩,返回选择垛位
  464. * @param mapList
  465. * @return
  466. */
  467. @RequestMapping(value = "/api/v1/wms/inboundResult/insertIvboundResult",method = RequestMethod.POST)
  468. String insertIvboundResult(@RequestBody List<Map<String, Object>> mapList);
  469. /**
  470. * 行车工查看垛位
  471. * @param DriverId
  472. * @return
  473. */
  474. @RequestMapping(value = "/api/v1/wms/inboundStack/getInboundStack",method = RequestMethod.POST)
  475. Integer getInboundStack(@RequestParam Integer DriverId);
  476. /**
  477. * 新增库存盘点
  478. * @param map
  479. * @return
  480. */
  481. @RequestMapping(value = "/api/v1/wms/inboundStack/getInboundStack",method = RequestMethod.POST)
  482. Map<String,Object> inventoryCheck(@RequestBody Map<String,Object> map);
  483. /**
  484. * 新增入库扫描实绩
  485. * @param map
  486. * @return
  487. */
  488. @RequestMapping(value = "/api/v1/wms/inboundScanResult/insertResult",method = RequestMethod.POST)
  489. Map<String, Object> insertResult(@RequestBody Map<String, Object> map);
  490. /**
  491. * 新增退库扫描实绩
  492. * @param map
  493. * @return
  494. */
  495. @RequestMapping(value = "/api/v1/wms/inboundScanResult/insertReboundScanResult",method = RequestMethod.POST)
  496. Map<String, Object> insertReboundScanResult(@RequestBody Map<String, Object> map);
  497. /**
  498. *新增倒库入库扫描实绩
  499. * @param map
  500. * @return
  501. */
  502. @RequestMapping(value = "/api/v1/wms/inboundScanResult/insertIvboundScanResult",method = RequestMethod.POST)
  503. Map<String, Object> insertIvboundScanResult(@RequestBody Map<String, Object> map);
  504. /**
  505. * 根据实绩id查找物资是否稽核完成
  506. *
  507. */
  508. @PostMapping(value = "/api/vi/wms/wmsprestackscanresults/selectMaterialSteelIdByReusltId")
  509. Map<String, Object> selectMaterialSteelIdByReusltId(@RequestBody(required = false) Map<String, Object> map);
  510. @RequestMapping(value = "/api/v1/wms/inboundResult/selectScanResultByIboundResultId",method = RequestMethod.POST)
  511. RESTfulResult selectScanResultByIboundResultId(@RequestBody(required = false) Map<String, Object> mapValue,
  512. @RequestParam Integer apiId,
  513. @RequestParam Integer pageNum,
  514. @RequestParam Integer pageSize);
  515. @RequestMapping(value = "/api/v1/wms/wmspivboundmakeresult/getIvboundMakeResultList",method = RequestMethod.POST)
  516. RESTfulResult getIvboundMakeResultList(@RequestBody(required = false)Map<String, Object> mapValue,
  517. @RequestParam Integer pageNum,
  518. @RequestParam Integer pageSize,
  519. @RequestParam Integer apiId,
  520. @RequestParam String con);
  521. @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/addIvboundMakeResult")
  522. Map<String, Object> addIvboundMakeResult(@RequestBody Map<String, Object> mapValue);
  523. @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/deleteIvboundMakeResult/{resultId}")
  524. Map<String, Object> deleteIvboundMakeResult(@PathVariable("resultId") Integer resultId);
  525. @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/selectIvboundMakeResult/{resultId}")
  526. List<Map<String, Object>> selectIvboundMakeResult(@PathVariable("resultId") Integer resultId);
  527. @PostMapping(value = "/api/v1/wms/wmspivboundmakeresult/updateIvboundMakeResult")
  528. Map<String, Object> updateIvboundMakeResult(@RequestBody Map<String, Object> mapValue);
  529. //下发给行车工
  530. @PostMapping("/api/v1/wms/reboundResult/IssueToCrane")
  531. Map<String,Object> IssueToCrane(@RequestBody Map<String, Object> map);
  532. //创建组
  533. @PostMapping(value ="/api/v1/wms/wmspinboundgroups/createGrop",produces = "application/json;charset=UTF-8")
  534. public RESTfulResult createGrop(@RequestBody Map mapValue);
  535. //
  536. @PostMapping("/api/v1/wms/inboundScanResult/insertResult")
  537. public RESTfulResult insertScanResult(@RequestBody(required = false) Map<String, Object> map) throws ParseException;
  538. //新增入库实绩
  539. @PostMapping("/api/v1/wms/inboundResult/insertInboundResult")
  540. public RESTfulResult addInvoice(@RequestParam("userName") String userName,@RequestParam("groupId") BigDecimal groupId,@RequestParam("personnelWorkshopid") BigDecimal personnelWorkshopid, @RequestBody(required = false) List<Map<String, Object>> mapList);
  541. //加入分组
  542. @PostMapping(value ="/api/v1/wms/wmspinboundgroups/joinGroup",produces = "application/json;charset=UTF-8")
  543. public RESTfulResult joinGroup(@RequestBody Map mapValue);
  544. //获得抢单信息
  545. @PostMapping("/api/v1/wms/wmspinbounddistributes/grabDistribute")
  546. public RESTfulResult grabDistribute( @RequestBody Map<String,Object> mapValue);
  547. //抢单
  548. @GetMapping("/api/v1/wms/wmspinbounddistributes/getNewDistribute")
  549. public RESTfulResult getNewDistribute( @RequestParam("personnelWorkshopid") Integer personnelWorkshopid);
  550. }