|
@@ -299,6 +299,8 @@ public interface QwExternalContactMapper extends BaseMapper<QwExternalContact> {
|
|
|
" <if test=\"lastReplyTime != null \"> and DATE(ec.last_reply_time) >= DATE(#{lastReplyTime})</if>\n" +
|
|
" <if test=\"lastReplyTime != null \"> and DATE(ec.last_reply_time) >= DATE(#{lastReplyTime})</if>\n" +
|
|
|
" <if test=\"sTime != null \"> and DATE(ec.create_time) >= DATE(#{sTime})</if>\n" +
|
|
" <if test=\"sTime != null \"> and DATE(ec.create_time) >= DATE(#{sTime})</if>\n" +
|
|
|
" <if test=\"eTime != null \"> and DATE(ec.create_time) <= DATE(#{eTime})</if>\n" +
|
|
" <if test=\"eTime != null \"> and DATE(ec.create_time) <= DATE(#{eTime})</if>\n" +
|
|
|
|
|
+ " <if test=\"sLastReplyTime != null \"> and DATE(ec.last_reply_time) >= DATE(#{sLastReplyTime})</if>\n" +
|
|
|
|
|
+ " <if test=\"eLastReplyTime != null \"> and DATE(ec.last_reply_time) <= DATE(#{eLastReplyTime})</if>\n" +
|
|
|
" <if test=\"companyUserName != null and companyUserName != ''\"> and cu.user_name = #{companyUserName}</if>\n" +
|
|
" <if test=\"companyUserName != null and companyUserName != ''\"> and cu.user_name = #{companyUserName}</if>\n" +
|
|
|
" <if test=\"cuDeptIdList != null and !cuDeptIdList.isEmpty() and userType != '00' \">" +
|
|
" <if test=\"cuDeptIdList != null and !cuDeptIdList.isEmpty() and userType != '00' \">" +
|
|
|
" AND cu.dept_id IN " +
|
|
" AND cu.dept_id IN " +
|