TMSController.java 109 KB

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