2024-08-02 10:36:59 +08:00
|
|
|
<?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.pusong.business.mapper.PsContractPayMapper">
|
|
|
|
|
2024-08-15 17:53:31 +08:00
|
|
|
<select id="queryRefundList" resultType="com.pusong.business.domain.vo.PsRefundVo">
|
|
|
|
select pay.id,pay.money return_money,pay.pay_mode,pay.gath_main,pay.pay_status,pay.pay_certification,
|
|
|
|
com.company_name,cus.custom_name,cus.custom_mobile,cus.custom_manager,info.contract_code,info.pdf_id,
|
2024-08-30 18:40:16 +08:00
|
|
|
info.contract_amount,
|
2024-08-15 17:53:31 +08:00
|
|
|
(select GROUP_CONCAT(business.business_type SEPARATOR ',')
|
2024-08-30 09:33:42 +08:00
|
|
|
from ps_contract_business business where business.contract_code = info.contract_code and business.del_flag = '0') as business_type_name
|
2024-08-15 17:53:31 +08:00
|
|
|
from ps_contract_pay pay
|
2024-08-30 18:40:16 +08:00
|
|
|
left join ps_contract_info info on pay.contract_code = info.contract_code
|
2024-08-15 17:53:31 +08:00
|
|
|
left join ps_company_info com on com.id = info.company_id
|
|
|
|
left join ps_custom_info cus on cus.id = info.custom_id
|
|
|
|
${ew.getCustomSqlSegment}
|
|
|
|
</select>
|
2024-08-02 10:36:59 +08:00
|
|
|
</mapper>
|