46 changed files with 2235 additions and 10 deletions
@ -0,0 +1,131 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation.as; |
|||
|
|||
|
|||
import com.yxt.anrui.fin.api.fincollectionconfirmation.FinCollectionConfirmationAppendixVo; |
|||
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedVo; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: anrui-fin(销售相关) <br/> |
|||
* File: FinCollectionConfirmationVo.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.fincollectionconfirmation.FinCollectionConfirmationVo <br/> |
|||
* Description: 收款确认表 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-04-12 17:57:01 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "收款确认表 视图数据对象", description = "收款确认表 视图数据对象") |
|||
@Data |
|||
public class AsFinCollectionConfirmationDetailsVo implements Vo { |
|||
|
|||
@ApiModelProperty("sid") |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("创建人sid") |
|||
private String createBySid; // 创建人sid
|
|||
@ApiModelProperty("创建人接口") |
|||
private String createByName; // 创建人接口
|
|||
@ApiModelProperty("收款日期") |
|||
private String collectionDate; // 收款日期
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; // 收款银行
|
|||
@ApiModelProperty("收款银行账号") |
|||
private String collectionBankNum; // 收款银行账号
|
|||
@ApiModelProperty("收款方式key") |
|||
private String collectionTypeKey; // 收款方式key
|
|||
@ApiModelProperty("收款方式value") |
|||
private String collectionTypeValue; // 收款方式value
|
|||
@ApiModelProperty("付款方名称") |
|||
private String payerName; // 付款方名称
|
|||
@ApiModelProperty("收款金额") |
|||
private String collectionMoney; // 收款金额
|
|||
@ApiModelProperty("打款凭证Url") |
|||
private String paymentVoucherUrl; // 打款凭证Url
|
|||
/*@ApiModelProperty("打款凭证附件名称") |
|||
private String paymentVoucherFileName;*/ // 打款凭证附件名称
|
|||
@ApiModelProperty("汇款确认书Url") |
|||
private String remittanceConfirmationUrl; // 汇款确认书Url
|
|||
/*@ApiModelProperty("汇款确认书附件名称") |
|||
private String remittanceConfirmationFileName;*/ // 汇款确认书附件名称
|
|||
@ApiModelProperty("余额") |
|||
private String balance; // 余额
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; // 备注
|
|||
@ApiModelProperty("已选应收款项明细") |
|||
private List<AsFinSelectedReceivablesDetailedVo> finSelectedReceivablesDetaileds; // 已选应收款项明细
|
|||
@ApiModelProperty("打款凭证附件") |
|||
private List<FinCollectionConfirmationAppendixVo> paymentVoucherAppendixs; // 打款凭证附件
|
|||
@ApiModelProperty("汇款确认书附件") |
|||
private List<FinCollectionConfirmationAppendixVo> remittanceConfirmationAppendixs; // 汇款确认书附件
|
|||
|
|||
|
|||
@ApiModelProperty("申请部门") |
|||
private String createDept; |
|||
@ApiModelProperty("申请日期") |
|||
private String createDate; |
|||
@ApiModelProperty("收款账户名称") |
|||
private String receivingName; |
|||
@ApiModelProperty("付款账号后4位") |
|||
private String payAccount; |
|||
@ApiModelProperty("付款银行") |
|||
private String payBank; |
|||
|
|||
@ApiModelProperty("单据编号") |
|||
private String billNo; |
|||
|
|||
|
|||
@ApiModelProperty("采购系统sid") |
|||
private String purchaseSystemSid; |
|||
@ApiModelProperty("采购系统名称") |
|||
private String purchaseSystemName; |
|||
|
|||
private String reason; |
|||
|
|||
@ApiModelProperty("销售专员名称") |
|||
private String staffName; |
|||
@ApiModelProperty("销售专员用户sid") |
|||
private String staffUserSid; |
|||
@ApiModelProperty("销售专员部门名称") |
|||
private String staffDeptName; |
|||
@ApiModelProperty("销售专员部门sid") |
|||
private String staffDeptSid; |
|||
@ApiModelProperty("组织全路径") |
|||
private String orgSidPath; |
|||
|
|||
} |
@ -0,0 +1,87 @@ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation.as; |
|||
|
|||
import com.yxt.anrui.fin.api.fincollectionconfirmation.FinCollectionConfirmationAppendixDto; |
|||
import com.yxt.anrui.fin.api.finselectedreceivablesdetailed.FinSelectedReceivablesDetailedDto; |
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 14:48 |
|||
*/ |
|||
@Data |
|||
public class AsFinCollectionConfirmationDto implements Dto { |
|||
|
|||
@ApiModelProperty("用户sid") |
|||
private String userSid; |
|||
@ApiModelProperty("sid") |
|||
private String sid; // 收款确认单sid
|
|||
@ApiModelProperty("创建人接口") |
|||
private String createByName; // 创建人接口
|
|||
@ApiModelProperty("申请日期") |
|||
private String createDate; |
|||
@ApiModelProperty("收款日期") |
|||
private String collectionDate; // 收款日期
|
|||
@ApiModelProperty("收款银行key") |
|||
private String collectionBankKey; // 收款银行key
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; // 收款银行
|
|||
@ApiModelProperty("收款银行账号key") |
|||
private String collectionBankNumKey; // 收款银行账号key
|
|||
@ApiModelProperty("收款银行账号") |
|||
private String collectionBankNum; // 收款银行账号
|
|||
@ApiModelProperty("收款方式key") |
|||
private String collectionTypeKey; // 收款方式key
|
|||
@ApiModelProperty("收款方式value") |
|||
private String collectionTypeValue; // 收款方式value
|
|||
@ApiModelProperty("付款方名称") |
|||
private String payerName; // 付款方名称
|
|||
@ApiModelProperty("收款金额") |
|||
private String collectionMoney; // 收款金额
|
|||
@ApiModelProperty("打款凭证Url") |
|||
private String paymentVoucherUrl; // 打款凭证Url
|
|||
@ApiModelProperty("汇款确认书Url") |
|||
private String remittanceConfirmationUrl; // 汇款确认书Url
|
|||
/* @ApiModelProperty("余额") |
|||
private String balance;*/ |
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; // 备注
|
|||
@ApiModelProperty("款项状态(1未认款/2部分认款/3已认款)") |
|||
private Integer paymentState; // 审核状态
|
|||
@ApiModelProperty("已选应收款项明细") |
|||
@Valid |
|||
private List<AsFinSelectedReceivablesDetailedDto> finSelectedReceivablesDetaileds; // 已选应收款项明细
|
|||
@ApiModelProperty("打款凭证附件") |
|||
private List<FinCollectionConfirmationAppendixDto> paymentVoucherAppendixs; // 打款凭证附件
|
|||
@ApiModelProperty("汇款确认书附件") |
|||
private List<FinCollectionConfirmationAppendixDto> remittanceConfirmationAppendixs; // 汇款确认书附件
|
|||
|
|||
@ApiModelProperty("申请部门") |
|||
private String createDept; |
|||
|
|||
@ApiModelProperty("收款账户名称") |
|||
private String receivingName; |
|||
@ApiModelProperty("付款账号后4位") |
|||
private String payAccount; |
|||
@ApiModelProperty("付款银行") |
|||
private String payBank; |
|||
@ApiModelProperty("收款银行账号sid") |
|||
private String accountSid; |
|||
@ApiModelProperty("申请部门sid") |
|||
private String createDeptSid; |
|||
|
|||
@ApiModelProperty("当前组织机构全路径sid") |
|||
private String orgPath; |
|||
|
|||
|
|||
@ApiModelProperty("组织全路径") |
|||
private String orgSidPath; |
|||
|
|||
} |
@ -0,0 +1,93 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation.as; |
|||
|
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-fincenter(销售相关) <br/> |
|||
* File: FinCollectionConfirmationQuery.java <br/> |
|||
* Class: com.yxt.anrui.fincenter.api.fincollectionconfirmation.FinCollectionConfirmationQuery <br/> |
|||
* Description: 收款确认表 查询条件. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-04-12 17:57:01 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "收款确认表 查询条件", description = "收款确认表 查询条件") |
|||
@Data |
|||
public class AsFinCollectionConfirmationQuery implements Query { |
|||
|
|||
@ApiModelProperty("收款开始日期") |
|||
private String collectionStartDate; // 收款开始日期
|
|||
@ApiModelProperty("收款结束日期") |
|||
private String collectionEndDate; // 收款结束日期
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; // 收款银行
|
|||
@ApiModelProperty("收款方式key") |
|||
private String collectionTypeKey; // 收款方式key
|
|||
@ApiModelProperty("认款状态") |
|||
private String subscriptionState; // 认款状态
|
|||
//后端自己赋值的
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("创建人sid") |
|||
private String createBySid; // 创建人sid
|
|||
|
|||
@ApiModelProperty("状态:0申请,1确认") |
|||
private String state; |
|||
|
|||
|
|||
private String payerName; |
|||
|
|||
private String auditState; |
|||
|
|||
@ApiModelProperty("申请部门") |
|||
private String createDept; // 申请部门
|
|||
@ApiModelProperty("申请人") |
|||
private String createByName; // 申请人
|
|||
@ApiModelProperty("申请开始日期") |
|||
private String createStartDate; // 申请开始日期
|
|||
@ApiModelProperty("申请结束日期") |
|||
private String createEndDate; // 申请结束日期
|
|||
@ApiModelProperty("收款金额") |
|||
private String collectionMoney; // 收款金额
|
|||
@ApiModelProperty("收款账号") |
|||
private String finBillNo; |
|||
@ApiModelProperty("使用组织sid") |
|||
private String orgPath; |
|||
private String userSid; |
|||
@ApiModelProperty("菜单url") |
|||
private String menuUrl; |
|||
|
|||
} |
@ -0,0 +1,105 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation.as; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-fin(销售相关) <br/> |
|||
* File: FinCollectionConfirmationVo.java <br/> |
|||
* Class: com.yxt.anrui.fin.api.fincollectionconfirmation.FinCollectionConfirmationVo <br/> |
|||
* Description: 收款确认表 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022-04-12 17:57:01 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@ApiModel(value = "收款确认表 视图数据对象", description = "收款确认表 视图数据对象") |
|||
@Data |
|||
public class AsFinCollectionConfirmationVo implements Vo { |
|||
|
|||
private static final long serialVersionUID = 6561005289102689912L; |
|||
@ApiModelProperty("收款确认单sid") |
|||
private String sid; // 收款确认单sid
|
|||
@ApiModelProperty("收款日期") |
|||
private String collectionDate; // 收款日期
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; // 收款银行
|
|||
@ApiModelProperty("收款银行账号") |
|||
private String collectionBankNum; // 收款银行账号
|
|||
@ApiModelProperty("收款方式value") |
|||
private String collectionTypeValue; // 收款方式value
|
|||
@ApiModelProperty("付款方名称") |
|||
private String payerName; // 付款方名称
|
|||
@ApiModelProperty("收款金额") |
|||
private String collectionMoney; // 收款金额
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; // 备注
|
|||
@ApiModelProperty("审核状态(1待审核/2已驳回/3已审核)") |
|||
private Integer auditState; // 审核状态
|
|||
@ApiModelProperty("认款状态(1未认款/2部分认款/3已认款)") |
|||
private Integer subscriptionState; // 审核状态
|
|||
|
|||
@ApiModelProperty("是否允许认款") |
|||
private boolean showHandle; |
|||
|
|||
@ApiModelProperty("余额") |
|||
private String balance; |
|||
|
|||
@ApiModelProperty("申请部门") |
|||
private String createDept; |
|||
@ApiModelProperty("申请日期") |
|||
private String createDate; |
|||
@ApiModelProperty("收款账户名称") |
|||
private String receivingName; |
|||
@ApiModelProperty("付款账号后4位") |
|||
private String payAccount; |
|||
@ApiModelProperty("付款银行") |
|||
private String payBank; |
|||
|
|||
@ApiModelProperty("申请人") |
|||
private String createByName; |
|||
|
|||
@ApiModelProperty("单据编号") |
|||
private String billNo; |
|||
@ApiModelProperty("下载次数") |
|||
private String downNum; // 下载次数
|
|||
|
|||
@ApiModelProperty("是否有撤回按钮") |
|||
private boolean recallAtn; |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("是否金融认款") |
|||
private boolean loan; |
|||
private String source; |
|||
} |
@ -0,0 +1,54 @@ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation.as; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 15:32 |
|||
*/ |
|||
@Data |
|||
public class AsFinSelectedReceivablesDetailedDto { |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createByName; // 创建人接口
|
|||
@ApiModelProperty("合同sid") |
|||
private String contractSid; // 合同sid
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
@ApiModelProperty("车架号") |
|||
@JsonProperty("VIN") |
|||
private String VIN; // 车架号
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
@ApiModelProperty("联系电话") |
|||
private String customerPhone; // 联系电话
|
|||
@ApiModelProperty("应收项目名称") |
|||
private String receivablesName; // 应收项目名称
|
|||
@ApiModelProperty("当前应收金额") |
|||
private String currentReceivableMoney; // 当前应收金额
|
|||
/* @ApiModelProperty("上次认款金额") |
|||
private String lastSubscriptionMoney; // 上次认款金额*/
|
|||
@ApiModelProperty("认款金额") |
|||
@NotBlank(message = "认款金额不能为空") |
|||
private String subscriptionMoney; // 认款金额
|
|||
@ApiModelProperty("认款申请日期") |
|||
private String subscriptionDate; // 认款申请日期
|
|||
@ApiModelProperty("收款确认单sid") |
|||
private String collSid; // 收款确认单sid
|
|||
|
|||
@ApiModelProperty("应收未收款项sid") |
|||
private String receivablesSid; |
|||
|
|||
@ApiModelProperty("款项状态") |
|||
private String kxState; |
|||
private int subscribedOf; |
|||
} |
@ -0,0 +1,93 @@ |
|||
package com.yxt.anrui.fin.api.fincollectionconfirmation.as; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 15:54 |
|||
*/ |
|||
@Data |
|||
public class AsFinSelectedReceivablesDetailedVo { |
|||
|
|||
|
|||
@ApiModelProperty("已选应收款项sid") |
|||
private String sid; // 已选应收款项sid
|
|||
|
|||
@ApiModelProperty("创建人接口") |
|||
private String createByName; // 创建人接口
|
|||
|
|||
@ApiModelProperty("合同sid") |
|||
private String contractSid; // 合同sid
|
|||
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
|
|||
@ApiModelProperty("车架号") |
|||
@JsonProperty("VIN") |
|||
private String VIN; // 车架号
|
|||
|
|||
@ApiModelProperty("分公司sid") |
|||
private String useOrgSid; // 分公司sid
|
|||
|
|||
@ApiModelProperty("联系电话") |
|||
private String customerPhone; // 联系电话
|
|||
|
|||
@ApiModelProperty("应收项目名称") |
|||
private String receivablesName; // 应收项目名称
|
|||
|
|||
@ApiModelProperty("当前应收金额") |
|||
private String currentReceivableMoney; // 当前应收金额
|
|||
|
|||
@ApiModelProperty("认款金额") |
|||
private String subscriptionMoney; // 认款金额
|
|||
|
|||
@ApiModelProperty("未认款金额") |
|||
private String noSubscriptionMoney; // 未认款金额
|
|||
|
|||
@ApiModelProperty("认款申请日期") |
|||
private String subscriptionDate; // 认款申请日期
|
|||
|
|||
@ApiModelProperty("收款确认单sid") |
|||
private String collSid; // 收款确认单sid
|
|||
|
|||
@ApiModelProperty("审核状态(1待审核/2已驳回/3已审核)") |
|||
private Integer auditState; // 审核状态
|
|||
|
|||
@ApiModelProperty("审核时间") |
|||
private String auditDate; // 审核时间
|
|||
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; // 备注
|
|||
|
|||
@ApiModelProperty("款项类型value") |
|||
private String paymentTypeValue; // 款项类型value
|
|||
|
|||
@ApiModelProperty("应收未收款项sid") |
|||
private String receivablesSid; |
|||
|
|||
private String sumAll; |
|||
|
|||
@ApiModelProperty("全款贷款key:1是全款,2贷款") |
|||
private String payTypeKey; |
|||
@ApiModelProperty("全款贷款") |
|||
private String payType; |
|||
|
|||
private int subscribedOf; |
|||
|
|||
@ApiModelProperty("余额") |
|||
private String balance; |
|||
@ApiModelProperty("款项状态") |
|||
private String kxState; |
|||
private String vehMark; |
|||
private String billType; |
|||
|
|||
} |
@ -0,0 +1,48 @@ |
|||
package com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.as; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 13:34 |
|||
*/ |
|||
@Data |
|||
public class AsDetailsOfReceivablesAndUncollectedItemsVo { |
|||
|
|||
@ApiModelProperty("应收未收款项sid") |
|||
private String sid; // 应收未收款项sid
|
|||
@ApiModelProperty("维修单号") |
|||
private String billNo; // 维修单号
|
|||
@ApiModelProperty("车架号") |
|||
private String VIN; // 车架号
|
|||
private String vehMark; // 车牌号
|
|||
private String customerPhone; // 电话
|
|||
@ApiModelProperty("应收项目名称") |
|||
private String receivablesName; // 应收项目名称
|
|||
@ApiModelProperty("当前应收金额") |
|||
private String currentReceivableMoney; // 当前应收金额
|
|||
@ApiModelProperty("应收金额") |
|||
private String reveivableMoney; |
|||
@ApiModelProperty("维修单类型") |
|||
private String billType; |
|||
|
|||
@ApiModelProperty("合同sid") |
|||
private String contractSid; // 合同sid
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractNo; // 合同编号
|
|||
@ApiModelProperty("客户sid") |
|||
private String customerSid; // 客户sid
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
|
|||
|
|||
@ApiModelProperty("是否是已认款的选择:0不是(应收未收),1是(已认款)") |
|||
private int subscribedOf; |
|||
|
|||
@ApiModelProperty("应收未收sid") |
|||
private String receivablesSid; |
|||
|
|||
} |
@ -0,0 +1,34 @@ |
|||
package com.yxt.anrui.fin.api.finuncollectedreceivablesdetailed.as; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 13:49 |
|||
*/ |
|||
@Data |
|||
public class AsFinUncollectedReceivablesDetailedQuery implements Query { |
|||
|
|||
@ApiModelProperty("维修单号") |
|||
private String billNo; // 维修单号
|
|||
@ApiModelProperty("客户名称") |
|||
private String customerName; // 客户名称
|
|||
private String vinNo; |
|||
private String vehMark; |
|||
@ApiModelProperty("联系电话") |
|||
private String customerPhone; // 联系电话
|
|||
|
|||
@ApiModelProperty("当前组织全路径sid") |
|||
private String orgPath; |
|||
private String createBySid; |
|||
private String deptSid; |
|||
@ApiModelProperty("应收款项sid") |
|||
private String[] sids; // 应收款项sid
|
|||
|
|||
|
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.yxt.anrui.fin.fegin.as.asbusrepairbill; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/3/20 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "yxt-as-AsBusrepairBill", |
|||
name = "yxt-as", |
|||
path = "v1/AsBusrepairBill") |
|||
public interface AsBusrepairBillFeign { |
|||
|
|||
@ApiOperation("获取维修单车牌号和单据类型") |
|||
@GetMapping("/fetchVehMarkAndTypeBySid") |
|||
public FinBusrepairBillVo fetchVehMarkAndTypeBySid(@RequestParam("sid") String sid); |
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.yxt.anrui.fin.fegin.as.asbusrepairbill; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 17:33 |
|||
*/ |
|||
@Data |
|||
public class FinBusrepairBillVo { |
|||
|
|||
private String billType; |
|||
private String vehMark; |
|||
} |
@ -0,0 +1,67 @@ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply; |
|||
|
|||
|
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.flowable.AppDelegateQuery; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.flowable.AppFlowDto; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.flowable.AppFlowQuery; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.flowable.AppFlowTaskQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
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.*; |
|||
|
|||
/** |
|||
* @Author |
|||
* @Date |
|||
* @Description |
|||
*/ |
|||
@Api(tags = "售后盘盈入库") |
|||
@FeignClient( |
|||
contextId = "terminal-AppOtherOutApply", |
|||
name = "anrui-terminal", |
|||
path = "v1/otheroutapply") |
|||
public interface AppOtherOutApplyFeign { |
|||
|
|||
@ApiOperation("详情") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<AppOtheroutApplyDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
|
|||
/**********************************************流程********************************************/ |
|||
|
|||
@ApiOperation("办理") |
|||
@PutMapping("/agreeCreditInfo") |
|||
@ResponseBody |
|||
ResultBean agreeCreditInfo(@RequestBody AppFlowDto dto); |
|||
|
|||
@ApiOperation("驳回") |
|||
@PutMapping("/rejectCreditInfo") |
|||
@ResponseBody |
|||
ResultBean rejectCreditInfo(@RequestBody AppFlowTaskQuery query); |
|||
|
|||
@ApiOperation("撤回") |
|||
@PutMapping("/recallCreditInfo") |
|||
@ResponseBody |
|||
ResultBean recallCreditInfo(@RequestBody AppFlowTaskQuery query); |
|||
|
|||
@ApiOperation("终止") |
|||
@PutMapping("/stopCreditInfo") |
|||
@ResponseBody |
|||
ResultBean stopCreditInfo(@RequestBody AppFlowTaskQuery query); |
|||
|
|||
@ApiOperation("获取流程操作标题") |
|||
@GetMapping("/getFlowOperateTitle") |
|||
@ResponseBody |
|||
ResultBean<String> getFlowOperateTitle(@SpringQueryMap AppFlowQuery query); |
|||
|
|||
@ApiOperation(value = "加签") |
|||
@PutMapping(value = "/delegate") |
|||
@ResponseBody |
|||
public ResultBean delegate(@RequestBody AppDelegateQuery delegateQuery); |
|||
|
|||
@ApiOperation(value = "转办") |
|||
@PutMapping(value = "/assignTask") |
|||
@ResponseBody |
|||
public ResultBean assignTask(@RequestBody AppDelegateQuery delegateQuery); |
|||
} |
@ -0,0 +1,74 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply; |
|||
|
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: yxt-wms(其他出库) <br/> |
|||
* File: WmsOtheroutApplyVo.java <br/> |
|||
* Class: com.yxt.wms.api.wmsotheroutapply.WmsOtheroutApplyVo <br/> |
|||
* Description: 其他出库 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-10-31 12:01:51 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "其他出库 视图数据详情", description = "其他出库 视图数据详情") |
|||
public class AppOtheroutApplyDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("申请部门名称") |
|||
private String deptName; |
|||
@ApiModelProperty("制单人姓名") |
|||
private String createByName; |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
@ApiModelProperty("申请日期") |
|||
private Date createTime; |
|||
@ApiModelProperty("业务类型value") |
|||
private String busTypeValue; |
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
@ApiModelProperty("流程实例的sid") |
|||
private String procInsId; |
|||
@ApiModelProperty("任务id") |
|||
private String taskId; |
|||
@ApiModelProperty("明细") |
|||
private List<AppOtheroutDetailDetailsVo> otheroutDetailList; |
|||
} |
@ -0,0 +1,75 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: yxt-wms(其他出库) <br/> |
|||
* File: WmsOtheroutDetailVo.java <br/> |
|||
* Class: com.yxt.wms.api.wmsotheroutdetail.WmsOtheroutDetailVo <br/> |
|||
* Description: 其他出库-明细 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-10-31 12:01:51 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "其他出库-明细 视图数据详情", description = "其他出库-明细 视图数据详情") |
|||
public class AppOtheroutDetailDetailsVo implements Vo { |
|||
|
|||
@ApiModelProperty("商品ID") |
|||
private String goodsID; |
|||
@ApiModelProperty("商品sku名称") |
|||
private String goodsSkuTitle; |
|||
@ApiModelProperty("图号") |
|||
private String goodsSkuCode; |
|||
@ApiModelProperty("规格") |
|||
private String goodsSkuOwnSpec; |
|||
@ApiModelProperty("单位") |
|||
private String unit; |
|||
@ApiModelProperty("仓库名称") |
|||
private String warehouseName; |
|||
@ApiModelProperty("库位编码") |
|||
private String warehouseRackCode; |
|||
@ApiModelProperty("库位编码") |
|||
private String warehouseRackName; |
|||
@ApiModelProperty("入库单价") |
|||
private BigDecimal inCost; |
|||
@ApiModelProperty("出库数量") |
|||
private BigDecimal outCount; |
|||
@ApiModelProperty("出库金额") |
|||
private BigDecimal amount; |
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply.flowable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Administrator |
|||
* @description |
|||
* @date 2023/9/28 10:16 |
|||
*/ |
|||
@Data |
|||
public class AppDelegateQuery { |
|||
@ApiModelProperty |
|||
private String userSid; |
|||
@ApiModelProperty("流程实例id") |
|||
@JsonProperty("procInsId") |
|||
private String instanceId; |
|||
@ApiModelProperty("任务Id") |
|||
private String taskId; |
|||
@ApiModelProperty("审批人sid") |
|||
private String assignee; |
|||
@ApiModelProperty("填写意见") |
|||
private String views; |
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply.flowable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* @Author dimengzhe |
|||
* @Date 2022/8/9 14:09 |
|||
* @Description |
|||
*/ |
|||
@Data |
|||
public class AppFlowDto implements Dto { |
|||
private static final long serialVersionUID = 3626473483180150495L; |
|||
|
|||
@ApiModelProperty(value = "任务id") |
|||
@NotBlank(message = "参数错误:taskId") |
|||
private String taskId; |
|||
@ApiModelProperty(value = "流程id") |
|||
@NotBlank(message = "参数错误:procInsId") |
|||
@JsonProperty("procInsId") |
|||
private String instanceId; |
|||
@ApiModelProperty(value = "意见") |
|||
private String comment; |
|||
@ApiModelProperty(value = "业务sid") |
|||
@NotBlank(message = "参数错误:businessSid") |
|||
private String businessSid; |
|||
@ApiModelProperty(value = "用户sid") |
|||
@NotBlank(message = "参数错误:userSid") |
|||
private String userSid; |
|||
@ApiModelProperty(value = "节点id") |
|||
@NotBlank(message = "参数错误:taskDefKey") |
|||
private String taskDefKey; |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply.flowable; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
/** |
|||
* @Author dimengzhe |
|||
* @Date 2022/8/9 14:15 |
|||
* @Description |
|||
*/ |
|||
@Data |
|||
public class AppFlowQuery implements Query { |
|||
private static final long serialVersionUID = 5514095179438249641L; |
|||
|
|||
@ApiModelProperty(value = "节点key") |
|||
private String taskDefKey; |
|||
@ApiModelProperty(value = "业务sid") |
|||
private String businessSid; |
|||
@ApiModelProperty(value = "0 上一环节 1下一环节") |
|||
@NotNull(message = "参数错误:next") |
|||
private Integer next; |
|||
|
|||
@ApiModelProperty("组织机构全路径") |
|||
private String orgPath; |
|||
} |
@ -0,0 +1,47 @@ |
|||
package com.yxt.anrui.terminal.api.wms.otheroutapply.flowable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* @Author dimengzhe |
|||
* @Date 2022/8/9 14:11 |
|||
* @Description |
|||
*/ |
|||
@Data |
|||
public class AppFlowTaskQuery implements Query { |
|||
private static final long serialVersionUID = -7082170710942810289L; |
|||
|
|||
/** |
|||
* 终止、驳回、撤回 |
|||
*/ |
|||
@ApiModelProperty("任务Id") |
|||
@NotBlank(message = "参数错误:taskId") |
|||
private String taskId; |
|||
/** |
|||
* 终止、驳回、撤回 |
|||
*/ |
|||
@ApiModelProperty("业务sid") |
|||
@NotBlank(message = "参数错误:businessSid") |
|||
private String businessSid; |
|||
/** |
|||
* 终止、驳回 |
|||
*/ |
|||
@ApiModelProperty("任务意见") |
|||
private String comment; |
|||
/** |
|||
* 终止、撤回、驳回 |
|||
*/ |
|||
@ApiModelProperty("用户Sid") |
|||
private String userSid; |
|||
/** |
|||
* 终止 |
|||
*/ |
|||
@ApiModelProperty("流程实例Id") |
|||
@JsonProperty("procInsId") |
|||
private String instanceId; |
|||
} |
@ -0,0 +1,82 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.terminal.biz.wms.otheroutapply; |
|||
|
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.AppOtherOutApplyFeign; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.AppOtheroutApplyDetailsVo; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.flowable.*; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
@RestController |
|||
@RequestMapping("v1/otheroutapply") |
|||
public class AppOtherOutApplyRest implements AppOtherOutApplyFeign { |
|||
|
|||
@Autowired |
|||
private AppOtherOutApplyService appOtherOutApplyService; |
|||
|
|||
@Override |
|||
public ResultBean<AppOtheroutApplyDetailsVo> fetchDetailsBySid(String sid) { |
|||
return appOtherOutApplyService.fetchDetailsBySid(sid); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean agreeCreditInfo(AppFlowDto dto) { |
|||
return appOtherOutApplyService.agreeCreditInfo(dto); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean rejectCreditInfo(AppFlowTaskQuery query) { |
|||
return appOtherOutApplyService.rejectCreditInfo(query); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean recallCreditInfo(AppFlowTaskQuery query) { |
|||
return appOtherOutApplyService.recallCreditInfo(query); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean stopCreditInfo(AppFlowTaskQuery query) { |
|||
return appOtherOutApplyService.stopCreditInfo(query); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean<String> getFlowOperateTitle(AppFlowQuery query) { |
|||
return appOtherOutApplyService.getFlowOperateTitle(query); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean delegate(AppDelegateQuery delegateQuery) { |
|||
return appOtherOutApplyService.delegate(delegateQuery); |
|||
} |
|||
|
|||
@Override |
|||
public ResultBean assignTask(AppDelegateQuery delegateQuery) { |
|||
return appOtherOutApplyService.assignTask(delegateQuery); |
|||
} |
|||
} |
@ -0,0 +1,174 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.terminal.biz.wms.otheroutapply; |
|||
|
|||
import cn.hutool.core.bean.BeanUtil; |
|||
import com.yxt.anrui.portal.api.sysstafforg.SysStaffOrg; |
|||
import com.yxt.anrui.portal.api.sysstafforg.SysStaffOrgFeign; |
|||
import com.yxt.anrui.portal.api.sysuser.SysUserFeign; |
|||
import com.yxt.anrui.portal.api.sysuser.SysUserVo; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.AppOtheroutApplyDetailsVo; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.AppOtheroutDetailDetailsVo; |
|||
import com.yxt.anrui.terminal.api.wms.otheroutapply.flowable.*; |
|||
import com.yxt.anrui.terminal.fegin.wmsotheroutapply.WmsOtherOutApplyFeign; |
|||
import com.yxt.anrui.terminal.fegin.wmsotheroutapply.WmsOtheroutApplyDetailsVo; |
|||
import com.yxt.anrui.terminal.fegin.wmsotheroutapply.WmsOtheroutDetailDetailsVo; |
|||
import com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable.*; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import javax.annotation.Resource; |
|||
import java.util.Collections; |
|||
import java.util.List; |
|||
|
|||
@Service |
|||
public class AppOtherOutApplyService { |
|||
|
|||
@Resource |
|||
private WmsOtherOutApplyFeign wmsOtherOutApplyFeign; |
|||
@Autowired |
|||
private SysStaffOrgFeign sysStaffOrgFeign; |
|||
@Autowired |
|||
private SysUserFeign sysUserFeign; |
|||
|
|||
public ResultBean<AppOtheroutApplyDetailsVo> fetchDetailsBySid(String sid) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
WmsOtheroutApplyDetailsVo data = wmsOtherOutApplyFeign.fetchDetailsBySid(sid).getData(); |
|||
AppOtheroutApplyDetailsVo appOtheroutApplyDetailsVo = new AppOtheroutApplyDetailsVo(); |
|||
BeanUtil.copyProperties(data,appOtheroutApplyDetailsVo); |
|||
List<AppOtheroutDetailDetailsVo> otheroutDetailList = appOtheroutApplyDetailsVo.getOtheroutDetailList(); |
|||
for (AppOtheroutDetailDetailsVo appOtheroutDetailDetailsVo : otheroutDetailList) { |
|||
appOtheroutDetailDetailsVo.setWarehouseRackName(appOtheroutDetailDetailsVo.getWarehouseRackCode()); |
|||
appOtheroutDetailDetailsVo.setAmount(appOtheroutDetailDetailsVo.getOutCount().multiply(appOtheroutDetailDetailsVo.getInCost())); |
|||
} |
|||
return rb.success().setData(appOtheroutApplyDetailsVo); |
|||
} |
|||
|
|||
public ResultBean agreeCreditInfo(AppFlowDto dto) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
//根据用户sid获取staffSid
|
|||
ResultBean<SysUserVo> userVoResultBean = sysUserFeign.fetchBySid(dto.getUserSid()); |
|||
if (!userVoResultBean.getSuccess()) { |
|||
return rb.setMsg(userVoResultBean.getMsg()); |
|||
} |
|||
//根据staffSid获取用户的组织全路径
|
|||
ResultBean<SysStaffOrg> staffOrgResultBean = sysStaffOrgFeign.getOrgByStaffSid(userVoResultBean.getData().getStaffSid()); |
|||
if (!staffOrgResultBean.getSuccess()) { |
|||
return rb.setMsg(staffOrgResultBean.getMsg()); |
|||
} |
|||
//用户的组织全路径
|
|||
String orgSidPath = staffOrgResultBean.getData().getOrgSidPath(); |
|||
CompleteOtheroutDto completeOtheroutDto = new CompleteOtheroutDto(); |
|||
BeanUtil.copyProperties(dto, completeOtheroutDto); |
|||
completeOtheroutDto.setOrgSidPath(orgSidPath); |
|||
ResultBean resultBean = wmsOtherOutApplyFeign.complete(completeOtheroutDto); |
|||
if (!resultBean.getSuccess()) { |
|||
return rb.setMsg(resultBean.getMsg()); |
|||
} |
|||
return rb.success().setData(resultBean.getData()); |
|||
} |
|||
|
|||
public ResultBean rejectCreditInfo(AppFlowTaskQuery query) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
OtheroutTaskQuery otheroutTaskQuery = new OtheroutTaskQuery(); |
|||
BeanUtil.copyProperties(query, otheroutTaskQuery); |
|||
ResultBean resultBean = wmsOtherOutApplyFeign.taskReject(otheroutTaskQuery); |
|||
if (!resultBean.getSuccess()) { |
|||
return rb.setMsg(resultBean.getMsg()); |
|||
} |
|||
return rb.success().setData(resultBean.getData()); |
|||
} |
|||
|
|||
public ResultBean recallCreditInfo(AppFlowTaskQuery query) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
OtheroutTaskQuery otheroutTaskQuery = new OtheroutTaskQuery(); |
|||
BeanUtil.copyProperties(query, otheroutTaskQuery); |
|||
ResultBean resultBean = wmsOtherOutApplyFeign.revokeProcess(otheroutTaskQuery); |
|||
if (!resultBean.getSuccess()) { |
|||
return rb.setMsg(resultBean.getMsg()); |
|||
} |
|||
return rb.success().setData(resultBean.getData()); |
|||
} |
|||
|
|||
public ResultBean stopCreditInfo(AppFlowTaskQuery query) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
OtheroutTaskQuery otheroutTaskQuery = new OtheroutTaskQuery(); |
|||
BeanUtil.copyProperties(query, otheroutTaskQuery); |
|||
ResultBean resultBean = wmsOtherOutApplyFeign.breakProcess(otheroutTaskQuery); |
|||
if (!resultBean.getSuccess()) { |
|||
return rb.setMsg(resultBean.getMsg()); |
|||
} |
|||
return rb.success().setData(resultBean.getData()); |
|||
} |
|||
|
|||
public ResultBean<String> getFlowOperateTitle(AppFlowQuery query) { |
|||
ResultBean<String> rb = ResultBean.fireFail(); |
|||
//0 上一环节 1下一环节
|
|||
int next = query.getNext(); |
|||
OtheroutNodeQuery getNodeQuery = new OtheroutNodeQuery(); |
|||
BeanUtil.copyProperties(query, getNodeQuery); |
|||
String data = ""; |
|||
if (next == 0) { |
|||
ResultBean<List<OtheroutNodeVo>> getPreviousNodesForReject = wmsOtherOutApplyFeign.getPreviousNodesForReject(getNodeQuery); |
|||
if (getPreviousNodesForReject.getSuccess()) { |
|||
getPreviousNodesForReject.getData().removeAll(Collections.singleton(null)); |
|||
data = getPreviousNodesForReject.getData().get(0).getName(); |
|||
} else { |
|||
return rb.setMsg(getPreviousNodesForReject.getMsg()); |
|||
} |
|||
} else if (next == 1) { |
|||
ResultBean<List<OtheroutNodeVo>> getNextNodesForSubmit = wmsOtherOutApplyFeign.getNextNodesForSubmit(getNodeQuery); |
|||
if (getNextNodesForSubmit.getSuccess()) { |
|||
getNextNodesForSubmit.getData().removeAll(Collections.singleton(null)); |
|||
data = getNextNodesForSubmit.getData().get(0).getName(); |
|||
} else { |
|||
return rb.setMsg(getNextNodesForSubmit.getMsg()); |
|||
} |
|||
} else { |
|||
return rb.setMsg("参数错误:next"); |
|||
} |
|||
return rb.success().setData(data); |
|||
} |
|||
|
|||
public ResultBean delegate(AppDelegateQuery delegateQuery) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
OtheroutDelegateQuery delegateQuery1 = new |
|||
OtheroutDelegateQuery(); |
|||
BeanUtil.copyProperties(delegateQuery, delegateQuery1); |
|||
wmsOtherOutApplyFeign.delegate(delegateQuery1); |
|||
return rb.success(); |
|||
} |
|||
|
|||
public ResultBean assignTask(AppDelegateQuery delegateQuery) { |
|||
ResultBean rb = ResultBean.fireFail(); |
|||
OtheroutDelegateQuery delegateQuery1 = new |
|||
OtheroutDelegateQuery(); |
|||
BeanUtil.copyProperties(delegateQuery, delegateQuery1); |
|||
wmsOtherOutApplyFeign.assignTask(delegateQuery1); |
|||
return rb.success(); |
|||
} |
|||
} |
@ -0,0 +1,64 @@ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply; |
|||
|
|||
import com.yxt.anrui.terminal.fegin.wmsinventoryprofitin.WmsInventoryProfitinDetailsVo; |
|||
import com.yxt.anrui.terminal.fegin.wmsinventoryprofitin.flowable.*; |
|||
import com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable.*; |
|||
import com.yxt.anrui.terminal.fegin.wmswarehouserack.WmsHouseInfoVo; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.cloud.openfeign.SpringQueryMap; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author |
|||
* @Date |
|||
* @Description |
|||
*/ |
|||
@FeignClient( |
|||
contextId = "terminal-WmsOtherOutApply", |
|||
name = "yxt-wms", |
|||
path = "v1/wmsotheroutapply") |
|||
public interface WmsOtherOutApplyFeign { |
|||
|
|||
@ApiOperation("详情") |
|||
@GetMapping("/fetchDetailsBySid/{sid}") |
|||
public ResultBean<WmsOtheroutApplyDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|||
|
|||
@ApiOperation(value = "办理(同意)") |
|||
@PostMapping("/complete") |
|||
public ResultBean complete(@Valid @RequestBody CompleteOtheroutDto query); |
|||
|
|||
@ApiOperation(value = "获取上一个环节") |
|||
@GetMapping(value = "/getPreviousNodesForReject") |
|||
ResultBean<List<OtheroutNodeVo>> getPreviousNodesForReject(@Valid @SpringQueryMap OtheroutNodeQuery query); |
|||
|
|||
@ApiOperation(value = "获取下一个环节") |
|||
@GetMapping(value = "/getNextNodesForSubmit") |
|||
ResultBean<List<OtheroutNodeVo>> getNextNodesForSubmit(@Valid @SpringQueryMap OtheroutNodeQuery query); |
|||
|
|||
@ApiOperation(value = "驳回任务") |
|||
@PostMapping(value = "/reject") |
|||
public ResultBean taskReject(@Valid @RequestBody OtheroutTaskQuery query); |
|||
|
|||
@ApiOperation(value = "撤回流程") |
|||
@PostMapping(value = "/revokeProcess") |
|||
public ResultBean revokeProcess(@Valid @RequestBody OtheroutTaskQuery query); |
|||
|
|||
@ApiOperation(value = "终止任务") |
|||
@PostMapping(value = "/breakProcess") |
|||
public ResultBean breakProcess(@Valid @RequestBody OtheroutTaskQuery query); |
|||
|
|||
@ApiOperation(value = "加签") |
|||
@PostMapping(value = "/delegate") |
|||
@ResponseBody |
|||
public ResultBean delegate(@RequestBody OtheroutDelegateQuery query); |
|||
|
|||
@ApiOperation(value = "转办") |
|||
@PutMapping(value = "/assignTask") |
|||
@ResponseBody |
|||
public ResultBean assignTask(@RequestBody OtheroutDelegateQuery query); |
|||
} |
@ -0,0 +1,95 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply; |
|||
|
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: yxt-wms(其他出库) <br/> |
|||
* File: WmsOtheroutApplyVo.java <br/> |
|||
* Class: com.yxt.wms.api.wmsotheroutapply.WmsOtheroutApplyVo <br/> |
|||
* Description: 其他出库 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-10-31 12:01:51 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "其他出库 视图数据详情", description = "其他出库 视图数据详情") |
|||
public class WmsOtheroutApplyDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
@ApiModelProperty("申请日期") |
|||
private Date createTime; |
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
@ApiModelProperty("制单人sid") |
|||
private String createBySid; |
|||
@ApiModelProperty("制单人姓名") |
|||
private String createByName; // 制单人姓名
|
|||
@ApiModelProperty("申请部门sid") |
|||
private String deptSid; // 申请部门sid
|
|||
@ApiModelProperty("申请部门名称") |
|||
private String deptName; // 申请部门名称
|
|||
@ApiModelProperty("业务类型key") |
|||
private String busTypeKey; // 业务类型key
|
|||
@ApiModelProperty("业务类型value") |
|||
private String busTypeValue; // 业务类型value
|
|||
@ApiModelProperty("单据编号") |
|||
private String billNo; // 单据编号
|
|||
@ApiModelProperty("流程定义的id") |
|||
private String procDefId; // 流程定义的id
|
|||
@ApiModelProperty("环节定义的sid") |
|||
private String nodeId; // 环节定义的sid
|
|||
@ApiModelProperty("流程实例的sid") |
|||
private String procInstId; // 流程实例的sid
|
|||
@ApiModelProperty("流程状态") |
|||
private String nodeState; // 流程状态
|
|||
@ApiModelProperty("任务id") |
|||
private String taskId; // 任务id
|
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
@ApiModelProperty("办结时间") |
|||
private Date finishTime; // 办结时间
|
|||
@ApiModelProperty("创建组织sid") |
|||
private String createOrgSid; // 创建组织sid
|
|||
@ApiModelProperty("创建组织名称") |
|||
private String createOrgName; // 创建组织名称
|
|||
@ApiModelProperty("明细") |
|||
private List<WmsOtheroutDetailDetailsVo> otheroutDetailList; |
|||
} |
@ -0,0 +1,89 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: yxt-wms(其他出库) <br/> |
|||
* File: WmsOtheroutDetailVo.java <br/> |
|||
* Class: com.yxt.wms.api.wmsotheroutdetail.WmsOtheroutDetailVo <br/> |
|||
* Description: 其他出库-明细 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-10-31 12:01:51 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "其他出库-明细 视图数据详情", description = "其他出库-明细 视图数据详情") |
|||
public class WmsOtheroutDetailDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("主表sid") |
|||
private String mainSid; // 主表sid
|
|||
@ApiModelProperty("商品ID") |
|||
private String goodsID; // 商品ID
|
|||
@ApiModelProperty("商品spuSid") |
|||
private String goodsSpuSid; // 商品spuSid
|
|||
@ApiModelProperty("商品spu名称") |
|||
private String goodsSpuName; // 商品spu名称
|
|||
@ApiModelProperty("商品skuSid") |
|||
private String goodsSkuSid; // 商品skuSid
|
|||
@ApiModelProperty("商品sku名称") |
|||
private String goodsSkuTitle; // 商品sku名称
|
|||
@ApiModelProperty("图号") |
|||
private String goodsSkuCode; // 图号
|
|||
@ApiModelProperty("规格") |
|||
private String goodsSkuOwnSpec; // 规格
|
|||
@ApiModelProperty("厂家sid") |
|||
private String manufacturerSid; // 厂家sid
|
|||
@ApiModelProperty("厂家名称") |
|||
private String manufacturerName; // 厂家名称
|
|||
@ApiModelProperty("单位") |
|||
private String unit; // 单位
|
|||
@ApiModelProperty("仓库sid") |
|||
private String warehouseSid; // 仓库sid
|
|||
@ApiModelProperty("仓库名称") |
|||
private String warehouseName; // 仓库名称
|
|||
@ApiModelProperty("库位sid") |
|||
private String warehouseRackSid; // 库位sid
|
|||
@ApiModelProperty("库位编码") |
|||
private String warehouseRackCode; |
|||
@ApiModelProperty("入库单价") |
|||
private BigDecimal inCost; // 入库单价
|
|||
@ApiModelProperty("出库数量") |
|||
private BigDecimal outCount; // 出库数量
|
|||
} |
@ -0,0 +1,35 @@ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/5/11 |
|||
**/ |
|||
@Data |
|||
public class CompleteOtheroutDto { |
|||
|
|||
@ApiModelProperty(value = "用户sid") |
|||
@NotBlank(message = "参数错误:userSid") |
|||
private String userSid; |
|||
@ApiModelProperty(value = "用户全路径sid") |
|||
private String orgSidPath; |
|||
@ApiModelProperty(value = "节点id") |
|||
@NotBlank(message = "参数错误:taskDefKey") |
|||
private String taskDefKey; |
|||
@ApiModelProperty(value = "任务id") |
|||
@NotBlank(message = "参数错误:taskId") |
|||
private String taskId; |
|||
@ApiModelProperty(value = "流程id") |
|||
@NotBlank(message = "参数错误:instanceId") |
|||
private String instanceId; |
|||
@ApiModelProperty(value = "意见") |
|||
private String comment; |
|||
@ApiModelProperty(value = "业务sid") |
|||
@NotBlank(message = "参数错误:businessSid") |
|||
private String businessSid; |
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/5/11 |
|||
**/ |
|||
@Data |
|||
public class OtheroutDelegateQuery { |
|||
|
|||
private String userSid; |
|||
@ApiModelProperty("流程实例id") |
|||
private String instanceId; |
|||
@ApiModelProperty("任务Id") |
|||
private String taskId; |
|||
@ApiModelProperty("审批人sid") |
|||
private String assignee; |
|||
@ApiModelProperty("填写意见") |
|||
private String views; |
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/5/11 |
|||
**/ |
|||
@Data |
|||
public class OtheroutNodeQuery { |
|||
|
|||
@ApiModelProperty(value = "环节定义id") |
|||
private String taskDefKey; |
|||
@ApiModelProperty(value = "业务sid") |
|||
private String businessSid; |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/5/11 |
|||
**/ |
|||
@Data |
|||
public class OtheroutNodeVo { |
|||
|
|||
@ApiModelProperty(value = "节点名称") |
|||
private String name; |
|||
@ApiModelProperty(value = "节点id") |
|||
private String id; |
|||
@ApiModelProperty(value = "审批组") |
|||
private List<String> candidateGroups; |
|||
@ApiModelProperty(value = "是否是最后环节") |
|||
private String endTask; |
|||
} |
@ -0,0 +1,43 @@ |
|||
package com.yxt.anrui.terminal.fegin.wmsotheroutapply.flowable; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/5/11 |
|||
**/ |
|||
@Data |
|||
public class OtheroutTaskQuery { |
|||
|
|||
/** |
|||
* 终止、驳回、撤回 |
|||
*/ |
|||
@ApiModelProperty("任务Id") |
|||
@NotBlank(message = "参数错误:taskId") |
|||
private String taskId; |
|||
/** |
|||
* 终止、驳回、撤回 |
|||
*/ |
|||
@ApiModelProperty("业务sid") |
|||
@NotBlank(message = "参数错误:businessSid") |
|||
private String businessSid; |
|||
/** |
|||
* 终止、驳回 |
|||
*/ |
|||
@ApiModelProperty("任务意见") |
|||
private String comment; |
|||
/** |
|||
* 终止、撤回、驳回 |
|||
*/ |
|||
@ApiModelProperty("用户Sid") |
|||
private String userSid; |
|||
/** |
|||
* 终止 |
|||
*/ |
|||
@ApiModelProperty("流程实例Id") |
|||
private String instanceId; |
|||
} |
@ -0,0 +1,15 @@ |
|||
package com.yxt.anrui.as.api.asbusrepairbill; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/11/18 17:33 |
|||
*/ |
|||
@Data |
|||
public class FinBusrepairBillVo { |
|||
|
|||
private String billType; |
|||
private String vehMark; |
|||
} |
Loading…
Reference in new issue