Commit dfd5d111 authored by suhuiguang's avatar suhuiguang

1.增加按照时间正序排列

parent a9c8b623
...@@ -767,6 +767,7 @@ LEFT JOIN ( ...@@ -767,6 +767,7 @@ LEFT JOIN (
</otherwise> </otherwise>
</choose> </choose>
and usr.is_delete = false and usr.is_delete = false
order by usr.rec_date
</where> </where>
</select> </select>
<select id="companyDeptListWithPersonCount" <select id="companyDeptListWithPersonCount"
......
...@@ -2067,6 +2067,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp ...@@ -2067,6 +2067,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
if (!StringUtils.isEmpty(orgCode)) { if (!StringUtils.isEmpty(orgCode)) {
wrapper.likeRight(OrgUsr::getBizOrgCode, orgCode); wrapper.likeRight(OrgUsr::getBizOrgCode, orgCode);
} }
wrapper.orderByAsc(BaseEntity::getRecDate);
return this.baseMapper.selectList(wrapper); return this.baseMapper.selectList(wrapper);
} }
......
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