
15 changed files with 750 additions and 162 deletions
@ -0,0 +1,68 @@ |
|||
package com.yxt.anrui.buscenter.api.buscollectionconfirmation; |
|||
|
|||
import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.AppBusSelectedReceivablesDetailedDto; |
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class AppBusCollectionConfirmationDto implements Dto { |
|||
|
|||
@ApiModelProperty("款项确认sid") |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; |
|||
|
|||
@ApiModelProperty("收款银行key") |
|||
private String collectionBankKey; |
|||
|
|||
@ApiModelProperty("汇款确认") |
|||
private List<String> payConfirmFiles; |
|||
|
|||
@ApiModelProperty("付款金额") |
|||
private BigDecimal paymentMoney; |
|||
|
|||
@ApiModelProperty("收款日期") |
|||
private String collectionDate; |
|||
|
|||
@ApiModelProperty("付款方名称") |
|||
private String paymentName; |
|||
|
|||
@ApiModelProperty("收款账号") |
|||
private String collectionNum; |
|||
|
|||
@ApiModelProperty("收款账号key") |
|||
private String collectionNumKey; |
|||
|
|||
@ApiModelProperty("收款记录sid") |
|||
private String collectionBillSid; |
|||
|
|||
@ApiModelProperty("下载模板") |
|||
private String downLoadUrl; |
|||
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
|
|||
@ApiModelProperty("收款方式") |
|||
private String collectionType; |
|||
|
|||
@ApiModelProperty("收款方式key") |
|||
private String collectionTypeKey; |
|||
|
|||
@ApiModelProperty("打款凭证") |
|||
private List<String> payFiles; |
|||
|
|||
@ApiModelProperty("款项明细") |
|||
private List<AppBusSelectedReceivablesDetailedDto> paymentDetail; |
|||
|
|||
@ApiModelProperty("余额") |
|||
private String balance; |
|||
|
|||
@ApiModelProperty("用户sid") |
|||
private String userSid; |
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
package com.yxt.anrui.buscenter.api.buscollectionconfirmation; |
|||
|
|||
import com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.AppBusSelectedReceivablesDetailedDto; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class AppBusCollectionConfirmationInitVo implements Vo { |
|||
|
|||
@ApiModelProperty("款项确认sid") |
|||
private String sid; |
|||
|
|||
@ApiModelProperty("收款银行") |
|||
private String collectionBank; |
|||
|
|||
@ApiModelProperty("收款银行key") |
|||
private String collectionBankKey; |
|||
|
|||
@ApiModelProperty("汇款确认") |
|||
private List<String> payConfirmFiles; |
|||
|
|||
@ApiModelProperty("付款金额") |
|||
private String paymentMoney; |
|||
|
|||
@ApiModelProperty("收款日期") |
|||
private String collectionDate; |
|||
|
|||
@ApiModelProperty("付款方名称") |
|||
private String paymentName; |
|||
|
|||
@ApiModelProperty("收款账号") |
|||
private String collectionNum; |
|||
|
|||
@ApiModelProperty("收款账号key") |
|||
private String collectionNumKey; |
|||
|
|||
@ApiModelProperty("收款记录sid") |
|||
private String collectionBillSid; |
|||
|
|||
@ApiModelProperty("下载模板") |
|||
private String downLoadUrl; |
|||
|
|||
@ApiModelProperty("备注") |
|||
private String remarks; |
|||
|
|||
@ApiModelProperty("收款方式") |
|||
private String collectionType; |
|||
|
|||
@ApiModelProperty("收款方式key") |
|||
private String collectionTypeKey; |
|||
|
|||
@ApiModelProperty("打款凭证") |
|||
private List<String> payFiles; |
|||
|
|||
@ApiModelProperty("款项明细") |
|||
private List<AppBusSelectedReceivablesDetailedDto> paymentDetail; |
|||
|
|||
@ApiModelProperty("余额") |
|||
private String balance; |
|||
|
|||
@ApiModelProperty("用户sid") |
|||
private String userSid; |
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,21 @@ |
|||
package com.yxt.anrui.buscenter.api.buscollectionconfirmation; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class AppBusSelectedReceivablesPaymentDetailsQuery implements Query { |
|||
|
|||
@ApiModelProperty("用户sid") |
|||
private String userSid; |
|||
|
|||
@ApiModelProperty("客户名称") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("明细sid") |
|||
private List<String> sidList; |
|||
|
|||
} |
@ -0,0 +1,37 @@ |
|||
package com.yxt.anrui.buscenter.api.buscollectionconfirmation; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class AppBusSelectedReceivablesPaymentDetailsVo implements Vo { |
|||
|
|||
@ApiModelProperty("合同编号") |
|||
private String contractId; |
|||
|
|||
@ApiModelProperty("项目名称") |
|||
private String projectName; |
|||
|
|||
@ApiModelProperty("联系电话") |
|||
private String mobile; |
|||
|
|||
@ApiModelProperty("客户名称") |
|||
private String name; |
|||
|
|||
@ApiModelProperty("应收金额") |
|||
private String receivable; |
|||
|
|||
@ApiModelProperty("合同sid") |
|||
private String contractSid; |
|||
|
|||
@ApiModelProperty("付款金额") |
|||
private String confirmMoney; |
|||
|
|||
@ApiModelProperty("车架号") |
|||
private String vin; |
|||
|
|||
@ApiModelProperty("认款时间") |
|||
private String confirmDate; |
|||
|
|||
} |
@ -0,0 +1,69 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed; |
|||
|
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: anrui-buscenter(销售相关) <br/> |
|||
* File: BusCustomerBillDetailedDto.java <br/> |
|||
* Class: com.yxt.anrui.buscenter.api.buscustomerbilldetailed.BusCustomerBillDetailedDto <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 AppBusSelectedReceivablesDetailedDto implements Dto { |
|||
|
|||
@ApiModelProperty("应收金额") |
|||
private String receivable; |
|||
@ApiModelProperty("车架号") |
|||
private String vin; |
|||
@ApiModelProperty("认款金额") |
|||
private String confirmMoney; |
|||
@ApiModelProperty("合同号") |
|||
private String contractId; |
|||
@ApiModelProperty("应收项目") |
|||
private String projectName; |
|||
@ApiModelProperty("合同sid") |
|||
private String contractSid; |
|||
@ApiModelProperty("客户名") |
|||
private String name; |
|||
@ApiModelProperty("联系电话") |
|||
private String mobile; |
|||
@ApiModelProperty("认款日期") |
|||
private String confirmDate; |
|||
} |
@ -1,18 +1,52 @@ |
|||
<?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.buscollectionconfirmation.BusCollectionConfirmationMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo"> |
|||
SELECT * FROM bus_collection_confirmation <where> ${ew.sqlSegment} </where> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" |
|||
resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo"> |
|||
SELECT * FROM bus_collection_confirmation |
|||
<where>${ew.sqlSegment}</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo"> |
|||
SELECT * FROM bus_collection_confirmation <where> ${ew.sqlSegment} </where> |
|||
<select id="selectListAllVo" |
|||
resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.BusCollectionConfirmationVo"> |
|||
SELECT * FROM bus_collection_confirmation |
|||
<where>${ew.sqlSegment}</where> |
|||
</select> |
|||
|
|||
<!--手机端—获取款项确认列表--> |
|||
<select id="getCollectionConfirmList" |
|||
resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.AppBusCollectionConfirmationPageVo"> |
|||
|
|||
select sid AS collectionBillSid, |
|||
collectionBankNum AS collectionNum, |
|||
subscriptionState AS collectionBillState, |
|||
collectionBank, |
|||
collectionTypeValue AS collectionType, |
|||
collectionDate, |
|||
payerName AS paymentName, |
|||
collectionMoney, |
|||
remarks, |
|||
balance |
|||
from bus_collection_confirmation |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
<select id="initCollectionConfirm" |
|||
resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.AppBusCollectionConfirmationInitVo"> |
|||
SELECT sid AS collectionBillSid, |
|||
collectionBankNum AS collectionNum, |
|||
subscriptionState AS collectionBillState, |
|||
collectionBank, |
|||
collectionTypeValue AS collectionType, |
|||
collectionDate, |
|||
payerName AS paymentName, |
|||
collectionMoney, |
|||
remarks, |
|||
balance |
|||
FROM bus_collection_confirmation |
|||
WHERE sid = #{collectionBillSid} |
|||
AND useOrgSid = #{useOrgSid} |
|||
</select> |
|||
</mapper> |
@ -1,13 +1,23 @@ |
|||
<?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.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo"> |
|||
SELECT * FROM bus_selected_receivables_detailed <where> ${ew.sqlSegment} </where> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" |
|||
resultType="com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo"> |
|||
SELECT * FROM bus_selected_receivables_detailed |
|||
<where>${ew.sqlSegment}</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo"> |
|||
SELECT * FROM bus_selected_receivables_detailed <where> ${ew.sqlSegment} </where> |
|||
<select id="selectListAllVo" |
|||
resultType="com.yxt.anrui.buscenter.api.busselectedreceivablesdetailed.BusSelectedReceivablesDetailedVo"> |
|||
SELECT * FROM bus_selected_receivables_detailed |
|||
<where>${ew.sqlSegment}</where> |
|||
</select> |
|||
|
|||
<!--手机端—查询可使用款项明细列表--> |
|||
<select id="getPaymentDetailsList" |
|||
resultType="com.yxt.anrui.buscenter.api.buscollectionconfirmation.AppBusSelectedReceivablesPaymentDetailsVo"> |
|||
|
|||
</select> |
|||
</mapper> |
Loading…
Reference in new issue