发票页面添加实际开票用户;
This commit is contained in:
@@ -55,6 +55,13 @@
|
||||
<if test="bmsInvoiceListQueryDTO.remark !=null and bmsInvoiceListQueryDTO.remark != ''">
|
||||
and a.remark LIKE CONCAT('%',#{bmsInvoiceListQueryDTO.remark},'%')
|
||||
</if>
|
||||
<if test="bmsInvoiceListQueryDTO.actualInvoiceCustomerName != null and bmsInvoiceListQueryDTO.actualInvoiceCustomerName != ''">
|
||||
and (SELECT
|
||||
LISTAGG(ACTUAL_INVOICE_CUSTOMER_NAME, ', ') WITHIN GROUP (ORDER BY ACTUAL_INVOICE_CUSTOMER_NAME) as name
|
||||
FROM BMS_MAKE_OUT_INVOICE
|
||||
WHERE
|
||||
INVOICE_ID = a.id) LIKE CONCAT('%',#{bmsInvoiceListQueryDTO.actualInvoiceCustomerName},'%')
|
||||
</if>
|
||||
<if test="bmsInvoiceListQueryDTO.createBy !=null and bmsInvoiceListQueryDTO.createBy != ''"> and a.create_by = #{bmsInvoiceListQueryDTO.createBy} </if>
|
||||
<!-- 部门 -->
|
||||
<if test="bmsInvoiceListQueryDTO.sysOrgCode!=null and bmsInvoiceListQueryDTO.sysOrgCode!=''">
|
||||
@@ -143,6 +150,11 @@
|
||||
a.organization_id AS organizationId,
|
||||
a.organization_name AS organizationName,
|
||||
a.tax_reg_account AS taxRegAccount,
|
||||
(SELECT
|
||||
LISTAGG(ACTUAL_INVOICE_CUSTOMER_NAME, ', ') WITHIN GROUP (ORDER BY ACTUAL_INVOICE_CUSTOMER_NAME) as name
|
||||
FROM BMS_MAKE_OUT_INVOICE
|
||||
WHERE
|
||||
INVOICE_ID = a.id) as actualInvoiceCustomerName,
|
||||
a.top_organization_id AS topOrganizationId
|
||||
</sql>
|
||||
<sql id="field_where2">
|
||||
|
||||
Reference in New Issue
Block a user