TMSController.java 91 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936
  1. package com.steerinfo.dil.controller;
  2. import com.steerinfo.dil.feign.TmsshipFeign;
  3. import com.steerinfo.dil.feign.TmsTrainFeign;
  4. import com.steerinfo.dil.feign.TmsTruckFeign;
  5. import com.steerinfo.dil.util.BaseRESTfulController;
  6. import com.steerinfo.framework.controller.RESTfulResult;
  7. import io.swagger.annotations.ApiImplicitParam;
  8. import io.swagger.annotations.ApiImplicitParams;
  9. import io.swagger.annotations.ApiOperation;
  10. import io.swagger.models.auth.In;
  11. import org.springframework.beans.factory.annotation.Autowired;
  12. import org.springframework.web.bind.annotation.*;
  13. import java.math.BigDecimal;
  14. import java.util.HashMap;
  15. import java.util.List;
  16. import java.util.Map;
  17. /**
  18. * @author luobang
  19. * @create 2021-09-17 14:11
  20. */
  21. @RestController
  22. @RequestMapping("${api.version}/tms")
  23. public class TMSController extends BaseRESTfulController {
  24. @Autowired
  25. private TmsTruckFeign tmsTruckFeign;
  26. @Autowired
  27. private TmsTrainFeign tmsTrainFeign;
  28. @Autowired
  29. TmsshipFeign tmsshipFeign;
  30. /*======================================船运==========================================*/
  31. /**
  32. * 驳船
  33. *
  34. * @param mapValue
  35. * @param pageNum
  36. * @param pageSize
  37. * @param apiId
  38. * @return
  39. */
  40. @PostMapping("getBargeOperationList")
  41. @ApiOperation(value = "展示驳船")
  42. public Map<String, Object> getBargeOperationList(@RequestBody(required = false) Map<String, Object> mapValue,
  43. Integer pageNum,
  44. Integer pageSize,
  45. Integer apiId,
  46. String con) {
  47. if (mapValue == null) {
  48. mapValue = new HashMap<>();
  49. }
  50. return tmsshipFeign.getBargeOperationList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  51. }
  52. @PostMapping("selectBargeOperation/{bargeOperationId}")
  53. @ApiOperation(value = "通过id查询驳船")
  54. Map<String, Object> selectBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
  55. return tmsshipFeign.selectBargeOperation(bargeOperationId);
  56. }
  57. @PostMapping("getBargeOperation/{bargeOperationId}")
  58. @ApiOperation(value = "查询驳船")
  59. Map<String, Object> getBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
  60. return tmsshipFeign.getBargeOperation(bargeOperationId);
  61. }
  62. @PostMapping("deleteBargeOperation/{bargeOperationId}")
  63. @ApiOperation(value = "逻辑删除驳船")
  64. Map<String, Object> deleteBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
  65. return tmsshipFeign.deleteBargeOperation(bargeOperationId);
  66. }
  67. @PostMapping("updateBargeOperation")
  68. @ApiOperation(value = "修改驳船")
  69. Map<String, Object> updateBargeOperation(@RequestBody Map<String, Object> tmsshipBargeOperation) {
  70. return tmsshipFeign.updateBargeOperation(tmsshipBargeOperation);
  71. }
  72. @PostMapping("addBargeOperation")
  73. @ApiOperation(value = "新增驳船")
  74. Map<String, Object> addBargeOperation(@RequestBody Map<String, Object> map) {
  75. return tmsshipFeign.addBargeOperation(map);
  76. }
  77. @PostMapping("addTmsShipEntryWharyResult")
  78. @ApiOperation(value = "新增抵港")
  79. Map<String, Object> addTmsShipEntryWharyResult(@RequestBody Map<String, Object> mapVal) {
  80. return tmsshipFeign.addTmsShipEntryWharyResult(mapVal);
  81. }
  82. @PostMapping("addTmsShipOutWharyResult")
  83. @ApiOperation(value = "新增离港")
  84. Map<String, Object> addTmsShipOutWharyResult(@RequestBody Map<String, Object> mapVal) {
  85. return tmsshipFeign.addTmsShipOutWharyResult(mapVal);
  86. }
  87. /**
  88. * 装船
  89. *
  90. * @param mapValue
  91. * @param pageNum
  92. * @param pageSize
  93. * @param apiId
  94. * @return
  95. */
  96. @PostMapping("getLoadShipList")
  97. @ApiOperation(value = "展示装船")
  98. public Map<String, Object> getLoadShipList(@RequestBody(required = false) Map<String, Object> mapValue,
  99. Integer pageNum,
  100. Integer pageSize,
  101. Integer apiId,
  102. String con) {
  103. if (mapValue == null) {
  104. mapValue = new HashMap<>();
  105. }
  106. return tmsshipFeign.getLoadShipList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  107. }
  108. @PostMapping("getLoadShip/{resultId}")
  109. @ApiOperation(value = "查询装船")
  110. Map<String, Object> getLoadShip(@PathVariable("resultId") BigDecimal resultId) {
  111. return tmsshipFeign.getLoadShip(resultId);
  112. }
  113. @PostMapping("selectLoadShip/{resultId}")
  114. @ApiOperation(value = "通过id查询装船")
  115. Map<String, Object> selectLoadShip(@PathVariable("resultId") BigDecimal resultId) {
  116. return tmsshipFeign.selectLoadShip(resultId);
  117. }
  118. @PostMapping("deleteLoadShip/{resultId}")
  119. @ApiOperation(value = "逻辑删除装船")
  120. Map<String, Object> deleteLoadShip(@PathVariable("resultId") BigDecimal resultId) {
  121. return tmsshipFeign.deleteLoadShip(resultId);
  122. }
  123. @PostMapping("updateLoadShip")
  124. @ApiOperation(value = "修改装船")
  125. Map<String, Object> updateLoadShip(@RequestBody Map<String, Object> tmsshipLoadShipResult) {
  126. return tmsshipFeign.updateLoadShip(tmsshipLoadShipResult);
  127. }
  128. @PostMapping("addLoadShip")
  129. @ApiOperation(value = "新增装船")
  130. Map<String, Object> addLoadShip(@RequestBody Map<String, Object> map) {
  131. return tmsshipFeign.addLoadShip(map);
  132. }
  133. /**
  134. * 位置作业
  135. *
  136. * @param mapValue
  137. * @return
  138. */
  139. @PostMapping("getShipLocationList")
  140. @ApiOperation(value = "展示位置作业")
  141. public Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue) {
  142. if (mapValue == null) {
  143. mapValue = new HashMap<>();
  144. }
  145. return tmsshipFeign.getShipLocationList(mapValue==null?new HashMap<>():mapValue);
  146. }
  147. @PostMapping("getShipLocation/{locationId}")
  148. @ApiOperation(value = "查询位置作业")
  149. Map<String, Object> getShipLocation(@PathVariable("locationId") BigDecimal locationId) {
  150. return tmsshipFeign.getShipLocation(locationId);
  151. }
  152. @PostMapping("selectShipLocation/{locationId}")
  153. @ApiOperation(value = "通过id查询位置作业")
  154. Map<String, Object> selectShipLocation(@PathVariable("locationId") BigDecimal locationId) {
  155. return tmsshipFeign.selectShipLocation(locationId);
  156. }
  157. @PostMapping("deleteShipLocation/{locationId}")
  158. @ApiOperation(value = "逻辑删除位置作业")
  159. Map<String, Object> deleteShipLocation(@PathVariable("locationId") BigDecimal locationId) {
  160. return tmsshipFeign.deleteShipLocation(locationId);
  161. }
  162. @PostMapping("updateShipLocation")
  163. @ApiOperation(value = "修改位置作业")
  164. Map<String, Object> updateShipLocation(@RequestBody Map<String, Object> tmsshipShipLocation) {
  165. return tmsshipFeign.updateShipLocation(tmsshipShipLocation);
  166. }
  167. @PostMapping("addShipLocation")
  168. @ApiOperation(value = "新增位置作业")
  169. Map<String, Object> addShipLocation(@RequestBody Map<String, Object> map) {
  170. return tmsshipFeign.addShipLocation(map);
  171. }
  172. /**
  173. * 水路货物运单
  174. *
  175. * @param mapValue
  176. * @param pageNum
  177. * @param pageSize
  178. * @param apiId
  179. * @return
  180. */
  181. @PostMapping("listAllOrders")
  182. @ApiOperation(value = "展示水路货物运单")
  183. public Map<String, Object> listAllOrders(@RequestBody(required = false) Map<String, Object> mapValue,
  184. Integer pageNum,
  185. Integer pageSize,
  186. Integer apiId,
  187. String con) {
  188. if (mapValue == null) {
  189. mapValue = new HashMap<>();
  190. }
  191. return tmsshipFeign.listAllOrders(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  192. }
  193. @PostMapping("/getBatchList")
  194. public Map<String, Object> getBatchList(@RequestBody(required = false) Map<String, Object> mapValue,
  195. Integer pageNum,
  196. Integer pageSize,
  197. Integer apiId,
  198. String con){
  199. return tmsshipFeign.getBatchList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
  200. }
  201. //框计算计算货权转移中出现的批次
  202. @PostMapping("/getBatchListForAttorney")
  203. public Map<String, Object> getBatchListForAttorney(@RequestBody(required = false) Map<String, Object> mapValue,
  204. Integer pageNum,
  205. Integer pageSize,
  206. Integer apiId,
  207. String con){
  208. return tmsshipFeign.getBatchListForAttorney(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId, con);
  209. }
  210. /**
  211. * 展示船只信息
  212. *
  213. * @param mapValue
  214. * @param pageNum
  215. * @param pageSize
  216. * @param apiId
  217. * @return
  218. */
  219. @PostMapping("getCapacityList")
  220. @ApiOperation(value = "展示船只信息")
  221. public Map<String, Object> getCapacityList(@RequestBody(required = false) Map<String, Object> mapValue,
  222. Integer pageNum,
  223. Integer pageSize,
  224. Integer apiId,
  225. String con) {
  226. if (mapValue == null) {
  227. mapValue = new HashMap<>();
  228. }
  229. return tmsshipFeign.getCapacityList(mapValue, pageNum, pageSize, apiId,con);
  230. }
  231. /**
  232. * 卸船作业
  233. * @param mapValue
  234. * @param pageNum
  235. * @param pageSize
  236. * @param apiId
  237. * @return
  238. */
  239. @PostMapping("getUnLoadShipList")
  240. @ApiOperation(value = "展示卸船作业信息列表")
  241. public Map<String, Object> getUnLoadShipList(@RequestBody(required = false) Map<String, Object> mapValue,
  242. Integer pageNum,
  243. Integer pageSize,
  244. Integer apiId,
  245. String con) {
  246. return tmsshipFeign.getUnLoadShipList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  247. }
  248. @PostMapping("getUnloadShip/{resultId}")
  249. @ApiOperation(value = "查询卸船作业")
  250. Map<String, Object> getUnloadShip(@PathVariable("resultId") BigDecimal resultId) {
  251. return tmsshipFeign.getUnloadShip(resultId);
  252. }
  253. @PostMapping("selectUnLoadShip/{resultId}")
  254. @ApiOperation(value = "通过id查询卸船作业")
  255. Map<String, Object> selectUnLoadShip(@PathVariable("resultId") BigDecimal resultId) {
  256. return tmsshipFeign.selectUnLoadShip(resultId);
  257. }
  258. @PostMapping("deleteUnLoadShip/{resultId}")
  259. @ApiOperation(value = "逻辑删除卸船作业")
  260. Map<String, Object> deleteUnLoadShip(@PathVariable("resultId") BigDecimal resultId) {
  261. return tmsshipFeign.deleteUnLoadShip(resultId);
  262. }
  263. @PostMapping("updateUnLoadShip")
  264. @ApiOperation(value = "修改卸船作业")
  265. Map<String, Object> updateUnLoadShip(@RequestBody Map<String, Object> tmsshipUnloadShipResult) {
  266. return tmsshipFeign.updateUnLoadShip(tmsshipUnloadShipResult);
  267. }
  268. @PostMapping("addUnLoadShip")
  269. @ApiOperation(value = "新增卸船作业")
  270. Map<String, Object> addUnLoadShip(@RequestBody Map<String, Object> map) {
  271. return tmsshipFeign.addUnLoadShip(map);
  272. }
  273. /**
  274. * 水分质检
  275. *
  276. * @param mapValue
  277. * @param pageNum
  278. * @param pageSize
  279. * @param apiId
  280. * @return
  281. */
  282. @PostMapping("getWaterQualityResultList")
  283. @ApiOperation(value = "展示水分质检信息列表")
  284. public Map<String, Object> getWaterQualityResultList(@RequestBody(required = false) Map<String, Object> mapValue,
  285. Integer pageNum,
  286. Integer pageSize,
  287. Integer apiId,
  288. String con) {
  289. return tmsshipFeign.getWaterQualityResultList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  290. }
  291. @PostMapping("getWaterQuality/{resultId}")
  292. @ApiOperation(value = "查询水分质检")
  293. Map<String, Object> getWaterQuality(@PathVariable("resultId") BigDecimal resultId) {
  294. return tmsshipFeign.getWaterQuality(resultId);
  295. }
  296. @PostMapping("selectWaterQualityResult/{resultId}")
  297. @ApiOperation(value = "通过id查询水分质检")
  298. Map<String, Object> selectWaterQualityResult(@PathVariable("resultId") BigDecimal resultId) {
  299. return tmsshipFeign.selectWaterQualityResult(resultId);
  300. }
  301. @PostMapping("deleteWaterQualityResult/{resultId}")
  302. @ApiOperation(value = "逻辑删除水分质检")
  303. Map<String, Object> deleteWaterQualityResult(@PathVariable("resultId") BigDecimal resultId) {
  304. return tmsshipFeign.deleteWaterQualityResult(resultId);
  305. }
  306. @PostMapping("updateWaterQualityResult")
  307. @ApiOperation(value = "修改水分质检")
  308. Map<String, Object> updateWaterQualityResult(@RequestBody Map<String, Object> tmsshipWaterQualityResult) {
  309. return tmsshipFeign.updateWaterQualityResult(tmsshipWaterQualityResult);
  310. }
  311. @PostMapping("addWaterQualityResult")
  312. @ApiOperation(value = "新增水分质检")
  313. Map<String, Object> addWaterQualityResult(@RequestBody Map<String, Object> map) {
  314. Map<String, Object> stringObjectMap = tmsshipFeign.addWaterQualityResult(map);
  315. return stringObjectMap;
  316. }
  317. /**
  318. * 船只信息
  319. *
  320. * @param mapValue
  321. * @param pageNum
  322. * @param pageSize
  323. * @param apiId
  324. * @return
  325. */
  326. @PostMapping("getCapacities")
  327. @ApiOperation(value = "展示船只信息列表")
  328. public Map<String, Object> getCapacities(BigDecimal instructionsId,
  329. @RequestBody(required = false) Map<String, Object> mapValue,
  330. Integer pageNum,
  331. Integer pageSize,
  332. Integer apiId) {
  333. if (mapValue == null) {
  334. mapValue = new HashMap<>();
  335. }
  336. return tmsshipFeign.getCapacities(instructionsId, mapValue, pageNum, pageSize, apiId);
  337. }
  338. @PostMapping("getInstructionsCapacity/{instructionsCapacityId}")
  339. @ApiOperation(value = "查询船只信息")
  340. Map<String, Object> getInstructionsCapacity(@PathVariable("instructionsCapacityId") BigDecimal instructionsCapacityId) {
  341. return tmsshipFeign.getInstructionsCapacity(instructionsCapacityId);
  342. }
  343. @PostMapping("deleteInstructionsCapacity/{instructionsCapacityId}")
  344. @ApiOperation(value = "逻辑删除船只信息")
  345. Map<String, Object> deleteInstructionsCapacity(@PathVariable("instructionsCapacityId") BigDecimal instructionsCapacityId) {
  346. return tmsshipFeign.deleteInstructionsCapacity(instructionsCapacityId);
  347. }
  348. @PostMapping("updateInstructionsCapacity")
  349. @ApiOperation(value = "修改船只信息")
  350. Map<String, Object> updateInstructionsCapacity(@RequestBody Map<String, Object> omsshipInstructionsCapacity) {
  351. return tmsshipFeign.updateInstructionsCapacity(omsshipInstructionsCapacity);
  352. }
  353. @PostMapping("addInstructionsCapacity")
  354. @ApiOperation(value = "新增船只信息")
  355. Map<String, Object> addInstructionsCapacity(@RequestBody Map<String, Object> omsshipInstructionsCapacity) {
  356. return tmsshipFeign.addInstructionsCapacity(omsshipInstructionsCapacity);
  357. }
  358. /**
  359. * 装船指令
  360. *
  361. * @param mapValue
  362. * @param pageNum
  363. * @param pageSize
  364. * @param apiId
  365. * @return
  366. */
  367. @PostMapping("getShipMentInstructionsList")
  368. @ApiOperation(value = "展示装船指令列表")
  369. public Map<String, Object> getShipMentInstructionsList(@RequestBody(required = false) Map<String, Object> mapValue,
  370. Integer pageNum,
  371. Integer pageSize,
  372. Integer apiId,
  373. String con,
  374. String status) {
  375. if (mapValue == null) {
  376. mapValue = new HashMap<>();
  377. }
  378. return tmsshipFeign.getShipMentInstructionsList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con,status);
  379. }
  380. @PostMapping("getShipmentInstructions/{instructionsId}")
  381. @ApiOperation(value = "下发装船指令")
  382. Map<String, Object> getShipmentInstructions(@PathVariable("instructionsId") BigDecimal instructionsId) {
  383. return tmsshipFeign.getShipmentInstructions(instructionsId);
  384. }
  385. @PostMapping("deleteByPrimaryKey/{instructionsId}")
  386. @ApiOperation(value = "逻辑删除装船指令")
  387. Map<String, Object> deleteByPrimaryKey(@PathVariable("instructionsId") BigDecimal instructionsId) {
  388. return tmsshipFeign.deleteByPrimaryKey(instructionsId);
  389. }
  390. @PostMapping("sendShipmentInstructionsStatus/{shipmentInstructionsId}")
  391. @ApiOperation(value = "修改状态")
  392. Map<String, Object> sendShipmentInstructionsStatus(@PathVariable("shipmentInstructionsId") BigDecimal shipmentInstructionsId) {
  393. return tmsshipFeign.sendShipmentInstructionsStatus(shipmentInstructionsId);
  394. }
  395. @PostMapping("updateShipmentInstructions")
  396. @ApiOperation(value = "修改装船指令")
  397. Map<String, Object> updateShipmentInstructions(@RequestBody Map<String, Object> omsshipShipmentInstructions) {
  398. return tmsshipFeign.updateShipmentInstructions(omsshipShipmentInstructions);
  399. }
  400. @PostMapping("addShipmentInstructions")
  401. @ApiOperation(value = "新增装船指令")
  402. Map<String, Object> addShipmentInstructions(@RequestBody Map<String, Object> omsshipShipmentInstructions) {
  403. return tmsshipFeign.addShipmentInstructions(omsshipShipmentInstructions);
  404. }
  405. /**
  406. * 货权转移
  407. *
  408. * @param mapValue
  409. * @param pageNum
  410. * @param pageSize
  411. * @param apiId
  412. * @return
  413. */
  414. @PostMapping("getAmsshipCargoTranferResultList")
  415. @ApiOperation(value = "展示货权转移")
  416. public Map<String, Object> getAmsshipCargoTranferResultList(@RequestBody(required = false) Map<String, Object> mapValue,
  417. Integer pageNum,
  418. Integer pageSize,
  419. Integer apiId,
  420. String con) {
  421. if (mapValue == null) {
  422. mapValue = new HashMap<>();
  423. }
  424. return tmsshipFeign.getAmsshipCargoTranferResultList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  425. }
  426. @PostMapping("getGroupList")
  427. @ApiOperation(value = "展示收货人列表")
  428. @ApiImplicitParams(
  429. @ApiImplicitParam(name="apiId",value="217")
  430. )
  431. public Map<String, Object> getGroupList(@RequestBody(required = false) Map<String, Object> mapValue,
  432. Integer pageNum,
  433. Integer pageSize,
  434. Integer apiId,
  435. String con) {
  436. return tmsshipFeign.getGroupList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  437. }
  438. @PostMapping("getMaterialList")
  439. @ApiOperation(value = "展示物资列表")
  440. @ApiImplicitParams(
  441. @ApiImplicitParam(name="apiId",value="216")
  442. )
  443. public Map<String, Object> getMaterialList(@RequestBody(required = false) Map<String, Object> mapValue,
  444. Integer pageNum,
  445. Integer pageSize,
  446. Integer apiId,
  447. String con) {
  448. if (mapValue == null) {
  449. mapValue = new HashMap<>();
  450. }
  451. return tmsshipFeign.getMaterialList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  452. }
  453. @PostMapping("selectShippeByName")
  454. @ApiOperation(value = "展示货权转移送达单位列表")
  455. @ApiImplicitParams(
  456. @ApiImplicitParam(name = "apiId",value = "215")
  457. )
  458. public Map<String, Object> selectShippeByName(@RequestBody(required = false) Map<String, Object> mapValue,
  459. Integer pageNum,
  460. Integer pageSize,
  461. Integer apiId,
  462. String con) {
  463. if (mapValue == null) {
  464. mapValue = new HashMap<>();
  465. }
  466. return tmsshipFeign.selectShippeByName(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
  467. }
  468. @PostMapping("insertamsshipCargoTransferResult")
  469. @ApiOperation(value = "新增货权转移")
  470. Map<String, Object> insertamsshipCargoTransferResult(@RequestBody Map<String, Object> amsshipCargoTransferResult) {
  471. return tmsshipFeign.insertamsshipCargoTransferResult(amsshipCargoTransferResult);
  472. }
  473. @PostMapping("deleteByCargoId/{cargoTransferResultId}")
  474. @ApiOperation(value = "逻辑删除货权转移")
  475. Map<String, Object> deleteByCargoId(@PathVariable("cargoTransferResultId") Integer cargoTransferResultId) {
  476. return tmsshipFeign.deleteByCargoId(cargoTransferResultId);
  477. }
  478. @PostMapping("editCargoTransferResult")
  479. @ApiOperation(value = "修改货权转移")
  480. Map<String, Object> editCargoTransferResult(@RequestBody Map<String, Object> amsshipCargoTransferResult) {
  481. return tmsshipFeign.editCargoTransferResult(amsshipCargoTransferResult);
  482. }
  483. @PostMapping("selectByCargoTranferResultId/{cargoTransferResultId}")
  484. @ApiOperation(value = "通过id查询货权转移")
  485. Map<String, Object> selectByCargoTranferResultId(@PathVariable("cargoTransferResultId") Integer cargoTransferResultId) {
  486. return tmsshipFeign.selectByCargoTranferResultId(cargoTransferResultId);
  487. }
  488. /**
  489. * 提货委托
  490. *
  491. * @param mapValue
  492. * @param pageNum
  493. * @param pageSize
  494. * @param apiId
  495. * @return
  496. */
  497. @PostMapping("getAmsshipDeliveryAttroneyList")
  498. @ApiOperation(value = "展示提货委托")
  499. public Map<String, Object> getAmsshipDeliveryAttroneyList(@RequestBody(required = false) Map<String, Object> mapValue,
  500. Integer pageNum,
  501. Integer pageSize,
  502. Integer apiId,
  503. String con,
  504. Integer status) {
  505. if (mapValue == null) {
  506. mapValue = new HashMap<>();
  507. }
  508. return tmsshipFeign.getAmsshipDeliveryAttroneyList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con,status);
  509. }
  510. @PostMapping("insertshipDeliveryAttorney")
  511. @ApiOperation(value = "新增提货委托")
  512. Map<String, Object> insertshipDeliveryAttorney(@RequestBody Map<String, Object> amsshipDeliveryAttorney) {
  513. return tmsshipFeign.insertshipDeliveryAttorney(amsshipDeliveryAttorney);
  514. }
  515. @PostMapping("deleteByAttorneyId/{attorneyId}")
  516. @ApiOperation(value = "逻辑删除提货委托")
  517. Map<String, Object> deleteByAttorneyId(@PathVariable("attorneyId") Integer attorneyId) {
  518. return tmsshipFeign.deleteByAttorneyId(attorneyId);
  519. }
  520. @PostMapping("editDeliveryAttroney")
  521. @ApiOperation(value = "修改提货委托")
  522. Map<String, Object> editDeliveryAttroney(@RequestBody Map<String, Object> amsshipDeliveryAttorney) {
  523. return tmsshipFeign.editDeliveryAttroney(amsshipDeliveryAttorney);
  524. }
  525. @PostMapping("getDeliveryAttorneyId/{attorneyId}")
  526. @ApiOperation(value = "通过id查询提货委托")
  527. Map<String, Object> getDeliveryAttorneyId(@PathVariable("attorneyId") Integer attorneyId) {
  528. return tmsshipFeign.getDeliveryAttorneyId(attorneyId);
  529. }
  530. @PostMapping("sendDeliveryAttorneyStatus/{attorneyId}")
  531. @ApiOperation(value = "下发提货委托")
  532. Map<String, Object> sendDeliveryAttorneyStatus(@PathVariable("attorneyId") Integer attorneyId) {
  533. return tmsshipFeign.sendDeliveryAttorneyStatus(attorneyId);
  534. }
  535. /**
  536. * 放货通知
  537. *
  538. * @param mapValue
  539. * @param pageNum
  540. * @param pageSize
  541. * @param apiId
  542. * @return
  543. */
  544. @PostMapping("getshipDeliveryNoticeList")
  545. @ApiOperation(value = "展示放货通知")
  546. public Map<String, Object> getshipDeliveryNoticeList(@RequestBody(required = false) Map<String, Object> mapValue,
  547. Integer pageNum,
  548. Integer pageSize,
  549. Integer apiId,
  550. String con,
  551. Integer status) {
  552. if (mapValue == null) {
  553. mapValue = new HashMap<>();
  554. }
  555. return tmsshipFeign.getshipDeliveryNoticeList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con,status);
  556. }
  557. @PostMapping("insertDeliveryNotice")
  558. @ApiOperation(value = "新增放货通知")
  559. Map<String, Object> insertDeliveryNotice(@RequestBody Map<String, Object> amsshipDeliveryNotice) {
  560. return tmsshipFeign.insertDeliveryNotice(amsshipDeliveryNotice);
  561. }
  562. @PostMapping("deleteByNoticeId/{noticeId}")
  563. @ApiOperation(value = "逻辑删除放货通知")
  564. Map<String, Object> deleteByNoticeId(@PathVariable("noticeId") Integer noticeId) {
  565. return tmsshipFeign.deleteByNoticeId(noticeId);
  566. }
  567. @PostMapping("editDeliveryNotice")
  568. @ApiOperation(value = "修改放货通知")
  569. Map<String, Object> editDeliveryNotice(@RequestBody Map<String, Object> editDeliveryNotice) {
  570. return tmsshipFeign.editDeliveryNotice(editDeliveryNotice);
  571. }
  572. @PostMapping("selectByNoticeId/{noticeId}")
  573. @ApiOperation(value = "通过id查询放货通知")
  574. Map<String, Object> selectByNoticeId(@PathVariable("noticeId") Integer noticeId) {
  575. return tmsshipFeign.selectByNoticeId(noticeId);
  576. }
  577. @PostMapping("sendDeliveryNotice/{noticeId}")
  578. @ApiOperation(value = "下发放货通知")
  579. Map<String, Object> sendDeliveryNotice(@PathVariable("noticeId") Integer noticeId) {
  580. return tmsshipFeign.sendDeliveryNotice(noticeId);
  581. }
  582. //船舶动态表
  583. @PostMapping("/selectAll")
  584. Map<String, Object> selectAll(){
  585. return tmsshipFeign.selectAll();
  586. }
  587. /**
  588. * 下拉框
  589. *
  590. * @return
  591. */
  592. @GetMapping("getGroupId")
  593. @ApiOperation(value = "得到下拉")
  594. public Map<String, Object> getGroupId() {
  595. return tmsshipFeign.getGroupId();
  596. }
  597. @GetMapping("getMaterialId")
  598. @ApiOperation(value = "得到物资ID下拉")
  599. public Map<String, Object> getMaterialId(){
  600. return tmsshipFeign.getMaterialId();
  601. }
  602. @GetMapping("getCargoId")
  603. @ApiOperation(value = "得到货物下拉")
  604. public Map<String, Object> getCargoId() {
  605. return tmsshipFeign.getCargoId();
  606. }
  607. @GetMapping("insertBetchId")
  608. @ApiOperation(value = "得到批次下拉")
  609. public Map<String, Object> insertBetchId() {
  610. return tmsshipFeign.insertBetchId();
  611. }
  612. @GetMapping("getAttorneyId")
  613. @ApiOperation(value = "得到提货下拉")
  614. public Map<String, Object> getAttorneyId() {
  615. return tmsshipFeign.getAttorneyId();
  616. }
  617. @GetMapping("getNoticeId")
  618. @ApiOperation(value = "得到放货下拉")
  619. public Map<String, Object> getNoticeId() {
  620. return tmsshipFeign.getNoticeId();
  621. }
  622. @GetMapping("getPortName")
  623. @ApiOperation(value = "得到货权转移单位")
  624. public Map<String, Object> getPortName() {
  625. return tmsshipFeign.getPortName();
  626. }
  627. @GetMapping("getPortId")
  628. @ApiOperation(value = "得到港口下拉")
  629. public Map<String, Object> getPortId() {
  630. return tmsshipFeign.getPortId();
  631. }
  632. @GetMapping("getRmRawId")
  633. @ApiOperation(value = "得到仓库下拉")
  634. public Map<String, Object> getRmRawId() {
  635. return tmsshipFeign.getRmRawId();
  636. }
  637. @GetMapping("getPierId")
  638. @ApiOperation(value = "得到码头下拉")
  639. public Map<String, Object> getPierId() {
  640. return tmsshipFeign.getPierId();
  641. }
  642. @ApiOperation(value = "查询特定所有的物资")
  643. @GetMapping("/getFuMaterial/{type}")
  644. public Map<String, Object> getFuMaterial(@PathVariable("type") Integer type) {
  645. return tmsTruckFeign.getFuMaterial(type);
  646. }
  647. @GetMapping("getResultNumber")
  648. @ApiOperation(value = "得到实绩编号下拉")
  649. public Map<String, Object> getResultNumber() {
  650. return tmsshipFeign.getResultNumber();
  651. }
  652. @GetMapping("getCarrier")
  653. @ApiOperation(value = "得到承运商下拉")
  654. public Map<String, Object> getCarrier() {
  655. return tmsshipFeign.getCarrier();
  656. }
  657. @GetMapping("getShipperId")
  658. @ApiOperation(value = "得到托运方下拉")
  659. public Map<String, Object> getShipperId() {
  660. return tmsshipFeign.getShipper();
  661. }
  662. @GetMapping("getOrderId")
  663. @ApiOperation(value = "得到装船指令下拉")
  664. public Map<String, Object> getTask() {
  665. return tmsshipFeign.getTask();
  666. }
  667. @GetMapping("getCapacityId")
  668. @ApiOperation(value = "得到船下拉")
  669. public Map<String, Object> getCapacityId() {
  670. return tmsshipFeign.getCapacityId();
  671. }
  672. /*======================================火运==========================================*/
  673. //************************************TmstrainLoadingResultController********************
  674. @ApiOperation(value = "查询装车作业信息")
  675. @ApiImplicitParams({
  676. @ApiImplicitParam(name = "apiId(58)", value = "表头", required = false, dataType = "Interger")
  677. })
  678. @PostMapping("/getTmstrainWagonLoad")
  679. public Map<String, Object> getTmstrainWagonLoad(@RequestBody(required = false) Map<String, Object> mapValue,
  680. Integer apiId,
  681. Integer pageNum,
  682. Integer pageSize,
  683. Integer resultType,
  684. String con) {
  685. return tmsTrainFeign.getTmstrainWagonLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType, con);
  686. }
  687. @ApiOperation(value = "新增车皮装车作业实绩")
  688. @ApiImplicitParams({
  689. @ApiImplicitParam(name = "tmstrainLoadingResult", value = "车皮装车对象", required = false, dataType = "TmstrainLoadingResult")
  690. })
  691. @PostMapping(value = "/insertTmstrainLoadingResult")
  692. public Map<String, Object> insertTmstrainLoadingResult(@RequestBody(required = false) Map<String, Object> map) {
  693. return tmsTrainFeign.insertTmstrainLoadingResult(map);
  694. }
  695. @ApiOperation(value = "通过主键查询车皮装车作业信息")
  696. @ApiImplicitParams({
  697. @ApiImplicitParam(name = "resultId", value = "车皮装车主键", required = false, dataType = "BigDecimal")
  698. })
  699. @PostMapping(value = "/getTmstrainLoadingResultByResultId/{resultId}")
  700. public Map<String, Object> getTmstrainLoadingResultByResultId(@PathVariable("resultId") BigDecimal resultId) {
  701. return tmsTrainFeign.getTmstrainLoadingResultByResultId(resultId);
  702. }
  703. @ApiOperation(value = "通过主键修改车皮装车作业实绩")
  704. @ApiImplicitParams({
  705. @ApiImplicitParam(name = "tmstrainLoadingResult", value = "修改车皮装车map", required = false, dataType = "TmstrainWagonLoadResult")
  706. })
  707. @PostMapping(value = "/upadteTmstrainLoadingResultByResultId")
  708. public Map<String, Object> upadteTmstrainLoadingResultByResultId(@RequestBody(required = false) Map<String, Object> map) {
  709. return tmsTrainFeign.upadteTmstrainLoadingResultByResultId(map);
  710. }
  711. @ApiOperation(value = "通过主键删除车皮装车作业实绩")
  712. @ApiImplicitParams({
  713. @ApiImplicitParam(name = "resultId", value = "主键ID", required = false, dataType = "BigDecimal")
  714. })
  715. @PostMapping(value = "/deleteTmstrainLoadingResultByResultId")
  716. public Map<String, Object> deleteTmstrainLoadingResultByResultId(@RequestParam BigDecimal resultId) {
  717. return tmsTrainFeign.deleteTmstrainLoadingResultByResultId(resultId);
  718. }
  719. //********************下拉框**********************
  720. @ApiOperation(value = "获取发站地点名称")
  721. @ApiImplicitParams({
  722. })
  723. @GetMapping(value = "/getSendStationName")
  724. public Map<String, Object> getSendStationName() {
  725. return tmsTrainFeign.getSendStationName();
  726. }
  727. @ApiOperation(value = "获取到站地点名称")
  728. @GetMapping(value = "/getArrivalStationName")
  729. public Map<String, Object> getArrivalStationName() {
  730. return tmsTrainFeign.getArrivalStationName();
  731. }
  732. @ApiOperation(value = "获取批次ID")
  733. @GetMapping(value = "/getBatchId")
  734. public Map<String, Object> getBatchId() {
  735. return tmsTrainFeign.getBatchId();
  736. }
  737. @ApiOperation(value = "获取已装车还未卸车车皮")
  738. @PostMapping(value = "/getWagonNo/{resultType}")
  739. public Map<String, Object> getWagonNo(@PathVariable("resultType") Integer resultType,
  740. @RequestBody(required = false) Map<String, Object> mapValue,
  741. Integer apiId,
  742. Integer pageNum,
  743. Integer pageSize){
  744. return tmsTrainFeign.getWagonNo(resultType, mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
  745. }
  746. @ApiOperation(value = "查询所有发运计划")
  747. @GetMapping(value = "/getRailPlan")
  748. public Map<String, Object> getRailPlan() {
  749. return tmsTrainFeign.getRailPlan();
  750. }
  751. @GetMapping(value = "/getDilBatch")
  752. public Map<String, Object> getDilBatch() {
  753. return tmsTruckFeign.getDilBatch();
  754. }
  755. @GetMapping(value = "/getCarrierId")
  756. public Map<String, Object> getCarrierId() {
  757. return tmsTruckFeign.getCarrier();
  758. }
  759. @GetMapping(value = "/getLine")
  760. public Map<String, Object> getLine() {
  761. return tmsTruckFeign.getLine();
  762. }
  763. @GetMapping(value = "/getWarehouse")
  764. public Map<String, Object> getWarehouse() {
  765. return tmsTruckFeign.getWarehouse();
  766. }
  767. @GetMapping(value = "/getGatepost")
  768. public Map<String, Object> getGatepost() {
  769. return tmsTruckFeign.getGatepost();
  770. }
  771. @GetMapping(value = "/getAPO")
  772. public Map<String, Object> getAPO() {
  773. return tmsTruckFeign.getAPO();
  774. }
  775. @GetMapping(value = "/getFuCapacityId")
  776. public Map<String, Object> getFuCapacityId() {
  777. return tmsTruckFeign.getFuCapacityId();
  778. }
  779. @GetMapping(value = "/getPort")
  780. public Map<String, Object> getPort() {
  781. return tmsTruckFeign.getPort();
  782. }
  783. @ApiOperation(value = "查询卸货点")
  784. @GetMapping("/getUnloadPoint/{type}")
  785. public Map<String, Object> getUnloadPoint(@PathVariable("type") Integer type) {
  786. return tmsTruckFeign.getUnloadPoint(type);
  787. }
  788. @ApiOperation(value = "查询卸车作业信息")
  789. @ApiImplicitParams({
  790. @ApiImplicitParam(name = "apiId(60)", value = "表头", required = false, dataType = "Interger")
  791. })
  792. @PostMapping("/getTmstrainWagonUnLoad")
  793. public Map<String, Object> getTmstrainWagonUnLoad(@RequestBody(required = false) Map<String, Object> mapValue,
  794. Integer apiId,
  795. Integer pageNum,
  796. Integer pageSize,
  797. Integer resultType,
  798. String con) {
  799. return tmsTrainFeign.getTmstrainWagonUnLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,con);
  800. }
  801. @ApiOperation(value = "通过主键删除车皮卸车作业实绩")
  802. @ApiImplicitParams({
  803. @ApiImplicitParam(name = "unloadingId", value = "主键ID", required = false, dataType = "BigDecimal")
  804. })
  805. @PostMapping(value = "/deleteTmstrainWagonUnLoadResultByUnLoadingId")
  806. public Map<String, Object> deleteTmstrainWagonUnLoadResultByUnLoadingId(@RequestParam BigDecimal unloadingId) {
  807. return tmsTrainFeign.deleteTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
  808. }
  809. @ApiOperation(value = "新增车皮卸车作业实绩")
  810. @ApiImplicitParams({
  811. @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
  812. })
  813. @PostMapping(value = "/insertTmstrainWagonUnLoadResult")
  814. public Map<String, Object> insertTmstrainWagonUnLoadResult(@RequestBody(required = false) Map<String, Object> tmstrainWagonUnloadResult) {
  815. return tmsTrainFeign.insertTmstrainWagonUnLoadResult(tmstrainWagonUnloadResult);
  816. }
  817. @ApiOperation(value = "通过主键修改车皮卸车作业实绩")
  818. @ApiImplicitParams({
  819. @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
  820. })
  821. @PostMapping(value = "/upadteTmstrainWagonUnLoadResultByUnLoadingId")
  822. public Map<String, Object> upadteTmstrainWagonUnLoadResultByUnLoadingId(@RequestBody(required = false) Map<String, Object> tmstrainWagonUnloadResult) {
  823. return tmsTrainFeign.upadteTmstrainWagonUnLoadResultByUnLoadingId(tmstrainWagonUnloadResult);
  824. }
  825. @ApiOperation(value = "查看火运实绩")
  826. @ApiImplicitParams({
  827. @ApiImplicitParam(name = "apiId(65)", value = "表头", required = false, dataType = "Interger")
  828. })
  829. @PostMapping("/getTmstrainresult")
  830. public Map<String, Object> getTmstrainresult(@RequestBody(required = false) Map<String, Object> mapValue,
  831. Integer apiId,
  832. Integer pageNum,
  833. Integer pageSize,
  834. String con) {
  835. return tmsTrainFeign.getTmstrainresult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,con);
  836. }
  837. @ApiOperation(value = "通过主键查询车皮卸车作业信息")
  838. @ApiImplicitParams({
  839. @ApiImplicitParam(name = "unloadingId", value = "车皮卸车主键", required = false, dataType = "BigDecimal")
  840. })
  841. @PostMapping(value = "/getTmstrainWagonUnLoadResultByUnLoadingId/{unloadingId}")
  842. public Map<String, Object> getTmstrainWagonUnLoadResultByUnLoadingId(@PathVariable("unloadingId") BigDecimal unloadingId) {
  843. return tmsTrainFeign.getTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
  844. }
  845. //下拉框
  846. @ApiOperation(value = "获取卸车地点名称")
  847. @ApiImplicitParams({
  848. })
  849. @GetMapping(value = "/getUnloadingPointName")
  850. public Map<String, Object> getUnloadingPointName() {
  851. return tmsTrainFeign.getUnloadingPointName();
  852. }
  853. @ApiOperation(value = "获取卸车路径名称")
  854. @ApiImplicitParams({
  855. })
  856. @GetMapping(value = "/getUnloadingRouteName")
  857. public Map<String, Object> getUnloadingRouteName() {
  858. return tmsTrainFeign.getUnloadingRouteName();
  859. }
  860. @ApiOperation(value = "查询请车作业")
  861. @ApiImplicitParams({
  862. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  863. @ApiImplicitParam(name = "apiId(57)", value = "动态表头", required = false, dataType = "Integer"),
  864. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  865. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  866. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  867. })
  868. @PostMapping("/getAllWagonPlease")
  869. public Map<String, Object> getAllWagonPlease(@RequestBody(required = false) Map<String, Object> mapValue,
  870. Integer apiId,
  871. Integer pageNum,
  872. Integer pageSize,
  873. Integer status,
  874. Integer resultType,
  875. Integer resultId,
  876. String con) {
  877. return tmsTrainFeign.getAllWagonPlease(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, resultType,resultId,con);
  878. }
  879. @ApiOperation(value = "通过Id查询请车作业")
  880. @PostMapping("/getWagonPleaseById/{resultId}")
  881. public Map<String, Object> getWagonPleaseById(@PathVariable("resultId") Integer resultId) {
  882. return tmsTrainFeign.getWagonPleaseById(resultId);
  883. }
  884. @ApiOperation(value = "新增请车作业")
  885. @ApiImplicitParams({
  886. @ApiImplicitParam(name = "amstrainWagonPlease", value = "请车作业对象", required = false, dataType = "AmstrainWagonPlease"),
  887. })
  888. @PostMapping("/addWagonPlease")
  889. public Map<String, Object> addWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  890. return tmsTrainFeign.addWagonPlease(tmstrainPleaseApproveResult);
  891. }
  892. @ApiOperation(value = "修改请车作业")
  893. @ApiImplicitParams({
  894. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  895. })
  896. @PostMapping("/updateWagonPlease")
  897. public Map<String, Object> updateWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  898. return tmsTrainFeign.updateWagonPlease(tmstrainPleaseApproveResult);
  899. }
  900. @ApiOperation(value = "逻辑删除请车作业 设置状态码为 3")
  901. @ApiImplicitParams({
  902. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  903. })
  904. @PostMapping("/deleteWagonPlease/{resultId}")
  905. public Map<String, Object> deleteWagonPlease(@PathVariable("resultId") Integer resultId) {
  906. return tmsTrainFeign.deleteWagonPlease(resultId);
  907. }
  908. @ApiOperation(value = "下发请车作业 设置状态码为 1")
  909. @ApiImplicitParams({
  910. @ApiImplicitParam(name = "resultId", value = "请车作业实绩对象", required = false, dataType = "Integer"),
  911. })
  912. @PostMapping("/sendWagonPlease/{resultId}")
  913. public Map<String, Object> sendWagonPlease(@PathVariable("resultId") Integer resultId) {
  914. return tmsTrainFeign.sendWagonPlease(resultId);
  915. }
  916. //下拉框
  917. @ApiOperation(value = "查询所有发货单位")
  918. @GetMapping("/getShipper")
  919. public Map<String, Object> getShipper() {
  920. return tmsTrainFeign.getShipper();
  921. }
  922. @ApiOperation(value = "查询批车作业")
  923. @ApiImplicitParams({
  924. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  925. @ApiImplicitParam(name = "apiId(70)", value = "动态表头", required = false, dataType = "Integer"),
  926. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  927. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  928. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  929. })
  930. @PostMapping("/getApproveAllWagonPlease")
  931. public Map<String, Object> getApproveAllWagonPlease(@RequestBody(required = false) Map<String, Object> mapValue,
  932. Integer apiId,
  933. Integer pageNum,
  934. Integer pageSize,
  935. Integer resultType,
  936. Integer status,
  937. String con) {
  938. return tmsTrainFeign.getApproveAllWagonPlease(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,status,con);
  939. }
  940. @ApiOperation(value = "通过Id查询批车作业")
  941. @PostMapping("/getApproveWagonPleaseById/{resultId}")
  942. public Map<String, Object> getApproveWagonPleaseById(@PathVariable("resultId") Integer resultId) {
  943. return tmsTrainFeign.getApproveWagonPleaseById(resultId);
  944. }
  945. @ApiOperation(value = "新增批车作业")
  946. @ApiImplicitParams({
  947. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  948. })
  949. @PostMapping("/addApproveWagonPlease")
  950. public Map<String, Object> addApproveWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  951. return tmsTrainFeign.addApproveWagonPlease(tmstrainPleaseApproveResult);
  952. }
  953. @ApiOperation(value = "修改批车作业")
  954. @ApiImplicitParams({
  955. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  956. })
  957. @PostMapping("/updateApproveWagonPlease")
  958. public Map<String, Object> updateApproveWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  959. return tmsTrainFeign.updateApproveWagonPlease(tmstrainPleaseApproveResult);
  960. }
  961. @ApiOperation(value = "逻辑删除批车作业")
  962. @ApiImplicitParams({
  963. @ApiImplicitParam(name = "resultId", value = "请车作业实绩对象", required = false, dataType = "Integer"),
  964. })
  965. @PostMapping("/deleteApproveWagonPlease/{resultId}")
  966. public Map<String, Object> deleteApproveWagonPlease(@PathVariable("resultId") Integer resultId) {
  967. return tmsTrainFeign.deleteApproveWagonPlease(resultId);
  968. }
  969. /*======================================汽运==========================================*/
  970. //******************************************TmstruckLoadResultController***********************************
  971. @ApiOperation(value="查询所有正在排队的销售订单")
  972. @ApiImplicitParams({
  973. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  974. @ApiImplicitParam(name = "apiId(227)", value = "动态表头", required = false, dataType = "Integer"),
  975. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  976. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  977. })
  978. @PostMapping("/getSaleOrderOnQueue")
  979. public Map<String, Object> getSaleOrderOnQueue(@RequestBody(required=false) Map<String,Object> mapValue,
  980. Integer apiId,
  981. Integer pageNum,
  982. Integer pageSize,
  983. String con){
  984. return tmsTruckFeign.getSaleOrderOnQueue(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con);
  985. }
  986. @ApiOperation(value="查询订单下的物资")
  987. @GetMapping("getOrderMaterial/{orderId}")
  988. public Map<String, Object> getOrderMaterial(@PathVariable("orderId") Integer orderId){
  989. return tmsTruckFeign.getOrderMaterial(orderId);
  990. }
  991. @ApiOperation(value="查询仓库下所有月台")
  992. @GetMapping("getPlatformIdByWarehouse/{warehouseId}")
  993. public Map<String, Object> getPlatformIdByWarehouse(@PathVariable("warehouseId") Integer warehouseId){
  994. return tmsTruckFeign.getPlatformIdByWarehouse(warehouseId);
  995. }
  996. @ApiOperation(value="修改装车点和装车顺序:销售钢材专用 ")
  997. @ApiImplicitParams({
  998. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  999. })
  1000. @PostMapping("/updateLoadingIdAndLoadSq")
  1001. public Map<String, Object> updateLoadingIdAndLoadSq(@RequestBody(required=false) Map<String, Object> map){
  1002. return tmsTruckFeign.updateLoadingIdAndLoadSq(map);
  1003. }
  1004. @ApiOperation(value = "查询所有装车实绩")
  1005. @ApiImplicitParams({
  1006. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1007. @ApiImplicitParam(name = "apiId(91)", value = "动态表头", required = false, dataType = "Integer"),
  1008. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1009. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1010. })
  1011. @PostMapping("/getAllLoadResult")
  1012. public Map<String, Object> getAllLoadResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1013. Integer apiId,
  1014. Integer pageNum,
  1015. Integer pageSize,
  1016. Integer status,
  1017. Integer orderType, String con){
  1018. return tmsTruckFeign.getAllLoadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, orderType, con);
  1019. }
  1020. @ApiOperation(value = "新增采购汽车装车实绩")
  1021. @ApiImplicitParams({
  1022. @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
  1023. })
  1024. @PostMapping("/addCGLoadResult")
  1025. public Map<String, Object> addCGLoadResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1026. return tmsTruckFeign.addCGLoadResult(mapValue);
  1027. }
  1028. @ApiOperation(value="销售新增钢材装车实绩 ")
  1029. @ApiImplicitParams({
  1030. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1031. })
  1032. @PostMapping("addSaleLoadResult")
  1033. public Map<String, Object> addSaleLoadResult(@RequestBody(required=false) Map<String, Object> map){
  1034. return tmsTruckFeign.addSaleLoadResult(map);
  1035. }
  1036. @ApiOperation(value="销售新增钢渣、水渣、危化品装车实绩 ")
  1037. @ApiImplicitParams({
  1038. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1039. })
  1040. @PostMapping("/addSale2LoadResult")
  1041. public Map<String, Object> addSale2LoadResult(@RequestBody(required=false) Map<String, Object> map){
  1042. return tmsTruckFeign.addSale2LoadResult(map);
  1043. }
  1044. @ApiOperation(value = "修改汽车装车实绩")
  1045. @ApiImplicitParams({
  1046. @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
  1047. })
  1048. @PostMapping("/updateLoadResult")
  1049. public Map<String, Object> updateLoadResult(@RequestBody Map<String, Object> map) {
  1050. return tmsTruckFeign.updateLoadResult(map);
  1051. }
  1052. @ApiOperation(value = "通过ID查询装车实绩 ")
  1053. @ApiImplicitParams({
  1054. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1055. })
  1056. @PostMapping("/getLoadResultById/{resultId}")
  1057. public Map<String, Object> getLoadResultById(@PathVariable("resultId") Integer resultId) {
  1058. return tmsTruckFeign.getLoadResultById(resultId);
  1059. }
  1060. @ApiOperation(value = "逻辑删除车装车实绩")
  1061. @ApiImplicitParams({
  1062. @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
  1063. })
  1064. @PostMapping("/deleteLoadResult/{resultId}")
  1065. public Map<String, Object> deleteLoadResult(@PathVariable("resultId") Integer resultId) {
  1066. return tmsTruckFeign.deleteLoadResult(resultId);
  1067. }
  1068. //***************************************TmstruckEnfactoryResultController***************************
  1069. @ApiOperation(value = "查询所有的进厂实绩")
  1070. @ApiImplicitParams({
  1071. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1072. @ApiImplicitParam(name = "apiId(220)", value = "动态表头", required = false, dataType = "Integer"),
  1073. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1074. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1075. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1076. })
  1077. @PostMapping("/getAllEnFactoryResult")
  1078. public Map<String, Object> getAllEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1079. Integer apiId,
  1080. Integer pageNum,
  1081. Integer pageSize,
  1082. Integer orderType,
  1083. String con
  1084. ){
  1085. return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
  1086. }
  1087. @ApiOperation(value="通过运输订单id查询物资信息")
  1088. @ApiImplicitParams({
  1089. @ApiImplicitParam(name = "orderId", value = "运输订单id", required = false, dataType = "Integer"),
  1090. })
  1091. @GetMapping("/getMaterial")
  1092. public Map<String, Object> getMaterial(Integer orderId){
  1093. return tmsTruckFeign.getMaterial(orderId);
  1094. }
  1095. @ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
  1096. @ApiImplicitParams({
  1097. @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
  1098. })
  1099. @PostMapping("/addEnFactoryResult")
  1100. public Map<String, Object> addEnFactoryResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1101. return tmsTruckFeign.addEnFactoryResult(mapValue);
  1102. }
  1103. @ApiOperation(value = "PDA扫描更新进厂作业实绩")
  1104. @ApiImplicitParams({
  1105. @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
  1106. })
  1107. @PostMapping("/enFactoryResultByPDA")
  1108. public Map<String, Object> enFactoryResultByPDA(@RequestBody(required = false) Map<String, Object> mapValue) {
  1109. return tmsTruckFeign.enFactoryResultByPDA(mapValue);
  1110. }
  1111. //***************************************TmstruckWeightResultController***************************
  1112. @ApiOperation(value = "查询计毛实绩")
  1113. @ApiImplicitParams({
  1114. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1115. @ApiImplicitParam(name = "apiId(102)", value = "动态表头", required = false, dataType = "Integer"),
  1116. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1117. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1118. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1119. })
  1120. @PostMapping("/getAllJiMaoResult")
  1121. public Map<String, Object> getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1122. Integer apiId,
  1123. Integer pageNum,
  1124. Integer pageSize,
  1125. Integer orderType,String con){
  1126. return tmsTruckFeign.getAllJiMaoResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
  1127. }
  1128. @ApiOperation(value = "查询计皮实绩")
  1129. @ApiImplicitParams({
  1130. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1131. @ApiImplicitParam(name = "apiId(104)", value = "动态表头", required = false, dataType = "Integer"),
  1132. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1133. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1134. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1135. })
  1136. @PostMapping("/getAllJiPiResult")
  1137. public Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1138. Integer apiId,
  1139. Integer pageNum,
  1140. Integer pageSize,
  1141. Integer orderType,
  1142. String con) {
  1143. return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
  1144. }
  1145. @ApiOperation(value = "采集新增计毛实绩 ")
  1146. @ApiImplicitParams({
  1147. @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
  1148. })
  1149. @PostMapping("/addJiMaoResult")
  1150. public Map<String, Object> addJiMaoResult(@RequestBody Map<String, Object> mapValue) {
  1151. return tmsTruckFeign.addJiMaoResult(mapValue);
  1152. }
  1153. @ApiOperation(value = "采集新增计皮实绩 ")
  1154. @ApiImplicitParams({
  1155. @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
  1156. })
  1157. @PostMapping("/addJiPiResult")
  1158. public Map<String, Object> addJiPiResult(@RequestBody Map<String, Object> mapValue) {
  1159. return tmsTruckFeign.addJiPiResult(mapValue);
  1160. }
  1161. //****************************************TmstruckUnloadResultController*******************************
  1162. @ApiOperation(value = "查询卸货实绩")
  1163. @ApiImplicitParams({
  1164. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1165. @ApiImplicitParam(name = "apiId(103)", value = "动态表头", required = false, dataType = "Integer"),
  1166. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1167. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1168. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1169. })
  1170. @PostMapping("/getUnloadResult")
  1171. public Map<String, Object> getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1172. Integer apiId,
  1173. Integer pageNum,
  1174. Integer pageSize,
  1175. Integer orderType,
  1176. String con
  1177. ){
  1178. return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
  1179. }
  1180. @ApiOperation(value = "添加卸货实绩")
  1181. @ApiImplicitParams({
  1182. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1183. })
  1184. @PostMapping("/addUnloadResult")
  1185. public Map<String, Object> addUnloadResult(@RequestBody Map<String, Object> mapValue) {
  1186. return tmsTruckFeign.addUnloadResult(mapValue);
  1187. }
  1188. @ApiOperation(value = "更新卸货实绩 ")
  1189. @ApiImplicitParams({
  1190. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1191. })
  1192. @PostMapping("/updateUnloadResult")
  1193. public Map<String, Object> updateUnloadResult(@RequestBody Map<String, Object> mapValue) {
  1194. return tmsTruckFeign.updateUnloadResult(mapValue);
  1195. }
  1196. //****************************************TmstruckReceiptResultController*******************************
  1197. @ApiOperation(value = "查询收货实绩")
  1198. @ApiImplicitParams({
  1199. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1200. @ApiImplicitParam(name = "apiId(107)", value = "动态表头", required = false, dataType = "Integer"),
  1201. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1202. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1203. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1204. })
  1205. @PostMapping("/getReceiveResult")
  1206. public Map<String, Object> getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1207. Integer apiId,
  1208. Integer pageNum,
  1209. Integer pageSize,
  1210. Integer orderType,String con
  1211. ){
  1212. return tmsTruckFeign.getReceiveResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
  1213. }
  1214. //****************************************TmstruckLeaveFactoryResultController*******************************
  1215. @ApiOperation(value="查询出厂实绩")
  1216. @ApiImplicitParams({
  1217. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1218. @ApiImplicitParam(name = "apiId(110)", value = "动态表头", required = false, dataType = "Integer"),
  1219. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1220. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1221. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1222. })
  1223. @PostMapping("/getLeaveFactoryResult")
  1224. public Map<String, Object> getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1225. Integer apiId,
  1226. Integer pageNum,
  1227. Integer pageSize,
  1228. Integer orderType,String con
  1229. ){
  1230. return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
  1231. }
  1232. @ApiOperation(value="PAD扫描汽车出厂实绩")
  1233. @ApiImplicitParams({
  1234. @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
  1235. })
  1236. @PostMapping("/addLeaveFactoryResult")
  1237. public Map<String, Object> addLeaveFactoryResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1238. return tmsTruckFeign.addLeaveFactoryResult(mapValue);
  1239. }
  1240. //****************************************TmstruckMeasureCommissionController*******************************
  1241. @ApiOperation(value = "查询计量委托 ")
  1242. @ApiImplicitParams({
  1243. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1244. })
  1245. @PostMapping("/getAllMeasureCommission/{type}")
  1246. public Map<String, Object> getAllMeasureCommission(@PathVariable("type") Integer type) {
  1247. return tmsTruckFeign.getAllMeasureCommission(type);
  1248. }
  1249. //****************************************TmstruckQualityResultController*******************************
  1250. @ApiOperation(value = "查询所有的质检作业")
  1251. @ApiImplicitParams({
  1252. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1253. @ApiImplicitParam(name = "apiId(111)", value = "动态表头", required = false, dataType = "Integer"),
  1254. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1255. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1256. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1257. })
  1258. @PostMapping("/getQualityResult")
  1259. public Map<String, Object> getQualityResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1260. Integer apiId,
  1261. Integer pageNum,
  1262. Integer pageSize,
  1263. Integer orderType,
  1264. String con
  1265. ){
  1266. return tmsTruckFeign.getQualityResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,orderType, con);
  1267. }
  1268. @ApiOperation(value = "通过ID获取质检实绩 ")
  1269. @ApiImplicitParams({
  1270. @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
  1271. })
  1272. @PostMapping("/getQualityResultById/{resultId}")
  1273. public Map<String, Object> getQualityResultById(@PathVariable("resultId") Integer resultId) {
  1274. return tmsTruckFeign.getQualityResultById(resultId);
  1275. }
  1276. @ApiOperation(value = "修改质检实绩 ")
  1277. @ApiImplicitParams({
  1278. @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
  1279. })
  1280. @PostMapping("/updateQualityResult")
  1281. public Map<String, Object> updateQualityResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1282. return tmsTruckFeign.updateQualityResult(mapValue);
  1283. }
  1284. //*********************************内转物流tms-train*********************************************************************
  1285. @PostMapping("/addTrainLoadResultForConverted")
  1286. @ApiOperation(value = "内转物流新增装车")
  1287. public Map<String, Object> addTrainLoadResultForConverted(@RequestBody(required = false) Map<String, Object> tmstrainLoadingResult) {
  1288. return tmsTrainFeign.addTrainLoadResultForConverted(tmstrainLoadingResult);
  1289. }
  1290. @ApiOperation(value = "内转新增卸车实绩")
  1291. @ApiImplicitParams({
  1292. })
  1293. @PostMapping(value = "/addTmsTrainUnloadResultForNZ")
  1294. public Map<String, Object> addTmsTrainUnloadResultForNZ(@RequestBody(required = false)Map<String, Object> map) {
  1295. return tmsTrainFeign.addTmsTrainUnloadResultForNZ(map);
  1296. }
  1297. @ApiOperation(value = "查询车皮物资信息")
  1298. @ApiImplicitParams({
  1299. @ApiImplicitParam(name = "apiId(213)", value = "表头", required = false, dataType = "Interger")
  1300. })
  1301. @PostMapping(value = "/getMaterialAndCarByLoadingId")
  1302. public Map<String, Object> getMaterialAndCarByLoadingId(
  1303. @RequestBody(required = false) Map<String, Object> mapValue,
  1304. Integer apiId,
  1305. Integer pageNum,
  1306. Integer pageSize,
  1307. Integer loadingId,
  1308. Integer unloadingId) {
  1309. return tmsTrainFeign.getMaterialAndCarByLoadingId(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, loadingId, unloadingId);
  1310. }
  1311. @PostMapping("/selectLoadByResultId/{resultId}")
  1312. @ApiOperation(value = "内转物流通过主键查询车皮装车作业信息")
  1313. public Map<String, Object> selectLoadByResultId(@PathVariable("resultId") BigDecimal resultId) {
  1314. Map<String, Object> mes = tmsTrainFeign.selectLoadByResultId(resultId);
  1315. return mes;
  1316. }
  1317. @ApiOperation(value = "内转查询装车作业信息")
  1318. @ApiImplicitParams({
  1319. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1320. @ApiImplicitParam(name = "apiId(203)", value = "动态表头", required = false, dataType = "Integer"),
  1321. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1322. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1323. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1324. })
  1325. @PostMapping("/getTmstrainWagonLoadForConverted")
  1326. public Map<String, Object> getTmstrainWagonLoadForConverted(@RequestBody(required = false)
  1327. Integer apiId,
  1328. Integer pageNum,
  1329. Integer pageSize,
  1330. String con
  1331. ) {
  1332. return tmsTrainFeign.getTmstrainWagonLoadForConverted(apiId, pageNum, pageSize,con);
  1333. }
  1334. @PostMapping("/addWagonPleaseForNZ")
  1335. @ApiOperation(value = "内转物流新增请车")
  1336. public Map<String, Object> addPleaseForNZ(@RequestBody(required = false) Map<String, Object> tmstrainLoadingResult) {
  1337. return tmsTrainFeign.addPleaseForNZ(tmstrainLoadingResult);
  1338. }
  1339. @ApiOperation(value="内转新增达州站-厂内装车实绩 ")
  1340. @ApiImplicitParams({
  1341. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1342. })
  1343. @PostMapping("/addDaZhouToDaGangLoadResult")
  1344. public Map<String, Object> addDaZhouToDaGangLoadResult(@RequestBody(required = false)Map<String, Object> map){
  1345. return tmsTruckFeign.addDaZhouToDaGangLoadResult(map);
  1346. }
  1347. @ApiOperation(value = "内转查询请车作业信息")
  1348. @ApiImplicitParams({
  1349. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1350. @ApiImplicitParam(name = "apiId(199)", value = "动态表头", required = false, dataType = "Integer"),
  1351. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1352. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1353. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1354. })
  1355. @PostMapping("/getAllWagonPleaseForConverted")
  1356. public Map<String, Object> getAllWagonPleaseForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1357. Integer apiId,
  1358. Integer pageNum,
  1359. Integer pageSize,
  1360. Integer status,
  1361. String con
  1362. ) {
  1363. if (mapValue == null) {
  1364. mapValue = new HashMap<>();
  1365. }
  1366. mapValue.put("status", status);
  1367. return tmsTrainFeign.getTmstrainWagonLoadForConverted(apiId, pageNum, pageSize,con);
  1368. }
  1369. @PostMapping("/getPleasePlanByResultId/{resultId}")
  1370. @ApiOperation(value = "内转物流通过主键查请车计划")
  1371. public Map<String, Object> getPleasePlanByResultId(@PathVariable("resultId") BigDecimal resultId) {
  1372. Map<String, Object> mes = tmsTrainFeign.getPleasePlanByResultId(resultId);
  1373. return mes;
  1374. }
  1375. @PostMapping("/getApproveByResultId/{resultId}")
  1376. @ApiOperation(value = "内转物流通过主键查询车皮请车作业信息")
  1377. public Map<String, Object> getApproveByResultId(@PathVariable("resultId") BigDecimal resultId) {
  1378. Map<String, Object> mes = tmsTrainFeign.getApproveByResultId(resultId);
  1379. return mes;
  1380. }
  1381. @ApiOperation(value = "查询卸车作业信息")
  1382. @ApiImplicitParams({
  1383. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1384. @ApiImplicitParam(name = "apiId(201)", value = "动态表头", required = false, dataType = "Integer"),
  1385. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1386. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1387. })
  1388. @PostMapping("/selectWagonUnLoadResultForConverted")
  1389. public Map<String, Object> selectWagonUnLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1390. Integer apiId,
  1391. Integer pageNum,
  1392. Integer pageSize,
  1393. String con
  1394. ) {
  1395. return tmsTrainFeign.selectWagonUnLoadResultForConverted(apiId, pageNum, pageSize,con);
  1396. }
  1397. @ApiOperation(value = "内转查询火车卸货信息")
  1398. @ApiImplicitParams({
  1399. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1400. @ApiImplicitParam(name = "apiId(202)", value = "动态表头", required = false, dataType = "Integer"),
  1401. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1402. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1403. })
  1404. @PostMapping("/selectTrainUnLoadResultForConverted")
  1405. public Map<String, Object> selectTrainUnLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1406. Integer apiId,
  1407. Integer pageNum,
  1408. Integer pageSize,
  1409. String con
  1410. ) {
  1411. return tmsTrainFeign.selectTrainUnLoadResultForConverted(apiId, pageNum, pageSize,con);
  1412. }
  1413. /**
  1414. * 新增汽车装货实绩
  1415. */
  1416. @ApiOperation(value = "新增汽车装车实绩")
  1417. @ApiImplicitParams({
  1418. @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
  1419. })
  1420. @PostMapping("/addLoadResultForConverted")
  1421. public Map<String, Object> addLoadResultForConverted(@RequestBody(required = false) Map<String, Object> map) {
  1422. Map<String, Object> resTfulResult = tmsTruckFeign.addLoadResultForConverted(map);
  1423. return resTfulResult;
  1424. }
  1425. @ApiOperation(value = "查询所有装车实绩")
  1426. @ApiImplicitParams({
  1427. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1428. @ApiImplicitParam(name = "apiId(91)", value = "动态表头", required = false, dataType = "Integer"),
  1429. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1430. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1431. })
  1432. @PostMapping("/selectLoadResultForConverted")
  1433. public Map<String, Object> selectLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1434. Integer apiId,
  1435. Integer pageNum,
  1436. Integer pageSize
  1437. ) {
  1438. return tmsTruckFeign.selectLoadResultForConverted(mapValue, apiId, pageNum, pageSize);
  1439. }
  1440. //根据实绩id渲染数据
  1441. @ApiOperation(value = "通过ID查询装车实绩 ")
  1442. @ApiImplicitParams({
  1443. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1444. })
  1445. @PostMapping("/getLoadResultByResultId/{resultId}")
  1446. public Map<String, Object> getLoadResultByResultId(@PathVariable("resultId") Integer resultId) {
  1447. Map<String, Object> resTfulResult = tmsTruckFeign.getLoadResultByResultId(resultId);
  1448. return resTfulResult;
  1449. }
  1450. @ApiOperation(value = "内转物流查询质检作业")
  1451. @ApiImplicitParams({
  1452. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1453. @ApiImplicitParam(name = "apiId(204)", value = "动态表头", required = false, dataType = "Integer"),
  1454. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1455. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1456. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1457. })
  1458. @PostMapping("/selectQualityResultForConverted")
  1459. public Map<String, Object> selectQualityResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1460. Integer apiId,
  1461. Integer pageNum,
  1462. Integer pageSize
  1463. ) {
  1464. return tmsTruckFeign.selectQualityResultForConverted(mapValue, apiId, pageNum, pageSize);
  1465. }
  1466. /**
  1467. * 展示计数实绩列表
  1468. */
  1469. @ApiOperation(value = "查询计数实绩列表")
  1470. @ApiImplicitParams({
  1471. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1472. @ApiImplicitParam(name = "apiId(364)", value = "动态表头", required = false, dataType = "Integer"),
  1473. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1474. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1475. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1476. })
  1477. @PostMapping("/selectCountList")
  1478. public Map<String, Object> selectCountList(@RequestBody(required = false) Map<String, Object> mapValue,
  1479. Integer apiId,
  1480. Integer pageNum,
  1481. Integer pageSize
  1482. ) {
  1483. return tmsTruckFeign.selectCountList(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
  1484. }
  1485. //采购内转待装车实绩
  1486. @ApiOperation(value = "查询待装车运单列表")
  1487. @PostMapping("/cgNzLoadingResult")
  1488. public Map<String, Object> cgNzLoadingResult(@RequestBody(required = false) Map<String, Object> mapVal,
  1489. Integer apiId,
  1490. Integer pageNum,
  1491. Integer pageSize,
  1492. Integer orderType,
  1493. Integer orderStatus
  1494. ) {
  1495. return tmsTruckFeign.cgNzLoadingResult(mapVal==null?new HashMap<>():mapVal, apiId, pageNum, pageSize,orderType,orderStatus);
  1496. }
  1497. /**
  1498. * 内转物流卸货装车实绩
  1499. *
  1500. * @param map
  1501. * @return
  1502. */
  1503. @ApiOperation(value = "内转物流新增卸货实绩 ")
  1504. @ApiImplicitParams({
  1505. @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
  1506. })
  1507. @PostMapping("/addUnLoadResultForconverted")
  1508. public Map<String, Object> addUnLoadResultForconverted(@RequestBody(required = false) Map<String, Object> map) {
  1509. Map<String, Object> resTfulResult = tmsTruckFeign.addUnLoadResultForconverted(map);
  1510. return resTfulResult;
  1511. }
  1512. @ApiOperation(value = "查询所有的包月作业实绩")
  1513. @ApiImplicitParams({
  1514. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1515. @ApiImplicitParam(name = "apiId(还没有)", value = "动态表头", required = false, dataType = "Integer"),
  1516. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1517. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1518. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1519. })
  1520. @PostMapping("/getTmstruckMonthResult")
  1521. public Map<String, Object> getTmstruckMonthResult(@RequestBody(required = false) Map<String, Object> mapValue,
  1522. Integer apiId,
  1523. Integer pageNum,
  1524. Integer pageSize
  1525. ) {
  1526. return tmsTruckFeign.getTmstruckMonthResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
  1527. }
  1528. /**
  1529. * 通过运输订单判断下一步是否需要计量,更新汽车衡到计量实绩中
  1530. */
  1531. @PostMapping("/updateTruckCalculate/{orderId}")
  1532. public Map<String, Object> updateTruckCalculate(@PathVariable("orderId") Integer orderId) {
  1533. return tmsTruckFeign.isNextNeedJl(orderId);
  1534. }
  1535. @ApiOperation(value="查询所有的短信实绩")
  1536. @ApiImplicitParams({
  1537. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1538. @ApiImplicitParam(name = "apiId(175)", value = "动态表头", required = false, dataType = "Integer"),
  1539. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1540. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1541. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1542. })
  1543. @PostMapping("/getSmsResult")
  1544. public Map<String, Object> getSmsResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1545. Integer apiId,
  1546. Integer pageNum,
  1547. Integer pageSize,
  1548. String con
  1549. ){
  1550. if (mapValue == null) {
  1551. mapValue = new HashMap<>();
  1552. }
  1553. return tmsTruckFeign.getSmsResult(mapValue,apiId,pageNum,pageSize,con);
  1554. }
  1555. @ApiOperation(value="APP查询进厂实绩")
  1556. @PostMapping("/getEnfactoryResultList")
  1557. public Map<String ,Object> getEnfactoryResultList() {
  1558. return tmsTruckFeign.getEnfactoryResultList();
  1559. }
  1560. @ApiOperation(value="APP通过运输订单id查询进厂实绩")
  1561. @PostMapping("/getEnfactoryMessageByOrderId")
  1562. public Map<String ,Object> getEnfactoryMessageByOrderId(String orderNumber) {
  1563. return tmsTruckFeign.getEnfactoryMessageByOrderId(orderNumber);
  1564. }
  1565. @ApiOperation(value="查询计皮实绩")
  1566. @ApiImplicitParams({
  1567. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1568. @ApiImplicitParam(name = "apiId(363)", value = "动态表头", required = false, dataType = "Integer"),
  1569. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1570. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1571. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1572. })
  1573. @PostMapping("/getAllTimeTaskResult")
  1574. public RESTfulResult getAllTimeTaskResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1575. Integer apiId,
  1576. Integer pageNum,
  1577. Integer pageSize,
  1578. String con
  1579. ){
  1580. return tmsTruckFeign.getAllTimeTaskResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con);
  1581. }
  1582. @ApiOperation(value="新增钢材到异地库达州站驻港人员确定收货")
  1583. @PostMapping("/addSteelNzReceiptResult")
  1584. public Map<String, Object> addSteelNzReceiptResult(@RequestBody(required = false) Map<String, Object> map) {
  1585. return tmsTruckFeign.addSteelNzReceiptResult(map);
  1586. }
  1587. @ApiOperation(value="更新计量实绩 ")
  1588. @ApiImplicitParams({
  1589. @ApiImplicitParam(name = "mapList", value = "计量数据", required = false, dataType = "List<Map>"),
  1590. })
  1591. @PostMapping("/updateTruckWeight")
  1592. public Map<String, Object> updateTruckWeight(@RequestBody List<Map<String, Object>> mapList){
  1593. return tmsTruckFeign.updateTruckWeight(mapList);
  1594. }
  1595. @ApiOperation(value="查询所有的退货实绩")
  1596. @ApiImplicitParams({
  1597. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1598. @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
  1599. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1600. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1601. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1602. })
  1603. @PostMapping("/getAllReturnResult")
  1604. public Map<String, Object> getAllReturnResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1605. Integer apiId,
  1606. Integer pageNum,
  1607. Integer pageSize,
  1608. Integer orderType,
  1609. String con
  1610. ){
  1611. return tmsTruckFeign.getAllReturnResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, orderType, con);
  1612. }
  1613. @ApiOperation(value="提货单 ")
  1614. @ApiImplicitParams({
  1615. @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
  1616. })
  1617. @PostMapping("/getBillOrder")
  1618. public Map<String, Object> getBillOrder(@RequestParam String orderNumber){
  1619. return tmsTruckFeign.getBillOrder(orderNumber);
  1620. }
  1621. @ApiOperation(value="发货通知单 ")
  1622. @ApiImplicitParams({
  1623. @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
  1624. })
  1625. @PostMapping("/getDeliveryOrder")
  1626. public Map<String, Object> getDeliveryOrder(@RequestParam String orderNumber){
  1627. return tmsTruckFeign.getDeliveryOrder(orderNumber);
  1628. }
  1629. @ApiOperation(value="模糊查询江船名 ")
  1630. @ApiImplicitParams({
  1631. @ApiImplicitParam(name = "state", value = "用户输入的江船名", required = false, dataType = "String"),
  1632. })
  1633. @PostMapping("getShipNameList")
  1634. public Map<String, Object> getShipNameList(@RequestParam(value = "state") String state){
  1635. return tmsshipFeign.getShipNameList(state);
  1636. }
  1637. @ApiOperation(value = "国产矿物流新增装车")
  1638. @PostMapping(value = "/addDomesticLoadResult")
  1639. public Map<String, Object> addDomesticLoadResult(@RequestBody(required = false) Map<String, Object> map) {
  1640. return tmsTrainFeign.addDomesticLoadResult(map);
  1641. }
  1642. @ApiOperation(value = "国产矿物流补录装车信息")
  1643. @PostMapping(value = "/updateDomesticLoadResult")
  1644. public Map<String, Object> updateDomesticLoadResult(@RequestBody(required = false) Map<String, Object> map) {
  1645. return tmsTrainFeign.updateDomesticLoadResult(map);
  1646. }
  1647. @ApiOperation(value = "添加火车计量委托")
  1648. @PostMapping(value = "/addTrainMeasureCommission")
  1649. public Map<String, Object> addTrainMeasureCommission(@RequestBody(required = false) Map<String, Object> map) {
  1650. return tmsTrainFeign.addTrainMeasureCommission(map);
  1651. }
  1652. @ApiOperation(value = "查询需要发送计量委托的车皮信息")
  1653. @ApiImplicitParams({
  1654. @ApiImplicitParam(name = "apiId(209)", value = "表头", required = false, dataType = "Interger")
  1655. })
  1656. @PostMapping(value = "/getLoadResultToSendMC")
  1657. public Map<String, Object> getLoadResultToSendMC( @RequestBody(required = false) Map<String, Object> mapValue,
  1658. Integer apiId,
  1659. Integer pageNum,
  1660. Integer pageSize,Integer resultType) {
  1661. return tmsTrainFeign.getLoadResultToSendMC(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, resultType);
  1662. }
  1663. @ApiOperation(value = "批量新增计量委托")
  1664. @PostMapping(value = "/batchSendMeasureCommission")
  1665. public Map<String, Object> batchSendMeasureCommission(@RequestBody(required = false) Map<String, Object> map) {
  1666. return tmsTrainFeign.batchSendMeasureCommission(map);
  1667. }
  1668. //获取合同水分值,实装吨位,水分吨位
  1669. @PostMapping("/getMoistureAndInstallations")
  1670. public Map<String,Object> getMoistureAndInstallations(@RequestBody(required=false) Map<String,Object> map){
  1671. return tmsshipFeign.getMoistureAndInstallations(map);
  1672. }
  1673. @ApiOperation(value="查询辅料燃料统计报表")
  1674. @PostMapping("/getRLFLReport")
  1675. public Map<String, Object> getRLFLReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1676. Integer apiId,
  1677. Integer pageNum,
  1678. Integer pageSize,
  1679. Integer orderType
  1680. ){
  1681. return tmsTruckFeign.getRLFLReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, orderType);
  1682. }
  1683. @ApiOperation(value="查询辅料燃料统计报表")
  1684. @PostMapping("/getAllSaleReport")
  1685. public Map<String, Object> getAllSaleReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1686. Integer apiId,
  1687. Integer pageNum,
  1688. Integer pageSize, String carrierSsoId
  1689. ){
  1690. return tmsTruckFeign.getAllSaleReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, carrierSsoId);
  1691. }
  1692. @ApiOperation(value="查询零星物资进厂统计报表")
  1693. @PostMapping("/getSporadicSuppliesReport1")
  1694. public Map<String, Object> getSporadicSuppliesReport1(@RequestBody(required=false) Map<String,Object> mapValue,
  1695. Integer apiId,
  1696. Integer pageNum,
  1697. Integer pageSize, String carrierSsoId
  1698. ){
  1699. return tmsTruckFeign.getSporadicSuppliesReport1(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, carrierSsoId);
  1700. }
  1701. @ApiOperation(value="查询零星物资出厂统计报表")
  1702. @PostMapping("/getSporadicSuppliesReport2")
  1703. public Map<String, Object> getSporadicSuppliesReport2(@RequestBody(required=false) Map<String,Object> mapValue,
  1704. Integer apiId,
  1705. Integer pageNum,
  1706. Integer pageSize, String carrierSsoId
  1707. ){
  1708. return tmsTruckFeign.getSporadicSuppliesReport2(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, carrierSsoId);
  1709. }
  1710. }