StringUtils问题
This commit is contained in:
parent
a7547e84c8
commit
770de7f918
12
pom.xml
12
pom.xml
@ -69,17 +69,7 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>ink.wgink</groupId>
|
<groupId>ink.wgink</groupId>
|
||||||
<artifactId>service-group</artifactId>
|
<artifactId>service-core</artifactId>
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ink.wgink</groupId>
|
|
||||||
<artifactId>service-position</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ink.wgink</groupId>
|
|
||||||
<artifactId>service-role</artifactId>
|
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -245,7 +245,7 @@ public class ApplyStudentsServiceImpl extends DefaultBaseService implements IApp
|
|||||||
@Override
|
@Override
|
||||||
public List<ApplyStudentsDTO> list(Map<String, Object> params) {
|
public List<ApplyStudentsDTO> list(Map<String, Object> params) {
|
||||||
ClassPlanDTO searchClassPlanDto = null;
|
ClassPlanDTO searchClassPlanDto = null;
|
||||||
if(!com.alibaba.excel.util.StringUtils.isEmpty(params.get("planNumber"))) {
|
if(!StringUtils.isEmpty(params.get("planNumber").toString())) {
|
||||||
searchClassPlanDto = classPlanService.get(params);
|
searchClassPlanDto = classPlanService.get(params);
|
||||||
}
|
}
|
||||||
if(null != searchClassPlanDto) {
|
if(null != searchClassPlanDto) {
|
||||||
|
@ -5,12 +5,9 @@ import cn.com.tenlion.dao.classplan.IClassPlanDao;
|
|||||||
import cn.com.tenlion.dao.examcheck.IExamCheckDao;
|
import cn.com.tenlion.dao.examcheck.IExamCheckDao;
|
||||||
import cn.com.tenlion.pojo.bos.applystudentsnew.ApplyStudentsNewBO;
|
import cn.com.tenlion.pojo.bos.applystudentsnew.ApplyStudentsNewBO;
|
||||||
import cn.com.tenlion.pojo.dtos.apply.ApplyDTO;
|
import cn.com.tenlion.pojo.dtos.apply.ApplyDTO;
|
||||||
import cn.com.tenlion.pojo.dtos.applystudents.ApplyStudentsDTO;
|
|
||||||
import cn.com.tenlion.pojo.dtos.applystudentsnew.ApplyStudentsNewDTO;
|
import cn.com.tenlion.pojo.dtos.applystudentsnew.ApplyStudentsNewDTO;
|
||||||
import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO;
|
import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO;
|
||||||
import cn.com.tenlion.pojo.dtos.examapply.ExamApplyDTO;
|
import cn.com.tenlion.pojo.dtos.examapply.ExamApplyDTO;
|
||||||
import cn.com.tenlion.pojo.dtos.examcheck.ExamCheckDTO;
|
|
||||||
import cn.com.tenlion.pojo.dtos.examplan.ExamPlanDTO;
|
|
||||||
import cn.com.tenlion.pojo.dtos.worktype.WorkTypeDTO;
|
import cn.com.tenlion.pojo.dtos.worktype.WorkTypeDTO;
|
||||||
import cn.com.tenlion.pojo.pos.applystudentsnew.ApplyStudentsNewPO;
|
import cn.com.tenlion.pojo.pos.applystudentsnew.ApplyStudentsNewPO;
|
||||||
import cn.com.tenlion.pojo.vos.applystudentsnew.ApplyStudentsNewVO;
|
import cn.com.tenlion.pojo.vos.applystudentsnew.ApplyStudentsNewVO;
|
||||||
@ -24,7 +21,6 @@ import cn.com.tenlion.service.worktype.IWorkTypeService;
|
|||||||
import com.github.pagehelper.PageHelper;
|
import com.github.pagehelper.PageHelper;
|
||||||
import com.github.pagehelper.PageInfo;
|
import com.github.pagehelper.PageInfo;
|
||||||
import ink.wgink.common.base.DefaultBaseService;
|
import ink.wgink.common.base.DefaultBaseService;
|
||||||
import ink.wgink.module.dictionary.pojo.dtos.DataDTO;
|
|
||||||
import ink.wgink.module.dictionary.service.IDataService;
|
import ink.wgink.module.dictionary.service.IDataService;
|
||||||
import ink.wgink.pojo.ListPage;
|
import ink.wgink.pojo.ListPage;
|
||||||
import ink.wgink.pojo.app.AppTokenUser;
|
import ink.wgink.pojo.app.AppTokenUser;
|
||||||
@ -254,7 +250,7 @@ public class ApplyStudentsNewServiceImpl extends DefaultBaseService implements I
|
|||||||
@Override
|
@Override
|
||||||
public List<ApplyStudentsNewDTO> list(Map<String, Object> params) {
|
public List<ApplyStudentsNewDTO> list(Map<String, Object> params) {
|
||||||
ClassPlanDTO searchClassPlanDto = null;
|
ClassPlanDTO searchClassPlanDto = null;
|
||||||
if(!com.alibaba.excel.util.StringUtils.isEmpty(params.get("planNumber"))) {
|
if(!StringUtils.isEmpty(params.get("planNumber").toString())) {
|
||||||
searchClassPlanDto = classPlanService.get(params);
|
searchClassPlanDto = classPlanService.get(params);
|
||||||
}
|
}
|
||||||
if(null != searchClassPlanDto) {
|
if(null != searchClassPlanDto) {
|
||||||
|
@ -186,7 +186,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ExaminationDTO saveExamUser(Map<String, Object> params) throws Exception {
|
public ExaminationDTO saveExamUser(Map<String, Object> params) throws Exception {
|
||||||
if(com.alibaba.excel.util.StringUtils.isEmpty(params.get("examId"))) {
|
if(StringUtils.isEmpty(params.get("examId").toString())) {
|
||||||
throw new SearchException("请传入考试ID");
|
throw new SearchException("请传入考试ID");
|
||||||
}
|
}
|
||||||
// 获取考场分配信息
|
// 获取考场分配信息
|
||||||
@ -233,7 +233,7 @@ public class ExaminationServiceImpl extends DefaultBaseService implements IExami
|
|||||||
public SuccessResultList<List<ExaminationDTO>> resultExamUser(ListPage page) throws SearchException {
|
public SuccessResultList<List<ExaminationDTO>> resultExamUser(ListPage page) throws SearchException {
|
||||||
PageHelper.startPage(page.getPage(), page.getRows());
|
PageHelper.startPage(page.getPage(), page.getRows());
|
||||||
Map<String, Object> params = page.getParams();
|
Map<String, Object> params = page.getParams();
|
||||||
if(com.alibaba.excel.util.StringUtils.isEmpty(params.get("startTime"))) {
|
if(StringUtils.isEmpty(params.get("startTime").toString())) {
|
||||||
throw new SearchException("请传入考试开始时间");
|
throw new SearchException("请传入考试开始时间");
|
||||||
}
|
}
|
||||||
// 先获取所有考务人员
|
// 先获取所有考务人员
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
server:
|
server:
|
||||||
port: 8089
|
port: 8089
|
||||||
url: http://192.168.0.111:8089/signup
|
url: http://127.0.0.1:8089/signup
|
||||||
system-title: 考试报名系统
|
system-title: 考试报名系统
|
||||||
system-sub-title: 考试报名系统
|
system-sub-title: 考试报名系统
|
||||||
default-home-page: indexweb
|
default-home-page: indexweb
|
||||||
@ -26,7 +26,7 @@ spring:
|
|||||||
max-request-size: 1GB
|
max-request-size: 1GB
|
||||||
datasource:
|
datasource:
|
||||||
druid:
|
druid:
|
||||||
url: jdbc:mysql://192.168.0.151:3306/db_baotou_signup?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC
|
url: jdbc:mysql://127.0.0.1:3306/db_examination_signup?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC
|
||||||
db-type: mysql
|
db-type: mysql
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
@ -95,7 +95,7 @@ file:
|
|||||||
# 日志
|
# 日志
|
||||||
logging:
|
logging:
|
||||||
file:
|
file:
|
||||||
name: /projects/logs/e/systemstudy-logs.log
|
name: /Users/wanggeng/Desktop/UploadFiles/logs/e/systemstudy-logs.log
|
||||||
level:
|
level:
|
||||||
root: error
|
root: error
|
||||||
ink.wgink: debug
|
ink.wgink: debug
|
||||||
|
Loading…
Reference in New Issue
Block a user