md
This commit is contained in:
parent
116672837b
commit
5c78a388e9
@ -287,7 +287,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and `bill_code`=#{billCode}
|
and `bill_code`=#{billCode}
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and bill_code in
|
and bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -396,7 +396,7 @@
|
|||||||
</foreach>
|
</foreach>
|
||||||
,
|
,
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
FIELD
|
FIELD
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -498,7 +498,7 @@
|
|||||||
</foreach>
|
</foreach>
|
||||||
,
|
,
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
FIELD
|
FIELD
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
|
|||||||
@ -143,7 +143,7 @@
|
|||||||
</foreach>
|
</foreach>
|
||||||
,
|
,
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
FIELD
|
FIELD
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
|
|||||||
@ -35,7 +35,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and `bill_code`=#{billCode}
|
and `bill_code`=#{billCode}
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and bill_code in
|
and bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
|
|||||||
@ -496,7 +496,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and a.`bill_code`=#{billCode}
|
and a.`bill_code`=#{billCode}
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and a.bill_code in
|
and a.bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -509,7 +509,7 @@
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
ORDER BY FIELD
|
ORDER BY FIELD
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -534,7 +534,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and a.bill_code in
|
and a.bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -757,7 +757,7 @@
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
ORDER BY FIELD
|
ORDER BY FIELD
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -780,7 +780,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and a.bill_code in
|
and a.bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -1048,7 +1048,7 @@
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size >0 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
ORDER BY FIELD
|
ORDER BY FIELD
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(bill_code," separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -1071,7 +1071,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and a.bill_code in
|
and a.bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -1566,7 +1566,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and a.bill_code in
|
and a.bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
@ -2010,7 +2010,7 @@
|
|||||||
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
<if test="billCode != null and billCode != '' and params.billCodeSortList == null">
|
||||||
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
and ( a.`bill_code`=#{billCode} or a.bill_code like concat(#{billCode}, '%') )
|
||||||
</if>
|
</if>
|
||||||
<if test="params.billCodeSortList != null and params.billCodeSortList.size > 1 ">
|
<if test="params.billCodeSortList != null and params.billCodeSortList.size() > 1 ">
|
||||||
and a.bill_code in
|
and a.bill_code in
|
||||||
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
<foreach collection="params.billCodeSortList" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user