TMSController.java 118 KB

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