TMSController.java 83 KB

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