This commit is contained in:
xiangwbs
2018-06-23 20:33:46 +08:00
parent ff9e29e311
commit 7ed1ce1ca4
2 changed files with 0 additions and 17 deletions
@@ -205,7 +205,6 @@ public class SysUserService {
CommonEnum.SexEnum sexEnum = Arrays.stream(CommonEnum.SexEnum.values()).filter(obj -> obj.getCode().equals(sysUser.getSex())).findFirst().get();
sysUser.setSexName(sexEnum.getName());
});
pageInfo.setList(all);
}
return page.result(page, pageInfo);
}
@@ -210,20 +210,4 @@
<include refid="table"/>
ORDER BY create_time DESC
</select>
<!--&lt;!&ndash; 统计 &ndash;&gt;-->
<!--<select id="countByPagin" parameterClass="java.util.Map" resultClass="java.lang.Integer">-->
<!--SELECT COUNT(1)-->
<!--FROM-->
<!--<include refid="table"/>-->
<!--<include refid="whereCondition"/>-->
<!--</select>-->
<!--&lt;!&ndash; 分页 &ndash;&gt;-->
<!--<select id="findByPagin" parameterClass="java.util.Map" resultMap="resultMap">-->
<!--SELECT-->
<!--<include refid="columns"/>-->
<!--FROM-->
<!--<include refid="table"/>-->
<!--<include refid="whereCondition"/>-->
<!--order by id desc LIMIT #fromRow#,#pageSize#-->
<!--</select>-->
</mapper>