Commit aeb2e6a4 by wangling

标识号类型代码查询修改

parent bda6b3c6
...@@ -101,6 +101,9 @@ public class SpLogServiceImpl implements SpLogService { ...@@ -101,6 +101,9 @@ public class SpLogServiceImpl implements SpLogService {
if(!StringUtil.ckeckEmpty(spLog.getBshlxmc())){ if(!StringUtil.ckeckEmpty(spLog.getBshlxmc())){
predicate.getExpressions().add(cb.equal(root.get("bshlxdm"), spLog.getBshlxmc())); predicate.getExpressions().add(cb.equal(root.get("bshlxdm"), spLog.getBshlxmc()));
} }
if(!StringUtil.ckeckEmpty(spLog.getBshlxdm())){
predicate.getExpressions().add(cb.equal(root.get("bshlxdm"), spLog.getBshlxdm()));
}
if(null != spLog.getStartTime()){ if(null != spLog.getStartTime()){
predicate.getExpressions().add(cb.greaterThanOrEqualTo(root.get("djsj").as(Date.class), spLog.getStartTime())); predicate.getExpressions().add(cb.greaterThanOrEqualTo(root.get("djsj").as(Date.class), spLog.getStartTime()));
} }
......
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