在后台发票列表接口,添加了租户id字段
This commit is contained in:
parent
0bf00a46d4
commit
cba1b6c681
@ -160,6 +160,7 @@ public class XhpcInvoiceController extends BaseController {
|
|||||||
return AjaxResult.error("要回显的订单发票id有误");
|
return AjaxResult.error("要回显的订单发票id有误");
|
||||||
}
|
}
|
||||||
return AjaxResult.success(specificInvoiceWrap);
|
return AjaxResult.success(specificInvoiceWrap);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,6 +30,11 @@ public class AllInvoiceOrdersRequest {
|
|||||||
*/
|
*/
|
||||||
@JsonProperty("invoiceType")
|
@JsonProperty("invoiceType")
|
||||||
private Integer invoiceType;
|
private Integer invoiceType;
|
||||||
|
/**
|
||||||
|
* 租户id
|
||||||
|
*/
|
||||||
|
@JsonProperty("tenantId")
|
||||||
|
private String tenantId;
|
||||||
/**
|
/**
|
||||||
* 发票状态(0表示未开票,1表示已经开票,2表示开票失败)
|
* 发票状态(0表示未开票,1表示已经开票,2表示开票失败)
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -74,6 +74,7 @@
|
|||||||
SELECT
|
SELECT
|
||||||
invoice_id,
|
invoice_id,
|
||||||
invoice_type,
|
invoice_type,
|
||||||
|
tenant_id,
|
||||||
creator,
|
creator,
|
||||||
creator_type,
|
creator_type,
|
||||||
invoice_money,
|
invoice_money,
|
||||||
@ -94,6 +95,9 @@
|
|||||||
<if test="invoiceType!=null">
|
<if test="invoiceType!=null">
|
||||||
and invoice_type = #{invoiceType}
|
and invoice_type = #{invoiceType}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="tenantId!=null">
|
||||||
|
and tenant_id = #{tenantId}
|
||||||
|
</if>
|
||||||
<if test="status!=null">
|
<if test="status!=null">
|
||||||
and status = #{status}
|
and status = #{status}
|
||||||
</if>
|
</if>
|
||||||
@ -128,6 +132,9 @@
|
|||||||
<if test="invoiceType!=null">
|
<if test="invoiceType!=null">
|
||||||
and invoice_type = #{invoiceType}
|
and invoice_type = #{invoiceType}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="tenantId!=null">
|
||||||
|
and tenant_id = #{tenantId}
|
||||||
|
</if>
|
||||||
<if test="status!=null">
|
<if test="status!=null">
|
||||||
and status = #{status}
|
and status = #{status}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user