12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784 |
- package com.steerinfo.dil.controller;
- import com.steerinfo.dil.feign.TmsshipFeign;
- import com.steerinfo.dil.feign.TmsTrainFeign;
- import com.steerinfo.dil.feign.TmsTruckFeign;
- import com.steerinfo.dil.util.BaseRESTfulController;
- import com.steerinfo.framework.controller.RESTfulResult;
- import io.swagger.annotations.ApiImplicitParam;
- import io.swagger.annotations.ApiImplicitParams;
- import io.swagger.annotations.ApiOperation;
- import io.swagger.models.auth.In;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.*;
- import java.math.BigDecimal;
- import java.util.HashMap;
- import java.util.List;
- import java.util.Map;
- /**
- * @author luobang
- * @create 2021-09-17 14:11
- */
- @RestController
- @RequestMapping("${api.version}/tms")
- public class TMSController extends BaseRESTfulController {
- @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 Map<String, Object> getBargeOperationList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getBargeOperationList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("selectBargeOperation/{bargeOperationId}")
- @ApiOperation(value = "通过id查询驳船")
- Map<String, Object> selectBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
- return tmsshipFeign.selectBargeOperation(bargeOperationId);
- }
- @PostMapping("getBargeOperation/{bargeOperationId}")
- @ApiOperation(value = "查询驳船")
- Map<String, Object> getBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
- return tmsshipFeign.getBargeOperation(bargeOperationId);
- }
- @PostMapping("deleteBargeOperation/{bargeOperationId}")
- @ApiOperation(value = "逻辑删除驳船")
- Map<String, Object> deleteBargeOperation(@PathVariable("bargeOperationId") BigDecimal bargeOperationId) {
- return tmsshipFeign.deleteBargeOperation(bargeOperationId);
- }
- @PostMapping("updateBargeOperation")
- @ApiOperation(value = "修改驳船")
- Map<String, Object> updateBargeOperation(@RequestBody Map<String, Object> tmsshipBargeOperation) {
- return tmsshipFeign.updateBargeOperation(tmsshipBargeOperation);
- }
- @PostMapping("addBargeOperation")
- @ApiOperation(value = "新增驳船")
- Map<String, Object> addBargeOperation(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addBargeOperation(map);
- }
- @PostMapping("addTmsShipEntryWharyResult")
- @ApiOperation(value = "新增抵港")
- Map<String, Object> addTmsShipEntryWharyResult(@RequestBody Map<String, Object> mapVal) {
- return tmsshipFeign.addTmsShipEntryWharyResult(mapVal);
- }
- @PostMapping("addTmsShipOutWharyResult")
- @ApiOperation(value = "新增离港")
- Map<String, Object> addTmsShipOutWharyResult(@RequestBody Map<String, Object> mapVal) {
- return tmsshipFeign.addTmsShipOutWharyResult(mapVal);
- }
- /**
- * 装船
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getLoadShipList")
- @ApiOperation(value = "展示装船")
- public Map<String, Object> getLoadShipList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getLoadShipList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getLoadShip/{resultId}")
- @ApiOperation(value = "查询装船")
- Map<String, Object> getLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.getLoadShip(resultId);
- }
- @PostMapping("selectLoadShip/{resultId}")
- @ApiOperation(value = "通过id查询装船")
- Map<String, Object> selectLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.selectLoadShip(resultId);
- }
- @PostMapping("deleteLoadShip/{resultId}")
- @ApiOperation(value = "逻辑删除装船")
- Map<String, Object> deleteLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.deleteLoadShip(resultId);
- }
- @PostMapping("updateLoadShip")
- @ApiOperation(value = "修改装船")
- Map<String, Object> updateLoadShip(@RequestBody Map<String, Object> tmsshipLoadShipResult) {
- return tmsshipFeign.updateLoadShip(tmsshipLoadShipResult);
- }
- @PostMapping("addLoadShip")
- @ApiOperation(value = "新增装船")
- Map<String, Object> addLoadShip(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addLoadShip(map);
- }
- /**
- * 位置作业
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getShipLocationList")
- @ApiOperation(value = "展示位置作业")
- public Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getShipLocationList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getShipLocation/{locationId}")
- @ApiOperation(value = "查询位置作业")
- Map<String, Object> getShipLocation(@PathVariable("locationId") BigDecimal locationId) {
- return tmsshipFeign.getShipLocation(locationId);
- }
- @PostMapping("selectShipLocation/{locationId}")
- @ApiOperation(value = "通过id查询位置作业")
- Map<String, Object> selectShipLocation(@PathVariable("locationId") BigDecimal locationId) {
- return tmsshipFeign.selectShipLocation(locationId);
- }
- @PostMapping("deleteShipLocation/{locationId}")
- @ApiOperation(value = "逻辑删除位置作业")
- Map<String, Object> deleteShipLocation(@PathVariable("locationId") BigDecimal locationId) {
- return tmsshipFeign.deleteShipLocation(locationId);
- }
- @PostMapping("updateShipLocation")
- @ApiOperation(value = "修改位置作业")
- Map<String, Object> updateShipLocation(@RequestBody Map<String, Object> tmsshipShipLocation) {
- return tmsshipFeign.updateShipLocation(tmsshipShipLocation);
- }
- @PostMapping("addShipLocation")
- @ApiOperation(value = "新增位置作业")
- Map<String, Object> addShipLocation(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addShipLocation(map);
- }
- /**
- * 水路货物运单
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("listAllOrders")
- @ApiOperation(value = "展示水路货物运单")
- public Map<String, Object> listAllOrders(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.listAllOrders(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- /**
- * 展示船只信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getCapacityList")
- @ApiOperation(value = "展示船只信息")
- public Map<String, Object> 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 Map<String, Object> getUnLoadShipList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getUnLoadShipList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getUnloadShip/{resultId}")
- @ApiOperation(value = "查询卸船作业")
- Map<String, Object> getUnloadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.getUnloadShip(resultId);
- }
- @PostMapping("selectUnLoadShip/{resultId}")
- @ApiOperation(value = "通过id查询卸船作业")
- Map<String, Object> selectUnLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.selectUnLoadShip(resultId);
- }
- @PostMapping("deleteUnLoadShip/{resultId}")
- @ApiOperation(value = "逻辑删除卸船作业")
- Map<String, Object> deleteUnLoadShip(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.deleteUnLoadShip(resultId);
- }
- @PostMapping("updateUnLoadShip")
- @ApiOperation(value = "修改卸船作业")
- Map<String, Object> updateUnLoadShip(@RequestBody Map<String, Object> tmsshipUnloadShipResult) {
- return tmsshipFeign.updateUnLoadShip(tmsshipUnloadShipResult);
- }
- @PostMapping("addUnLoadShip")
- @ApiOperation(value = "新增卸船作业")
- Map<String, Object> addUnLoadShip(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addUnLoadShip(map);
- }
- /**
- * 水分质检
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getWaterQualityResultList")
- @ApiOperation(value = "展示水分质检信息列表")
- public Map<String, Object> getWaterQualityResultList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getWaterQualityResultList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getWaterQuality/{resultId}")
- @ApiOperation(value = "查询水分质检")
- Map<String, Object> getWaterQuality(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.getWaterQuality(resultId);
- }
- @PostMapping("selectWaterQualityResult/{resultId}")
- @ApiOperation(value = "通过id查询水分质检")
- Map<String, Object> selectWaterQualityResult(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.selectWaterQualityResult(resultId);
- }
- @PostMapping("deleteWaterQualityResult/{resultId}")
- @ApiOperation(value = "逻辑删除水分质检")
- Map<String, Object> deleteWaterQualityResult(@PathVariable("resultId") BigDecimal resultId) {
- return tmsshipFeign.deleteWaterQualityResult(resultId);
- }
- @PostMapping("updateWaterQualityResult")
- @ApiOperation(value = "修改水分质检")
- Map<String, Object> updateWaterQualityResult(@RequestBody Map<String, Object> tmsshipWaterQualityResult) {
- return tmsshipFeign.updateWaterQualityResult(tmsshipWaterQualityResult);
- }
- @PostMapping("addWaterQualityResult")
- @ApiOperation(value = "新增水分质检")
- Map<String, Object> addWaterQualityResult(@RequestBody Map<String, Object> map) {
- return tmsshipFeign.addWaterQualityResult(map);
- }
- /**
- * 船只信息
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getCapacities")
- @ApiOperation(value = "展示船只信息列表")
- public Map<String, Object> 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 = "查询船只信息")
- Map<String, Object> getInstructionsCapacity(@PathVariable("instructionsCapacityId") BigDecimal instructionsCapacityId) {
- return tmsshipFeign.getInstructionsCapacity(instructionsCapacityId);
- }
- @PostMapping("deleteInstructionsCapacity/{instructionsCapacityId}")
- @ApiOperation(value = "逻辑删除船只信息")
- Map<String, Object> deleteInstructionsCapacity(@PathVariable("instructionsCapacityId") BigDecimal instructionsCapacityId) {
- return tmsshipFeign.deleteInstructionsCapacity(instructionsCapacityId);
- }
- @PostMapping("updateInstructionsCapacity")
- @ApiOperation(value = "修改船只信息")
- Map<String, Object> updateInstructionsCapacity(@RequestBody Map<String, Object> omsshipInstructionsCapacity) {
- return tmsshipFeign.updateInstructionsCapacity(omsshipInstructionsCapacity);
- }
- @PostMapping("addInstructionsCapacity")
- @ApiOperation(value = "新增船只信息")
- Map<String, Object> addInstructionsCapacity(@RequestBody Map<String, Object> omsshipInstructionsCapacity) {
- return tmsshipFeign.addInstructionsCapacity(omsshipInstructionsCapacity);
- }
- /**
- * 装船指令
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getShipMentInstructionsList")
- @ApiOperation(value = "展示装船指令列表")
- public Map<String, Object> getShipMentInstructionsList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getShipMentInstructionsList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getShipmentInstructions/{instructionsId}")
- @ApiOperation(value = "查询装船指令")
- Map<String, Object> getShipmentInstructions(@PathVariable("instructionsId") BigDecimal instructionsId) {
- return tmsshipFeign.getShipmentInstructions(instructionsId);
- }
- @PostMapping("deleteByPrimaryKey/{instructionsId}")
- @ApiOperation(value = "逻辑删除装船指令")
- Map<String, Object> deleteByPrimaryKey(@PathVariable("instructionsId") BigDecimal instructionsId) {
- return tmsshipFeign.deleteByPrimaryKey(instructionsId);
- }
- @PostMapping("updateIssueStatus/{shipmentInstructionsId}")
- @ApiOperation(value = "修改状态")
- Map<String, Object> updateIssueStatus(@PathVariable("shipmentInstructionsId") BigDecimal shipmentInstructionsId) {
- return tmsshipFeign.updateIssueStatus(shipmentInstructionsId);
- }
- @PostMapping("updateShipmentInstructions")
- @ApiOperation(value = "修改装船指令")
- Map<String, Object> updateShipmentInstructions(@RequestBody Map<String, Object> omsshipShipmentInstructions) {
- return tmsshipFeign.updateShipmentInstructions(omsshipShipmentInstructions);
- }
- @PostMapping("addShipmentInstructions")
- @ApiOperation(value = "新增装船指令")
- Map<String, Object> addShipmentInstructions(@RequestBody Map<String, Object> omsshipShipmentInstructions) {
- return tmsshipFeign.addShipmentInstructions(omsshipShipmentInstructions);
- }
- /**
- * 货权转移
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getAmsshipCargoTranferResultList")
- @ApiOperation(value = "展示货权转移")
- public Map<String, Object> getAmsshipCargoTranferResultList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getAmsshipCargoTranferResultList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getGroupList")
- @ApiOperation(value = "展示收货人列表")
- @ApiImplicitParams(
- @ApiImplicitParam(name="apiId",value="217")
- )
- public Map<String, Object> getGroupList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getGroupList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("getMaterialList")
- @ApiOperation(value = "展示物资列表")
- @ApiImplicitParams(
- @ApiImplicitParam(name="apiId",value="216")
- )
- public Map<String, Object> getMaterialList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getMaterialList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("selectShippeByName")
- @ApiOperation(value = "展示货权转移送达单位列表")
- @ApiImplicitParams(
- @ApiImplicitParam(name = "apiId",value = "215")
- )
- public Map<String, Object> selectShippeByName(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.selectShippeByName(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con);
- }
- @PostMapping("insertamsshipCargoTransferResult")
- @ApiOperation(value = "新增货权转移")
- Map<String, Object> insertamsshipCargoTransferResult(@RequestBody Map<String, Object> amsshipCargoTransferResult) {
- return tmsshipFeign.insertamsshipCargoTransferResult(amsshipCargoTransferResult);
- }
- @PostMapping("deleteByCargoId/{cargoTransferResultId}")
- @ApiOperation(value = "逻辑删除货权转移")
- Map<String, Object> deleteByCargoId(@PathVariable("cargoTransferResultId") Integer cargoTransferResultId) {
- return tmsshipFeign.deleteByCargoId(cargoTransferResultId);
- }
- @PostMapping("editCargoTransferResult")
- @ApiOperation(value = "修改货权转移")
- Map<String, Object> editCargoTransferResult(@RequestBody Map<String, Object> amsshipCargoTransferResult) {
- return tmsshipFeign.editCargoTransferResult(amsshipCargoTransferResult);
- }
- @PostMapping("selectByCargoTranferResultId/{cargoTransferResultId}")
- @ApiOperation(value = "通过id查询货权转移")
- Map<String, Object> selectByCargoTranferResultId(@PathVariable("cargoTransferResultId") Integer cargoTransferResultId) {
- return tmsshipFeign.selectByCargoTranferResultId(cargoTransferResultId);
- }
- /**
- * 提货委托
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getAmsshipDeliveryAttroneyList")
- @ApiOperation(value = "展示提货委托")
- public Map<String, Object> getAmsshipDeliveryAttroneyList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con,
- Integer status) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getAmsshipDeliveryAttroneyList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con,status);
- }
- @PostMapping("insertshipDeliveryAttorney")
- @ApiOperation(value = "新增提货委托")
- Map<String, Object> insertshipDeliveryAttorney(@RequestBody Map<String, Object> amsshipDeliveryAttorney) {
- return tmsshipFeign.insertshipDeliveryAttorney(amsshipDeliveryAttorney);
- }
- @PostMapping("deleteByAttorneyId/{attorneyId}")
- @ApiOperation(value = "逻辑删除提货委托")
- Map<String, Object> deleteByAttorneyId(@PathVariable("attorneyId") Integer attorneyId) {
- return tmsshipFeign.deleteByAttorneyId(attorneyId);
- }
- @PostMapping("editDeliveryAttroney")
- @ApiOperation(value = "修改提货委托")
- Map<String, Object> editDeliveryAttroney(@RequestBody Map<String, Object> amsshipDeliveryAttorney) {
- return tmsshipFeign.editDeliveryAttroney(amsshipDeliveryAttorney);
- }
- @PostMapping("getDeliveryAttorneyId/{attorneyId}")
- @ApiOperation(value = "通过id查询提货委托")
- Map<String, Object> getDeliveryAttorneyId(@PathVariable("attorneyId") Integer attorneyId) {
- return tmsshipFeign.getDeliveryAttorneyId(attorneyId);
- }
- @PostMapping("sendDeliveryAttorneyStatus/{attorneyId}")
- @ApiOperation(value = "下发提货委托")
- Map<String, Object> sendDeliveryAttorneyStatus(@PathVariable("attorneyId") Integer attorneyId) {
- return tmsshipFeign.sendDeliveryAttorneyStatus(attorneyId);
- }
- /**
- * 放货通知
- *
- * @param mapValue
- * @param pageNum
- * @param pageSize
- * @param apiId
- * @return
- */
- @PostMapping("getshipDeliveryNoticeList")
- @ApiOperation(value = "展示放货通知")
- public Map<String, Object> getshipDeliveryNoticeList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer pageNum,
- Integer pageSize,
- Integer apiId,
- String con,
- Integer status) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsshipFeign.getshipDeliveryNoticeList(mapValue==null?new HashMap<>():mapValue, pageNum, pageSize, apiId,con,status);
- }
- @PostMapping("insertDeliveryNotice")
- @ApiOperation(value = "新增放货通知")
- Map<String, Object> insertDeliveryNotice(@RequestBody Map<String, Object> amsshipDeliveryNotice) {
- return tmsshipFeign.insertDeliveryNotice(amsshipDeliveryNotice);
- }
- @PostMapping("deleteByNoticeId/{noticeId}")
- @ApiOperation(value = "逻辑删除放货通知")
- Map<String, Object> deleteByNoticeId(@PathVariable("noticeId") Integer noticeId) {
- return tmsshipFeign.deleteByNoticeId(noticeId);
- }
- @PostMapping("editDeliveryNotice")
- @ApiOperation(value = "修改放货通知")
- Map<String, Object> editDeliveryNotice(@RequestBody Map<String, Object> editDeliveryNotice) {
- return tmsshipFeign.editDeliveryNotice(editDeliveryNotice);
- }
- @PostMapping("selectByNoticeId/{noticeId}")
- @ApiOperation(value = "通过id查询放货通知")
- Map<String, Object> selectByNoticeId(@PathVariable("noticeId") Integer noticeId) {
- return tmsshipFeign.selectByNoticeId(noticeId);
- }
- @PostMapping("sendDeliveryNotice/{noticeId}")
- @ApiOperation(value = "下发放货通知")
- Map<String, Object> sendDeliveryNotice(@PathVariable("noticeId") Integer noticeId) {
- return tmsshipFeign.sendDeliveryNotice(noticeId);
- }
- //船舶动态表
- @PostMapping("/selectAll")
- Map<String, Object> selectAll(){
- return tmsshipFeign.selectAll();
- }
- /**
- * 下拉框
- *
- * @return
- */
- @GetMapping("getGroupId")
- @ApiOperation(value = "得到下拉")
- public Map<String, Object> getGroupId() {
- return tmsshipFeign.getGroupId();
- }
- @GetMapping("getMaterialId")
- @ApiOperation(value = "得到物资ID下拉")
- public Map<String, Object> getMaterialId(){
- return tmsshipFeign.getMaterialId();
- }
- @GetMapping("getCargoId")
- @ApiOperation(value = "得到货物下拉")
- public Map<String, Object> getCargoId() {
- return tmsshipFeign.getCargoId();
- }
- @GetMapping("insertBetchId")
- @ApiOperation(value = "得到批次下拉")
- public Map<String, Object> insertBetchId() {
- return tmsshipFeign.insertBetchId();
- }
- @GetMapping("getAttorneyId")
- @ApiOperation(value = "得到提货下拉")
- public Map<String, Object> getAttorneyId() {
- return tmsshipFeign.getAttorneyId();
- }
- @GetMapping("getNoticeId")
- @ApiOperation(value = "得到放货下拉")
- public Map<String, Object> getNoticeId() {
- return tmsshipFeign.getNoticeId();
- }
- @GetMapping("getPortName")
- @ApiOperation(value = "得到货权转移单位")
- public Map<String, Object> getPortName() {
- return tmsshipFeign.getPortName();
- }
- @GetMapping("getPortId")
- @ApiOperation(value = "得到港口下拉")
- public Map<String, Object> getPortId() {
- return tmsshipFeign.getPortId();
- }
- @GetMapping("getRmRawId")
- @ApiOperation(value = "得到仓库下拉")
- public Map<String, Object> getRmRawId() {
- return tmsshipFeign.getRmRawId();
- }
- @GetMapping("getPierId")
- @ApiOperation(value = "得到码头下拉")
- public Map<String, Object> getPierId() {
- return tmsshipFeign.getPierId();
- }
- @ApiOperation(value = "查询特定所有的物资")
- @GetMapping("/getFuMaterial/{type}")
- public Map<String, Object> getFuMaterial(@PathVariable("type") Integer type) {
- return tmsTruckFeign.getFuMaterial(type);
- }
- @GetMapping("getResultNumber")
- @ApiOperation(value = "得到实绩编号下拉")
- public Map<String, Object> getResultNumber() {
- return tmsshipFeign.getResultNumber();
- }
- @GetMapping("getCarrier")
- @ApiOperation(value = "得到承运商下拉")
- public Map<String, Object> getCarrier() {
- return tmsshipFeign.getCarrier();
- }
- @GetMapping("getShipperId")
- @ApiOperation(value = "得到托运方下拉")
- public Map<String, Object> getShipperId() {
- return tmsshipFeign.getShipper();
- }
- @GetMapping("getOrderId")
- @ApiOperation(value = "得到装船指令下拉")
- public Map<String, Object> getTask() {
- return tmsshipFeign.getTask();
- }
- @GetMapping("getCapacityId")
- @ApiOperation(value = "得到船下拉")
- public Map<String, Object> getCapacityId() {
- return tmsshipFeign.getCapacityId();
- }
- /*======================================火运==========================================*/
- //************************************TmstrainLoadingResultController********************
- @ApiOperation(value = "查询装车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "apiId(58)", value = "表头", required = false, dataType = "Interger")
- })
- @PostMapping("/getTmstrainWagonLoad")
- public Map<String, Object> getTmstrainWagonLoad(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer resultType,
- String con) {
- return tmsTrainFeign.getTmstrainWagonLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType, con);
- }
- @ApiOperation(value = "新增车皮装车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainLoadingResult", value = "车皮装车对象", required = false, dataType = "TmstrainLoadingResult")
- })
- @PostMapping(value = "/insertTmstrainLoadingResult")
- public Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> deleteTmstrainLoadingResultByResultId(@RequestParam BigDecimal resultId) {
- return tmsTrainFeign.deleteTmstrainLoadingResultByResultId(resultId);
- }
- //********************下拉框**********************
- @ApiOperation(value = "获取发站地点名称")
- @ApiImplicitParams({
- })
- @GetMapping(value = "/getSendStationName")
- public Map<String, Object> getSendStationName() {
- return tmsTrainFeign.getSendStationName();
- }
- @ApiOperation(value = "获取到站地点名称")
- @GetMapping(value = "/getArrivalStationName")
- public Map<String, Object> getArrivalStationName() {
- return tmsTrainFeign.getArrivalStationName();
- }
- @ApiOperation(value = "获取批次ID")
- @GetMapping(value = "/getBatchId")
- public Map<String, Object> getBatchId() {
- return tmsTrainFeign.getBatchId();
- }
- @ApiOperation(value = "获取已装车还未卸车车皮")
- @PostMapping(value = "/getWagonNo/{resultType}")
- public Map<String, Object> getWagonNo(@PathVariable("resultType") Integer resultType,
- @RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize){
- return tmsTrainFeign.getWagonNo(resultType, mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- @ApiOperation(value = "查询所有发运计划")
- @GetMapping(value = "/getRailPlan")
- public Map<String, Object> getRailPlan() {
- return tmsTrainFeign.getRailPlan();
- }
- @GetMapping(value = "/getDilBatch")
- public Map<String, Object> getDilBatch() {
- return tmsTruckFeign.getDilBatch();
- }
- @GetMapping(value = "/getCarrierId")
- public Map<String, Object> getCarrierId() {
- return tmsTruckFeign.getCarrier();
- }
- @GetMapping(value = "/getLine")
- public Map<String, Object> getLine() {
- return tmsTruckFeign.getLine();
- }
- @GetMapping(value = "/getWarehouse")
- public Map<String, Object> getWarehouse() {
- return tmsTruckFeign.getWarehouse();
- }
- @GetMapping(value = "/getGatepost")
- public Map<String, Object> getGatepost() {
- return tmsTruckFeign.getGatepost();
- }
- @GetMapping(value = "/getAPO")
- public Map<String, Object> getAPO() {
- return tmsTruckFeign.getAPO();
- }
- @GetMapping(value = "/getFuCapacityId")
- public Map<String, Object> getFuCapacityId() {
- return tmsTruckFeign.getFuCapacityId();
- }
- @GetMapping(value = "/getPort")
- public Map<String, Object> getPort() {
- return tmsTruckFeign.getPort();
- }
- @ApiOperation(value = "查询卸货点")
- @GetMapping("/getUnloadPoint/{type}")
- public Map<String, Object> getUnloadPoint(@PathVariable("type") Integer type) {
- return tmsTruckFeign.getUnloadPoint(type);
- }
- @ApiOperation(value = "查询卸车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "apiId(60)", value = "表头", required = false, dataType = "Interger")
- })
- @PostMapping("/getTmstrainWagonUnLoad")
- public Map<String, Object> getTmstrainWagonUnLoad(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer resultType,
- String con) {
- return tmsTrainFeign.getTmstrainWagonUnLoad(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,con);
- }
- @ApiOperation(value = "通过主键删除车皮卸车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "unloadingId", value = "主键ID", required = false, dataType = "BigDecimal")
- })
- @PostMapping(value = "/deleteTmstrainWagonUnLoadResultByUnLoadingId")
- public Map<String, Object> deleteTmstrainWagonUnLoadResultByUnLoadingId(@RequestParam BigDecimal unloadingId) {
- return tmsTrainFeign.deleteTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
- }
- @ApiOperation(value = "新增车皮卸车作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainWagonUnloadResult", value = "车皮卸车对象", required = false, dataType = "TmstrainWagonUnloadResult")
- })
- @PostMapping(value = "/insertTmstrainWagonUnLoadResult")
- public Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> getTmstrainresult(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con) {
- return tmsTrainFeign.getTmstrainresult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,con);
- }
- @ApiOperation(value = "通过主键查询车皮卸车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "unloadingId", value = "车皮卸车主键", required = false, dataType = "BigDecimal")
- })
- @PostMapping(value = "/getTmstrainWagonUnLoadResultByUnLoadingId/{unloadingId}")
- public Map<String, Object> getTmstrainWagonUnLoadResultByUnLoadingId(@PathVariable("unloadingId") BigDecimal unloadingId) {
- return tmsTrainFeign.getTmstrainWagonUnLoadResultByUnLoadingId(unloadingId);
- }
- //下拉框
- @ApiOperation(value = "获取卸车地点名称")
- @ApiImplicitParams({
- })
- @GetMapping(value = "/getUnloadingPointName")
- public Map<String, Object> getUnloadingPointName() {
- return tmsTrainFeign.getUnloadingPointName();
- }
- @ApiOperation(value = "获取卸车路径名称")
- @ApiImplicitParams({
- })
- @GetMapping(value = "/getUnloadingRouteName")
- public Map<String, Object> 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 Map<String, Object> getAllWagonPlease(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer status,
- Integer resultType,
- Integer resultId,
- String con) {
- return tmsTrainFeign.getAllWagonPlease(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, resultType,resultId,con);
- }
- @ApiOperation(value = "通过Id查询请车作业")
- @PostMapping("/getWagonPleaseById/{resultId}")
- public Map<String, Object> getWagonPleaseById(@PathVariable("resultId") Integer resultId) {
- return tmsTrainFeign.getWagonPleaseById(resultId);
- }
- @ApiOperation(value = "新增请车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "amstrainWagonPlease", value = "请车作业对象", required = false, dataType = "AmstrainWagonPlease"),
- })
- @PostMapping("/addWagonPlease")
- public Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> sendWagonPlease(@PathVariable("resultId") Integer resultId) {
- return tmsTrainFeign.sendWagonPlease(resultId);
- }
- //下拉框
- @ApiOperation(value = "查询所有发货单位")
- @GetMapping("/getShipper")
- public Map<String, Object> 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 Map<String, Object> getApproveAllWagonPlease(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer resultType,
- Integer status,
- String con) {
- return tmsTrainFeign.getApproveAllWagonPlease(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, resultType,status,con);
- }
- @ApiOperation(value = "通过Id查询批车作业")
- @PostMapping("/getApproveWagonPleaseById/{resultId}")
- public Map<String, Object> getApproveWagonPleaseById(@PathVariable("resultId") Integer resultId) {
- return tmsTrainFeign.getApproveWagonPleaseById(resultId);
- }
- @ApiOperation(value = "新增批车作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstrainPleaseApproveResult", value = "请车作业实绩对象", required = false, dataType = "TmstrainPleaseApproveResult"),
- })
- @PostMapping("/addApproveWagonPlease")
- public Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> deleteApproveWagonPlease(@PathVariable("resultId") Integer resultId) {
- return tmsTrainFeign.deleteApproveWagonPlease(resultId);
- }
- /*======================================汽运==========================================*/
- //******************************************TmstruckLoadResultController***********************************
- @ApiOperation(value="查询所有正在排队的销售订单")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(227)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/getSaleOrderOnQueue")
- public Map<String, Object> getSaleOrderOnQueue(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con){
- return tmsTruckFeign.getSaleOrderOnQueue(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con);
- }
- @ApiOperation(value="查询订单下的物资")
- @GetMapping("getOrderMaterial/{orderId}")
- public Map<String, Object> getOrderMaterial(@PathVariable("orderId") Integer orderId){
- return tmsTruckFeign.getOrderMaterial(orderId);
- }
- @ApiOperation(value="查询仓库下所有月台")
- @GetMapping("getPlatformIdByWarehouse/{warehouseId}")
- public Map<String, Object> getPlatformIdByWarehouse(@PathVariable("warehouseId") Integer warehouseId){
- return tmsTruckFeign.getPlatformIdByWarehouse(warehouseId);
- }
- @ApiOperation(value="修改装车点和装车顺序:销售钢材专用 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/updateLoadingIdAndLoadSq")
- public Map<String, Object> updateLoadingIdAndLoadSq(@RequestBody(required=false) Map<String, Object> map){
- return tmsTruckFeign.updateLoadingIdAndLoadSq(map);
- }
- @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 Map<String, Object> getAllLoadResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer status,
- Integer orderType, String con){
- return tmsTruckFeign.getAllLoadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, status, orderType, con);
- }
- @ApiOperation(value = "新增采购汽车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addCGLoadResult")
- public Map<String, Object> addCGLoadResult(@RequestBody(required = false) Map<String, Object> mapValue) {
- return tmsTruckFeign.addCGLoadResult(mapValue);
- }
- @ApiOperation(value="销售新增钢材装车实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("addSaleLoadResult")
- public Map<String, Object> addSaleLoadResult(@RequestBody(required=false) Map<String, Object> map){
- return tmsTruckFeign.addSaleLoadResult(map);
- }
- @ApiOperation(value="销售新增钢渣、水渣、危化品装车实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addSale2LoadResult")
- public Map<String, Object> addSale2LoadResult(@RequestBody(required=false) Map<String, Object> map){
- return tmsTruckFeign.addSale2LoadResult(map);
- }
- @ApiOperation(value = "修改汽车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
- })
- @PostMapping("/updateLoadResult")
- public Map<String, Object> 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 Map<String, Object> getLoadResultById(@PathVariable("resultId") Integer resultId) {
- return tmsTruckFeign.getLoadResultById(resultId);
- }
- @ApiOperation(value = "逻辑删除车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "tmstruckLoadResult", value = "装车作业实绩对象", required = false, dataType = "TmstruckLoadResult"),
- })
- @PostMapping("/deleteLoadResult/{resultId}")
- public Map<String, Object> deleteLoadResult(@PathVariable("resultId") Integer resultId) {
- return tmsTruckFeign.deleteLoadResult(resultId);
- }
- //***************************************TmstruckEnfactoryResultController***************************
- @ApiOperation(value = "查询所有的进厂实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(220)", 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 Map<String, Object> getAllEnFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,
- String con
- ){
- return tmsTruckFeign.getAllEnFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
- }
- @ApiOperation(value="通过运输订单id查询物资信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "orderId", value = "运输订单id", required = false, dataType = "Integer"),
- })
- @GetMapping("/getMaterial")
- public Map<String, Object> getMaterial(Integer orderId){
- return tmsTruckFeign.getMaterial(orderId);
- }
- @ApiOperation(value="通过采集系统传来的数据新增进厂作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "运输计划实绩对象", required = false, dataType = "Map"),
- })
- @PostMapping("/addEnFactoryResult")
- public Map<String, Object> 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("/enFactoryResultByPDA")
- public Map<String, Object> enFactoryResultByPDA(@RequestBody(required = false) Map<String, Object> mapValue) {
- return tmsTruckFeign.enFactoryResultByPDA(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 Map<String, Object> getAllJiMaoResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,String con){
- return tmsTruckFeign.getAllJiMaoResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
- }
- @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 Map<String, Object> getAllJiPiResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,
- String con) {
- return tmsTruckFeign.getAllJiPiResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
- }
- @ApiOperation(value = "采集新增计毛实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
- })
- @PostMapping("/addJiMaoResult")
- public Map<String, Object> addJiMaoResult(@RequestBody Map<String, Object> mapValue) {
- return tmsTruckFeign.addJiMaoResult(mapValue);
- }
- @ApiOperation(value = "采集新增计皮实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "采集的数据", required = false, dataType = "Map"),
- })
- @PostMapping("/addJiPiResult")
- public Map<String, Object> 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 Map<String, Object> getUnloadResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,
- String con
- ){
- return tmsTruckFeign.getUnloadResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
- }
- @ApiOperation(value = "添加卸货实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/addUnloadResult")
- public Map<String, Object> addUnloadResult(@RequestBody Map<String, Object> mapValue) {
- return tmsTruckFeign.addUnloadResult(mapValue);
- }
- @ApiOperation(value = "更新卸货实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/updateUnloadResult")
- public Map<String, Object> updateUnloadResult(@RequestBody Map<String, Object> mapValue) {
- return tmsTruckFeign.updateUnloadResult(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 Map<String, Object> getReceiveResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,String con
- ){
- return tmsTruckFeign.getReceiveResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
- }
- //****************************************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 Map<String, Object> getLeaveFactoryResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,String con
- ){
- return tmsTruckFeign.getLeaveFactoryResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize, orderType, con);
- }
- @ApiOperation(value="PAD扫描汽车出厂实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addLeaveFactoryResult")
- public Map<String, Object> 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 Map<String, Object> 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 Map<String, Object> getQualityResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer orderType,
- String con
- ){
- return tmsTruckFeign.getQualityResult(mapValue == null ? new HashMap<>() : mapValue, apiId, pageNum, pageSize,orderType, con);
- }
- @ApiOperation(value = "通过ID获取质检实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/getQualityResultById/{resultId}")
- public Map<String, Object> getQualityResultById(@PathVariable("resultId") Integer resultId) {
- return tmsTruckFeign.getQualityResultById(resultId);
- }
- @ApiOperation(value = "修改质检实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "质检作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/updateQualityResult")
- public Map<String, Object> updateQualityResult(@RequestBody(required = false) Map<String, Object> mapValue) {
- return tmsTruckFeign.updateQualityResult(mapValue);
- }
- //*********************************内转物流tms-train*********************************************************************
- @PostMapping("/addTrainLoadResultForConverted")
- @ApiOperation(value = "内转物流新增装车")
- public Map<String, Object> addTrainLoadResultForConverted(@RequestBody(required = false) Map<String, Object> tmstrainLoadingResult) {
- return tmsTrainFeign.addTrainLoadResultForConverted(tmstrainLoadingResult);
- }
- @ApiOperation(value = "内转新增卸车实绩")
- @ApiImplicitParams({
- })
- @PostMapping(value = "/addTmsTrainUnloadResultForNZ")
- public Map<String, Object> addTmsTrainUnloadResultForNZ(@RequestBody(required = false)Map<String, Object> map) {
- return tmsTrainFeign.addTmsTrainUnloadResultForNZ(map);
- }
- @ApiOperation(value = "查询车皮物资信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "apiId(213)", value = "表头", required = false, dataType = "Interger")
- })
- @PostMapping(value = "/getMaterialAndCarByLoadingId")
- public Map<String, Object> getMaterialAndCarByLoadingId(
- @RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer loadingId,
- Integer unloadingId) {
- return tmsTrainFeign.getMaterialAndCarByLoadingId(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, loadingId, unloadingId);
- }
- @PostMapping("/selectLoadByResultId/{resultId}")
- @ApiOperation(value = "内转物流通过主键查询车皮装车作业信息")
- public Map<String, Object> selectLoadByResultId(@PathVariable("resultId") BigDecimal resultId) {
- Map<String, Object> mes = tmsTrainFeign.selectLoadByResultId(resultId);
- return mes;
- }
- @ApiOperation(value = "内转查询装车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(203)", 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("/getTmstrainWagonLoadForConverted")
- public Map<String, Object> getTmstrainWagonLoadForConverted(@RequestBody(required = false)
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con
- ) {
- return tmsTrainFeign.getTmstrainWagonLoadForConverted(apiId, pageNum, pageSize,con);
- }
- @PostMapping("/addWagonPleaseForNZ")
- @ApiOperation(value = "内转物流新增请车")
- public Map<String, Object> addPleaseForNZ(@RequestBody(required = false) Map<String, Object> tmstrainLoadingResult) {
- return tmsTrainFeign.addPleaseForNZ(tmstrainLoadingResult);
- }
- @ApiOperation(value="内转新增达州站-厂内装车实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "map", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addDaZhouToDaGangLoadResult")
- public Map<String, Object> addDaZhouToDaGangLoadResult(@RequestBody(required = false)Map<String, Object> map){
- return tmsTruckFeign.addDaZhouToDaGangLoadResult(map);
- }
- @ApiOperation(value = "内转查询请车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(199)", 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("/getAllWagonPleaseForConverted")
- public Map<String, Object> getAllWagonPleaseForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- Integer status,
- String con
- ) {
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- mapValue.put("status", status);
- return tmsTrainFeign.getTmstrainWagonLoadForConverted(apiId, pageNum, pageSize,con);
- }
- @PostMapping("/getPleasePlanByResultId/{resultId}")
- @ApiOperation(value = "内转物流通过主键查请车计划")
- public Map<String, Object> getPleasePlanByResultId(@PathVariable("resultId") BigDecimal resultId) {
- Map<String, Object> mes = tmsTrainFeign.getPleasePlanByResultId(resultId);
- return mes;
- }
- @PostMapping("/getApproveByResultId/{resultId}")
- @ApiOperation(value = "内转物流通过主键查询车皮请车作业信息")
- public Map<String, Object> getApproveByResultId(@PathVariable("resultId") BigDecimal resultId) {
- Map<String, Object> mes = tmsTrainFeign.getApproveByResultId(resultId);
- return mes;
- }
- @ApiOperation(value = "查询卸车作业信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(201)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/selectWagonUnLoadResultForConverted")
- public Map<String, Object> selectWagonUnLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con
- ) {
- return tmsTrainFeign.selectWagonUnLoadResultForConverted(apiId, pageNum, pageSize,con);
- }
- @ApiOperation(value = "内转查询火车卸货信息")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(202)", value = "动态表头", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
- @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
- })
- @PostMapping("/selectTrainUnLoadResultForConverted")
- public Map<String, Object> selectTrainUnLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con
- ) {
- return tmsTrainFeign.selectTrainUnLoadResultForConverted(apiId, pageNum, pageSize,con);
- }
- /**
- * 新增汽车装货实绩
- */
- @ApiOperation(value = "新增汽车装车实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "", required = false, dataType = "Map"),
- })
- @PostMapping("/addLoadResultForConverted")
- public Map<String, Object> addLoadResultForConverted(@RequestBody(required = false) Map<String, Object> map) {
- Map<String, Object> resTfulResult = tmsTruckFeign.addLoadResultForConverted(map);
- return resTfulResult;
- }
- @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("/selectLoadResultForConverted")
- public Map<String, Object> selectLoadResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ) {
- return tmsTruckFeign.selectLoadResultForConverted(mapValue, apiId, pageNum, pageSize);
- }
- //根据实绩id渲染数据
- @ApiOperation(value = "通过ID查询装车实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "resultId", value = "装车作业实绩ID", required = false, dataType = "Integer"),
- })
- @PostMapping("/getLoadResultByResultId/{resultId}")
- public Map<String, Object> getLoadResultByResultId(@PathVariable("resultId") Integer resultId) {
- Map<String, Object> resTfulResult = tmsTruckFeign.getLoadResultByResultId(resultId);
- return resTfulResult;
- }
- @ApiOperation(value = "内转物流查询质检作业")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(204)", 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("/selectQualityResultForConverted")
- public Map<String, Object> selectQualityResultForConverted(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ) {
- return tmsTruckFeign.selectQualityResultForConverted(mapValue, apiId, pageNum, pageSize);
- }
- /**
- * 展示计数实绩列表
- */
- @ApiOperation(value = "查询计数实绩列表")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(364)", 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("/selectCountList")
- public Map<String, Object> selectCountList(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ) {
- return tmsTruckFeign.selectCountList(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- /**
- * 内转物流卸货装车实绩
- *
- * @param map
- * @return
- */
- @ApiOperation(value = "内转物流新增卸货实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "orderNumber", value = "运输订单号", required = false, dataType = "String"),
- })
- @PostMapping("/addUnLoadResultForconverted")
- public Map<String, Object> addUnLoadResultForconverted(@RequestBody(required = false) Map<String, Object> map) {
- Map<String, Object> resTfulResult = tmsTruckFeign.addUnLoadResultForconverted(map);
- return resTfulResult;
- }
- @ApiOperation(value = "查询所有的包月作业实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(还没有)", 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("/getTmstruckMonthResult")
- public Map<String, Object> getTmstruckMonthResult(@RequestBody(required = false) Map<String, Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize
- ) {
- return tmsTruckFeign.getTmstruckMonthResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize);
- }
- /**
- * 通过运输订单判断下一步是否需要计量,更新汽车衡到计量实绩中
- */
- @PostMapping("/updateTruckCalculate/{orderId}")
- public Map<String, Object> updateTruckCalculate(@PathVariable("orderId") Integer orderId) {
- return tmsTruckFeign.isNextNeedJl(orderId);
- }
- @ApiOperation(value="查询所有的短信实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(175)", 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("/getSmsResult")
- public Map<String, Object> getSmsResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con
- ){
- if (mapValue == null) {
- mapValue = new HashMap<>();
- }
- return tmsTruckFeign.getSmsResult(mapValue,apiId,pageNum,pageSize,con);
- }
- @ApiOperation(value="APP查询进厂实绩")
- @PostMapping("/getEnfactoryResultList")
- public Map<String ,Object> getEnfactoryResultList() {
- return tmsTruckFeign.getEnfactoryResultList();
- }
- @ApiOperation(value="APP通过运输订单id查询进厂实绩")
- @PostMapping("/getEnfactoryMessageByOrderId")
- public Map<String ,Object> getEnfactoryMessageByOrderId(String orderNumber) {
- return tmsTruckFeign.getEnfactoryMessageByOrderId(orderNumber);
- }
- @ApiOperation(value="查询计皮实绩")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
- @ApiImplicitParam(name = "apiId(363)", 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("/getAllTimeTaskResult")
- public RESTfulResult getAllTimeTaskResult(@RequestBody(required=false) Map<String,Object> mapValue,
- Integer apiId,
- Integer pageNum,
- Integer pageSize,
- String con
- ){
- return tmsTruckFeign.getAllTimeTaskResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con);
- }
- @ApiOperation(value="新增钢材到异地库达州站驻港人员确定收货")
- @PostMapping("/addSteelNzReceiptResult")
- public Map<String, Object> addSteelNzReceiptResult(@RequestBody(required = false) Map<String, Object> map) {
- return tmsTruckFeign.addSteelNzReceiptResult(map);
- }
- @ApiOperation(value="更新计量实绩 ")
- @ApiImplicitParams({
- @ApiImplicitParam(name = "mapList", value = "计量数据", required = false, dataType = "List<Map>"),
- })
- @PostMapping("/updateTruckWeight")
- public Map<String, Object> updateTruckWeight(@RequestBody List<Map<String, Object>> mapList){
- return tmsTruckFeign.updateTruckWeight(mapList);
- }
- }
|