系统催款提示修改#40310
This commit is contained in:
+2
-1
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user