1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-06-16 18:30:03 +08:00
This commit is contained in:
duke 2023-06-29 20:34:44 +08:00
parent 426a5fde68
commit 80ef709359

View File

@ -89,7 +89,7 @@ public class AgentSummaryController extends Handler {
List<Predicate> list = new ArrayList<>();
Expression<String> exp = root.<String>get("skill");
list.add(exp.in(organs.keySet()));
list.add(cb.equal(root.get("process").as(boolean.class), 0));
list.add(cb.equal(root.get("process").as(Boolean.class), Boolean.FALSE));
list.add(cb.notEqual(root.get("channel").as(String.class), MainContext.ChannelType.PHONE.toString()));
try {
if (!StringUtils.isBlank(begin) && begin.matches("[\\d]{4}-[\\d]{2}-[\\d]{2}")) {