<?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>
|