Pu Zhibing
2025-04-24 818937959bb19d3669585fa87a526bffe9ce77a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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.stylefeng.guns.modular.system.dao.TWithdrawalMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.stylefeng.guns.modular.system.model.TWithdrawal">
        <id column="id" property="id"/>
        <result column="driverId" property="driverId"/>
        <result column="receivePaymentName" property="receivePaymentName"/>
        <result column="receivePaymentAccount" property="receivePaymentAccount"/>
        <result column="withdrawalType" property="withdrawalType"/>
        <result column="withdrawalMoney" property="withdrawalMoney"/>
        <result column="withdrawalTime" property="withdrawalTime"/>
        <result column="status" property="status"/>
        <result column="openBank" property="openBank"/>
        <result column="remark" property="remark"/>
        <result column="receiptVoucher" property="receiptVoucher"/>
    </resultMap>
    <select id="queryList" resultType="com.stylefeng.guns.modular.system.model.TWithdrawal">
        select id,driverId,receivePaymentName,receivePaymentAccount,withdrawalType,withdrawalMoney,withdrawalTime,status,openBank,remark,receiptVoucher from t_withdrawal
        <where>
            <if test="uid!=null">
                and driverId=#{uid}
            </if>
        </where>
    </select>
 
 
</mapper>