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