feat:校验

This commit is contained in:
苏竹红
2024-10-13 14:01:53 +08:00
parent 4d149210d5
commit 9ccf1c6753
5 changed files with 45 additions and 6 deletions

View File

@@ -1,25 +1,30 @@
package com.cool.store.vo.shop;
import cn.hutool.core.date.DateUtil;
import com.cool.store.entity.LineAuditInfoDO;
import com.cool.store.entity.ShopAuditInfoDO;
import com.cool.store.entity.ShopStageInfoDO;
import com.cool.store.enums.point.ShopStageEnum;
import com.cool.store.enums.point.ShopSubStageEnum;
import com.cool.store.enums.point.ShopSubStageStatusEnum;
import com.cool.store.utils.CoolDateUtils;
import com.cool.store.vo.AuditInfoVO;
import com.cool.store.vo.LineAuditInfoVO;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.time.DateUtils;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.text.ParseException;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
/**
* @author zhangchenbiao
* @FileName: ShopStageInfoVO
@@ -27,6 +32,7 @@ import java.util.stream.Collectors;
* @date 2024-04-11 17:10
*/
@Data
@Slf4j
public class ShopStageInfoVO {
@ApiModelProperty("店铺阶段")
@@ -70,7 +76,7 @@ public class ShopStageInfoVO {
AuditInfoVO auditInfoVO = AuditInfoVO.convertVO(auditInfo);
shopStageInfo.setAuditInfo(auditInfoVO);
shopStageInfo.setPlanCompleteTime(stageInfo.getPlanCompleteTime());
shopStageInfo.setActualCompleteTime(stageInfo.getActualCompleteTime());
shopStageInfo.setActualCompleteTime(CoolDateUtils.parseStrToStr(CoolDateUtils.DATE_FORMAT_SEC,CoolDateUtils.DATE_FORMAT_SEC1,stageInfo.getActualCompleteTime()));
resultList.add(shopStageInfo);
}
return resultList;