Commit 2d4bb55c by guojuxing

门店状态查询修复

parent b09f6805
......@@ -611,7 +611,7 @@ public class StoreApiServiceImpl implements StoreApiService {
dynamicSearchDTO.setReturnFileds(returnFileds);
logger.info("es查询条件:{}", JSON.toJSONString(dynamicSearchDTO,true));
ServiceResponse<ESResponseQueryBatchDTO> response = this.esBusinessOperaApiService.queryDataBatch(dynamicSearchDTO, false, null);
logger.info("es查询结果:,{}", JSON.toJSONString(response));
logger.info("es查询结果:,{}", response.getResult().getRes().size());
return response;
}
......@@ -1482,7 +1482,7 @@ public class StoreApiServiceImpl implements StoreApiService {
}
//门店状态
if (storeSearchDTO.getErpStatus() != null) {
json = QueryConditionAssemblyUtil.createSimpleQueryNode(StoreESFieldsEnum.ERPSTATUS.getField(), OperateEnum.OPERATE_EQ, storeSearchDTO.getStatus());
json = QueryConditionAssemblyUtil.createSimpleQueryNode(StoreESFieldsEnum.ERPSTATUS.getField(), OperateEnum.OPERATE_EQ, storeSearchDTO.getErpStatus());
jsonObjectList.add(json);
}
if (storeSearchDTO.getCompleteStatus() != null) {
......
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