|
@@ -163,7 +163,7 @@ public class OrderBaseLogic {
|
|
|
.withQuery(boolQueryOrder)
|
|
|
.withPageable(PageRequest.of(1, 1))
|
|
|
.addAggregation(this.getAggs(AggregationBuilders.filter("FWZ", QueryBuilders.boolQuery()
|
|
|
- .must(QueryBuilders.termsQuery("order_status","FWZ","GCSZT","BFWG","DSM","YZP","XSBH","TJXSBH","ZBBH","FZXBH","WDBH"))
|
|
|
+ .must(QueryBuilders.termsQuery("order_status","FWZ","GCSZT","BFWG","DSM","XSBH","TJXSBH","ZBBH","FZXBH","WDBH"))
|
|
|
)))
|
|
|
.build();
|
|
|
SearchHits responseFWZ = elasticsearchRestTemplate.search(searchQueryFWZ, OrderBaseEs.class);
|
|
@@ -460,7 +460,6 @@ public class OrderBaseLogic {
|
|
|
orderStatusList.add(OrderBaseStatusEnum.FWZ.getKey());
|
|
|
orderStatusList.add(OrderBaseStatusEnum.GCSZT.getKey());
|
|
|
orderStatusList.add(OrderBaseStatusEnum.BFWG.getKey());
|
|
|
- orderStatusList.add(OrderBaseStatusEnum.YZP.getKey());
|
|
|
orderStatusList.add(OrderBaseStatusEnum.DSM.getKey());
|
|
|
|
|
|
orderStatusList.add(OrderBaseStatusEnum.WDBH.getKey());
|
|
@@ -658,7 +657,7 @@ public class OrderBaseLogic {
|
|
|
}
|
|
|
|
|
|
if(StringUtils.equals(orderStatus, OrderBaseStatusEnum.FWZ.getKey())) {
|
|
|
- boolQueryOrder .must(QueryBuilders.termsQuery("order_status","FWZ","GCSZT","BFWG","DSM","YZP","XSBH","TJXSBH","ZBBH","FZXBH","WDBH"));
|
|
|
+ boolQueryOrder .must(QueryBuilders.termsQuery("order_status","FWZ","GCSZT","BFWG","DSM","XSBH","TJXSBH","ZBBH","FZXBH","WDBH"));
|
|
|
|
|
|
}
|
|
|
|
|
@@ -902,8 +901,7 @@ public class OrderBaseLogic {
|
|
|
PgOrderBase pgOrderBase = pgOrderBaseService.getById(orderBaseId);
|
|
|
if (!pgOrderBase.getIsImportExcel() && (!(StringUtils.equals(pgOrderBase.getOrderStatus(), OrderBaseStatusEnum.DJD.getKey())
|
|
|
|| StringUtils.equals(pgOrderBase.getOrderStatus(), OrderBaseStatusEnum.DSM.getKey())
|
|
|
- || StringUtils.equals(pgOrderBase.getOrderStatus(), OrderBaseStatusEnum.YZP.getKey()))
|
|
|
- )) {
|
|
|
+ ))) {
|
|
|
throw new RemoteServiceException("当前状态不可接单");
|
|
|
}
|
|
|
|