<?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.ruoyi.account.mapper.AccountFileMapper">
|
<select id="accountFileListPage" resultType="com.ruoyi.account.pojo.AccountFile">
|
SELECT
|
*
|
FROM account_file
|
where
|
1=1
|
<if test="accountFile.accountId != null and accountFile.accountId != ''">
|
AND account_id = #{accountFile.accountId}
|
</if>
|
<if test="accountFile.name != null and accountFile.name != '' ">
|
AND name = #{accountFile.name}
|
</if>
|
<if test="accountFile.accountType != null and accountFile.accountType != '' ">
|
AND account_type = #{accountFile.accountType}
|
</if>
|
</select>
|
</mapper>
|