TMSController.java 137 KB

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