Commit 927acec9 authored by fangxinjiang's avatar fangxinjiang

查询时间处理

parent ebe8a993
...@@ -442,6 +442,12 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T ...@@ -442,6 +442,12 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T
.le(TEmpEducation::getCreateTime, .le(TEmpEducation::getCreateTime,
entity.getCreateTimes()[1]); entity.getCreateTimes()[1]);
} }
if (Common.isNotNull(entity.getCreateTimeStart())){
wrapper.ge(TEmpEducation::getCreateTime,entity.getCreateTimeStart());
}
if (Common.isNotNull(entity.getCreateTimeEnd())){
wrapper.le(TEmpEducation::getCreateTime,entity.getCreateTimeEnd());
}
if (Common.isNotNull(entity.getEmpName())){ if (Common.isNotNull(entity.getEmpName())){
wrapper.likeRight(TEmpEducation::getEmpName,entity.getEmpName()); wrapper.likeRight(TEmpEducation::getEmpName,entity.getEmpName());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment