发票页面添加实际开票用户;
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@ public class BmsInvoiceListVO implements Serializable {
|
|||||||
@ApiModelProperty(value = "账单管理id")
|
@ApiModelProperty(value = "账单管理id")
|
||||||
private String billManageId;
|
private String billManageId;
|
||||||
|
|
||||||
|
private String actualInvoiceCustomerName;
|
||||||
public void setTransportationIds(String transportationIds) {
|
public void setTransportationIds(String transportationIds) {
|
||||||
this.transportationIds = transportationIds;
|
this.transportationIds = transportationIds;
|
||||||
this.transportationIdsNum = transportationIds.split(",").length;
|
this.transportationIdsNum = transportationIds.split(",").length;
|
||||||
|
|||||||
@@ -55,6 +55,13 @@
|
|||||||
<if test="bmsInvoiceListQueryDTO.remark !=null and bmsInvoiceListQueryDTO.remark != ''">
|
<if test="bmsInvoiceListQueryDTO.remark !=null and bmsInvoiceListQueryDTO.remark != ''">
|
||||||
and a.remark LIKE CONCAT('%',#{bmsInvoiceListQueryDTO.remark},'%')
|
and a.remark LIKE CONCAT('%',#{bmsInvoiceListQueryDTO.remark},'%')
|
||||||
</if>
|
</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.createBy !=null and bmsInvoiceListQueryDTO.createBy != ''"> and a.create_by = #{bmsInvoiceListQueryDTO.createBy} </if>
|
||||||
<!-- 部门 -->
|
<!-- 部门 -->
|
||||||
<if test="bmsInvoiceListQueryDTO.sysOrgCode!=null and bmsInvoiceListQueryDTO.sysOrgCode!=''">
|
<if test="bmsInvoiceListQueryDTO.sysOrgCode!=null and bmsInvoiceListQueryDTO.sysOrgCode!=''">
|
||||||
@@ -143,6 +150,11 @@
|
|||||||
a.organization_id AS organizationId,
|
a.organization_id AS organizationId,
|
||||||
a.organization_name AS organizationName,
|
a.organization_name AS organizationName,
|
||||||
a.tax_reg_account AS taxRegAccount,
|
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
|
a.top_organization_id AS topOrganizationId
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="field_where2">
|
<sql id="field_where2">
|
||||||
|
|||||||
Reference in New Issue
Block a user