Commit e3711f47 authored by qiankunpingtai's avatar qiankunpingtai
Browse files

修改sql错误

parent aa2588b0
...@@ -110,10 +110,6 @@ ...@@ -110,10 +110,6 @@
dh.AccountIdList as AList,dh.AccountMoneyList as AMList dh.AccountIdList as AList,dh.AccountMoneyList as AMList
from jsh_depothead dh inner join jsh_supplier s on dh.OrganId = s.id and ifnull(s.delete_Flag,'0') !='1' from jsh_depothead dh inner join jsh_supplier s on dh.OrganId = s.id and ifnull(s.delete_Flag,'0') !='1'
where 1=1 where 1=1
<if test="accountId != null and remark != ''">
<bind name="remark" value="'%' + _parameter.remark + '%'"/>
and remark like #{remark}
</if>
<if test="accountId != null"> <if test="accountId != null">
<bind name="accountId" value="'%' + _parameter.accountId + '%'"/> <bind name="accountId" value="'%' + _parameter.accountId + '%'"/>
and dh.AccountIdList like #{accountId} and dh.AccountIdList like #{accountId}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment