|
|
|
@ -2,8 +2,14 @@ |
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
|
|
<mapper namespace="com.qniao.dam.infrastructure.persistent.dao.view.WithdrawAuditViewDao"> |
|
|
|
|
|
|
|
<select id="pageWithdrawAudit" |
|
|
|
resultType="com.qniao.dam.api.query.withdrawaudit.user.response.UserPageWithdrawAuditVo"> |
|
|
|
<resultMap id="UserPageWithdrawAuditVo" |
|
|
|
type="com.qniao.dam.api.query.withdrawaudit.user.response.UserPageWithdrawAuditVo"> |
|
|
|
<id property="id" column="id" jdbcType="INTEGER"/> |
|
|
|
<result property="extDetailsInfo" column="ext_details_info" |
|
|
|
typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="pageWithdrawAudit" resultMap="UserPageWithdrawAuditVo"> |
|
|
|
select |
|
|
|
dwa.id, |
|
|
|
dwa.wallet_account_id, |
|
|
|
@ -14,7 +20,7 @@ |
|
|
|
dwa.`status`, |
|
|
|
dwa.`create_time` as applyTime, |
|
|
|
dwa.withdraw_type, |
|
|
|
dwa.ext_details_info as extDetailsInfo |
|
|
|
dwa.ext_details_info |
|
|
|
from da_withdraw_audit as dwa |
|
|
|
LEFT JOIN da_matchmaker as dm on dwa.wallet_account_user_id=dm.user_id and dm.is_delete=0 |
|
|
|
LEFT JOIN da_organization as dao on dao.id=dwa.wallet_account_org_id |
|
|
|
|