Commit 90b7348f authored by fangxinjiang's avatar fangxinjiang

紧急联系人查询接口调整

parent 990b7c34
...@@ -143,6 +143,9 @@ public class TEmpContactInfoServiceImpl extends ServiceImpl<TEmpContactInfoMappe ...@@ -143,6 +143,9 @@ public class TEmpContactInfoServiceImpl extends ServiceImpl<TEmpContactInfoMappe
if (Common.isNotNull(searchVo.getEmpIdcard())){ if (Common.isNotNull(searchVo.getEmpIdcard())){
wrapper.eq(TEmpContactInfo::getEmpIdcard,searchVo.getEmpIdcard()); wrapper.eq(TEmpContactInfo::getEmpIdcard,searchVo.getEmpIdcard());
} }
if (Common.isNotNull(searchVo.getEmpId())){
wrapper.eq(TEmpContactInfo::getEmpId,searchVo.getEmpId());
}
if (searchVo.getLimitStart() >= 0 && searchVo.getLimitEnd() > 0) { if (searchVo.getLimitStart() >= 0 && searchVo.getLimitEnd() > 0) {
wrapper.last(" limit " + searchVo.getLimitStart() + "," + searchVo.getLimitEnd()); wrapper.last(" limit " + searchVo.getLimitStart() + "," + searchVo.getLimitEnd());
} }
......
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