TMSController.java 96 KB

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