Commit 9b81f405 authored by m1991's avatar m1991

资讯模块——邀请码过滤特殊字符功能功能修复

parent a91bd0a8
......@@ -243,4 +243,13 @@ public interface UsersMapper extends BaseMapper<User> {
*/
List<User> getUserList(Map<String, Object> map);
/**
* 统计用户总记录数
*
* @param map 入参
* @return 结果
*/
int count( Map<String, Object> map);
}
......@@ -460,8 +460,8 @@
<if test="userId != null and userId != ''">
user_id=#{userId}
</if>
<if test="queryTime != null and queryTime != ''">
and `year_month` = #{queryTime}
<if test="create_time != null and queryTime != ''">
and `create_time` = #{queryTime}
</if>
</where>
</select>
......
......@@ -392,6 +392,8 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
map.put("queryTime", date);
}
int total = usersMapper.count(map);
map.put("startNum", queryDto.getStartNum());
map.put("endNum", queryDto.getEndNum());
......
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