TMSController.java 96 KB

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