TMSController.java 68 KB

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