feature:发票查询由invoice表的ent_id,切换到process表ent_id,零时方案

release
gaorl 2 years ago
parent 367e0d9a3e
commit d15744d876
  1. 10
      order-management-invoice/src/main/resources/mybatis/mapper/OrderInvoiceInfoMapper.xml

@ -1490,20 +1490,20 @@
</if>
<if test="entList != null and entList.size() == 0">
and (oii.ent_id = '' or oii.ent_id is null)
and opi.ent_id = ''
</if>
<if test="entList != null and entList.size() == 1">
and (oii.ent_id =
and opi.ent_id =
<foreach collection="entList" index="index" item="item">
#{item}
</foreach> or oii.ent_id is null)
</foreach>
</if>
<if test="entList != null and entList.size() > 1">
and (oii.ent_id in
and opi.ent_id in
<foreach collection="entList" index="index" item="item"
open="(" separator="," close=")">
#{item}
</foreach> or oii.ent_id is null)
</foreach>
</if>
<if test="map.fpqqlshList != null and map.fpqqlshList.size() == 1">

Loading…
Cancel
Save