Ver Fonte

1.在职转接 离职继承新增标签查询和回复时间段查询

wjj há 3 dias atrás
pai
commit
6525d419c9

+ 2 - 0
fs-service/src/main/java/com/fs/qw/mapper/QwExternalContactMapper.java

@@ -299,6 +299,8 @@ public interface QwExternalContactMapper extends BaseMapper<QwExternalContact> {
             "            <if test=\"lastReplyTime != null \">  and DATE(ec.last_reply_time) &gt;= DATE(#{lastReplyTime})</if>\n" +
             "            <if test=\"sTime != null \">  and DATE(ec.create_time) &gt;= DATE(#{sTime})</if>\n" +
             "            <if test=\"eTime != null \">  and DATE(ec.create_time) &lt;= DATE(#{eTime})</if>\n" +
+            "            <if test=\"sLastReplyTime != null \">  and DATE(ec.last_reply_time) &gt;= DATE(#{sLastReplyTime})</if>\n" +
+            "            <if test=\"eLastReplyTime != null \">  and DATE(ec.last_reply_time) &lt;= DATE(#{eLastReplyTime})</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' \">" +
             "               AND cu.dept_id IN " +

+ 5 - 0
fs-service/src/main/java/com/fs/qw/param/QwExternalContactParam.java

@@ -113,6 +113,11 @@ public class QwExternalContactParam {
     @JsonFormat(pattern = "yyyy-MM-dd")
     private Date sTime;
 
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date sLastReplyTime;
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date eLastReplyTime;
+
     /**
      * 最后回复时间
      */