jiaosong
2023-08-18 4d95498b87e61917f50ab2f1d122d48f82a8a99d
server/src/main/java/doumeemes/service/ext/impl/WorkPlansExtServiceImpl.java
@@ -384,7 +384,7 @@
        if(p.getPlanDate() == null){
            throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,第【"+(index+2)+"】行【计划结束日期】数据错误,正确格式为:yyyy-MM-dd(如2022-06-07)!");
        }
        if(p.getPlanDate().getTime() <= p.getStartDate().getTime()){
        if(p.getPlanDate().getTime() < p.getStartDate().getTime()){
            throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,第【"+(index+2)+"】行【计划开始日期】要早于【计划结束日期】!");
        }
        if(StringUtils.isBlank(p.getMaterialCode())){