提交 bf679464 作者: xiaowang

修复

上级 d3c2d1bb
...@@ -153,7 +153,7 @@ share_cash_pledge,salary_cash_pledge,other_pledge ...@@ -153,7 +153,7 @@ share_cash_pledge,salary_cash_pledge,other_pledge
select count(*) from lease_order lo select count(*) from lease_order lo
where 1 = 1 where 1 = 1
<if test="keyword != null"> <if test="keyword != null">
and (lo.order_no like CONCAT('%',#{keyword1},'%') or lo.order_name like CONCAT('%',#{keyword},'%')) and (lo.order_no like CONCAT('%',#{keyword},'%') or lo.order_name like CONCAT('%',#{keyword},'%'))
</if> </if>
<if test="userAccountId != null"> <if test="userAccountId != null">
and user_account_id = #{userAccountId} and user_account_id = #{userAccountId}
...@@ -182,7 +182,7 @@ share_cash_pledge,salary_cash_pledge,other_pledge ...@@ -182,7 +182,7 @@ share_cash_pledge,salary_cash_pledge,other_pledge
WHERE WHERE
1 = 1 1 = 1
<if test="keyword != null"> <if test="keyword != null">
and (lo.order_no like CONCAT('%',#{keyword1},'%') or lo.order_name like CONCAT('%',#{keyword},'%')) and (lo.order_no like CONCAT('%',#{keyword},'%') or lo.order_name like CONCAT('%',#{keyword},'%'))
</if> </if>
<if test="uid != null"> <if test="uid != null">
and lo.user_account_id = #{uid} and lo.user_account_id = #{uid}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论