parent
b7386bc81b
commit
3186110157
@ -1,17 +1,29 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?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" >
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||||
<mapper namespace="au.com.royalpay.payment.manage.mappers.system.MailUnsubMapper">
|
<mapper namespace="au.com.royalpay.payment.manage.mappers.system.MailUnsubMapper">
|
||||||
|
|
||||||
|
<select id="getOne" resultType="com.alibaba.fastjson.JSONObject">
|
||||||
|
select * from sys_mail_unsub
|
||||||
|
<where>
|
||||||
|
<if test="id!=null">
|
||||||
|
and id = #{id}
|
||||||
|
</if>
|
||||||
|
<if test="address != null">
|
||||||
|
and address = #{address}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
<select id="queryPageable" resultType="com.alibaba.fastjson.JSONObject">
|
<select id="queryPageable" resultType="com.alibaba.fastjson.JSONObject">
|
||||||
select * from sys_mail_unsub
|
select * from sys_mail_unsub
|
||||||
<where>
|
<where>
|
||||||
<if test="client_moniker!=null">
|
<if test="client_moniker!=null">
|
||||||
client_moniker = #{client_moniker}
|
and client_moniker = #{client_moniker}
|
||||||
</if>
|
</if>
|
||||||
<if test="client_id != 0">
|
<if test="client_id != null">
|
||||||
client_id = #{client_id}
|
and client_id = #{client_id}
|
||||||
</if>
|
</if>
|
||||||
<if test="address != null">
|
<if test="address != null">
|
||||||
address = #{address}
|
and address = #{address}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in new issue