bms2相关修改;

This commit is contained in:
王奎兴
2026-03-18 21:11:49 +08:00
parent f7ad001154
commit caf5adfc3e
11 changed files with 52 additions and 17 deletions
@@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.reconciliation_status = #{billManageDO.reconciliationStatus}
</if>
<if test="billManageDO.applyNumber != null and billManageDO.applyNumber != ''">
AND a.apply_number = #{billManageDO.applyNumber}
AND a.apply_number like concat('%', #{billManageDO.applyNumber}, '%')
</if>
<if test="billManageDO.settlementCurrency != null and billManageDO.settlementCurrency != ''">
AND a.settlement_currency = #{billManageDO.settlementCurrency}
@@ -35,7 +35,7 @@
</select>
<sql id="common_where">
<if test="bmsInvoiceListQueryDTO.id !=null and bmsInvoiceListQueryDTO.id != ''"> and a.id = #{bmsInvoiceListQueryDTO.id} </if>
<if test="bmsInvoiceListQueryDTO.billNumber !=null and bmsInvoiceListQueryDTO.billNumber != ''"> and b.bill_number = #{bmsInvoiceListQueryDTO.billNumber} </if>
<if test="bmsInvoiceListQueryDTO.billNumber !=null and bmsInvoiceListQueryDTO.billNumber != ''"> and b.bill_number like concat('%', #{bmsInvoiceListQueryDTO.billNumber}, '%') </if>
<if test="bmsInvoiceListQueryDTO.id!=null and bmsInvoiceListQueryDTO.id!=''"> and instr(a.id ,#{bmsInvoiceListQueryDTO.id}) > 0 </if>
<if test="bmsInvoiceListQueryDTO.invoiceState!=null"> and instr(a.invoice_state ,#{bmsInvoiceListQueryDTO.invoiceState}) > 0 </if>
<if test="bmsInvoiceListQueryDTO.createStartTime!=null and bmsInvoiceListQueryDTO.createEndTime!=null ">