fix
This commit is contained in:
@@ -117,8 +117,7 @@ public class OrderSysInfoRequest {
|
|||||||
}
|
}
|
||||||
public Boolean check(){
|
public Boolean check(){
|
||||||
if (Objects.equals(this.type, OrderSysTypeEnum.ORDER_SYS_TYPE_1.getType())){
|
if (Objects.equals(this.type, OrderSysTypeEnum.ORDER_SYS_TYPE_1.getType())){
|
||||||
//todo
|
if (StringUtils.isAnyBlank(this.xgjRegionId,this.xgjVicePresident,this.declareGoodsDate,this.declareGoodsLogisticsWarehouse,this.declareGoodsType)){
|
||||||
if (StringUtils.isAnyBlank(this.xgjRegionId,this.xgjVicePresident,this.declareGoodsDate,this.declareGoodsLogisticsWarehouse)){
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,6 +90,9 @@ public class OperationLogServiceImpl implements OperationLogService {
|
|||||||
public List<AuditInfoResponse> getAuditInfo(Long shopId, List<Integer> shopSubStageList) {
|
public List<AuditInfoResponse> getAuditInfo(Long shopId, List<Integer> shopSubStageList) {
|
||||||
List<AuditInfoResponse> responses = new ArrayList<>();
|
List<AuditInfoResponse> responses = new ArrayList<>();
|
||||||
List<OperationLogDO> logList = operationLogDAO.getByShopSubStage(shopId, shopSubStageList, null);
|
List<OperationLogDO> logList = operationLogDAO.getByShopSubStage(shopId, shopSubStageList, null);
|
||||||
|
if (CollectionUtils.isEmpty(logList)) {
|
||||||
|
return responses;
|
||||||
|
}
|
||||||
Map<Date, List<OperationLogDO>> operationLogMap = logList.stream().collect(Collectors.groupingBy(OperationLogDO::getCreateTime));
|
Map<Date, List<OperationLogDO>> operationLogMap = logList.stream().collect(Collectors.groupingBy(OperationLogDO::getCreateTime));
|
||||||
//根据时间分组
|
//根据时间分组
|
||||||
for (Date date : operationLogMap.keySet()) {
|
for (Date date : operationLogMap.keySet()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user