查询发票方法修改

pro
wangwei 2 years ago
parent 84e31c8ae1
commit db77297df4

@ -60,15 +60,19 @@
<if test="orderIdFk != null and orderIdFk != ''">
AND ic.orderIdFk = #{orderIdFk}
</if>
<if test="orderIdFk == null || orderIdFk == ''">
AND (ic.orderIdFk is null or ic.orderIdFk = '')
</if>
<if test="relId != null">
AND ic.bindRlFk = #{relId}
</if>
<if test="batchNo != null and batchNo != ''">
AND ic.batchNo = #{batchNo}
</if>
<if test="bizIdFk != null and bizIdFk != ''">
AND ic.bizIdFk = #{bizIdFk}
<if test="batchNo == null || batchNo == ''">
AND (ic.batchNo is null or ic.batchNo = '')
</if>
</where>
GROUP BY ic.id
</select>

Loading…
Cancel
Save