@@ -85,7 +85,7 @@ public interface ChatsMapper extends BaseMapper<Chats> {
" <if test='userName != null and userName != \"\" '>"+
"and (tu.phone like '%${userName}%' or c.user_name like '%${userName}%') " +
" </if>"+
- "and store_id =#{storeId} and (c.store_count !=0 or c.store_count is null)" +
+ "and store_id =#{storeId} and (c.store_count !=0 or c.store_count is null)" +
"order by c.create_time desc" +
"</script>"})
List<Chats> findUnRead(Long storeId, String userName, Long type, String starTime, String endTime);