TMSController.java 116 KB

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