123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269 |
- package com.steerinfo.dil.controller;
- import com.steerinfo.dil.feign.TmsTrainFeign;
- import com.steerinfo.dil.feign.TmsTruckFeign;
- import com.steerinfo.dil.feign.TmsshipFeign;
- import com.steerinfo.framework.controller.RESTfulResult;
- import io.swagger.annotations.ApiImplicitParam;
- import io.swagger.annotations.ApiImplicitParams;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.*;
- import java.math.BigDecimal;
- import java.util.HashMap;
- import java.util.Map;
- /**
- * @author luobang
- * @create 2021-09-17 14:11
- */
- @RestController
- @RequestMapping("${api.version}/tms")
- public class TMSController {
- @Autowired
- private TmsTruckFeign tmsTruckFeign;
- @Autowired
- private TmsTrainFeign tmsTrainFeign;
- @Autowired
- TmsshipFeign tmsshipFeign;
- /*======================================船运==========================================*/
- /**
- * 驳船
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getBargeOperationList")
- @ApiOperation(value = "展示驳船")
- public RESTfulResult getBargeOperationList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getBargeOperationList(mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("selectBargeOperation/{bargeOperationId}")
- @ApiOperation(value = "通过id查询驳船")
- RESTfulResult selectBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
- return tmsshipFeign.selectBargeOperation(bargeOperationId);
- }
- @PostMapping("getBargeOperation/{bargeOperationId}")
- @ApiOperation(value = "查询驳船")
- RESTfulResult getBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
- return tmsshipFeign.getBargeOperation(bargeOperationId);
- }
- @PostMapping("deleteBargeOperation/{bargeOperationId}")
- @ApiOperation(value = "逻辑删除驳船")
- RESTfulResult deleteBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
- return tmsshipFeign.deleteBargeOperation(bargeOperationId);
- }
- @PostMapping("updateBargeOperation")
- @ApiOperation(value = "修改驳船")
- RESTfulResult updateBargeOperation(@RequestBody Map<String, Object> tmsshipBargeOperation) {
- return tmsshipFeign.updateBargeOperation(tmsshipBargeOperation);
- }
- @PostMapping("addBargeOperation")
- @ApiOperation(value = "新增驳船")
- RESTfulResult addBargeOperation(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addBargeOperation(map);
- }
- @PostMapping("addTmsShipEntryWharyResult")
- @ApiOperation(value = "新增抵港")
- RESTfulResult addTmsShipEntryWharyResult(@RequestBody Map<String, Object> mapVal) {
- return tmsshipFeign.addTmsShipEntryWharyResult(mapVal);
- }
- @PostMapping("addTmsShipOutWharyResult")
- @ApiOperation(value = "新增离港")
- RESTfulResult addTmsShipOutWharyResult(@RequestBody Map<String, Object> mapVal) {
- return tmsshipFeign.addTmsShipOutWharyResult(mapVal);
- }
- /**
- * 装船
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getLoadShipList")
- @ApiOperation(value = "展示装船")
- public RESTfulResult getLoadShipList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getLoadShipList(mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("getLoadShip/{resultId}")
- @ApiOperation(value = "查询装船")
- RESTfulResult getLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.getLoadShip(resultId);
- }
- @PostMapping("selectLoadShip/{resultId}")
- @ApiOperation(value = "通过id查询装船")
- RESTfulResult selectLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.selectLoadShip(resultId);
- }
- @PostMapping("deleteLoadShip/{resultId}")
- @ApiOperation(value = "逻辑删除装船")
- RESTfulResult deleteLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.deleteLoadShip(resultId);
- }
- @PostMapping("updateLoadShip")
- @ApiOperation(value = "修改装船")
- RESTfulResult updateLoadShip(@RequestBody Map<String, Object> tmsshipLoadShipResult) {
- return tmsshipFeign.updateLoadShip(tmsshipLoadShipResult);
- }
- @PostMapping("addLoadShip")
- @ApiOperation(value = "新增装船")
- RESTfulResult addLoadShip(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addLoadShip(map);
- }
- /**
- * 位置作业
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getShipLocationList")
- @ApiOperation(value = "展示位置作业")
- public RESTfulResult getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getShipLocationList(mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("getShipLocation/{locationId}")
- @ApiOperation(value = "查询位置作业")
- RESTfulResult getShipLocation(@PathVariable("locationId") BigDecimal locationId) {
- return tmsshipFeign.getShipLocation(locationId);
- }
- @PostMapping("selectShipLocation/{locationId}")
- @ApiOperation(value = "通过id查询位置作业")
- RESTfulResult selectShipLocation(@PathVariable("locationId") BigDecimal locationId) {
- return tmsshipFeign.selectShipLocation(locationId);
- }
- @PostMapping("deleteShipLocation/{locationId}")
- @ApiOperation(value = "逻辑删除位置作业")
- RESTfulResult deleteShipLocation(@PathVariable("locationId") BigDecimal locationId) {
- return tmsshipFeign.deleteShipLocation(locationId);
- }
- @PostMapping("updateShipLocation")
- @ApiOperation(value = "修改位置作业")
- RESTfulResult updateShipLocation(@RequestBody Map<String, Object> tmsshipShipLocation) {
- return tmsshipFeign.updateShipLocation(tmsshipShipLocation);
- }
- @PostMapping("addShipLocation")
- @ApiOperation(value = "新增位置作业")
- RESTfulResult addShipLocation(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addShipLocation(map);
- }
- /**
- * 水路货物运单
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("listAllOrders")
- @ApiOperation(value = "展示水路货物运单")
- public RESTfulResult listAllOrders(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.listAllOrders(mapValue, pageNum, pageSize, apiId);
- }
- /**
- * 展示船只信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getCapacityList")
- @ApiOperation(value = "展示船只信息")
- public RESTfulResult getCapacityList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getCapacityList(mapValue, pageNum, pageSize, apiId);
- }
- /**
- * 卸船作业
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getUnLoadShipList")
- @ApiOperation(value = "展示卸船作业信息列表")
- public RESTfulResult getUnLoadShipList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getUnLoadShipList(mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("getUnloadShip/{resultId}")
- @ApiOperation(value = "查询卸船作业")
- RESTfulResult getUnloadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.getUnloadShip(resultId);
- }
- @PostMapping("selectUnLoadShip/{resultId}")
- @ApiOperation(value = "通过id查询卸船作业")
- RESTfulResult selectUnLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.selectUnLoadShip(resultId);
- }
- @PostMapping("deleteUnLoadShip/{resultId}")
- @ApiOperation(value = "逻辑删除卸船作业")
- RESTfulResult deleteUnLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.deleteUnLoadShip(resultId);
- }
- @PostMapping("updateUnLoadShip")
- @ApiOperation(value = "修改卸船作业")
- RESTfulResult updateUnLoadShip(@RequestBody Map<String, Object> tmsshipUnloadShipResult) {
- return tmsshipFeign.updateUnLoadShip(tmsshipUnloadShipResult);
- }
- @PostMapping("addUnLoadShip")
- @ApiOperation(value = "新增卸船作业")
- RESTfulResult addUnLoadShip(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addUnLoadShip(map);
- }
- /**
- * 水分质检
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getWaterQualityResultList")
- @ApiOperation(value = "展示水分质检信息列表")
- public RESTfulResult getWaterQualityResultList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getWaterQualityResultList(mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("getWaterQuality/{resultId}")
- @ApiOperation(value = "查询水分质检")
- RESTfulResult getWaterQuality(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.getWaterQuality(resultId);
- }
- @PostMapping("selectWaterQualityResult/{resultId}")
- @ApiOperation(value = "通过id查询水分质检")
- RESTfulResult selectWaterQualityResult(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.selectWaterQualityResult(resultId);
- }
- @PostMapping("deleteWaterQualityResult/{resultId}")
- @ApiOperation(value = "逻辑删除水分质检")
- RESTfulResult deleteWaterQualityResult(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.deleteWaterQualityResult(resultId);
- }
- @PostMapping("updateWaterQualityResult")
- @ApiOperation(value = "修改水分质检")
- RESTfulResult updateWaterQualityResult(@RequestBody Map<String, Object> tmsshipWaterQualityResult) {
- return tmsshipFeign.updateWaterQualityResult(tmsshipWaterQualityResult);
- }
- @PostMapping("addWaterQualityResult")
- @ApiOperation(value = "新增水分质检")
- RESTfulResult addWaterQualityResult(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addWaterQualityResult(map);
- }
- /**
- * 船只信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getCapacities")
- @ApiOperation(value = "展示船只信息列表")
- public RESTfulResult getCapacities(BigDecimal instructionsId,
- @RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getCapacities(instructionsId, mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("getInstructionsCapacity/{instructionsCapacityId}")
- @ApiOperation(value = "查询船只信息")
- RESTfulResult getInstructionsCapacity(@PathVariable("instructionsCapacityId") BigDecimal instructionsCapacityId) {
- return tmsshipFeign.getInstructionsCapacity(instructionsCapacityId);
- }
- @PostMapping("deleteInstructionsCapacity/{instructionsCapacityId}")
- @ApiOperation(value = "逻辑删除船只信息")
- RESTfulResult deleteInstructionsCapacity(@PathVariable("instructionsCapacityId") BigDecimal instructionsCapacityId) {
- return tmsshipFeign.deleteInstructionsCapacity(instructionsCapacityId);
- }
- @PostMapping("updateInstructionsCapacity")
- @ApiOperation(value = "修改船只信息")
- RESTfulResult updateInstructionsCapacity(@RequestBody Map<String, Object> omsshipInstructionsCapacity) {
- return tmsshipFeign.updateInstructionsCapacity(omsshipInstructionsCapacity);
- }
- @PostMapping("addInstructionsCapacity")
- @ApiOperation(value = "新增船只信息")
- RESTfulResult addInstructionsCapacity(@RequestBody Map<String, Object> omsshipInstructionsCapacity) {
- return tmsshipFeign.addInstructionsCapacity(omsshipInstructionsCapacity);
- }
- /**
- * 装船指令
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getShipMentInstructionsList")
- @ApiOperation(value = "展示装船指令列表")
- public RESTfulResult getShipMentInstructionsList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getShipMentInstructionsList(mapValue, pageNum, pageSize, apiId);
- }
- @PostMapping("getShipmentInstructions/{instructionsId}")
- @ApiOperation(value = "查询装船指令")
- RESTfulResult getShipmentInstructions(@PathVariable("instructionsId") BigDecimal instructionsId) {
- return tmsshipFeign.getShipmentInstructions(instructionsId);
- }
- @PostMapping("deleteByPrimaryKey/{instructionsId}")
- @ApiOperation(value = "逻辑删除装船指令")
- RESTfulResult deleteByPrimaryKey(@PathVariable("instructionsId") BigDecimal instructionsId) {
- return tmsshipFeign.deleteByPrimaryKey(instructionsId);
- }
- @PostMapping("updateIssueStatus/{shipmentInstructionsId}")
- @ApiOperation(value = "修改状态")
- RESTfulResult updateIssueStatus(@PathVariable("shipmentInstructionsId") BigDecimal shipmentInstructionsId) {
- return tmsshipFeign.updateIssueStatus(shipmentInstructionsId);
- }
- @PostMapping("updateShipmentInstructions")
- @ApiOperation(value = "修改装船指令")
- RESTfulResult updateShipmentInstructions(@RequestBody Map<String, Object> omsshipShipmentInstructions) {
- return tmsshipFeign.updateShipmentInstructions(omsshipShipmentInstructions);
- }
- @PostMapping("addShipmentInstructions")
- @ApiOperation(value = "新增装船指令")
- RESTfulResult addShipmentInstructions(@RequestBody Map<String, Object> omsshipShipmentInstructions) {
- return tmsshipFeign.addShipmentInstructions(omsshipShipmentInstructions);
- }
- /*======================================火运==========================================*/
- //************************************TmstrainLoadingResultController********************
- @ApiOperation(value="查询装车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "apiId(58)", value = "表头", required = false, dataType = "Interger")
- })
- @PostMapping("/getTmstrainWagonLoad")
- public RESTfulResult getTmstrainWagonLoad(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize){
- return tmsTrainFeign.getTmstrainWagonLoad(mapValue == null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="新增车皮装车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainLoadingResult", value = "车皮装车对象", required = false, dataType = "TmstrainLoadingResult")
- })
- @PostMapping(value = "/insertTmstrainLoadingResult")
- public RESTfulResult insertTmstrainLoadingResult(@RequestBody(required = false) Map<String, Object> map){
- return tmsTrainFeign.insertTmstrainLoadingResult(map);
- }
- @ApiOperation(value="通过主键查询车皮装车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "车皮装车主键", required = false, dataType = "BigDecimal")
- })
- @PostMapping(value = "/getTmstrainLoadingResultByResultId/{resultId}")
- public RESTfulResult getTmstrainLoadingResultByResultId(@PathVariable("resultId") BigDecimal resultId){
- return tmsTrainFeign.getTmstrainLoadingResultByResultId(resultId);
- }
- @ApiOperation(value="通过主键修改车皮装车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainLoadingResult", value = "修改车皮装车map", required = false, dataType = "TmstrainWagonLoadResult")
- })
- @PostMapping(value = "/upadteTmstrainLoadingResultByResultId")
- public RESTfulResult upadteTmstrainLoadingResultByResultId(@RequestBody(required = false) Map<String, Object> map) {
- return tmsTrainFeign.upadteTmstrainLoadingResultByResultId(map);
- }
- @ApiOperation(value="通过主键删除车皮装车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "主键ID", required = false, dataType = "BigDecimal")
- })
- @PostMapping(value = "/deleteTmstrainLoadingResultByResultId")
- public RESTfulResult deleteTmstrainLoadingResultByResultId(@RequestParam BigDecimal resultId){
- return tmsTrainFeign.deleteTmstrainLoadingResultByResultId(resultId);
- }
- //********************下拉框**********************
- @ApiOperation(value="获取发站地点名称")
- @ApiImplicitParams({
- })
- @GetMapping(value = "/getSendStationName")
- public RESTfulResult getSendStationName(){
- return tmsTrainFeign.getSendStationName();
- }
- @ApiOperation(value="获取到站地点名称")
- @GetMapping(value = "/getArrivalStationName")
- public RESTfulResult getArrivalStationName(){
- return tmsTrainFeign.getArrivalStationName();
- }
- @ApiOperation(value="获取批次ID")
- @GetMapping(value = "/getBatchId")
- public RESTfulResult getBatchId(){
- return tmsTrainFeign.getBatchId();
- }
- @ApiOperation(value="获取装车车皮号")
- @GetMapping(value = "/getWagonNo")
- public RESTfulResult getWagonNo(){
- return tmsTrainFeign.getWagonNo();
- }
- @ApiOperation(value="查询卸车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "apiId(60)", value = "表头", required = false, dataType = "Interger")
- })
- @PostMapping("/getTmstrainWagonUnLoad")
- public RESTfulResult getTmstrainWagonUnLoad(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize){
- return tmsTrainFeign.getTmstrainWagonUnLoad(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="通过主键删除车皮卸车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "unloadingId", value = "主键ID", required = false, dataType = "BigDecimal")
- })
- @PostMapping(value = "/deleteTmstrainWagonUnLoadResultByUnLoadingId")
- public RESTfulResult deleteTmstrainWagonUnLoadResultByUnLoadingId(@RequestParam BigDecimal unloadingId){
- return tmsTrainFeign.deleteTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
- }
- @ApiOperation(value="新增车皮卸车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
- })
- @PostMapping(value = "/insertTmstrainWagonUnLoadResult")
- public RESTfulResult insertTmstrainWagonUnLoadResult(@RequestBody(required = false) Map<String, Object> tmstrainWagonUnloadResult){
- return tmsTrainFeign.insertTmstrainWagonUnLoadResult(tmstrainWagonUnloadResult);
- }
- @ApiOperation(value="通过主键修改车皮卸车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
- })
- @PostMapping(value = "/upadteTmstrainWagonUnLoadResultByUnLoadingId")
- public RESTfulResult upadteTmstrainWagonUnLoadResultByUnLoadingId(@RequestBody(required = false) Map<String, Object> tmstrainWagonUnloadResult){
- return tmsTrainFeign.upadteTmstrainWagonUnLoadResultByUnLoadingId(tmstrainWagonUnloadResult);
- }
- @ApiOperation(value="查看火运实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "apiId(65)", value = "表头", required = false, dataType = "Interger")
- })
- @PostMapping("/getTmstrainresult")
- public RESTfulResult getTmstrainresult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize){
- return tmsTrainFeign.getTmstrainresult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="通过主键查询车皮卸车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "unloadingId", value = "车皮卸车主键", required = false, dataType = "BigDecimal")
- })
- @PostMapping(value = "/getTmstrainWagonUnLoadResultByUnLoadingId/{unloadingId}")
- public RESTfulResult getTmstrainWagonUnLoadResultByUnLoadingId(@PathVariable("unloadingId") BigDecimal unloadingId) {
- return tmsTrainFeign.getTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
- }
- //下拉框
- @ApiOperation(value="获取卸车地点名称")
- @ApiImplicitParams({
- })
- @GetMapping(value = "/getUnloadingPointName")
- public RESTfulResult getUnloadingPointName(){
- return tmsTrainFeign.getUnloadingPointName();
- }
- @ApiOperation(value="获取卸车路径名称")
- @ApiImplicitParams({
- })
- @GetMapping(value = "/getUnloadingRouteName")
- public RESTfulResult getUnloadingRouteName(){
- return tmsTrainFeign.getUnloadingRouteName();
- }
- @ApiOperation(value="查询请车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(57)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllWagonPlease")
- public RESTfulResult getAllWagonPlease(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer status){
- return tmsTrainFeign.getAllWagonPlease(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, status);
- }
- @ApiOperation(value="通过Id查询请车作业")
- @PostMapping ("/getWagonPleaseById/{resultId}")
- public RESTfulResult getWagonPleaseById(@PathVariable("resultId")Integer resultId){
- return tmsTrainFeign.getWagonPleaseById(resultId);
- }
- @ApiOperation(value="新增请车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "amstrainWagonPlease", value = "请车作业对象", required = false, dataType = "AmstrainWagonPlease"),
- })
- @PostMapping("/addWagonPlease")
- public RESTfulResult addWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult){
- return tmsTrainFeign.addWagonPlease(tmstrainPleaseApproveResult);
- }
- @ApiOperation(value="修改请车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
- })
- @PostMapping("/updateWagonPlease")
- public RESTfulResult updateWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult){
- return tmsTrainFeign.updateWagonPlease(tmstrainPleaseApproveResult);
- }
- @ApiOperation(value="逻辑删除请车作业 设置状态码为 3")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
- })
- @PostMapping("/deleteWagonPlease/{resultId}")
- public RESTfulResult deleteWagonPlease(@PathVariable("resultId") Integer resultId){
- return tmsTrainFeign.deleteWagonPlease(resultId);
- }
- @ApiOperation(value="下发请车作业 设置状态码为 1")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "请车作业实绩对象", required = false, dataType = "Integer"),
- })
- @PostMapping("/sendWagonPlease/{resultId}")
- public RESTfulResult sendWagonPlease(@PathVariable("resultId") Integer resultId){
- return tmsTrainFeign.sendWagonPlease(resultId);
- }
- //下拉框
- @ApiOperation(value="查询所有发货单位")
- @GetMapping("/getShipper")
- public RESTfulResult getShipper(){
- return tmsTrainFeign.getShipper();
- }
- @ApiOperation(value="查询批车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(70)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getApproveAllWagonPlease")
- public RESTfulResult getApproveAllWagonPlease(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize){
- return tmsTrainFeign.getApproveAllWagonPlease(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="通过Id查询批车作业")
- @PostMapping ("/getApproveWagonPleaseById/{resultId}")
- public RESTfulResult getApproveWagonPleaseById(@PathVariable("resultId")Integer resultId){
- return tmsTrainFeign.getApproveWagonPleaseById(resultId);
- }
- @ApiOperation(value="新增批车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
- })
- @PostMapping("/addApproveWagonPlease")
- public RESTfulResult addApproveWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult){
- return tmsTrainFeign.addApproveWagonPlease(tmstrainPleaseApproveResult);
- }
- @ApiOperation(value="修改批车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
- })
- @PostMapping("/updateApproveWagonPlease")
- public RESTfulResult updateApproveWagonPlease(@RequestBody(required = false) Map<String, Object> tmstrainPleaseApproveResult){
- return tmsTrainFeign.updateApproveWagonPlease(tmstrainPleaseApproveResult);
- }
- @ApiOperation(value="逻辑删除批车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "请车作业实绩对象", required = false, dataType = "Integer"),
- })
- @PostMapping("/deleteApproveWagonPlease/{resultId}")
- public RESTfulResult deleteApproveWagonPlease(@PathVariable("resultId") Integer resultId){
- return tmsTrainFeign.deleteApproveWagonPlease(resultId);
- }
- /*======================================汽运==========================================*/
- @ApiOperation(value="查询运输预约")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(79)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllPurPlan")
- public RESTfulResult getAllPurPlan(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer status) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsTruckFeign.getAllPurPlan(mapValue, apiId, pageNum, pageSize, status);
- }
- /*
- 不知道谁写的
- */
- @PostMapping("/getAllPurPlan/{apiId}")
- public RESTfulResult getDetailListByCon(@PathVariable("apiId") Integer apiId,
- @RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsTruckFeign.getDetailListByCon(apiId, mapValue, pageNum, pageSize, con);
- }
- @ApiOperation(value = "通过Id查询请车作业")
- @PostMapping("/getPurPlanById/{planId}")
- public RESTfulResult getPurPlanById(@PathVariable("planId") Integer planId) {
- return tmsTruckFeign.getPurPlanById(planId);
- }
- @ApiOperation(value = "新增运输计划 状态:0")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "amstruckPurplan", value = "运输计划实绩对象", required = false, dataType = "AmstruckPurplan"),
- })
- @PostMapping("/addPurPlan")
- public RESTfulResult addPurPlan(@RequestBody Map<String, Object> map) {
- return tmsTruckFeign.addPurPlan(map);
- }
- @ApiOperation(value = "下发运输计划 状态:1")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "planId", value = "运输计划Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/sendPurPlan/{planId}")
- public RESTfulResult sendPurPlan(@PathVariable("planId") Integer planId) {
- return tmsTruckFeign.sendPurPlan(planId);
- }
- @ApiOperation(value = "接收运输计划 状态:2")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "planId", value = "运输计划Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/receptionPurPlan/{planId}")
- public RESTfulResult receptionPurPlan(@PathVariable("planId") Integer planId) {
- return tmsTruckFeign.receptionPurPlan(planId);
- }
- @ApiOperation(value = "逻辑删除运输计划 状态:3")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "planId", value = "运输计划Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/deletePurPlan/{planId}")
- public RESTfulResult deletePurPlan(@PathVariable("planId") Integer planId) {
- return tmsTruckFeign.deletePurPlan(planId);
- }
- //**************************************************************************************
- @ApiOperation(value = "查询要分派的计划")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(82)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getDecomposedPlan")
- public RESTfulResult getDecomposedPlan(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer planId,
- Integer status) {
- return tmsTruckFeign.getDecomposedPlan(mapValue == null? new HashMap<>() : mapValue, apiId, pageNum, pageSize, planId, status);
- }
- //********************************************omsTruckOrderController*****************************
- @ApiOperation(value = "查询所有运输订单")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(86)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllTruckOrder")
- public RESTfulResult getAllTruckOrder(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderStatus,
- Integer planId,
- Integer orderType) {
- return tmsTruckFeign.getAllTruckOrder(mapValue == null? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderStatus, planId, orderType);
- }
- @ApiOperation(value = "不适用表头返回数据")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("/getAllTruckOrderReturnListMap")
- public RESTfulResult getAllTruckOrder(Integer orderStatus, Integer planId, Integer orderType) {
- return tmsTruckFeign.getAllTruckOrder(orderStatus, planId, orderType);
- }
- @ApiOperation(value = "查询所有空闲的运力信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(85)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllCapacity")
- public RESTfulResult getAllCapacity(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer carrierId
- ) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsTruckFeign.getAllCapacity(mapValue, apiId, pageNum, pageSize, carrierId);
- }
- @ApiOperation(value = "分解运输计划后 新增订单 或者直接新增订单 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("/addPurOrder")
- public RESTfulResult addPurOrder(@RequestBody(required = false) Map<String, Object> mapValue) {
- return tmsTruckFeign.addPurOrder(mapValue);
- }
- // == null ? new HashMap<>() : mapValue
- @ApiOperation(value = "修改分派计划")
- @PostMapping("/updateOrder")
- public RESTfulResult updateOrder(@RequestBody Map<String, Object> map) {
- return tmsTruckFeign.updateOrder(map);
- }
- @ApiOperation(value = "派单")
- @PostMapping("/dispatchOrder/{orderId}")
- public RESTfulResult dispatchOrder(@PathVariable("orderId") Integer orderId) {
- return tmsTruckFeign.dispatchOrder(orderId);
- }
- @ApiOperation(value = "逻辑删除运单")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "planId", value = "运输计划Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/deleteOrder")
- public RESTfulResult deleteOrder(@RequestBody(required = false) Map<String, Object> map,
- Integer planId) {
- return tmsTruckFeign.deleteOrder(map, planId);
- }
- @ApiOperation(value = "司机接收、拒绝接单")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "orderId", value = "运输订单Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/driverReceiveOrRefuse/{orderId}")
- public RESTfulResult driverReceiveOrRefuse(@PathVariable("orderId") Integer orderId, Integer orderReceiveStatus) {
- return tmsTruckFeign.driverReceiveOrRefuse(orderId, orderReceiveStatus);
- }
- @ApiOperation(value="司机接单信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(117)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/getReceiveRefuseOrder/{orderReceiveStatus}")
- public RESTfulResult getReceiveRefuseOrder(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- @PathVariable Integer orderReceiveStatus,
- Integer orderType,
- Integer orderStatus
- ){
- return tmsTruckFeign.getReceiveRefuseOrder(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum,
- pageSize, orderReceiveStatus, orderType, orderStatus);
- }
- @ApiOperation(value="司机APP端调用接口查询数据 4 已下发 5 已接收")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "capacityNumber", value = "车牌号", required = false, dataType = "String"),
- })
- @PostMapping("/sendMesToDriver")
- public RESTfulResult sendMesToDriver(String capacityNumber, Integer orderStatus){
- return tmsTruckFeign.sendMesToDriver(capacityNumber, orderStatus);
- }
- @ApiOperation(value="通过车牌获取所有已拒绝的订单")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "capacityNumber", value = "车牌号", required = false, dataType = "String"),
- })
- @PostMapping("/getRefuseOrderByCapacityNum")
- public RESTfulResult sendMesToDriver(String capacityNumber){
- return tmsTruckFeign.sendMesToDriver(capacityNumber);
- }
- @ApiOperation(value="通过运输订单ID查询运单信息 包含各个作业路径")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "orderId", value = "订单Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/getOrderMesByOrderNum/{orderId}")
- public RESTfulResult getOrderMesByOrderNum(@PathVariable("orderId") Integer orderId){
- return tmsTruckFeign.getOrderMesByOrderNum(orderId);
- }
- @ApiOperation(value="通过运输订单ID查询实绩地点和时间")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "orderId", value = "运输订单Id", required = false, dataType = "Integer"),
- })
- @PostMapping("/selectPlaceAndTime/{orderId}")
- public RESTfulResult selectPlaceAndTime(@PathVariable("orderId") Integer orderId){
- return tmsTruckFeign.selectPlaceAndTime(orderId);
- }
- @ApiOperation(value="通过运输订单ID查询运单信息")
- @PostMapping("/selectOrderByOrderId/{orderId}")
- public RESTfulResult selectOrderByOrderId(@PathVariable("orderId") Integer orderId){
- return tmsTruckFeign.selectOrderByOrderId(orderId);
- }
- @ApiOperation(value="查看运输派单")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(117)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/getTransportDispatch/{orderReceiveStatus}")
- public RESTfulResult getTransportDispatch(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- @PathVariable Integer orderReceiveStatus,
- Integer orderType,
- Integer orderStatus){
- return tmsTruckFeign.getTransportDispatch(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,
- orderReceiveStatus, orderType, orderStatus);
- }
- //******************************************TmstruckLoadResultController***********************************
- @ApiOperation(value="查询所有装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(91)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllLoadResult")
- public RESTfulResult getAllLoadResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer status ){
- return tmsTruckFeign.getAllLoadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status);
- }
- @ApiOperation(value="新增汽车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addLoadResult")
- public RESTfulResult addLoadResult(@RequestBody(required=false) Map<String,Object> mapValue){
- return tmsTruckFeign.addLoadResult(mapValue);
- }
- @ApiOperation(value="修改汽车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
- })
- @PostMapping("/updateLoadResult")
- public RESTfulResult updateLoadResult(@RequestBody Map<String, Object> map){
- return tmsTruckFeign.updateLoadResult(map);
- }
- @ApiOperation(value="通过ID查询装车实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/getLoadResultById/{resultId}")
- public RESTfulResult getLoadResultById(@PathVariable("resultId") Integer resultId){
- return tmsTruckFeign.getLoadResultById(resultId);
- }
- @ApiOperation(value="逻辑删除车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
- })
- @PostMapping("/deleteLoadResult/{resultId}")
- public RESTfulResult deleteLoadResult(@PathVariable("resultId")Integer resultId){
- return tmsTruckFeign.deleteLoadResult(resultId);
- }
- //***************************************TmstruckEnfactoryResultController***************************
- @ApiOperation(value="查询所有的进厂实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(99)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllEnFactoryResult")
- public RESTfulResult getAllEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ){
- return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("/addEnFactoryResult")
- public RESTfulResult addEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue){
- return tmsTruckFeign.addEnFactoryResult(mapValue);
- }
- @ApiOperation(value="PDA扫描更新进厂作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("/updateEnactoryResult")
- public RESTfulResult updateEnactoryResult(@RequestBody(required=false) Map<String,Object> mapValue){
- return tmsTruckFeign.updateEnactoryResult(mapValue);
- }
- //***************************************TmstruckWeightResultController***************************
- @ApiOperation(value="查询计毛实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(102)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllJiMaoResult")
- public RESTfulResult getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize){
- return tmsTruckFeign.getAllJiMaoResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="查询计皮实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(104)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllJiPiResult")
- public RESTfulResult getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize) {
- return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="采集新增计毛实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
- })
- @PostMapping("/addJiMaoResult")
- public RESTfulResult addJiMaoResult(@RequestBody Map<String, Object> mapValue){
- return tmsTruckFeign.addJiMaoResult(mapValue);
- }
- @ApiOperation(value="采集新增计皮实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
- })
- @PostMapping("/addJiPiResult")
- public RESTfulResult addJiPiResult(@RequestBody Map<String, Object> mapValue){
- return tmsTruckFeign.addJiPiResult(mapValue);
- }
- //****************************************TmstruckUnloadResultController*******************************
- @ApiOperation(value="查询卸货实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(103)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getUnloadResult")
- public RESTfulResult getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ){
- return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="更新卸货实绩 实际上是更新实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/addUnloadResult")
- public RESTfulResult addUnloadResult(@RequestBody Map<String, Object> mapValue){
- return tmsTruckFeign.addUnloadResult(mapValue);
- }
- //****************************************TmstruckReceiptResultController*******************************
- @ApiOperation(value="查询收货实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(107)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getReceiveResult")
- public RESTfulResult getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ){
- return tmsTruckFeign.getReceiveResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- //****************************************TmstruckLeaveFactoryResultController*******************************
- @ApiOperation(value="查询出厂实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(110)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getLeaveFactoryResult")
- public RESTfulResult getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ){
- return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="PAD扫描汽车出厂实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addLeaveFactoryResult")
- public RESTfulResult addLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue){
- return tmsTruckFeign.addLeaveFactoryResult(mapValue);
- }
- //****************************************TmstruckMeasureCommissionController*******************************
- @ApiOperation(value="查询计量委托 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/getAllMeasureCommission/{type}")
- public RESTfulResult getAllMeasureCommission(@PathVariable("type") Integer type){
- return tmsTruckFeign.getAllMeasureCommission(type);
- }
- //****************************************TmstruckQualityResultController*******************************
- @ApiOperation(value="查询所有的质检作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(111)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
- })
- @PostMapping("/getQualityResult")
- public RESTfulResult getQualityResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ){
- return tmsTruckFeign.getQualityResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value="通过ID获取质检实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/getQualityResultById/{resultId}")
- public RESTfulResult getQualityResultById(@PathVariable("resultId") Integer resultId){
- return tmsTruckFeign.getQualityResultById(resultId);
- }
- @ApiOperation(value="修改质检实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/updateQualityResult")
- public RESTfulResult updateQualityResult(@RequestBody(required=false) Map<String,Object> mapValue){
- return tmsTruckFeign.updateQualityResult(mapValue);
- }
- }
|