Merge branch 'development'

This commit is contained in:
ZZ 2022-01-05 11:58:55 +08:00
commit 75f805508e
3 changed files with 13 additions and 0 deletions

View File

@ -160,6 +160,7 @@ public class XhpcInvoiceController extends BaseController {
return AjaxResult.error("要回显的订单发票id有误");
}
return AjaxResult.success(specificInvoiceWrap);
}
}

View File

@ -30,6 +30,11 @@ public class AllInvoiceOrdersRequest {
*/
@JsonProperty("invoiceType")
private Integer invoiceType;
/**
* 租户id
*/
@JsonProperty("tenantId")
private String tenantId;
/**
* 发票状态0表示未开票1表示已经开票2表示开票失败
*/

View File

@ -74,6 +74,7 @@
SELECT
invoice_id,
invoice_type,
tenant_id,
creator,
creator_type,
invoice_money,
@ -94,6 +95,9 @@
<if test="invoiceType!=null">
and invoice_type = #{invoiceType}
</if>
<if test="tenantId!=null">
and tenant_id = #{tenantId}
</if>
<if test="status!=null">
and status = #{status}
</if>
@ -128,6 +132,9 @@
<if test="invoiceType!=null">
and invoice_type = #{invoiceType}
</if>
<if test="tenantId!=null">
and tenant_id = #{tenantId}
</if>
<if test="status!=null">
and status = #{status}
</if>