bug 修复
This commit is contained in:
parent
253f49b998
commit
768e3eca51
|
|
@ -432,7 +432,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
#{accStatus}
|
#{accStatus}
|
||||||
</foreach>
|
</foreach>
|
||||||
<if test="accountInfoQueryParam.searchValue != null and accountInfoQueryParam.searchValue != ''">
|
<if test="accountInfoQueryParam.searchValue != null and accountInfoQueryParam.searchValue != ''">
|
||||||
and (t2.nick_name = #{accountInfoQueryParam.searchValue}
|
and (t2.nick_name like CONCAT('%',#{accountInfoQueryParam.searchValue},'%')
|
||||||
or t2.phonenumber = #{encryptedSearchValue}
|
or t2.phonenumber = #{encryptedSearchValue}
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
and aop.create_by like #{param.createBy}
|
and aop.create_by like #{param.createBy}
|
||||||
</if>
|
</if>
|
||||||
<if test="param.searchValue != null and param.searchValue != '' ">
|
<if test="param.searchValue != null and param.searchValue != '' ">
|
||||||
and (su.nick_name = #{param.searchValue}
|
and (su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or su.phonenumber = #{encryptedSearchValue}
|
or su.phonenumber = #{encryptedSearchValue}
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="param.searchValue != null and param.searchValue != ''">
|
<if test="param.searchValue != null and param.searchValue != ''">
|
||||||
and (su.nick_name = #{param.searchValue}
|
and (su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or su.phonenumber = #{encryptedSearchValue}
|
or su.phonenumber = #{encryptedSearchValue}
|
||||||
or su.user_id like CONCAT('%',#{param.searchValue},'%')
|
or su.user_id like CONCAT('%',#{param.searchValue},'%')
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and atwd.trade_time <![CDATA[ >= ]]> #{param.startDateTime}
|
and atwd.trade_time <![CDATA[ >= ]]> #{param.startDateTime}
|
||||||
and atwd.trade_time <![CDATA[ <= ]]> #{param.endDateTime}
|
and atwd.trade_time <![CDATA[ <= ]]> #{param.endDateTime}
|
||||||
<if test="param.searchValue != null and param.searchValue != ''">
|
<if test="param.searchValue != null and param.searchValue != ''">
|
||||||
and (su.nick_name = #{param.searchValue}
|
and (su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or su.user_id like CONCAT('%',#{param.searchValue},'%')
|
or su.user_id like CONCAT('%',#{param.searchValue},'%')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -205,7 +205,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
where
|
where
|
||||||
1 = 1
|
1 = 1
|
||||||
<if test="param.searchValue != null and param.searchValue != ''">
|
<if test="param.searchValue != null and param.searchValue != ''">
|
||||||
and (b.nick_name = #{param.searchValue}
|
and (b.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or b.phonenumber = #{encryptedSearchValue}
|
or b.phonenumber = #{encryptedSearchValue}
|
||||||
or c.user_id like CONCAT('%',#{param.searchValue},'%')
|
or c.user_id like CONCAT('%',#{param.searchValue},'%')
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</if>
|
</if>
|
||||||
<if test="param.searchValue != null and param.searchValue != ''">
|
<if test="param.searchValue != null and param.searchValue != ''">
|
||||||
and (
|
and (
|
||||||
su.nick_name = #{param.searchValue}
|
su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or su.phonenumber = #{encryptedSearchValue}
|
or su.phonenumber = #{encryptedSearchValue}
|
||||||
or su.user_id like concat('%', #{param.searchValue}, '%')
|
or su.user_id like concat('%', #{param.searchValue}, '%')
|
||||||
)
|
)
|
||||||
|
|
@ -311,7 +311,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</if>
|
</if>
|
||||||
<if test="param.searchValue != null and param.searchValue != ''">
|
<if test="param.searchValue != null and param.searchValue != ''">
|
||||||
and (
|
and (
|
||||||
su.nick_name = #{param.searchValue}
|
su.nick_name like CONCAT('%',#{param.searchValue},'%')
|
||||||
or su.phonenumber = #{encryptedSearchValue}
|
or su.phonenumber = #{encryptedSearchValue}
|
||||||
or su.user_id like concat('%', #{param.searchValue}, '%')
|
or su.user_id like concat('%', #{param.searchValue}, '%')
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue