TMSController.java 117 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428
  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 = "装车新增港存库出库")
  763. @PostMapping(value = "/addWarehouseOutResult")
  764. public Map<String, Object> addWarehouseOutResult(@RequestBody(required = false) Map<String,Object> map) {
  765. return tmsTrainFeign.addWarehouseOutResult(map);
  766. }
  767. @ApiOperation(value = "获取批次ID")
  768. @GetMapping(value = "/getBatchId")
  769. public Map<String, Object> getBatchId() {
  770. return tmsTrainFeign.getBatchId();
  771. }
  772. @ApiOperation(value = "获取已装车还未卸车车皮")
  773. @PostMapping(value = "/getWagonNo/{resultType}")
  774. public Map<String, Object> getWagonNo(@PathVariable("resultType") Integer resultType,
  775. @RequestBody(required = false) Map<String, Object> mapValue,
  776. Integer apiId,
  777. Integer pageNum,
  778. Integer pageSize,
  779. String wagon,
  780. String purchaseOrderNum,
  781. String materialName){
  782. return tmsTrainFeign.getWagonNo(resultType, mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,wagon,purchaseOrderNum,materialName);
  783. }
  784. @ApiOperation(value = "查询所有发运计划")
  785. @GetMapping(value = "/getRailPlan")
  786. public Map<String, Object> getRailPlan() {
  787. return tmsTrainFeign.getRailPlan();
  788. }
  789. @GetMapping(value = "/getDilBatch")
  790. public Map<String, Object> getDilBatch() {
  791. return tmsTruckFeign.getDilBatch();
  792. }
  793. @GetMapping(value = "/getCarrierId")
  794. public Map<String, Object> getCarrierId() {
  795. return tmsTruckFeign.getCarrier();
  796. }
  797. @GetMapping(value = "/getLine")
  798. public Map<String, Object> getLine() {
  799. return tmsTruckFeign.getLine();
  800. }
  801. @GetMapping(value = "/getWarehouse")
  802. public Map<String, Object> getWarehouse() {
  803. return tmsTruckFeign.getWarehouse();
  804. }
  805. @GetMapping(value = "/getGatepost")
  806. public Map<String, Object> getGatepost() {
  807. return tmsTruckFeign.getGatepost();
  808. }
  809. @GetMapping(value = "/getAPO")
  810. public Map<String, Object> getAPO() {
  811. return tmsTruckFeign.getAPO();
  812. }
  813. @GetMapping(value = "/getFuCapacityId")
  814. public Map<String, Object> getFuCapacityId() {
  815. return tmsTruckFeign.getFuCapacityId();
  816. }
  817. @GetMapping(value = "/getPort")
  818. public Map<String, Object> getPort() {
  819. return tmsTruckFeign.getPort();
  820. }
  821. @ApiOperation(value = "查询卸货点")
  822. @GetMapping("/getUnloadPoint/{type}")
  823. public Map<String, Object> getUnloadPoint(@PathVariable("type") Integer type) {
  824. return tmsTruckFeign.getUnloadPoint(type);
  825. }
  826. @ApiOperation(value = "查询卸车作业信息")
  827. @ApiImplicitParams({
  828. @ApiImplicitParam(name = "apiId(60)", value = "表头", required = false, dataType = "Interger")
  829. })
  830. @PostMapping("/getTmstrainWagonUnLoad")
  831. public Map<String, Object> getTmstrainWagonUnLoad(@RequestBody(required = false) Map<String, Object> mapValue,
  832. Integer apiId,
  833. Integer pageNum,
  834. Integer pageSize,
  835. Integer resultType,
  836. String con) {
  837. return tmsTrainFeign.getTmstrainWagonUnLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,con);
  838. }
  839. @ApiOperation(value = "通过主键删除车皮卸车作业实绩")
  840. @ApiImplicitParams({
  841. @ApiImplicitParam(name = "unloadingId", value = "主键ID", required = false, dataType = "BigDecimal")
  842. })
  843. @PostMapping(value = "/deleteTmstrainWagonUnLoadResultByUnLoadingId")
  844. public Map<String, Object> deleteTmstrainWagonUnLoadResultByUnLoadingId(@RequestParam BigDecimal unloadingId) {
  845. return tmsTrainFeign.deleteTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
  846. }
  847. @ApiOperation(value = "新增车皮卸车作业实绩")
  848. @ApiImplicitParams({
  849. @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
  850. })
  851. @PostMapping(value = "/insertTmstrainWagonUnLoadResult")
  852. public Map<String, Object> insertTmstrainWagonUnLoadResult(@RequestBody(required = false) Map<String, Object> tmstrainWagonUnloadResult) {
  853. return tmsTrainFeign.insertTmstrainWagonUnLoadResult(tmstrainWagonUnloadResult);
  854. }
  855. @ApiOperation(value = "通过主键修改车皮卸车作业实绩")
  856. @ApiImplicitParams({
  857. @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
  858. })
  859. @PostMapping(value = "/upadteTmstrainWagonUnLoadResultByUnLoadingId")
  860. public Map<String, Object> upadteTmstrainWagonUnLoadResultByUnLoadingId(@RequestBody(required = false) Map<String, Object> tmstrainWagonUnloadResult) {
  861. return tmsTrainFeign.upadteTmstrainWagonUnLoadResultByUnLoadingId(tmstrainWagonUnloadResult);
  862. }
  863. @ApiOperation(value = "查看火运实绩")
  864. @ApiImplicitParams({
  865. @ApiImplicitParam(name = "apiId(65)", value = "表头", required = false, dataType = "Interger")
  866. })
  867. @PostMapping("/getTmstrainresult")
  868. public Map<String, Object> getTmstrainresult(@RequestBody(required = false) Map<String, Object> mapValue,
  869. Integer apiId,
  870. Integer pageNum,
  871. Integer pageSize,
  872. String con) {
  873. return tmsTrainFeign.getTmstrainresult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,con);
  874. }
  875. @ApiOperation(value = "通过主键查询车皮卸车作业信息")
  876. @ApiImplicitParams({
  877. @ApiImplicitParam(name = "unloadingId", value = "车皮卸车主键", required = false, dataType = "BigDecimal")
  878. })
  879. @PostMapping(value = "/getTmstrainWagonUnLoadResultByUnLoadingId/{unloadingId}")
  880. public Map<String, Object> getTmstrainWagonUnLoadResultByUnLoadingId(@PathVariable("unloadingId") BigDecimal unloadingId) {
  881. return tmsTrainFeign.getTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
  882. }
  883. //下拉框
  884. @ApiOperation(value = "获取卸车地点名称")
  885. @ApiImplicitParams({
  886. })
  887. @GetMapping(value = "/getUnloadingPointName")
  888. public Map<String, Object> getUnloadingPointName() {
  889. return tmsTrainFeign.getUnloadingPointName();
  890. }
  891. //下拉框
  892. @ApiOperation(value = "获取货权转移图片")
  893. @ApiImplicitParams({
  894. })
  895. @PostMapping(value = "/downLoadDeilveryNotice")
  896. public Map<String, Object> downLoadDeilveryNotice(@RequestParam Integer noticeId) {
  897. return tmsshipFeign.downLoadDeilveryNotice(noticeId);
  898. }
  899. @ApiOperation(value = "获取卸车路径名称")
  900. @ApiImplicitParams({
  901. })
  902. @GetMapping(value = "/getUnloadingRouteName")
  903. public Map<String, Object> getUnloadingRouteName() {
  904. return tmsTrainFeign.getUnloadingRouteName();
  905. }
  906. @ApiOperation(value = "查询请车作业")
  907. @ApiImplicitParams({
  908. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  909. @ApiImplicitParam(name = "apiId(57)", value = "动态表头", required = false, dataType = "Integer"),
  910. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  911. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  912. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  913. })
  914. @PostMapping("/getAllWagonPlease")
  915. public Map<String, Object> getAllWagonPlease(@RequestBody(required = false) Map<String, Object> mapValue,
  916. Integer apiId,
  917. Integer pageNum,
  918. Integer pageSize,
  919. Integer status,
  920. Integer resultType,
  921. Integer resultId,
  922. String con) {
  923. return tmsTrainFeign.getAllWagonPlease(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, resultType,resultId,con);
  924. }
  925. @ApiOperation(value = "通过Id查询请车作业")
  926. @PostMapping("/getWagonPleaseById/{resultId}")
  927. public Map<String, Object> getWagonPleaseById(@PathVariable("resultId") Integer resultId) {
  928. return tmsTrainFeign.getWagonPleaseById(resultId);
  929. }
  930. @ApiOperation(value = "新增请车作业")
  931. @ApiImplicitParams({
  932. @ApiImplicitParam(name = "amstrainWagonPlease", value = "请车作业对象", required = false, dataType = "AmstrainWagonPlease"),
  933. })
  934. @PostMapping("/addWagonPlease")
  935. public Map<String, Object> addWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  936. return tmsTrainFeign.addWagonPlease(tmstrainPleaseApproveResult);
  937. }
  938. @ApiOperation(value = "修改请车作业")
  939. @ApiImplicitParams({
  940. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  941. })
  942. @PostMapping("/updateWagonPlease")
  943. public Map<String, Object> updateWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  944. return tmsTrainFeign.updateWagonPlease(tmstrainPleaseApproveResult);
  945. }
  946. @ApiOperation(value = "逻辑删除请车作业 设置状态码为 3")
  947. @ApiImplicitParams({
  948. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  949. })
  950. @PostMapping("/deleteWagonPlease/{resultId}")
  951. public Map<String, Object> deleteWagonPlease(@PathVariable("resultId") Integer resultId) {
  952. return tmsTrainFeign.deleteWagonPlease(resultId);
  953. }
  954. @ApiOperation(value = "下发请车作业 设置状态码为 1")
  955. @ApiImplicitParams({
  956. @ApiImplicitParam(name = "resultId", value = "请车作业实绩对象", required = false, dataType = "Integer"),
  957. })
  958. @PostMapping("/sendWagonPlease/{resultId}")
  959. public Map<String, Object> sendWagonPlease(@PathVariable("resultId") Integer resultId) {
  960. return tmsTrainFeign.sendWagonPlease(resultId);
  961. }
  962. //下拉框
  963. @ApiOperation(value = "查询所有发货单位")
  964. @GetMapping("/getShipper")
  965. public Map<String, Object> getShipper() {
  966. return tmsTrainFeign.getShipper();
  967. }
  968. @ApiOperation(value = "查询批车作业")
  969. @ApiImplicitParams({
  970. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  971. @ApiImplicitParam(name = "apiId(70)", value = "动态表头", required = false, dataType = "Integer"),
  972. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  973. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  974. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  975. })
  976. @PostMapping("/getApproveAllWagonPlease")
  977. public Map<String, Object> getApproveAllWagonPlease(@RequestBody(required = false) Map<String, Object> mapValue,
  978. Integer apiId,
  979. Integer pageNum,
  980. Integer pageSize,
  981. Integer resultType,
  982. Integer status,
  983. String con) {
  984. return tmsTrainFeign.getApproveAllWagonPlease(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,status,con);
  985. }
  986. @ApiOperation(value = "通过Id查询批车作业")
  987. @PostMapping("/getApproveWagonPleaseById/{resultId}")
  988. public Map<String, Object> getApproveWagonPleaseById(@PathVariable("resultId") Integer resultId) {
  989. return tmsTrainFeign.getApproveWagonPleaseById(resultId);
  990. }
  991. @ApiOperation(value = "新增批车作业")
  992. @ApiImplicitParams({
  993. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  994. })
  995. @PostMapping("/addApproveWagonPlease")
  996. public Map<String, Object> addApproveWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  997. return tmsTrainFeign.addApproveWagonPlease(tmstrainPleaseApproveResult);
  998. }
  999. @ApiOperation(value = "修改批车作业")
  1000. @ApiImplicitParams({
  1001. @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
  1002. })
  1003. @PostMapping("/updateApproveWagonPlease")
  1004. public Map<String, Object> updateApproveWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult) {
  1005. return tmsTrainFeign.updateApproveWagonPlease(tmstrainPleaseApproveResult);
  1006. }
  1007. @ApiOperation(value = "逻辑删除批车作业")
  1008. @ApiImplicitParams({
  1009. @ApiImplicitParam(name = "resultId", value = "请车作业实绩对象", required = false, dataType = "Integer"),
  1010. })
  1011. @PostMapping("/deleteApproveWagonPlease/{resultId}")
  1012. public Map<String, Object> deleteApproveWagonPlease(@PathVariable("resultId") Integer resultId) {
  1013. return tmsTrainFeign.deleteApproveWagonPlease(resultId);
  1014. }
  1015. /*======================================汽运==========================================*/
  1016. //******************************************TmstruckLoadResultController***********************************
  1017. @ApiOperation(value="查询所有正在排队的销售订单")
  1018. @ApiImplicitParams({
  1019. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1020. @ApiImplicitParam(name = "apiId(227)", value = "动态表头", required = false, dataType = "Integer"),
  1021. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1022. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1023. })
  1024. @PostMapping("/getSaleOrderOnQueue")
  1025. public Map<String, Object> getSaleOrderOnQueue(@RequestBody(required=false) Map<String,Object> mapValue,
  1026. Integer apiId,
  1027. Integer pageNum,
  1028. Integer pageSize,
  1029. String con){
  1030. return tmsTruckFeign.getSaleOrderOnQueue(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con);
  1031. }
  1032. @ApiOperation(value="查询订单下的物资")
  1033. @GetMapping("getOrderMaterial/{orderId}")
  1034. public Map<String, Object> getOrderMaterial(@PathVariable("orderId") Integer orderId){
  1035. return tmsTruckFeign.getOrderMaterial(orderId);
  1036. }
  1037. @ApiOperation(value="查询仓库下所有月台")
  1038. @GetMapping("getPlatformIdByWarehouse/{warehouseId}")
  1039. public Map<String, Object> getPlatformIdByWarehouse(@PathVariable("warehouseId") Integer warehouseId){
  1040. return tmsTruckFeign.getPlatformIdByWarehouse(warehouseId);
  1041. }
  1042. @ApiOperation(value="修改装车点和装车顺序:销售钢材专用 ")
  1043. @ApiImplicitParams({
  1044. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1045. })
  1046. @PostMapping("/updateLoadingIdAndLoadSq")
  1047. public Map<String, Object> updateLoadingIdAndLoadSq(@RequestBody(required=false) Map<String, Object> map){
  1048. return tmsTruckFeign.updateLoadingIdAndLoadSq(map);
  1049. }
  1050. @ApiOperation(value = "查询所有装车实绩")
  1051. @ApiImplicitParams({
  1052. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1053. @ApiImplicitParam(name = "apiId(91)", value = "动态表头", required = false, dataType = "Integer"),
  1054. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1055. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1056. })
  1057. @PostMapping("/getAllLoadResult")
  1058. public Map<String, Object> getAllLoadResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1059. Integer apiId,
  1060. Integer pageNum,
  1061. Integer pageSize,
  1062. Integer status,
  1063. Integer orderType,
  1064. String con,
  1065. String userId,
  1066. String userIds,
  1067. String startTime,String endTime){
  1068. return tmsTruckFeign.getAllLoadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, orderType, con,userId,userIds,startTime,endTime);
  1069. }
  1070. @ApiOperation(value = "新增采购汽车装车实绩")
  1071. @ApiImplicitParams({
  1072. @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
  1073. })
  1074. @PostMapping("/addCGLoadResult")
  1075. public Map<String, Object> addCGLoadResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1076. return tmsTruckFeign.addCGLoadResult(mapValue);
  1077. }
  1078. @ApiOperation(value="销售新增钢材装车实绩 ")
  1079. @ApiImplicitParams({
  1080. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1081. })
  1082. @PostMapping("addSaleLoadResult")
  1083. public Map<String, Object> addSaleLoadResult(@RequestBody(required=false) Map<String, Object> map){
  1084. return tmsTruckFeign.addSaleLoadResult(map);
  1085. }
  1086. @ApiOperation(value="销售新增钢渣、水渣、危化品装车实绩 ")
  1087. @ApiImplicitParams({
  1088. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1089. })
  1090. @PostMapping("/addSale2LoadResult")
  1091. public Map<String, Object> addSale2LoadResult(@RequestBody(required=false) Map<String, Object> map){
  1092. return tmsTruckFeign.addSale2LoadResult(map);
  1093. }
  1094. @ApiOperation(value = "修改汽车装车实绩")
  1095. @ApiImplicitParams({
  1096. @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
  1097. })
  1098. @PostMapping("/updateLoadResult")
  1099. public Map<String, Object> updateLoadResult(@RequestBody Map<String, Object> map) {
  1100. return tmsTruckFeign.updateLoadResult(map);
  1101. }
  1102. @ApiOperation(value = "通过ID查询装车实绩 ")
  1103. @ApiImplicitParams({
  1104. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1105. })
  1106. @PostMapping("/getLoadResultById/{resultId}")
  1107. public Map<String, Object> getLoadResultById(@PathVariable("resultId") Integer resultId) {
  1108. return tmsTruckFeign.getLoadResultById(resultId);
  1109. }
  1110. @ApiOperation(value = "逻辑删除车装车实绩")
  1111. @ApiImplicitParams({
  1112. @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
  1113. })
  1114. @PostMapping("/deleteLoadResult/{resultId}")
  1115. public Map<String, Object> deleteLoadResult(@PathVariable("resultId") Integer resultId) {
  1116. return tmsTruckFeign.deleteLoadResult(resultId);
  1117. }
  1118. //***************************************TmstruckEnfactoryResultController***************************
  1119. @ApiOperation(value = "查询所有的进厂实绩")
  1120. @ApiImplicitParams({
  1121. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1122. @ApiImplicitParam(name = "apiId(220)", value = "动态表头", required = false, dataType = "Integer"),
  1123. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1124. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1125. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1126. })
  1127. @PostMapping("/getAllEnFactoryResult")
  1128. public Map<String, Object> getAllEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1129. Integer apiId,
  1130. Integer pageNum,
  1131. Integer pageSize,
  1132. Integer orderType,
  1133. String startTime,
  1134. String endTime,
  1135. String userId,
  1136. String userIds
  1137. ){
  1138. return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, startTime,endTime,userId,userIds);
  1139. }
  1140. @ApiOperation(value="通过运输订单id查询物资信息")
  1141. @ApiImplicitParams({
  1142. @ApiImplicitParam(name = "orderId", value = "运输订单id", required = false, dataType = "Integer"),
  1143. })
  1144. @GetMapping("/getMaterial")
  1145. public Map<String, Object> getMaterial(Integer orderId){
  1146. return tmsTruckFeign.getMaterial(orderId);
  1147. }
  1148. @ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
  1149. @ApiImplicitParams({
  1150. @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
  1151. })
  1152. @PostMapping("/addEnFactoryResult")
  1153. public Map<String, Object> addEnFactoryResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1154. return tmsTruckFeign.addEnFactoryResult(mapValue);
  1155. }
  1156. @ApiOperation(value = "PDA扫描更新进厂作业实绩")
  1157. @ApiImplicitParams({
  1158. @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
  1159. })
  1160. @PostMapping("/enFactoryResultByPDA")
  1161. public Map<String, Object> enFactoryResultByPDA(@RequestBody(required = false) Map<String, Object> mapValue) {
  1162. //PDA扫码会多个反斜杠所以需要截取
  1163. String orderNumber = (String) mapValue.get("orderNumber");
  1164. orderNumber = orderNumber.substring(0, orderNumber.length()-1);
  1165. mapValue.put("orderNumber", orderNumber);
  1166. return tmsTruckFeign.enFactoryResultByPDA(mapValue);
  1167. }
  1168. //***************************************TmstruckWeightResultController***************************
  1169. @ApiOperation(value = "查询计毛实绩")
  1170. @ApiImplicitParams({
  1171. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1172. @ApiImplicitParam(name = "apiId(102)", value = "动态表头", required = false, dataType = "Integer"),
  1173. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1174. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1175. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1176. })
  1177. @PostMapping("/getAllJiMaoResult")
  1178. public Map<String, Object> getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1179. Integer apiId,
  1180. Integer pageNum,
  1181. Integer pageSize,
  1182. Integer orderType,
  1183. String con,
  1184. String userId,
  1185. String userIds,
  1186. String startTime,
  1187. String endTime){
  1188. return tmsTruckFeign.getAllJiMaoResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds,startTime,endTime);
  1189. }
  1190. @ApiOperation(value = "查询计皮实绩")
  1191. @ApiImplicitParams({
  1192. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1193. @ApiImplicitParam(name = "apiId(104)", value = "动态表头", required = false, dataType = "Integer"),
  1194. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1195. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1196. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1197. })
  1198. @PostMapping("/getAllJiPiResult")
  1199. public Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1200. Integer apiId,
  1201. Integer pageNum,
  1202. Integer pageSize,
  1203. Integer orderType,
  1204. String con,
  1205. String userId,
  1206. String userIds,
  1207. String startTime,
  1208. String endTime) {
  1209. return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds,startTime,endTime);
  1210. }
  1211. @ApiOperation(value = "采集新增计毛实绩 ")
  1212. @ApiImplicitParams({
  1213. @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
  1214. })
  1215. @PostMapping("/addJiMaoResult")
  1216. public Map<String, Object> addJiMaoResult(@RequestBody Map<String, Object> mapValue) {
  1217. return tmsTruckFeign.addJiMaoResult(mapValue);
  1218. }
  1219. @ApiOperation(value = "采集新增计皮实绩 ")
  1220. @ApiImplicitParams({
  1221. @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
  1222. })
  1223. @PostMapping("/addJiPiResult")
  1224. public Map<String, Object> addJiPiResult(@RequestBody Map<String, Object> mapValue) {
  1225. return tmsTruckFeign.addJiPiResult(mapValue);
  1226. }
  1227. //****************************************TmstruckUnloadResultController*******************************
  1228. @ApiOperation(value = "查询卸货实绩")
  1229. @ApiImplicitParams({
  1230. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1231. @ApiImplicitParam(name = "apiId(103)", value = "动态表头", required = false, dataType = "Integer"),
  1232. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1233. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1234. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1235. })
  1236. @PostMapping("/getUnloadResult")
  1237. public Map<String, Object> getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1238. Integer apiId,
  1239. Integer pageNum,
  1240. Integer pageSize,
  1241. Integer orderType,
  1242. String con,
  1243. String userId,
  1244. String userIds,
  1245. String startTime,
  1246. String endTime
  1247. ){
  1248. return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,userId,userIds,startTime,endTime);
  1249. }
  1250. @ApiOperation(value = "添加卸货实绩")
  1251. @ApiImplicitParams({
  1252. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1253. })
  1254. @PostMapping("/addUnloadResult")
  1255. public Map<String, Object> addUnloadResult(@RequestBody Map<String, Object> mapValue) {
  1256. return tmsTruckFeign.addUnloadResult(mapValue);
  1257. }
  1258. @ApiOperation(value = "更新卸货实绩 ")
  1259. @ApiImplicitParams({
  1260. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1261. })
  1262. @PostMapping("/updateUnloadResult")
  1263. public Map<String, Object> updateUnloadResult(@RequestBody Map<String, Object> mapValue) {
  1264. return tmsTruckFeign.updateUnloadResult(mapValue);
  1265. }
  1266. //****************************************TmstruckReceiptResultController*******************************
  1267. @ApiOperation(value = "查询收货实绩")
  1268. @ApiImplicitParams({
  1269. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1270. @ApiImplicitParam(name = "apiId(107)", value = "动态表头", required = false, dataType = "Integer"),
  1271. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1272. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1273. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1274. })
  1275. @PostMapping("/getReceiveResult")
  1276. public Map<String, Object> getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1277. Integer apiId,
  1278. Integer pageNum,
  1279. Integer pageSize,
  1280. Integer orderType,String con,
  1281. String startTime,
  1282. String endTime
  1283. ){
  1284. return tmsTruckFeign.getReceiveResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con,startTime,endTime);
  1285. }
  1286. //****************************************TmstruckLeaveFactoryResultController*******************************
  1287. @ApiOperation(value="查询出厂实绩")
  1288. @ApiImplicitParams({
  1289. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1290. @ApiImplicitParam(name = "apiId(110)", value = "动态表头", required = false, dataType = "Integer"),
  1291. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1292. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1293. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1294. })
  1295. @PostMapping("/getLeaveFactoryResult")
  1296. public Map<String, Object> getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1297. Integer apiId,
  1298. Integer pageNum,
  1299. Integer pageSize,
  1300. Integer orderType,
  1301. String con,
  1302. String carrierSsoId,
  1303. String userId,
  1304. String userIds,
  1305. String startTime,
  1306. String endTime
  1307. ){
  1308. return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con, carrierSsoId,userId,userIds,startTime,endTime);
  1309. }
  1310. @ApiOperation(value="PAD扫描汽车出厂实绩")
  1311. @ApiImplicitParams({
  1312. @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
  1313. })
  1314. @PostMapping("/addLeaveFactoryResult")
  1315. public Map<String, Object> addLeaveFactoryResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1316. return tmsTruckFeign.addLeaveFactoryResult(mapValue);
  1317. }
  1318. //****************************************TmstruckMeasureCommissionController*******************************
  1319. @ApiOperation(value = "查询计量委托 ")
  1320. @ApiImplicitParams({
  1321. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1322. })
  1323. @PostMapping("/getAllMeasureCommission/{type}")
  1324. public Map<String, Object> getAllMeasureCommission(@PathVariable("type") Integer type) {
  1325. return tmsTruckFeign.getAllMeasureCommission(type);
  1326. }
  1327. //****************************************TmstruckQualityResultController*******************************
  1328. @ApiOperation(value = "查询所有的质检作业")
  1329. @ApiImplicitParams({
  1330. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1331. @ApiImplicitParam(name = "apiId(111)", value = "动态表头", required = false, dataType = "Integer"),
  1332. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1333. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1334. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1335. })
  1336. @PostMapping("/getQualityResult")
  1337. public Map<String, Object> getQualityResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1338. Integer apiId,
  1339. Integer pageNum,
  1340. Integer pageSize,
  1341. Integer orderType,
  1342. String con,
  1343. String startTime,
  1344. String endTime
  1345. ){
  1346. return tmsTruckFeign.getQualityResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,orderType, con,startTime,endTime);
  1347. }
  1348. @ApiOperation(value = "通过ID获取质检实绩 ")
  1349. @ApiImplicitParams({
  1350. @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
  1351. })
  1352. @PostMapping("/getQualityResultById/{resultId}")
  1353. public Map<String, Object> getQualityResultById(@PathVariable("resultId") Integer resultId) {
  1354. return tmsTruckFeign.getQualityResultById(resultId);
  1355. }
  1356. @ApiOperation(value = "修改质检实绩 ")
  1357. @ApiImplicitParams({
  1358. @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
  1359. })
  1360. @PostMapping("/updateQualityResult")
  1361. public Map<String, Object> updateQualityResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1362. return tmsTruckFeign.updateQualityResult(mapValue);
  1363. }
  1364. //*********************************内转物流tms-train*********************************************************************
  1365. @PostMapping("/addTrainLoadResultForConverted")
  1366. @ApiOperation(value = "内转物流新增装车")
  1367. public Map<String, Object> addTrainLoadResultForConverted(@RequestBody(required = false) Map<String, Object> tmstrainLoadingResult) {
  1368. return tmsTrainFeign.addTrainLoadResultForConverted(tmstrainLoadingResult);
  1369. }
  1370. @ApiOperation(value = "内转新增卸车实绩")
  1371. @ApiImplicitParams({
  1372. })
  1373. @PostMapping(value = "/addTmsTrainUnloadResultForNZ")
  1374. public Map<String, Object> addTmsTrainUnloadResultForNZ(@RequestBody(required = false)Map<String, Object> map) {
  1375. return tmsTrainFeign.addTmsTrainUnloadResultForNZ(map);
  1376. }
  1377. @ApiOperation(value = "查询车皮物资信息")
  1378. @ApiImplicitParams({
  1379. @ApiImplicitParam(name = "apiId(213)", value = "表头", required = false, dataType = "Interger")
  1380. })
  1381. @PostMapping(value = "/getMaterialAndCarByLoadingId")
  1382. public Map<String, Object> getMaterialAndCarByLoadingId(
  1383. @RequestBody(required = false) Map<String, Object> mapValue,
  1384. Integer apiId,
  1385. Integer pageNum,
  1386. Integer pageSize,
  1387. Integer loadingId,
  1388. Integer unloadingId) {
  1389. return tmsTrainFeign.getMaterialAndCarByLoadingId(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, loadingId, unloadingId);
  1390. }
  1391. @PostMapping("/selectLoadByResultId/{resultId}")
  1392. @ApiOperation(value = "内转物流通过主键查询车皮装车作业信息")
  1393. public Map<String, Object> selectLoadByResultId(@PathVariable("resultId") BigDecimal resultId) {
  1394. Map<String, Object> mes = tmsTrainFeign.selectLoadByResultId(resultId);
  1395. return mes;
  1396. }
  1397. @ApiOperation(value = "内转查询装车作业信息")
  1398. @ApiImplicitParams({
  1399. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1400. @ApiImplicitParam(name = "apiId(203)", value = "动态表头", required = false, dataType = "Integer"),
  1401. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1402. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1403. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1404. })
  1405. @PostMapping("/getTmstrainWagonLoadForConverted")
  1406. public Map<String, Object> getTmstrainWagonLoadForConverted(@RequestBody(required = false)
  1407. Integer apiId,
  1408. Integer pageNum,
  1409. Integer pageSize,
  1410. String con
  1411. ) {
  1412. return tmsTrainFeign.getTmstrainWagonLoadForConverted(apiId, pageNum, pageSize,con);
  1413. }
  1414. @PostMapping("/addWagonPleaseForNZ")
  1415. @ApiOperation(value = "内转物流新增请车")
  1416. public Map<String, Object> addPleaseForNZ(@RequestBody(required = false) Map<String, Object> tmstrainLoadingResult) {
  1417. return tmsTrainFeign.addPleaseForNZ(tmstrainLoadingResult);
  1418. }
  1419. @ApiOperation(value="内转新增达州站-厂内装车实绩 ")
  1420. @ApiImplicitParams({
  1421. @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
  1422. })
  1423. @PostMapping("/addDaZhouToDaGangLoadResult")
  1424. public Map<String, Object> addDaZhouToDaGangLoadResult(@RequestBody(required = false)Map<String, Object> map){
  1425. return tmsTruckFeign.addDaZhouToDaGangLoadResult(map);
  1426. }
  1427. @ApiOperation(value = "内转查询请车作业信息")
  1428. @ApiImplicitParams({
  1429. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1430. @ApiImplicitParam(name = "apiId(199)", value = "动态表头", required = false, dataType = "Integer"),
  1431. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1432. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1433. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1434. })
  1435. @PostMapping("/getAllWagonPleaseForConverted")
  1436. public Map<String, Object> getAllWagonPleaseForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1437. Integer apiId,
  1438. Integer pageNum,
  1439. Integer pageSize,
  1440. Integer status,
  1441. String con
  1442. ) {
  1443. if (mapValue == null) {
  1444. mapValue = new HashMap<>();
  1445. }
  1446. mapValue.put("status", status);
  1447. return tmsTrainFeign.getTmstrainWagonLoadForConverted(apiId, pageNum, pageSize,con);
  1448. }
  1449. @PostMapping("/getPleasePlanByResultId/{resultId}")
  1450. @ApiOperation(value = "内转物流通过主键查请车计划")
  1451. public Map<String, Object> getPleasePlanByResultId(@PathVariable("resultId") BigDecimal resultId) {
  1452. Map<String, Object> mes = tmsTrainFeign.getPleasePlanByResultId(resultId);
  1453. return mes;
  1454. }
  1455. @PostMapping("/getApproveByResultId/{resultId}")
  1456. @ApiOperation(value = "内转物流通过主键查询车皮请车作业信息")
  1457. public Map<String, Object> getApproveByResultId(@PathVariable("resultId") BigDecimal resultId) {
  1458. Map<String, Object> mes = tmsTrainFeign.getApproveByResultId(resultId);
  1459. return mes;
  1460. }
  1461. @ApiOperation(value = "查询卸车作业信息")
  1462. @ApiImplicitParams({
  1463. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1464. @ApiImplicitParam(name = "apiId(201)", value = "动态表头", required = false, dataType = "Integer"),
  1465. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1466. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1467. })
  1468. @PostMapping("/selectWagonUnLoadResultForConverted")
  1469. public Map<String, Object> selectWagonUnLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1470. Integer apiId,
  1471. Integer pageNum,
  1472. Integer pageSize,
  1473. String con
  1474. ) {
  1475. return tmsTrainFeign.selectWagonUnLoadResultForConverted(apiId, pageNum, pageSize,con);
  1476. }
  1477. @ApiOperation(value = "内转查询火车卸货信息")
  1478. @ApiImplicitParams({
  1479. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1480. @ApiImplicitParam(name = "apiId(202)", value = "动态表头", required = false, dataType = "Integer"),
  1481. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1482. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1483. })
  1484. @PostMapping("/selectTrainUnLoadResultForConverted")
  1485. public Map<String, Object> selectTrainUnLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1486. Integer apiId,
  1487. Integer pageNum,
  1488. Integer pageSize,
  1489. String con
  1490. ) {
  1491. return tmsTrainFeign.selectTrainUnLoadResultForConverted(apiId, pageNum, pageSize,con);
  1492. }
  1493. /**
  1494. * 新增汽车装货实绩
  1495. */
  1496. @ApiOperation(value = "新增汽车装车实绩")
  1497. @ApiImplicitParams({
  1498. @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
  1499. })
  1500. @PostMapping("/addLoadResultForConverted")
  1501. public Map<String, Object> addLoadResultForConverted(@RequestBody(required = false) Map<String, Object> map) {
  1502. Map<String, Object> resTfulResult = tmsTruckFeign.addLoadResultForConverted(map);
  1503. return resTfulResult;
  1504. }
  1505. @ApiOperation(value = "查询所有装车实绩")
  1506. @ApiImplicitParams({
  1507. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1508. @ApiImplicitParam(name = "apiId(91)", value = "动态表头", required = false, dataType = "Integer"),
  1509. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1510. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1511. })
  1512. @PostMapping("/selectLoadResultForConverted")
  1513. public Map<String, Object> selectLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1514. Integer apiId,
  1515. Integer pageNum,
  1516. Integer pageSize
  1517. ) {
  1518. return tmsTruckFeign.selectLoadResultForConverted(mapValue, apiId, pageNum, pageSize);
  1519. }
  1520. //根据实绩id渲染数据
  1521. @ApiOperation(value = "通过ID查询装车实绩 ")
  1522. @ApiImplicitParams({
  1523. @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
  1524. })
  1525. @PostMapping("/getLoadResultByResultId/{resultId}")
  1526. public Map<String, Object> getLoadResultByResultId(@PathVariable("resultId") Integer resultId) {
  1527. Map<String, Object> resTfulResult = tmsTruckFeign.getLoadResultByResultId(resultId);
  1528. return resTfulResult;
  1529. }
  1530. @ApiOperation(value = "内转物流查询质检作业")
  1531. @ApiImplicitParams({
  1532. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1533. @ApiImplicitParam(name = "apiId(204)", value = "动态表头", required = false, dataType = "Integer"),
  1534. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1535. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1536. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1537. })
  1538. @PostMapping("/selectQualityResultForConverted")
  1539. public Map<String, Object> selectQualityResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
  1540. Integer apiId,
  1541. Integer pageNum,
  1542. Integer pageSize
  1543. ) {
  1544. return tmsTruckFeign.selectQualityResultForConverted(mapValue, apiId, pageNum, pageSize);
  1545. }
  1546. /**
  1547. * 展示计数实绩列表
  1548. */
  1549. @ApiOperation(value = "查询计数实绩列表")
  1550. @ApiImplicitParams({
  1551. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1552. @ApiImplicitParam(name = "apiId(364)", value = "动态表头", required = false, dataType = "Integer"),
  1553. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1554. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1555. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1556. })
  1557. @PostMapping("/selectCountList")
  1558. public Map<String, Object> selectCountList(@RequestBody(required = false) Map<String, Object> mapValue,
  1559. Integer apiId,
  1560. Integer pageNum,
  1561. Integer pageSize
  1562. ) {
  1563. return tmsTruckFeign.selectCountList(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
  1564. }
  1565. //采购内转待装车实绩
  1566. @ApiOperation(value = "查询待装车运单列表")
  1567. @PostMapping("/cgNzLoadingResult")
  1568. public Map<String, Object> cgNzLoadingResult(@RequestBody(required = false) Map<String, Object> mapVal,
  1569. Integer apiId,
  1570. Integer pageNum,
  1571. Integer pageSize,
  1572. Integer orderType,
  1573. Integer orderStatus
  1574. ) {
  1575. return tmsTruckFeign.cgNzLoadingResult(mapVal==null?new HashMap<>():mapVal, apiId, pageNum, pageSize,orderType,orderStatus);
  1576. }
  1577. /**
  1578. * 内转物流卸货装车实绩
  1579. *
  1580. * @param map
  1581. * @return
  1582. */
  1583. @ApiOperation(value = "内转物流新增卸货实绩 ")
  1584. @ApiImplicitParams({
  1585. @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
  1586. })
  1587. @PostMapping("/addUnLoadResultForconverted")
  1588. public Map<String, Object> addUnLoadResultForconverted(@RequestBody(required = false) Map<String, Object> map) {
  1589. Map<String, Object> resTfulResult = tmsTruckFeign.addUnLoadResultForconverted(map);
  1590. return resTfulResult;
  1591. }
  1592. @ApiOperation(value = "查询所有的包月作业实绩")
  1593. @ApiImplicitParams({
  1594. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1595. @ApiImplicitParam(name = "apiId(还没有)", value = "动态表头", required = false, dataType = "Integer"),
  1596. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1597. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1598. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1599. })
  1600. @PostMapping("/getTmstruckMonthResult")
  1601. public Map<String, Object> getTmstruckMonthResult(@RequestBody(required = false) Map<String, Object> mapValue,
  1602. Integer apiId,
  1603. Integer pageNum,
  1604. Integer pageSize
  1605. ) {
  1606. return tmsTruckFeign.getTmstruckMonthResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
  1607. }
  1608. /**
  1609. * 通过运输订单判断下一步是否需要计量,更新汽车衡到计量实绩中
  1610. */
  1611. @PostMapping("/updateTruckCalculate/{orderId}")
  1612. public Map<String, Object> updateTruckCalculate(@PathVariable("orderId") Integer orderId) {
  1613. return tmsTruckFeign.isNextNeedJl(orderId);
  1614. }
  1615. @ApiOperation(value="查询所有的短信实绩")
  1616. @ApiImplicitParams({
  1617. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1618. @ApiImplicitParam(name = "apiId(175)", value = "动态表头", required = false, dataType = "Integer"),
  1619. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1620. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1621. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1622. })
  1623. @PostMapping("/getSmsResult")
  1624. public Map<String, Object> getSmsResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1625. Integer apiId,
  1626. Integer pageNum,
  1627. Integer pageSize,
  1628. String con
  1629. ){
  1630. if (mapValue == null) {
  1631. mapValue = new HashMap<>();
  1632. }
  1633. return tmsTruckFeign.getSmsResult(mapValue,apiId,pageNum,pageSize,con);
  1634. }
  1635. @ApiOperation(value="APP查询进厂实绩")
  1636. @PostMapping("/getEnfactoryResultList")
  1637. public Map<String ,Object> getEnfactoryResultList() {
  1638. return tmsTruckFeign.getEnfactoryResultList();
  1639. }
  1640. @ApiOperation(value="APP通过运输订单id查询进厂实绩")
  1641. @PostMapping("/getEnfactoryMessageByOrderId")
  1642. public Map<String ,Object> getEnfactoryMessageByOrderId(String orderNumber) {
  1643. return tmsTruckFeign.getEnfactoryMessageByOrderId(orderNumber);
  1644. }
  1645. @ApiOperation(value="查询计皮实绩")
  1646. @ApiImplicitParams({
  1647. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1648. @ApiImplicitParam(name = "apiId(363)", value = "动态表头", required = false, dataType = "Integer"),
  1649. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1650. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1651. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1652. })
  1653. @PostMapping("/getAllTimeTaskResult")
  1654. public RESTfulResult getAllTimeTaskResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1655. Integer apiId,
  1656. Integer pageNum,
  1657. Integer pageSize,
  1658. String con,
  1659. String userId,
  1660. String startTime,
  1661. String endTime
  1662. ){
  1663. return tmsTruckFeign.getAllTimeTaskResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con,userId,startTime,endTime);
  1664. }
  1665. @ApiOperation(value="新增钢材到异地库达州站驻港人员确定收货")
  1666. @PostMapping("/addSteelNzReceiptResult")
  1667. public Map<String, Object> addSteelNzReceiptResult(@RequestBody(required = false) Map<String, Object> map) {
  1668. return tmsTruckFeign.addSteelNzReceiptResult(map);
  1669. }
  1670. @ApiOperation(value="更新计量实绩 ")
  1671. @ApiImplicitParams({
  1672. @ApiImplicitParam(name = "mapList", value = "计量数据", required = false, dataType = "List<Map>"),
  1673. })
  1674. @PostMapping("/updateTruckWeight")
  1675. public Map<String, Object> updateTruckWeight(@RequestBody List<Map<String, Object>> mapList){
  1676. return tmsTruckFeign.updateTruckWeight(mapList);
  1677. }
  1678. @ApiOperation(value="查询所有的退货实绩")
  1679. @ApiImplicitParams({
  1680. @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
  1681. @ApiImplicitParam(name = "apiId()", value = "动态表头", required = false, dataType = "Integer"),
  1682. @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
  1683. @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
  1684. @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
  1685. })
  1686. @PostMapping("/getAllReturnResult")
  1687. public Map<String, Object> getAllReturnResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1688. Integer apiId,
  1689. Integer pageNum,
  1690. Integer pageSize,
  1691. Integer orderType,
  1692. String con
  1693. ){
  1694. return tmsTruckFeign.getAllReturnResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, orderType, con);
  1695. }
  1696. @ApiOperation(value="提货单 ")
  1697. @ApiImplicitParams({
  1698. @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
  1699. })
  1700. @PostMapping("/getBillOrder")
  1701. public Map<String, Object> getBillOrder(@RequestParam String orderNumber){
  1702. return tmsTruckFeign.getBillOrder(orderNumber);
  1703. }
  1704. @ApiOperation(value="发货通知单 ")
  1705. @ApiImplicitParams({
  1706. @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
  1707. })
  1708. @PostMapping("/getDeliveryOrder")
  1709. public Map<String, Object> getDeliveryOrder(@RequestParam String orderNumber){
  1710. return tmsTruckFeign.getDeliveryOrder(orderNumber);
  1711. }
  1712. @ApiOperation(value="模糊查询江船名 ")
  1713. @ApiImplicitParams({
  1714. @ApiImplicitParam(name = "state", value = "用户输入的江船名", required = false, dataType = "String"),
  1715. })
  1716. @PostMapping("getShipNameList")
  1717. public Map<String, Object> getShipNameList(@RequestParam(value = "state") String state){
  1718. return tmsshipFeign.getShipNameList(state);
  1719. }
  1720. @ApiOperation(value = "国产矿物流新增装车")
  1721. @PostMapping(value = "/addDomesticLoadResult")
  1722. public Map<String, Object> addDomesticLoadResult(@RequestBody(required = false) Map<String, Object> mapValue) {
  1723. return tmsTrainFeign.addDomesticLoadResult(mapValue);
  1724. }
  1725. @ApiOperation(value = "国产矿物流补录装车信息")
  1726. @PostMapping(value = "/updateDomesticLoadResult")
  1727. public Map<String, Object> updateDomesticLoadResult(@RequestBody(required = false) Map<String, Object> map) {
  1728. return tmsTrainFeign.updateDomesticLoadResult(map);
  1729. }
  1730. @ApiOperation(value = "添加火车计量委托")
  1731. @PostMapping(value = "/addTrainMeasureCommission")
  1732. public Map<String, Object> addTrainMeasureCommission(@RequestBody(required = false) Map<String, Object> map) {
  1733. return tmsTrainFeign.addTrainMeasureCommission(map);
  1734. }
  1735. @ApiOperation(value = "查询需要发送计量委托的车皮信息")
  1736. @ApiImplicitParams({
  1737. @ApiImplicitParam(name = "apiId(209)", value = "表头", required = false, dataType = "Interger")
  1738. })
  1739. @PostMapping(value = "/getLoadResultToSendMC")
  1740. public Map<String, Object> getLoadResultToSendMC( @RequestBody(required = false) Map<String, Object> mapValue,
  1741. Integer apiId,
  1742. Integer pageNum,
  1743. Integer pageSize, String startTime, String endTime,Integer resultType,String con) {
  1744. return tmsTrainFeign.getLoadResultToSendMC(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, resultType,startTime,endTime,con);
  1745. }
  1746. @ApiOperation(value = "查询计量数据")
  1747. @ApiImplicitParams({
  1748. @ApiImplicitParam(name = "apiId(209)", value = "表头", required = false, dataType = "Interger")
  1749. })
  1750. @PostMapping(value = "/getWeightResult")
  1751. public Map<String, Object> getWeightResult( @RequestBody(required = false) Map<String, Object> mapValue,
  1752. Integer apiId,
  1753. Integer pageNum,
  1754. Integer pageSize,String startTime, String endTime,Integer resultType,String con) {
  1755. return tmsTrainFeign.getWeightResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, resultType,startTime,endTime,con);
  1756. }
  1757. @ApiOperation(value = "批量新增计量委托")
  1758. @PostMapping(value = "/batchSendMeasureCommission")
  1759. public Map<String, Object> batchSendMeasureCommission(@RequestBody(required = false) Map<String, Object> map) {
  1760. return tmsTrainFeign.batchSendMeasureCommission(map);
  1761. }
  1762. //获取合同水分值,实装吨位,水分吨位
  1763. @PostMapping("/getMoistureAndInstallations")
  1764. public Map<String,Object> getMoistureAndInstallations(@RequestBody(required=false) Map<String,Object> map){
  1765. return tmsshipFeign.getMoistureAndInstallations(map);
  1766. }
  1767. @ApiOperation(value="查询辅料燃料统计报表")
  1768. @PostMapping("/getRLFLReport")
  1769. public Map<String, Object> getRLFLReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1770. Integer apiId,
  1771. Integer pageNum,
  1772. Integer pageSize,
  1773. String startTime,
  1774. String endTime,
  1775. Integer orderType,
  1776. String con
  1777. ){
  1778. return tmsTruckFeign.getRLFLReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime, orderType,con);
  1779. }
  1780. @ApiOperation(value="查询销售统计报表")
  1781. @PostMapping("/getAllSaleReport")
  1782. public Map<String, Object> getAllSaleReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1783. Integer apiId,
  1784. Integer pageNum,
  1785. Integer pageSize,
  1786. String startTime,
  1787. String endTime,
  1788. String carrierSsoId,
  1789. Integer orderType,
  1790. Integer shipperId,
  1791. String receiveName,
  1792. String materialName
  1793. ){
  1794. return tmsTruckFeign.getAllSaleReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime, carrierSsoId,orderType,shipperId,receiveName,materialName);
  1795. }
  1796. @ApiOperation(value="查询销售统计报表筛选过后的总净重")
  1797. @PostMapping("/getAllSaleReportTotal")
  1798. public Map<String, Object> getAllSaleReportTotal(@RequestBody(required=false) Map<String,Object> mapValue,
  1799. String startTime, String endTime,
  1800. String carrierSsoId
  1801. ){
  1802. return tmsTruckFeign.getAllSaleReportTotal(mapValue==null?new HashMap<>():mapValue, startTime, endTime, carrierSsoId);
  1803. }
  1804. @ApiOperation(value="查询零星物资进厂统计报表")
  1805. @PostMapping("/getSporadicSuppliesReport1")
  1806. public Map<String, Object> getSporadicSuppliesReport1(@RequestBody(required=false) Map<String,Object> mapValue,
  1807. Integer apiId,
  1808. Integer pageNum,
  1809. Integer pageSize,
  1810. String startTime, String endTime,
  1811. String carrierSsoId,
  1812. String userId,
  1813. String userIds,
  1814. String con,
  1815. Integer orderType
  1816. ){
  1817. return tmsTruckFeign.getSporadicSuppliesReport1(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime, endTime, carrierSsoId,userId,userIds,con,orderType);
  1818. }
  1819. @ApiOperation(value="查询零星物资出厂统计报表")
  1820. @PostMapping("/getSporadicSuppliesReport2")
  1821. public Map<String, Object> getSporadicSuppliesReport2(@RequestBody(required=false) Map<String,Object> mapValue,
  1822. Integer apiId,
  1823. Integer pageNum,
  1824. Integer pageSize,
  1825. String startTime,
  1826. String endTime,
  1827. String carrierSsoId,
  1828. String userId,
  1829. String userIds,
  1830. String con,
  1831. Integer orderType
  1832. ){
  1833. return tmsTruckFeign.getSporadicSuppliesReport2(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime, carrierSsoId,userId,userIds,con,orderType);
  1834. }
  1835. @ApiOperation(value="查询采购内转运输实绩")
  1836. @PostMapping("/getPurInwardReport")
  1837. public Map<String, Object> getPurInwardReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1838. Integer apiId,
  1839. Integer pageNum,
  1840. Integer pageSize,
  1841. String startTime,
  1842. String endTime) {
  1843. return tmsTruckFeign.getPurInwardReport(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, startTime, endTime);
  1844. }
  1845. @ApiOperation(value="查询内转运输实绩")
  1846. @PostMapping("/getInwardReport")
  1847. public Map<String, Object> getInwardReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1848. Integer apiId,
  1849. Integer pageNum,
  1850. Integer pageSize,
  1851. String startTime,
  1852. String endTime) {
  1853. return tmsTruckFeign.getInwardReport(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, startTime, endTime);
  1854. }
  1855. @ApiOperation(value="")
  1856. @PostMapping("/getLoaderForResultDetail")
  1857. public Map<String, Object> getLoaderForResultDetail(@RequestBody(required=false) Map<String,Object> mapValue,
  1858. Integer apiId,
  1859. Integer pageNum,
  1860. Integer pageSize,
  1861. String startTime,
  1862. String endTime,
  1863. String con) {
  1864. return tmsTruckFeign.getLoaderForResultDetail(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, startTime, endTime,con);
  1865. }
  1866. @ApiOperation(value="获取内转报表")
  1867. @PostMapping("/getPurchaseInwardList")
  1868. public Map<String, Object> getPurchaseInwardList(@RequestBody(required=false) Map<String,Object> mapValue,
  1869. Integer apiId,
  1870. Integer pageNum,
  1871. Integer pageSize,
  1872. String startTime,
  1873. String endTime,
  1874. String orgCode,
  1875. String isPage,
  1876. String index) {
  1877. if (mapValue==null){
  1878. mapValue=new HashMap<>();
  1879. }
  1880. return tmsTruckFeign.getPurchaseInwardList(mapValue,apiId,pageNum,pageSize,startTime,endTime,orgCode,isPage,index);
  1881. }
  1882. @ApiOperation(value="获取采购订单报表")
  1883. @PostMapping("/getPurchaseOrderList")
  1884. public Map<String, Object> getPurchaseOrderList(@RequestBody(required=false) Map<String,Object> mapValue,
  1885. Integer apiId,
  1886. Integer pageNum,
  1887. Integer pageSize,
  1888. String startTime,
  1889. String endTime,
  1890. String orgCode,
  1891. String isPage,
  1892. String index) {
  1893. if (mapValue==null){
  1894. mapValue=new HashMap<>();
  1895. }
  1896. return tmsTruckFeign.getPurchaseOrderList(mapValue,apiId,pageNum,pageSize,startTime,endTime,orgCode,isPage,index);
  1897. }
  1898. @ApiOperation(value="获取采购订单报表")
  1899. @PostMapping("/getInwardInFactory")
  1900. public Map<String, Object> getInwardInFactory(@RequestBody(required=false) Map<String,Object> mapValue,
  1901. Integer apiId,
  1902. Integer pageNum,
  1903. Integer pageSize,
  1904. String startTime,
  1905. String endTime,
  1906. String orgCode,
  1907. String isPage,
  1908. String index) {
  1909. if (mapValue==null){
  1910. mapValue=new HashMap<>();
  1911. }
  1912. return tmsTruckFeign.getInwardInFactory(mapValue,apiId,pageNum,pageSize,startTime,endTime,orgCode,isPage,index);
  1913. }
  1914. @ApiOperation(value="获取销售订单列表")
  1915. @PostMapping("/getSaleOrderList")
  1916. public Map<String, Object> getSaleOrderList(@RequestBody(required=false) Map<String,Object> mapValue,
  1917. Integer apiId,
  1918. Integer pageNum,
  1919. Integer pageSize,
  1920. String startTime,
  1921. String endTime,
  1922. String orgCode,
  1923. String isPage,
  1924. String index) {
  1925. if (mapValue==null){
  1926. mapValue=new HashMap<>();
  1927. }
  1928. return tmsTruckFeign.getSaleOrderList(mapValue,apiId,pageNum,pageSize,startTime,endTime,orgCode,isPage,index);
  1929. }
  1930. @PostMapping("/sendMeasureCommission")
  1931. public Map<String, Object> sendMeasureCommission(@RequestBody(required = false) Map<String, Object> map){
  1932. return tmsTruckFeign.sendMeasureCommission(map);
  1933. }
  1934. @ApiOperation(value="发送留皮计量委托(neizhuan)")
  1935. @GetMapping("/sendLiuPiMeasureCommission")
  1936. public Map<String, Object> sendLiuPiMeasureCommission(String capacityNumber){
  1937. return tmsTruckFeign.sendLiuPiMeasureCommission(capacityNumber);
  1938. }
  1939. @ApiOperation(value="新增计时作业实绩")
  1940. @PostMapping("/addTimeTaskResult")
  1941. public Map<String, Object> addTimeTaskResult(@RequestBody(required = false) Map<String, Object> map){
  1942. return tmsTruckFeign.addTimeTaskResult(map);
  1943. }
  1944. @ApiOperation(value="计时判断是否开始")
  1945. @PostMapping("/JudgeTimeTask")
  1946. public Map<String, Object> JudgeTimeTask(@RequestBody(required = false) Map<String, Object> map){
  1947. return tmsTruckFeign.JudgeTimeTask(map);
  1948. }
  1949. @ApiOperation(value="计时暂停")
  1950. @PostMapping("/unitSureEndTimeout")
  1951. public Map<String, Object> unitSureEndTimeout(@RequestBody(required = false) Map<String, Object> map){
  1952. return tmsTruckFeign.unitSureEndTimeout(map);
  1953. }
  1954. @ApiOperation(value="计时暂停")
  1955. @PostMapping("/JudgeTimeTaskPause")
  1956. public Map<String, Object> JudgeTimeTaskPause(@RequestBody(required = false) Map<String, Object> map){
  1957. return tmsTruckFeign.JudgeTimeTaskPause(map);
  1958. }
  1959. @ApiOperation(value="对内转车辆装货点进行统计")
  1960. @PostMapping("/getLoading")
  1961. public Map<String, Object> getLoading(@RequestBody(required=false) Map<String,Object> mapValue,
  1962. Integer apiId,
  1963. Integer pageNum,
  1964. Integer pageSize,
  1965. String startTime,
  1966. String endTime
  1967. ){
  1968. return tmsTruckFeign.getLoading(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime);
  1969. }
  1970. @ApiOperation(value="对内转车辆装货点进行统计")
  1971. @PostMapping("/getLoaderResult")
  1972. public Map<String, Object> getLoaderResult(@RequestBody(required=false) Map<String,Object> mapValue,
  1973. Integer apiId,
  1974. Integer pageNum,
  1975. Integer pageSize,
  1976. String startTime,
  1977. String endTime
  1978. ){
  1979. return tmsTruckFeign.getLoaderResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime);
  1980. }
  1981. @ApiOperation(value="对内转车辆装卸货点进行统计")
  1982. @PostMapping("/getUnLoading")
  1983. public Map<String, Object> getUnLoading(@RequestBody(required=false) Map<String,Object> mapValue,
  1984. Integer apiId,
  1985. Integer pageNum,
  1986. Integer pageSize,
  1987. String startTime,
  1988. String endTime
  1989. ){
  1990. return tmsTruckFeign.getUnLoading(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime);
  1991. }
  1992. @ApiOperation(value="查询零星中转统计报表")
  1993. @PostMapping("/getLXInwardReport")
  1994. public Map<String, Object> getLXInwardReport(@RequestBody(required=false) Map<String,Object> mapValue,
  1995. Integer apiId,
  1996. Integer pageNum,
  1997. Integer pageSize,
  1998. String startTime,
  1999. String endTime,
  2000. String con
  2001. ){
  2002. return tmsTruckFeign.getLXInwardReport(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime,con);
  2003. }
  2004. @ApiOperation(value="拼装车内转统计报表")
  2005. @PostMapping("/getInwardReportForAssemble")
  2006. public Map<String, Object> getInwardReportForAssemble(@RequestBody(required=false) Map<String,Object> mapValue,
  2007. Integer apiId,
  2008. Integer pageNum,
  2009. Integer pageSize,
  2010. String startTime,
  2011. String endTime,BigDecimal orderType, String index, String isPage,String orgCode
  2012. ){
  2013. return tmsTruckFeign.getInwardReportForAssemble(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, startTime, endTime,orderType,index,isPage,orgCode);
  2014. }
  2015. @ApiOperation("保卫部随机抽查车牌号")
  2016. @PostMapping("/getCapacityByDefend")
  2017. public Map<String,Object> getCapacityByDefend(@RequestBody(required = false) Map<String,Object> mapValue,
  2018. Integer apiId,
  2019. Integer pageNum,
  2020. Integer pageSize,
  2021. String startTime,
  2022. String endTime,
  2023. String con,
  2024. String yes){
  2025. return tmsTruckFeign.getCapacityByDefend(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,startTime,endTime,con,yes);
  2026. }
  2027. @ApiOperation("厂外抵达作业")
  2028. @PostMapping("/getReceiptResult")
  2029. public Map<String,Object> getReceiptResult(@RequestBody(required = false) Map<String,Object> mapValue,
  2030. Integer apiId,
  2031. Integer pageNum,
  2032. Integer pageSize,
  2033. String con,
  2034. String startTime,
  2035. String endTime){
  2036. return tmsTruckFeign.getReceiptResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con,startTime,endTime);
  2037. }
  2038. @ApiOperation("展示满货箱的照片")
  2039. @PostMapping("/getReceiptPhoto")
  2040. public String getReceiptPhoto(@RequestParam String orderNumber){
  2041. return tmsTruckFeign.getReceiptPhoto(orderNumber);
  2042. }
  2043. @ApiOperation("厂外收货作业")
  2044. @PostMapping("/getReceivingResult")
  2045. public Map<String,Object> getReceivingResult(@RequestBody(required = false) Map<String,Object> mapValue,
  2046. Integer apiId,
  2047. Integer pageNum,
  2048. Integer pageSize,
  2049. String con,
  2050. String startTime,
  2051. String endTime){
  2052. return tmsTruckFeign.getReceivingResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize,con,startTime,endTime);
  2053. }
  2054. @ApiOperation("展示收货的照片")
  2055. @PostMapping("/getReceivingPhoto")
  2056. public Map<String,Object> getReceivingPhoto(@RequestParam String orderNumber){
  2057. return tmsTruckFeign.getReceivingPhoto(orderNumber);
  2058. }
  2059. @ApiOperation("展示收货的照片")
  2060. @PostMapping("/getReceivingPhotoByUrl")
  2061. public Map<String,Object> getReceivingPhotoByUrl(@RequestParam String orderNumber) throws Exception {
  2062. Map<String,Object> map=tmsTruckFeign.getReceivingPhotoByUrl(orderNumber);
  2063. if(map.containsKey("resultEmptyContainerPhoto") && map.get("resultEmptyContainerPhoto")!=null){
  2064. String resultEmptyContainerPhoto = (String) imageFileUtils.downloadFile(map.get("resultEmptyContainerPhoto").toString());
  2065. map.put("resultEmptyContainerPhoto",resultEmptyContainerPhoto);
  2066. }
  2067. if(map.containsKey("resultSignedNotePhoto") && map.get("resultSignedNotePhoto")!=null){
  2068. String resultSignedNotePhoto = (String) imageFileUtils.downloadFile(map.get("resultSignedNotePhoto").toString());
  2069. map.put("resultSignedNotePhoto",resultSignedNotePhoto);
  2070. }
  2071. return map;
  2072. }
  2073. @ApiOperation("根据船舶位置查询船舶动态")
  2074. @PostMapping("/getShipLocationStatus")
  2075. public Map<String,Object> getShipLocationStatus(String shipLocation) {
  2076. Map<String, Object> map = tmsshipFeign.getShipLocationStatus(shipLocation);
  2077. return map;
  2078. }
  2079. //根据用户输入提货联系人模糊查询提货联系人、提货人身份证号、联系电话
  2080. @ApiOperation(value="根据用户输入提货联系人模糊查询提货联系人、提货人身份证号、联系电话", notes="模糊查询")
  2081. @ApiImplicitParams({
  2082. @ApiImplicitParam(name = "personName",value = "用户输入的输入提货联系人", required = false, dataType = "String")
  2083. })
  2084. @PostMapping("/getPersonByName")
  2085. public Map<String,Object> getPersonByName(@RequestParam(value ="personName")String personName){
  2086. return tmsshipFeign.getPersonByName(personName);
  2087. }
  2088. @ApiOperation(value="获取内转报表")
  2089. @PostMapping("/getOutFactoryInwardList")
  2090. public Map<String, Object> getOutFactoryInwardList(@RequestBody(required=false) Map<String,Object> mapValue,
  2091. Integer apiId,
  2092. Integer pageNum,
  2093. Integer pageSize,
  2094. String startTime,
  2095. String endTime,
  2096. String orgCode,
  2097. String isPage,
  2098. String index) {
  2099. if (mapValue==null){
  2100. mapValue=new HashMap<>();
  2101. }
  2102. return tmsTruckFeign.getOutFactoryInwardList(mapValue,apiId,pageNum,pageSize,startTime,endTime,orgCode,isPage,index);
  2103. }
  2104. @ApiOperation(value = "根据物资名和外轮船名查询采购订单号")
  2105. @PostMapping(value = "/findPurchaseOrderList")
  2106. public Map<String, Object> findPurchaseOrderList(@RequestBody(required = false) Map<String, Object> map,
  2107. Integer apiId,
  2108. Integer pageNum,
  2109. Integer pageSize,
  2110. String materialName,
  2111. String resultForeignShipName){
  2112. if(map==null)
  2113. map=new HashMap<>();
  2114. System.out.println(map);
  2115. return tmsTrainFeign.getPurchaseOrderList(map,apiId,pageNum,pageSize,materialName, resultForeignShipName);
  2116. }
  2117. @ApiOperation(value = "销售钢材统计报表")
  2118. @PostMapping("/getSaleSteelReport")
  2119. public Map<String,Object> getSaleSteelReport(@RequestBody(required = false)Map<String,Object>map,
  2120. Integer apiId,
  2121. String startTime,
  2122. String endTime,
  2123. String carrierSsoId,
  2124. String receiveName,
  2125. String materialName,
  2126. String specification,
  2127. String remark){
  2128. if(map==null){
  2129. map=new HashMap<>();
  2130. }
  2131. return tmsTruckFeign.getSaleSteelReport(map,apiId,startTime,endTime,carrierSsoId,receiveName,materialName,specification,remark);
  2132. }
  2133. }