系统催款提示修改#40310

This commit is contained in:
梁琦涛
2021-10-11 09:13:01 +08:00
parent 975cc44d4a
commit e3cd3dd726
@@ -13,6 +13,7 @@ import com.jero.system.vo.SystemRemindersVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.quartz.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -62,7 +63,7 @@ public class SystemRemindersController {
if(Objects.isNull(systemRemindersVO.getFrequency())){
return Result.error("频率不能为空");
}
if(Objects.isNull(systemRemindersVO.getTime())){
if(StringUtils.isEmpty(systemRemindersVO.getTime())){
return Result.error("催款时间不能为空");
}
String cron = "";