Merge branch 'development'
This commit is contained in:
commit
75f805508e
@ -160,6 +160,7 @@ public class XhpcInvoiceController extends BaseController {
|
||||
return AjaxResult.error("要回显的订单发票id有误");
|
||||
}
|
||||
return AjaxResult.success(specificInvoiceWrap);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -30,6 +30,11 @@ public class AllInvoiceOrdersRequest {
|
||||
*/
|
||||
@JsonProperty("invoiceType")
|
||||
private Integer invoiceType;
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@JsonProperty("tenantId")
|
||||
private String tenantId;
|
||||
/**
|
||||
* 发票状态(0表示未开票,1表示已经开票,2表示开票失败)
|
||||
*/
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user