Commit 3f1e4bd4 authored by liuzeheng's avatar liuzeheng

异常状态、审核状态多选

parent 8f5fb78a
...@@ -4,13 +4,11 @@ import com.alibaba.excel.annotation.ExcelProperty; ...@@ -4,13 +4,11 @@ import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Collection; import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
...@@ -107,7 +105,7 @@ public class OrderQueryDTO { ...@@ -107,7 +105,7 @@ public class OrderQueryDTO {
private Integer status; private Integer status;
@ApiModelProperty(value = "订单异常状态(字典 order_abnormal_state)") @ApiModelProperty(value = "订单异常状态(字典 order_abnormal_state)")
private Integer abnormalState; private List<Integer> abnormalState;
@ApiModelProperty(value = "订单入仓状态(字典 order_warehouse_in_status)") @ApiModelProperty(value = "订单入仓状态(字典 order_warehouse_in_status)")
private Integer inWarehouseState; private Integer inWarehouseState;
...@@ -493,7 +491,7 @@ public class OrderQueryDTO { ...@@ -493,7 +491,7 @@ public class OrderQueryDTO {
private Boolean isNeat; private Boolean isNeat;
@ApiModelProperty(value = "审核类型(字典 order_approval_type) 0 为正常") @ApiModelProperty(value = "审核类型(字典 order_approval_type) 0 为正常")
private Integer auditType; private List<Integer> auditType;
@ApiModelProperty(value = "审核结果") @ApiModelProperty(value = "审核结果")
private String auditResult; private String auditResult;
...@@ -549,8 +547,22 @@ public class OrderQueryDTO { ...@@ -549,8 +547,22 @@ public class OrderQueryDTO {
this.status = 5; this.status = 5;
this.transportId = 3; // 空运待出查询,只查空运的订单 this.transportId = 3; // 空运待出查询,只查空运的订单
this.airShipment = 1; this.airShipment = 1;
this.auditType = 0; //this.auditType = 0;
this.abnormalState = 0; if(CollectionUtils.isEmpty(auditType)){
this.auditType= new ArrayList<>();
this.auditType.add(0);
}else {
this.auditType.add(0);
}
//this.abnormalState = 0;
if(CollectionUtils.isEmpty(abnormalState)){
this.abnormalState = new ArrayList<>();
this.abnormalState.add(0) ;
}else {
this.abnormalState.add(0) ;
}
break; break;
case 10502: case 10502:
// 空运可出 // 空运可出
...@@ -574,8 +586,21 @@ public class OrderQueryDTO { ...@@ -574,8 +586,21 @@ public class OrderQueryDTO {
// 兼容空运已入仓的可出、备货中、已备货,且无异常无审批,海运的已入仓无异常无审批 // 兼容空运已入仓的可出、备货中、已备货,且无异常无审批,海运的已入仓无异常无审批
this.airShipment = 20; this.airShipment = 20;
} }
this.auditType = 0; //this.auditType = 0;
this.abnormalState = 0; if(CollectionUtils.isEmpty(auditType)){
this.auditType = new ArrayList<>();
this.auditType.add(0) ;
}else {
this.auditType.add(0) ;
}
//this.abnormalState = 0;
if(CollectionUtils.isEmpty(abnormalState)){
this.abnormalState = new ArrayList<>();
this.abnormalState.add(0) ;
}else {
this.abnormalState.add(0) ;
}
break; break;
case 132411: case 132411:
// 空运已出货 // 空运已出货
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment