Commit 8e43079d by 墨竹

fix:查询好友日志修改

parent 728e9b68
...@@ -20,7 +20,8 @@ public class WxUserAddLogSearchQDTO extends BasePageInfo implements Serializable ...@@ -20,7 +20,8 @@ public class WxUserAddLogSearchQDTO extends BasePageInfo implements Serializable
private Date startTime; private Date startTime;
private Date endTime; private Date endTime;
private Integer addChannel; private Integer addChannel;
private String createTimeOrder = "create_time desc";
public String getWxEnterpriseId() { public String getWxEnterpriseId() {
return wxEnterpriseId; return wxEnterpriseId;
} }
...@@ -85,4 +86,11 @@ public class WxUserAddLogSearchQDTO extends BasePageInfo implements Serializable ...@@ -85,4 +86,11 @@ public class WxUserAddLogSearchQDTO extends BasePageInfo implements Serializable
this.addChannel = addChannel; this.addChannel = addChannel;
} }
public String getCreateTimeOrder() {
return createTimeOrder;
}
public void setCreateTimeOrder(String createTimeOrder) {
this.createTimeOrder = createTimeOrder;
}
} }
...@@ -200,6 +200,6 @@ ...@@ -200,6 +200,6 @@
and clerk_id = #{clerkId} and clerk_id = #{clerkId}
</if> </if>
and create_time >= #{startTime} and create_time <![CDATA[<=]]> #{endTime} and create_time >= #{startTime} and create_time <![CDATA[<=]]> #{endTime}
and status_flag != 0 order by create_time desc and status_flag != 0 order by #{createTimeOrder}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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