mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
feat: 增加事由和单据类型过滤条件
This commit is contained in:
@@ -13,6 +13,10 @@ public class WarehouseReportRequest {
|
||||
private LocalDateTime startTime;
|
||||
private LocalDateTime endTime;
|
||||
|
||||
private String reason;
|
||||
|
||||
private String receiptType;
|
||||
|
||||
private String code;
|
||||
|
||||
private String barCode;
|
||||
|
||||
@@ -609,6 +609,12 @@ public class WarehouseReceiptService
|
||||
</#if>
|
||||
<#if endTime??>
|
||||
and re.receipt_date <= :endTime
|
||||
</#if>
|
||||
<#if reason??>
|
||||
and re.reason like '%' || :reason || '%'
|
||||
</#if>
|
||||
<#if receiptType??>
|
||||
and re.receipt_type = :receiptType
|
||||
</#if>
|
||||
|
||||
<#if supplierIds??>
|
||||
|
||||
Reference in New Issue
Block a user