|
|
@@ -68,13 +68,24 @@ public class CallLogController extends BaseController {
|
|
68
|
68
|
qw.eq(!StringHelper.isEmpty(input.getWorkordercode()), CallLog::getWorkordercode, input.getWorkordercode());
|
|
69
|
69
|
if (!StringHelper.isEmpty(input.getPhone()))
|
|
70
|
70
|
{
|
|
71
|
|
- qw.and(wq->{
|
|
72
|
|
- wq.like(CallLog::getCallee, input.getPhone())
|
|
73
|
|
- .eq( CallLog::getCallType,2);
|
|
74
|
|
- }) .or() .or(wq->{
|
|
75
|
|
- wq.like(CallLog::getCaller, input.getPhone())
|
|
76
|
|
- .eq( CallLog::getCallType,1);
|
|
|
71
|
+// qw.and(wq->{
|
|
|
72
|
+// wq.like(CallLog::getCallee, input.getPhone())
|
|
|
73
|
+// .eq( CallLog::getCallType,2);
|
|
|
74
|
+// }) .or() .or(wq->{
|
|
|
75
|
+// wq.like(CallLog::getCaller, input.getPhone())
|
|
|
76
|
+// .eq( CallLog::getCallType,1);
|
|
|
77
|
+// });
|
|
|
78
|
+ qw.and(wq -> {
|
|
|
79
|
+ wq.and(innerWq -> {
|
|
|
80
|
+ innerWq.like(CallLog::getCallee, input.getPhone())
|
|
|
81
|
+ .eq(CallLog::getCallType, 2);
|
|
|
82
|
+ }).or(innerWq -> {
|
|
|
83
|
+ innerWq.like(CallLog::getCaller, input.getPhone())
|
|
|
84
|
+ .eq(CallLog::getCallType, 1);
|
|
|
85
|
+ });
|
|
77
|
86
|
});
|
|
|
87
|
+
|
|
|
88
|
+
|
|
78
|
89
|
}
|
|
79
|
90
|
if (!StringHelper.isEmpty(input.getAgent()))
|
|
80
|
91
|
{
|