TMSController.java 117 KB

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