107 changed files with 3521 additions and 104 deletions
@ -1,11 +1,19 @@ |
|||||
package com.yxt.anrui.buscenter.api.busarrearscarryvehicleapply.flowable; |
package com.yxt.anrui.buscenter.api.busarrearscarryvehicleapply.flowable; |
||||
|
|
||||
import com.yxt.common.core.query.Query; |
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
|
||||
@Data |
@Data |
||||
public class GetNodeQuery implements Query { |
public class GetNodeQuery implements Query { |
||||
private static final long serialVersionUID = -6541874437751241596L; |
private static final long serialVersionUID = -6541874437751241596L; |
||||
|
|
||||
|
@ApiModelProperty(value = "环节定义id") |
||||
|
@NotBlank(message = "参数错误:taskDefKey") |
||||
|
private String taskDefKey; |
||||
|
|
||||
|
// @ApiModelProperty(value = "分支字段及业务字段")
|
||||
|
// private Map<String, Object> formVariables;
|
||||
} |
} |
||||
|
@ -0,0 +1,80 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepare.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepare <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表", description = "交车准备-申请表") |
||||
|
@TableName("bus_handover_prepare") |
||||
|
public class BusHandoverPrepare extends BaseEntity { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,43 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.AppBusHandoverPrepareVehicleDto; |
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class BusHandoverPrepareAddDto implements Dto { |
||||
|
private static final long serialVersionUID = -5503119838818185683L; |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
@ApiModelProperty("车辆信息") |
||||
|
private List<AppBusHandoverPrepareVehicleDto> appBusHandoverPrepareVehicleDtos; |
||||
|
|
||||
|
} |
@ -0,0 +1,81 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVo.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareVo <br/> |
||||
|
* Description: 交车准备-申请表 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 视图数据详情", description = "交车准备-申请表 视图数据详情") |
||||
|
public class BusHandoverPrepareDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,81 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareDto.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareDto <br/> |
||||
|
* Description: 交车准备-申请表 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 数据传输对象", description = "交车准备-申请表 数据传输对象") |
||||
|
public class BusHandoverPrepareDto implements Dto { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,144 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.*; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.cloud.openfeign.SpringQueryMap; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareFeign.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareFeign <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "交车准备-申请表") |
||||
|
@FeignClient( |
||||
|
contextId = "anrui-buscenter-handover-BusHandoverPrepare", |
||||
|
name = "anrui-buscenter", |
||||
|
path = "v1/bushandoverprepare", |
||||
|
fallback = BusHandoverPrepareFeignFallback.class) |
||||
|
public interface BusHandoverPrepareFeign { |
||||
|
|
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
@ResponseBody |
||||
|
public ResultBean<PagerVo<BusHandoverPrepareVo>> listPage(@RequestBody PagerQuery<BusHandoverPrepareQuery> pq); |
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
@ResponseBody |
||||
|
public ResultBean save(@RequestBody BusHandoverPrepareDto dto); |
||||
|
|
||||
|
@ApiOperation("根据sid删除记录") |
||||
|
@DeleteMapping("/delBySids") |
||||
|
@ResponseBody |
||||
|
public ResultBean delBySids(@RequestBody String[] sids); |
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
@ResponseBody |
||||
|
public ResultBean<BusHandoverPrepareDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
||||
|
|
||||
|
@ApiOperation("出库申请推送交车准备数据") |
||||
|
@PostMapping("/addHandoverPrepare") |
||||
|
@ResponseBody |
||||
|
public ResultBean addHandoverPrepare(@RequestBody BusHandoverPrepareAddDto dto); |
||||
|
|
||||
|
|
||||
|
//***********************************App**********************************
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("手机端-获取交车准备申请列表") |
||||
|
@PostMapping("/getDeliveryPlanList") |
||||
|
@ResponseBody |
||||
|
ResultBean<PagerVo<AppHandoverPreparePageVo>> getDeliveryPlanList(@RequestBody PagerQuery<AppHandoverPreparePageQuery> pagerQuery); |
||||
|
|
||||
|
@ApiOperation("手机端-初始化交车准备申请") |
||||
|
@PostMapping("/getDeliveryPlanInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfo(@SpringQueryMap AppBusHandoverPrepareInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("修改交车准备 各资料状态修改") |
||||
|
@PutMapping("/saveState") |
||||
|
@ResponseBody |
||||
|
ResultBean saveState(@RequestBody AppStateDateDto dto); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 发票信息") |
||||
|
@GetMapping("/getInvoiceInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<AppInvoicingInfoVo> getInvoiceInfo(@SpringQueryMap AppInvoicingInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 合格证信息") |
||||
|
@GetMapping("/getCertificateInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<AppCertificateInfoVo> getCertificateInfo(@SpringQueryMap AppCertificateInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 保单信息") |
||||
|
@GetMapping("/getPolicyInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<AppPolicyInfoVo> getPolicyInfo(@SpringQueryMap AppPolicyInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("修改交车准备 保单信息") |
||||
|
@PutMapping("/savePolicyInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean savePolicyInfo(@RequestBody AppPolicyDto dto); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 其他资料信息") |
||||
|
@GetMapping("/getOtherDataInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<AppOtherDataInfoVo> getOtherDataInfo(@SpringQueryMap AppOtherDataInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("修改交车准备 其他资料信息") |
||||
|
@PutMapping("/saveOtherDataInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean saveOtherDataInfo(@RequestBody AppOtherDataDto dto); |
||||
|
|
||||
|
@ApiOperation("保存交车准备信息") |
||||
|
@PostMapping("/saveDeliveryPlanInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean saveDeliveryPlanInfo(@RequestBody AppHandoverPrepareDto dto); |
||||
|
|
||||
|
@ApiOperation("交车准备详情") |
||||
|
@GetMapping("/getDeliveryPlanInfoDetail") |
||||
|
@ResponseBody |
||||
|
ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfoDetail(@SpringQueryMap AppBusHandoverPrepareInfoQuery query); |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,131 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.*; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareFeignFallback <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class BusHandoverPrepareFeignFallback implements BusHandoverPrepareFeign { |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<BusHandoverPrepareVo>> listPage(PagerQuery<BusHandoverPrepareQuery> pq){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口bus_handover/bushandoverprepare/listPage无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean save(BusHandoverPrepareDto dto){ |
||||
|
return ResultBean.fireFail().setMsg("接口bus_handover/bushandoverprepare/save无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean delBySids( String[] sids){ |
||||
|
return ResultBean.fireFail().setMsg("接口bus_handover/bushandoverprepare/delBySids无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<BusHandoverPrepareDetailsVo> fetchDetailsBySid(String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口bus_handover/bushandoverprepare/fetchDetailsBySid无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean addHandoverPrepare(BusHandoverPrepareAddDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppHandoverPreparePageVo>> getDeliveryPlanList(PagerQuery<AppHandoverPreparePageQuery> pagerQuery) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfo(AppBusHandoverPrepareInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveState(AppStateDateDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppInvoicingInfoVo> getInvoiceInfo(AppInvoicingInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppCertificateInfoVo> getCertificateInfo(AppCertificateInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppPolicyInfoVo> getPolicyInfo(AppPolicyInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean savePolicyInfo(AppPolicyDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppOtherDataInfoVo> getOtherDataInfo(AppOtherDataInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveOtherDataInfo(AppOtherDataDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveDeliveryPlanInfo(AppHandoverPrepareDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfoDetail(AppBusHandoverPrepareInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,79 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareQuery.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareQuery <br/> |
||||
|
* Description: 交车准备-申请表 查询条件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 查询条件", description = "交车准备-申请表 查询条件") |
||||
|
public class BusHandoverPrepareQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,81 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVo.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareVo <br/> |
||||
|
* Description: 交车准备-申请表 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 视图数据对象", description = "交车准备-申请表 视图数据对象") |
||||
|
public class BusHandoverPrepareVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBusHandoverPrepareInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = -8642412443149902560L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.AppBusHandoverPrepareVehicleInfoVo; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBusHandoverPrepareInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = -4080169340603665916L; |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; // 合同编号
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; // 客户名称
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; // 联系电话
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; // 品牌
|
||||
|
@ApiModelProperty("车辆数量") |
||||
|
private String num; // 车辆数量
|
||||
|
@ApiModelProperty("付款方式key") |
||||
|
private String payTypeKey; // 付款方式key
|
||||
|
@ApiModelProperty("付款方式value") |
||||
|
private String payType; // 付款方式value
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; // 交车准备状态key
|
||||
|
@ApiModelProperty("交车准备状态value") |
||||
|
private String handoverPrepareState; // 交车准备状态value
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; // 用户sid
|
||||
|
|
||||
|
@ApiModelProperty("车辆列表") |
||||
|
private List<AppBusHandoverPrepareVehicleInfoVo> carDataList; |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppCertificateInfoQuery { |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppCertificateInfoVo { |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppHandoverPrepareDto implements Dto { |
||||
|
private static final long serialVersionUID = -3500405140044756010L; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppHandoverPreparePageQuery implements Query { |
||||
|
private static final long serialVersionUID = 9181406369906863485L; |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String name; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String type; |
||||
|
|
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppHandoverPreparePageVo implements Vo { |
||||
|
private static final long serialVersionUID = -7176749864266340577L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; |
||||
|
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; |
||||
|
|
||||
|
@ApiModelProperty("合同sid") |
||||
|
private String contractSid; |
||||
|
|
||||
|
@ApiModelProperty("车型") |
||||
|
private String model; |
||||
|
|
||||
|
@ApiModelProperty("付款方式") |
||||
|
private String payType; |
||||
|
|
||||
|
@ApiModelProperty("数量") |
||||
|
private String num; |
||||
|
|
||||
|
@ApiModelProperty("交车准备状态") |
||||
|
private String handoverPrepareState; |
||||
|
|
||||
|
@ApiModelProperty("交车准备状态key") |
||||
|
private String handoverPrepareStateKey; |
||||
|
|
||||
|
@ApiModelProperty("是否显示办理") |
||||
|
private Boolean isShowUpData; |
||||
|
|
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppInvoicingInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = 235552231378193054L; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
|
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
|
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class AppInvoicingInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = 8827030575604891015L; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("发票代码") |
||||
|
private String invoice; |
||||
|
@ApiModelProperty("开票日期") |
||||
|
private String date; |
||||
|
@ApiModelProperty("开票附件") |
||||
|
private List<String> invoiceImages; |
||||
|
|
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppOtherDataDto { |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppOtherDataInfoQuery { |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppOtherDataInfoVo { |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppPolicyDto implements Dto { |
||||
|
private static final long serialVersionUID = 214089296630394804L; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppPolicyInfoQuery { |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
public class AppPolicyInfoVo { |
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverprepare.app; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppStateDateDto implements Dto { |
||||
|
private static final long serialVersionUID = -3523087314399529059L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("状态") |
||||
|
private String key; |
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBusHandoverPrepareVehicleDto implements Dto { |
||||
|
private static final long serialVersionUID = -8913800891100928726L; |
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppBusHandoverPrepareVehicleInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = 1415137296013613928L; |
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,76 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicle.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicle <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表", description = "交车准备-申请表") |
||||
|
@TableName("bus_handover_prepare_vehicle") |
||||
|
public class BusHandoverPrepareVehicle extends BaseEntity { |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,77 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleVo.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleVo <br/> |
||||
|
* Description: 交车准备-申请表 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 视图数据详情", description = "交车准备-申请表 视图数据详情") |
||||
|
public class BusHandoverPrepareVehicleDetailsVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,77 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleDto.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleDto <br/> |
||||
|
* Description: 交车准备-申请表 数据传输对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 数据传输对象", description = "交车准备-申请表 数据传输对象") |
||||
|
public class BusHandoverPrepareVehicleDto implements Dto { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,78 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleFeign.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleFeign <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "交车准备-申请表") |
||||
|
@FeignClient( |
||||
|
contextId = "anrui-buscenter-handover-BusHandoverPrepareVehicle", |
||||
|
name = "anrui-buscenter", |
||||
|
path = "v1/bushandoverpreparevehicle", |
||||
|
fallback = BusHandoverPrepareVehicleFeignFallback.class) |
||||
|
public interface BusHandoverPrepareVehicleFeign { |
||||
|
|
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
@ResponseBody |
||||
|
public ResultBean<PagerVo<BusHandoverPrepareVehicleVo>> listPage(@RequestBody PagerQuery<BusHandoverPrepareVehicleQuery> pq); |
||||
|
|
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
@ResponseBody |
||||
|
public ResultBean save(@RequestBody BusHandoverPrepareVehicleDto dto); |
||||
|
|
||||
|
@ApiOperation("根据sid删除记录") |
||||
|
@DeleteMapping("/delBySids") |
||||
|
@ResponseBody |
||||
|
public ResultBean delBySids(@RequestBody String[] sids); |
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
@ResponseBody |
||||
|
public ResultBean<BusHandoverPrepareVehicleDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
||||
|
} |
@ -0,0 +1,72 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleFeignFallback <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class BusHandoverPrepareVehicleFeignFallback implements BusHandoverPrepareVehicleFeign { |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<BusHandoverPrepareVehicleVo>> listPage(PagerQuery<BusHandoverPrepareVehicleQuery> pq){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口bus_handover/bushandoverpreparevehicle/listPage无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean save(BusHandoverPrepareVehicleDto dto){ |
||||
|
return ResultBean.fireFail().setMsg("接口bus_handover/bushandoverpreparevehicle/save无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean delBySids( String[] sids){ |
||||
|
return ResultBean.fireFail().setMsg("接口bus_handover/bushandoverpreparevehicle/delBySids无法访问"); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<BusHandoverPrepareVehicleDetailsVo> fetchDetailsBySid(String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
return rb.setMsg("接口bus_handover/bushandoverpreparevehicle/fetchDetailsBySid无法访问"); |
||||
|
} |
||||
|
} |
@ -0,0 +1,75 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleQuery.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleQuery <br/> |
||||
|
* Description: 交车准备-申请表 查询条件. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 查询条件", description = "交车准备-申请表 查询条件") |
||||
|
public class BusHandoverPrepareVehicleQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,77 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.api.bushandoverpreparevehicle; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModel; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleVo.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleVo <br/> |
||||
|
* Description: 交车准备-申请表 视图数据对象. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Data |
||||
|
@ApiModel(value = "交车准备-申请表 视图数据对象", description = "交车准备-申请表 视图数据对象") |
||||
|
public class BusHandoverPrepareVehicleVo implements Vo { |
||||
|
|
||||
|
private String sid; // sid
|
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; // 创建组织sid
|
||||
|
@ApiModelProperty("创建组织名称") |
||||
|
private String createOrgName; // 创建组织名称
|
||||
|
@ApiModelProperty("使用组织sid") |
||||
|
private String useOrgSid; // 使用组织sid
|
||||
|
@ApiModelProperty("使用组织名称") |
||||
|
private String useOrgName; // 使用组织名称
|
||||
|
|
||||
|
} |
@ -0,0 +1,70 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.biz.bushandoverprepare; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.AppHandoverPreparePageQuery; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.AppHandoverPreparePageVo; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
import org.apache.ibatis.annotations.Select; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepare; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareVo; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareMapper.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.bushandoverprepare.BusHandoverPrepareMapper <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface BusHandoverPrepareMapper extends BaseMapper<BusHandoverPrepare> { |
||||
|
|
||||
|
//@Update("update bus_handover_prepare set name=#{msg} where id=#{id}")
|
||||
|
//IPage<BusHandoverPrepareVo> voPage(IPage<BusHandoverPrepare> page, @Param(Constants.WRAPPER) QueryWrapper<BusHandoverPrepare> qw);
|
||||
|
|
||||
|
IPage<BusHandoverPrepareVo> selectPageVo(IPage<BusHandoverPrepare> page, @Param(Constants.WRAPPER) Wrapper<BusHandoverPrepare> qw); |
||||
|
|
||||
|
List<BusHandoverPrepareVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<BusHandoverPrepare> qw); |
||||
|
|
||||
|
@Select("select * from bus_handover_prepare") |
||||
|
List<BusHandoverPrepareVo> selectListVo(); |
||||
|
|
||||
|
IPage<AppHandoverPreparePageVo> getDeliveryPlanList(IPage<AppHandoverPreparePageQuery> page, @Param(Constants.WRAPPER) QueryWrapper<AppHandoverPreparePageVo> qw, @Param("name") String name); |
||||
|
} |
@ -0,0 +1,40 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.anrui.buscenter.biz.bushandoverprepare.BusHandoverPrepareMapper"> |
||||
|
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
|
<!-- ${ew.customSqlSegment} --> |
||||
|
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareVo"> |
||||
|
SELECT * FROM bus_handover_prepare |
||||
|
<where>${ew.sqlSegment}</where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareVo"> |
||||
|
SELECT * FROM bus_handover_prepare |
||||
|
<where>${ew.sqlSegment}</where> |
||||
|
</select> |
||||
|
<select id="getDeliveryPlanList" |
||||
|
resultType="com.yxt.anrui.buscenter.api.bushandoverprepare.app.AppHandoverPreparePageVo"> |
||||
|
SELECT |
||||
|
sid, |
||||
|
customerName, |
||||
|
mobile, |
||||
|
contractNo, |
||||
|
model, |
||||
|
payType, |
||||
|
num, |
||||
|
handoverPrepareState, |
||||
|
handoverPrepareStateKey |
||||
|
FROM bus_handover_prepare |
||||
|
<where> |
||||
|
${ew.sqlSegment} |
||||
|
<if test="name != null and name != ''"> |
||||
|
and concat(IFNULL(customerName |
||||
|
, '') |
||||
|
, ifnull(contractNo |
||||
|
, '')) LIKE concat('%' |
||||
|
, #{name} |
||||
|
, '%') |
||||
|
</if> |
||||
|
</where> |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,161 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.biz.bushandoverprepare; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.*; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.*; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.bushandoverprepare.BusHandoverPrepareRest <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "交车准备-申请表") |
||||
|
@RestController("com.yxt.anrui.buscenter.biz.bushandoverprepare.BusHandoverPrepareRest") |
||||
|
@RequestMapping("v1/bushandoverprepare") |
||||
|
public class BusHandoverPrepareRest implements BusHandoverPrepareFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private BusHandoverPrepareService busHandoverPrepareService; |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<BusHandoverPrepareVo>> listPage(@RequestBody PagerQuery<BusHandoverPrepareQuery> pq) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
PagerVo<BusHandoverPrepareVo> pv = busHandoverPrepareService.listPageVo(pq); |
||||
|
return rb.success().setData(pv); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody BusHandoverPrepareDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
busHandoverPrepareService.saveOrUpdateDto(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据sid批量删除") |
||||
|
@PostMapping("/delBySids") |
||||
|
public ResultBean delBySids(@RequestBody String[] sids) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
busHandoverPrepareService.delBySids(sids); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
public ResultBean<BusHandoverPrepareDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
BusHandoverPrepareDetailsVo vo = busHandoverPrepareService.fetchDetailsVoBySid(sid); |
||||
|
return rb.success().setData(vo); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean addHandoverPrepare(BusHandoverPrepareAddDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
busHandoverPrepareService.addHandoverPrepare(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<AppHandoverPreparePageVo>> getDeliveryPlanList(PagerQuery<AppHandoverPreparePageQuery> pagerQuery) { |
||||
|
PagerVo<AppHandoverPreparePageVo> page = new PagerVo<>(); |
||||
|
IPage<AppHandoverPreparePageVo> iPage = busHandoverPrepareService.getDeliveryPlanList(pagerQuery); |
||||
|
PagerVo<AppHandoverPreparePageVo> pagerVo = PagerUtil.pageToVo(iPage, page); |
||||
|
return new ResultBean<PagerVo<AppHandoverPreparePageVo>>().success().setData(pagerVo); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfo(AppBusHandoverPrepareInfoQuery query) { |
||||
|
return busHandoverPrepareService.getDeliveryPlanInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveState(AppStateDateDto dto) { |
||||
|
return busHandoverPrepareService.saveState(dto); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppInvoicingInfoVo> getInvoiceInfo(AppInvoicingInfoQuery query) { |
||||
|
return busHandoverPrepareService.getInvoiceInfo(query); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppCertificateInfoVo> getCertificateInfo(AppCertificateInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppPolicyInfoVo> getPolicyInfo(AppPolicyInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean savePolicyInfo(AppPolicyDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppOtherDataInfoVo> getOtherDataInfo(AppOtherDataInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveOtherDataInfo(AppOtherDataDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveDeliveryPlanInfo(AppHandoverPrepareDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfoDetail(AppBusHandoverPrepareInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,177 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.biz.bushandoverprepare; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.*; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.*; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.AppBusHandoverPrepareVehicleDto; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.AppBusHandoverPrepareVehicleInfoVo; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicle; |
||||
|
import com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle.BusHandoverPrepareVehicleService; |
||||
|
import com.yxt.anrui.portal.api.sysstafforg.SysStaffOrgFeign; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import org.apache.commons.lang3.StringUtils; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
|
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareService.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.bushandoverprepare.BusHandoverPrepareService <br/> |
||||
|
* Description: 交车准备-申请表 业务逻辑. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class BusHandoverPrepareService extends MybatisBaseService<BusHandoverPrepareMapper, BusHandoverPrepare> { |
||||
|
@Autowired |
||||
|
private BusHandoverPrepareVehicleService busHandoverPrepareVehicleService; |
||||
|
@Autowired |
||||
|
private SysStaffOrgFeign sysStaffOrgFeign; |
||||
|
|
||||
|
private QueryWrapper<BusHandoverPrepare> createQueryWrapper(BusHandoverPrepareQuery query) { |
||||
|
// todo: 这里根据具体业务调整查询条件
|
||||
|
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
||||
|
QueryWrapper<BusHandoverPrepare> qw = new QueryWrapper<>(); |
||||
|
return qw; |
||||
|
} |
||||
|
|
||||
|
public PagerVo<BusHandoverPrepareVo> listPageVo(PagerQuery<BusHandoverPrepareQuery> pq) { |
||||
|
BusHandoverPrepareQuery query = pq.getParams(); |
||||
|
QueryWrapper<BusHandoverPrepare> qw = createQueryWrapper(query); |
||||
|
IPage<BusHandoverPrepare> page = PagerUtil.queryToPage(pq); |
||||
|
IPage<BusHandoverPrepareVo> pagging = baseMapper.selectPageVo(page, qw); |
||||
|
PagerVo<BusHandoverPrepareVo> p = PagerUtil.pageToVo(pagging, null); |
||||
|
return p; |
||||
|
} |
||||
|
|
||||
|
public void saveOrUpdateDto(BusHandoverPrepareDto dto) { |
||||
|
String dtoSid = dto.getSid(); |
||||
|
if (StringUtils.isBlank(dtoSid)) { |
||||
|
this.insertByDto(dto); |
||||
|
return; |
||||
|
} |
||||
|
this.updateByDto(dto); |
||||
|
} |
||||
|
|
||||
|
public void insertByDto(BusHandoverPrepareDto dto) { |
||||
|
BusHandoverPrepare entity = new BusHandoverPrepare(); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.insert(entity); |
||||
|
} |
||||
|
|
||||
|
public void updateByDto(BusHandoverPrepareDto dto) { |
||||
|
String dtoSid = dto.getSid(); |
||||
|
if (StringUtils.isBlank(dtoSid)) { |
||||
|
return; |
||||
|
} |
||||
|
BusHandoverPrepare entity = fetchBySid(dtoSid); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.updateById(entity); |
||||
|
} |
||||
|
|
||||
|
public BusHandoverPrepareDetailsVo fetchDetailsVoBySid(String sid) { |
||||
|
BusHandoverPrepare entity = fetchBySid(sid); |
||||
|
BusHandoverPrepareDetailsVo vo = new BusHandoverPrepareDetailsVo(); |
||||
|
BeanUtil.copyProperties(entity, vo); |
||||
|
return vo; |
||||
|
} |
||||
|
|
||||
|
public void addHandoverPrepare(BusHandoverPrepareAddDto dto) { |
||||
|
BusHandoverPrepare busHandoverPrepare = new BusHandoverPrepare(); |
||||
|
BeanUtil.copyProperties(dto, busHandoverPrepare); |
||||
|
List<AppBusHandoverPrepareVehicleDto> handoverPrepareVehicleDtos = dto.getAppBusHandoverPrepareVehicleDtos(); |
||||
|
if (handoverPrepareVehicleDtos.size() > 0) { |
||||
|
for (AppBusHandoverPrepareVehicleDto handoverPrepareVehicleDto : handoverPrepareVehicleDtos) { |
||||
|
BusHandoverPrepareVehicle busHandoverPrepareVehicle = new BusHandoverPrepareVehicle(); |
||||
|
BeanUtil.copyProperties(handoverPrepareVehicleDto, busHandoverPrepareVehicle); |
||||
|
busHandoverPrepareVehicle.setMainSid(busHandoverPrepare.getSid()); |
||||
|
busHandoverPrepareVehicleService.save(busHandoverPrepareVehicle); |
||||
|
} |
||||
|
} |
||||
|
save(busHandoverPrepare); |
||||
|
} |
||||
|
|
||||
|
public IPage<AppHandoverPreparePageVo> getDeliveryPlanList(PagerQuery<AppHandoverPreparePageQuery> pagerQuery) { |
||||
|
IPage<AppHandoverPreparePageQuery> page = PagerUtil.queryToPage(pagerQuery); |
||||
|
AppHandoverPreparePageQuery params = pagerQuery.getParams(); |
||||
|
String userSid = params.getUserSid(); |
||||
|
String useOrgSid = sysStaffOrgFeign.getPathSidByUserSid(userSid).getData(); |
||||
|
QueryWrapper<AppHandoverPreparePageVo> qw = new QueryWrapper<>(); |
||||
|
if (StringUtils.isNotBlank(params.getType())) { |
||||
|
qw.eq("handoverPrepareStateKey", params.getType()); |
||||
|
} |
||||
|
if (StringUtils.isNotBlank(useOrgSid)) { |
||||
|
qw.eq("useOrgSid", useOrgSid); |
||||
|
} |
||||
|
IPage<AppHandoverPreparePageVo> iPage = baseMapper.getDeliveryPlanList(page, qw, params.getName()); |
||||
|
for (AppHandoverPreparePageVo record : iPage.getRecords()) { |
||||
|
if ("1".equals(record.getHandoverPrepareStateKey())) { |
||||
|
record.setIsShowUpData(true); |
||||
|
} else if ("2".equals(record.getHandoverPrepareStateKey())) { |
||||
|
record.setIsShowUpData(false); |
||||
|
} |
||||
|
} |
||||
|
return iPage; |
||||
|
} |
||||
|
|
||||
|
public ResultBean<AppBusHandoverPrepareInfoVo> getDeliveryPlanInfo(AppBusHandoverPrepareInfoQuery query) { |
||||
|
ResultBean<AppBusHandoverPrepareInfoVo> rb = ResultBean.fireFail(); |
||||
|
String sid = query.getSid(); |
||||
|
AppBusHandoverPrepareInfoVo appBusHandoverPrepareInfoVo = new AppBusHandoverPrepareInfoVo(); |
||||
|
BusHandoverPrepare busHandoverPrepare = fetchBySid(sid); |
||||
|
BeanUtil.copyProperties(busHandoverPrepare, appBusHandoverPrepareInfoVo); |
||||
|
List<AppBusHandoverPrepareVehicleInfoVo> list = busHandoverPrepareVehicleService.selByMainSid(sid); |
||||
|
appBusHandoverPrepareInfoVo.setCarDataList(list); |
||||
|
appBusHandoverPrepareInfoVo.setUserSid(query.getUserSid()); |
||||
|
return rb.setData(appBusHandoverPrepareInfoVo); |
||||
|
} |
||||
|
|
||||
|
public ResultBean saveState(AppStateDateDto dto) { |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
busHandoverPrepareVehicleService.saveState(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<AppInvoicingInfoVo> getInvoiceInfo(AppInvoicingInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,87 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.AppBusHandoverPrepareVehicleInfoVo; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
import org.apache.ibatis.annotations.Select; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicle; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleVo; |
||||
|
import org.apache.ibatis.annotations.Update; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleMapper.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle.BusHandoverPrepareVehicleMapper <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Mapper |
||||
|
public interface BusHandoverPrepareVehicleMapper extends BaseMapper<BusHandoverPrepareVehicle> { |
||||
|
|
||||
|
//@Update("update bus_handover_prepare_vehicle set name=#{msg} where id=#{id}")
|
||||
|
//IPage<BusHandoverPrepareVehicleVo> voPage(IPage<BusHandoverPrepareVehicle> page, @Param(Constants.WRAPPER) QueryWrapper<BusHandoverPrepareVehicle> qw);
|
||||
|
|
||||
|
IPage<BusHandoverPrepareVehicleVo> selectPageVo(IPage<BusHandoverPrepareVehicle> page, @Param(Constants.WRAPPER) Wrapper<BusHandoverPrepareVehicle> qw); |
||||
|
|
||||
|
List<BusHandoverPrepareVehicleVo> selectListAllVo(@Param(Constants.WRAPPER) Wrapper<BusHandoverPrepareVehicle> qw); |
||||
|
|
||||
|
@Select("select * from bus_handover_prepare_vehicle") |
||||
|
List<BusHandoverPrepareVehicleVo> selectListVo(); |
||||
|
|
||||
|
@Select("select * from bus_handover_prepare_vehicle where mainSid = #{sid} ") |
||||
|
List<AppBusHandoverPrepareVehicleInfoVo> selByMainSid(@Param("sid") String sid); |
||||
|
|
||||
|
|
||||
|
@Update("update bus_handover_prepare_vehicle set invoicingState = 1 where mainSid = #{sid} and vinNo = #{vin}") |
||||
|
void saveInvoiceState(@Param("sid") String sid, @Param("vin") String vin); |
||||
|
|
||||
|
@Update("update bus_handover_prepare_vehicle set certificateState = 1 where mainSid = #{sid} and vinNo = #{vin} ") |
||||
|
void saveCertificateState(@Param("sid") String sid, @Param("vin") String vin); |
||||
|
|
||||
|
@Update("update bus_handover_prepare_vehicle set policyState = 1 where mainSid = #{sid} and vinNo = #{vin} ") |
||||
|
void savePolicyState(@Param("sid") String sid, @Param("vin") String vin); |
||||
|
|
||||
|
@Update("update bus_handover_prepare_vehicle set onBoardDataState = 1 where mainSid = #{sid} and vinNo = #{vin} ") |
||||
|
void saveOnBoardState(@Param("sid") String sid, @Param("vin") String vin); |
||||
|
|
||||
|
@Update("update bus_handover_prepare_vehicle set otherDataState = 1 where mainSid = #{sid} and vinNo = #{vin} ") |
||||
|
void saveOtherDataState(@Param("sid") String sid, @Param("vin") String vin); |
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle.BusHandoverPrepareVehicleMapper"> |
||||
|
<!-- <where> ${ew.sqlSegment} </where>--> |
||||
|
<!-- ${ew.customSqlSegment} --> |
||||
|
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleVo"> |
||||
|
SELECT * FROM bus_handover_prepare_vehicle <where> ${ew.sqlSegment} </where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleVo"> |
||||
|
SELECT * FROM bus_handover_prepare_vehicle <where> ${ew.sqlSegment} </where> |
||||
|
</select> |
||||
|
</mapper> |
@ -0,0 +1,100 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicle; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleQuery; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleVo; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleDetailsVo; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleDto; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.BusHandoverPrepareVehicleFeign; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle.BusHandoverPrepareVehicleRest <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "交车准备-申请表") |
||||
|
@RestController("com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle.BusHandoverPrepareVehicleRest") |
||||
|
@RequestMapping("v1/bushandoverpreparevehicle") |
||||
|
public class BusHandoverPrepareVehicleRest implements BusHandoverPrepareVehicleFeign { |
||||
|
|
||||
|
@Autowired |
||||
|
private BusHandoverPrepareVehicleService busHandoverPrepareVehicleService; |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据条件分页查询数据的列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<BusHandoverPrepareVehicleVo>> listPage(@RequestBody PagerQuery<BusHandoverPrepareVehicleQuery> pq){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
PagerVo<BusHandoverPrepareVehicleVo> pv = busHandoverPrepareVehicleService.listPageVo(pq); |
||||
|
return rb.success().setData(pv); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("新增或修改") |
||||
|
@PostMapping("/save") |
||||
|
public ResultBean save(@RequestBody BusHandoverPrepareVehicleDto dto){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
busHandoverPrepareVehicleService.saveOrUpdateDto(dto); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据sid批量删除") |
||||
|
@PostMapping("/delBySids") |
||||
|
public ResultBean delBySids(@RequestBody String[] sids){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
busHandoverPrepareVehicleService.delBySids(sids); |
||||
|
return rb.success(); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/fetchDetailsBySid/{sid}") |
||||
|
public ResultBean<BusHandoverPrepareVehicleDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid){ |
||||
|
ResultBean rb = ResultBean.fireFail(); |
||||
|
BusHandoverPrepareVehicleDetailsVo vo = busHandoverPrepareVehicleService.fetchDetailsVoBySid(sid); |
||||
|
return rb.success().setData(vo); |
||||
|
} |
||||
|
} |
@ -0,0 +1,133 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverprepare.app.AppStateDateDto; |
||||
|
import com.yxt.anrui.buscenter.api.bushandoverpreparevehicle.*; |
||||
|
import org.apache.commons.lang3.StringUtils; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.PagerUtil; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
|
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareVehicleService.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.biz.bushandoverpreparevehicle.BusHandoverPrepareVehicleService <br/> |
||||
|
* Description: 交车准备-申请表 业务逻辑. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class BusHandoverPrepareVehicleService extends MybatisBaseService<BusHandoverPrepareVehicleMapper, BusHandoverPrepareVehicle> { |
||||
|
private QueryWrapper<BusHandoverPrepareVehicle> createQueryWrapper(BusHandoverPrepareVehicleQuery query) { |
||||
|
// todo: 这里根据具体业务调整查询条件
|
||||
|
// 多字段Like示例:qw.and(wrapper -> wrapper.like("name", query.getName()).or().like("remark", query.getName()));
|
||||
|
QueryWrapper<BusHandoverPrepareVehicle> qw = new QueryWrapper<>(); |
||||
|
return qw; |
||||
|
} |
||||
|
|
||||
|
public PagerVo<BusHandoverPrepareVehicleVo> listPageVo(PagerQuery<BusHandoverPrepareVehicleQuery> pq) { |
||||
|
BusHandoverPrepareVehicleQuery query = pq.getParams(); |
||||
|
QueryWrapper<BusHandoverPrepareVehicle> qw = createQueryWrapper(query); |
||||
|
IPage<BusHandoverPrepareVehicle> page = PagerUtil.queryToPage(pq); |
||||
|
IPage<BusHandoverPrepareVehicleVo> pagging = baseMapper.selectPageVo(page, qw); |
||||
|
PagerVo<BusHandoverPrepareVehicleVo> p = PagerUtil.pageToVo(pagging, null); |
||||
|
return p; |
||||
|
} |
||||
|
|
||||
|
public void saveOrUpdateDto(BusHandoverPrepareVehicleDto dto) { |
||||
|
String dtoSid = dto.getSid(); |
||||
|
if (StringUtils.isBlank(dtoSid)) { |
||||
|
this.insertByDto(dto); |
||||
|
return; |
||||
|
} |
||||
|
this.updateByDto(dto); |
||||
|
} |
||||
|
|
||||
|
public void insertByDto(BusHandoverPrepareVehicleDto dto) { |
||||
|
BusHandoverPrepareVehicle entity = new BusHandoverPrepareVehicle(); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.insert(entity); |
||||
|
} |
||||
|
|
||||
|
public void updateByDto(BusHandoverPrepareVehicleDto dto) { |
||||
|
String dtoSid = dto.getSid(); |
||||
|
if (StringUtils.isBlank(dtoSid)) { |
||||
|
return; |
||||
|
} |
||||
|
BusHandoverPrepareVehicle entity = fetchBySid(dtoSid); |
||||
|
BeanUtil.copyProperties(dto, entity, "id", "sid"); |
||||
|
baseMapper.updateById(entity); |
||||
|
} |
||||
|
|
||||
|
public BusHandoverPrepareVehicleDetailsVo fetchDetailsVoBySid(String sid) { |
||||
|
BusHandoverPrepareVehicle entity = fetchBySid(sid); |
||||
|
BusHandoverPrepareVehicleDetailsVo vo = new BusHandoverPrepareVehicleDetailsVo(); |
||||
|
BeanUtil.copyProperties(entity, vo); |
||||
|
return vo; |
||||
|
} |
||||
|
|
||||
|
public List<AppBusHandoverPrepareVehicleInfoVo> selByMainSid(String sid) { |
||||
|
List<AppBusHandoverPrepareVehicleInfoVo> list = baseMapper.selByMainSid(sid); |
||||
|
return list; |
||||
|
} |
||||
|
|
||||
|
public void saveState(AppStateDateDto dto) { |
||||
|
String sid = dto.getSid(); |
||||
|
String key = dto.getKey(); |
||||
|
String vin = dto.getVin(); |
||||
|
if ("01".equals(key)) { |
||||
|
baseMapper.saveInvoiceState(sid, vin); |
||||
|
} |
||||
|
if ("02".equals(key)) { |
||||
|
baseMapper.saveCertificateState(sid, vin); |
||||
|
} |
||||
|
if ("03".equals(key)) { |
||||
|
baseMapper.savePolicyState(sid, vin); |
||||
|
} |
||||
|
if ("04".equals(key)) { |
||||
|
baseMapper.saveOnBoardState(sid, vin); |
||||
|
} |
||||
|
if ("05".equals(key)) { |
||||
|
baseMapper.saveOtherDataState(sid, vin); |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
} |
@ -0,0 +1,16 @@ |
|||||
|
package com.yxt.anrui.fin.api.fincollectionconfirmation; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppCollectionConfirmationStateVo implements Vo { |
||||
|
private static final long serialVersionUID = -1351560055250587524L; |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vinNo; |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.yxt.anrui.fin.api.fincollectionconfirmation; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class AppFinCollectionConfirmationOrgPathQuery implements Query { |
||||
|
private static final long serialVersionUID = -1124576139838723852L; |
||||
|
|
||||
|
@ApiModelProperty("申请sid") |
||||
|
private String collectionBillSid; |
||||
|
|
||||
|
@ApiModelProperty("机构sid") |
||||
|
private String orgPath; |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
} |
@ -0,0 +1,116 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.anrui.terminal.api.autoservice.advanceInvoice.AdvanceInvoicePageQuery; |
||||
|
import com.yxt.anrui.terminal.api.autoservice.advanceInvoice.AdvanceInvoicePageVo; |
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.cloud.openfeign.SpringQueryMap; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareFeign.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareFeign <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "交车准备-申请表") |
||||
|
@FeignClient( |
||||
|
contextId = "anrui-terminal-BusHandoverPrepare", |
||||
|
name = "anrui-terminal", |
||||
|
path = "autoservice/v1/deliveryPlan", |
||||
|
fallback = AppBusHandoverPrepareFeignFallback.class) |
||||
|
public interface AppBusHandoverPrepareFeign { |
||||
|
|
||||
|
@ApiOperation("手机端-获取交车准备申请列表") |
||||
|
@PostMapping("/getDeliveryPlanList") |
||||
|
@ResponseBody |
||||
|
ResultBean<PagerVo<HandoverPreparePageVo>> getDeliveryPlanList(@RequestBody PagerQuery<HandoverPreparePageQuery> pagerQuery); |
||||
|
|
||||
|
@ApiOperation("手机端-初始化交车准备申请") |
||||
|
@PostMapping("/getDeliveryPlanInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<HandoverPrepareInfoVo> getDeliveryPlanInfo(@SpringQueryMap HandoverPrepareInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("修改交车准备 其他资料信息") |
||||
|
@PutMapping("/saveState") |
||||
|
@ResponseBody |
||||
|
ResultBean saveState(@RequestBody StateDateDto dto); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 发票信息") |
||||
|
@GetMapping("/getInvoiceInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<InvoicingInfoVo> getInvoiceInfo(@SpringQueryMap InvoicingInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 合格证信息") |
||||
|
@GetMapping("/getCertificateInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<CertificateInfoVo> getCertificateInfo(@SpringQueryMap CertificateInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 保单信息") |
||||
|
@GetMapping("/getPolicyInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<PolicyInfoVo> getPolicyInfo(@SpringQueryMap PolicyInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("修改交车准备 保单信息") |
||||
|
@PutMapping("/savePolicyInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean savePolicyInfo(@RequestBody PolicyDto dto); |
||||
|
|
||||
|
@ApiOperation("获取交车准备 其他资料信息") |
||||
|
@GetMapping("/getOtherDataInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean<OtherDataInfoVo> getOtherDataInfo(@SpringQueryMap OtherDataInfoQuery query); |
||||
|
|
||||
|
@ApiOperation("修改交车准备 其他资料信息") |
||||
|
@PutMapping("/saveOtherDataInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean saveOtherDataInfo(@RequestBody OtherDataDto dto); |
||||
|
|
||||
|
@ApiOperation("保存交车准备信息") |
||||
|
@PostMapping("/saveDeliveryPlanInfo") |
||||
|
@ResponseBody |
||||
|
ResultBean saveDeliveryPlanInfo(@RequestBody HandoverPrepareDto dto); |
||||
|
|
||||
|
@ApiOperation("交车准备详情") |
||||
|
@GetMapping("/getDeliveryPlanInfoDetail") |
||||
|
@ResponseBody |
||||
|
ResultBean<HandoverPrepareInfoVo> getDeliveryPlanInfoDetail(@SpringQueryMap HandoverPrepareInfoQuery query); |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,106 @@ |
|||||
|
/********************************************************* |
||||
|
********************************************************* |
||||
|
******************** ******************* |
||||
|
************* ************ |
||||
|
******* _oo0oo_ ******* |
||||
|
*** o8888888o *** |
||||
|
* 88" . "88 * |
||||
|
* (| -_- |) * |
||||
|
* 0\ = /0 * |
||||
|
* ___/`---'\___ * |
||||
|
* .' \\| |// '. *
|
||||
|
* / \\||| : |||// \ *
|
||||
|
* / _||||| -:- |||||- \ * |
||||
|
* | | \\\ - /// | | *
|
||||
|
* | \_| ''\---/'' |_/ | * |
||||
|
* \ .-\__ '-' ___/-. / * |
||||
|
* ___'. .' /--.--\ `. .'___ * |
||||
|
* ."" '< `.___\_<|>_/___.' >' "". * |
||||
|
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
||||
|
* \ \ `_. \_ __\ /__ _/ .-` / / * |
||||
|
* =====`-.____`.___ \_____/___.-`___.-'===== * |
||||
|
* `=---=' * |
||||
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
||||
|
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
||||
|
*********************************************************/ |
||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
/** |
||||
|
* Project: bus_handover(交车准备) <br/> |
||||
|
* File: BusHandoverPrepareFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.buscenter.api.bushandoverprepare.BusHandoverPrepareFeignFallback <br/> |
||||
|
* Description: 交车准备-申请表. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2022-11-09 15:44:18 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class AppBusHandoverPrepareFeignFallback implements AppBusHandoverPrepareFeign { |
||||
|
|
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PagerVo<HandoverPreparePageVo>> getDeliveryPlanList(PagerQuery<HandoverPreparePageQuery> pagerQuery) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<HandoverPrepareInfoVo> getDeliveryPlanInfo(HandoverPrepareInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveState(StateDateDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<InvoicingInfoVo> getInvoiceInfo(InvoicingInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<CertificateInfoVo> getCertificateInfo(CertificateInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<PolicyInfoVo> getPolicyInfo(PolicyInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean savePolicyInfo(PolicyDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<OtherDataInfoVo> getOtherDataInfo(OtherDataInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveOtherDataInfo(OtherDataDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveDeliveryPlanInfo(HandoverPrepareDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<HandoverPrepareInfoVo> getDeliveryPlanInfoDetail(HandoverPrepareInfoQuery query) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class CertificateInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = 3659022580155238922L; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
|
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class CertificateInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = -4490288226803925013L; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("") |
||||
|
private String invoice; |
||||
|
@ApiModelProperty("合格证日期") |
||||
|
private String date; |
||||
|
@ApiModelProperty("合格证附件") |
||||
|
private List<String> invoiceImages; |
||||
|
|
||||
|
} |
@ -0,0 +1,32 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPrepareDto implements Dto { |
||||
|
private static final long serialVersionUID = -8440894378823670730L; |
||||
|
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; |
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractId; |
||||
|
@ApiModelProperty("车辆集合") |
||||
|
private List<HandoverPrepareVehicleDto> carDataList; |
||||
|
@ApiModelProperty("记录sid") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
@ApiModelProperty("组织机构") |
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("付款方式") |
||||
|
private String payType; |
||||
|
@ApiModelProperty("车型") |
||||
|
private String model; |
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brand; |
||||
|
|
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPrepareInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = 7773340499235695254L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
|
||||
|
} |
@ -0,0 +1,38 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPrepareInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = -123517694818315206L; |
||||
|
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
private String contractNo; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
|
||||
|
@ApiModelProperty("付款方式") |
||||
|
private String payType; |
||||
|
|
||||
|
@ApiModelProperty("车型") |
||||
|
private String model; |
||||
|
|
||||
|
@ApiModelProperty("品牌") |
||||
|
private String brandName; |
||||
|
|
||||
|
@ApiModelProperty("车辆集合") |
||||
|
private List<HandoverPrepareVehicleInfoVo> carDataList; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPreparePageQuery implements Query { |
||||
|
private static final long serialVersionUID = -6042480332658187357L; |
||||
|
|
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String name; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String type; |
||||
|
} |
@ -0,0 +1,44 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPreparePageVo implements Vo { |
||||
|
private static final long serialVersionUID = 2289992457993721366L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("客户名称") |
||||
|
private String customerName; |
||||
|
|
||||
|
@ApiModelProperty("联系电话") |
||||
|
private String mobile; |
||||
|
|
||||
|
@ApiModelProperty("合同编号") |
||||
|
@JsonProperty("contractId") |
||||
|
private String contractNo; |
||||
|
|
||||
|
@ApiModelProperty("车型") |
||||
|
private String model; |
||||
|
|
||||
|
@ApiModelProperty("付款方式") |
||||
|
@JsonProperty("paymentMethod") |
||||
|
private String payType; |
||||
|
|
||||
|
@ApiModelProperty("数量") |
||||
|
@JsonProperty("number") |
||||
|
private String num; |
||||
|
|
||||
|
@ApiModelProperty("交车准备状态") |
||||
|
@JsonProperty("contractState") |
||||
|
private String handoverPrepareState; |
||||
|
|
||||
|
@ApiModelProperty("是否显示i办理") |
||||
|
private Boolean isShowUpData; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPrepareVehicleDto implements Dto { |
||||
|
|
||||
|
private static final long serialVersionUID = 54954240767288520L; |
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
@JsonProperty("vin") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
@JsonProperty("invoiceState") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
@JsonProperty("certificateState") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
@JsonProperty("policyState") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
@JsonProperty("carState") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
@JsonProperty("otherState") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
|
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class HandoverPrepareVehicleInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = 7834545131984653302L; |
||||
|
|
||||
|
@ApiModelProperty("交车申请表sid") |
||||
|
private String mainSid; // 交车申请表sid
|
||||
|
@ApiModelProperty("车架号") |
||||
|
@JsonProperty("vin") |
||||
|
private String vinNo; // 车架号
|
||||
|
@ApiModelProperty("开票状态") |
||||
|
@JsonProperty("invoiceState") |
||||
|
private int invoicingState; // 开票状态
|
||||
|
@ApiModelProperty("合格证状态") |
||||
|
@JsonProperty("certificateState") |
||||
|
private int certificateState; // 合格证状态
|
||||
|
@ApiModelProperty("保单状态") |
||||
|
@JsonProperty("policyState") |
||||
|
private int policyState; // 保单状态
|
||||
|
@ApiModelProperty("随车资料状态") |
||||
|
@JsonProperty("carState") |
||||
|
private int onBoardDataState; // 随车资料状态
|
||||
|
@ApiModelProperty("其他资料状态") |
||||
|
@JsonProperty("otherState") |
||||
|
private int otherDataState; // 其他资料状态
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,17 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class InvoicingInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = -9046153131499325630L; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
|
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
|
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class InvoicingInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = 4861045386236473486L; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("发票代码") |
||||
|
private String invoice; |
||||
|
@ApiModelProperty("开票日期") |
||||
|
private String date; |
||||
|
@ApiModelProperty("开票附件") |
||||
|
private List<String> invoiceImages; |
||||
|
|
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class OtherDataDto implements Dto { |
||||
|
private static final long serialVersionUID = -3050856559210777413L; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("其他资料照片") |
||||
|
private List<String> otherInfo; |
||||
|
|
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class OtherDataInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = -2645426505344369850L; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
|
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class OtherDataInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = 3389392232627388039L; |
||||
|
|
||||
|
@ApiModelProperty("") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
@ApiModelProperty("其他资料照片") |
||||
|
private List<String> otherInfo; |
||||
|
|
||||
|
} |
@ -0,0 +1,23 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class PolicyDto implements Dto { |
||||
|
private static final long serialVersionUID = -3855776230880636129L; |
||||
|
|
||||
|
@ApiModelProperty("保单照片") |
||||
|
private List<String> policyList; |
||||
|
@ApiModelProperty("临时牌照") |
||||
|
private List<String> licenceList; |
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车辆照片") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class PolicyInfoQuery implements Query { |
||||
|
private static final long serialVersionUID = 7475128359557107062L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
|
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
|
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
|
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
import com.yxt.common.core.vo.Vo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
@Data |
||||
|
public class PolicyInfoVo implements Vo { |
||||
|
private static final long serialVersionUID = -2720117738136247298L; |
||||
|
|
||||
|
@ApiModelProperty("保单照片") |
||||
|
private List<String> policyList; |
||||
|
@ApiModelProperty("临时牌照") |
||||
|
private List<String> licenceList; |
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车辆照片") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("车架号") |
||||
|
private String vin; |
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.anrui.terminal.api.autoservice.deliveryPlan; |
||||
|
|
||||
|
|
||||
|
import com.yxt.common.core.dto.Dto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
@Data |
||||
|
public class StateDateDto implements Dto { |
||||
|
private static final long serialVersionUID = -5055791408663622371L; |
||||
|
|
||||
|
@ApiModelProperty("sid") |
||||
|
private String sid; |
||||
|
@ApiModelProperty("车辆sid") |
||||
|
private String carSid; |
||||
|
@ApiModelProperty("状态值") |
||||
|
private String key; |
||||
|
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue