Commit 80abebae authored by 陈明豪's avatar 陈明豪

bug修改

parent 64bdb114
...@@ -267,6 +267,9 @@ public class VisitPersonServiceImpl extends ServiceImpl<VisitPersonRepositorys, ...@@ -267,6 +267,9 @@ public class VisitPersonServiceImpl extends ServiceImpl<VisitPersonRepositorys,
sysUser.setLastDateQueryStart(queryLastDate[0]); sysUser.setLastDateQueryStart(queryLastDate[0]);
sysUser.setLastDateQueryEnd(queryLastDate[1]); sysUser.setLastDateQueryEnd(queryLastDate[1]);
} }
if (sysUser.getSort() == null || sysUser.getSort().equals("")){
sysUser.setSort("1");
}
IPage<SysUser> sysUserIPage = baseMapper.querySysUsersPaged(paginationUtility, sysUser); IPage<SysUser> sysUserIPage = baseMapper.querySysUsersPaged(paginationUtility, sysUser);
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<result column="face_address" jdbcType="VARCHAR" property="faceAddress"/> <result column="face_address" jdbcType="VARCHAR" property="faceAddress"/>
<result column="blacklist_flag" jdbcType="VARCHAR" property="blacklistFlag"/> <result column="blacklist_flag" jdbcType="VARCHAR" property="blacklistFlag"/>
<result column="first_date" jdbcType="TIMESTAMP" property="firstDate"/> <result column="first_date" jdbcType="TIMESTAMP" property="firstDate"/>
<result column="last_date" jdbcType="TIMESTAMP" property="firstDate"/> <result column="last_date" jdbcType="TIMESTAMP" property="lastDate"/>
</resultMap> </resultMap>
<resultMap id="DtoMap" type="org.rcisoft.tencent.dto.UserDto"> <resultMap id="DtoMap" type="org.rcisoft.tencent.dto.UserDto">
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
order BY su.first_date desc order BY su.first_date desc
</if> </if>
<if test="entity.sort == '2'.toString() "><!-- 排序--> <if test="entity.sort == '2'.toString() "><!-- 排序-->
order BY su.first_date desc order BY su.last_date desc
</if> </if>
<if test="entity.sort == '3'.toString() "><!-- 排序--> <if test="entity.sort == '3'.toString() "><!-- 排序-->
order BY su.name desc order BY su.name desc
......
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