Commit a2cbd3ea5764f951fe0e72c610b9f4f0a5d93958
1 parent
45f158682b
Exists in
master
and in
6 other branches
基层辅助建档接口
Showing 2 changed files with 5 additions and 0 deletions
platform-biz-service/src/main/resources/mainOrm/master/AssistBuildMapper.xml
View file @
a2cbd3e
... | ... | @@ -23,7 +23,11 @@ |
23 | 23 | <if test="phone != null and phone != ''"> |
24 | 24 | and phone = #{phone,jdbcType=VARCHAR} |
25 | 25 | </if> |
26 | + <if test="sort != null and sort != '' "> | |
27 | + order by ${sort} | |
28 | + </if> | |
26 | 29 | </select> |
30 | + | |
27 | 31 | |
28 | 32 | <update id="updateAssistBuildUser" parameterType="com.lyms.platform.pojo.AssistBuildUserModel" > |
29 | 33 | UPDATE |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AssistBuildFacade.java
View file @
a2cbd3e
... | ... | @@ -170,6 +170,7 @@ |
170 | 170 | |
171 | 171 | List result = new ArrayList(); |
172 | 172 | ArchiveDataQuery query = new ArchiveDataQuery(); |
173 | + query.setSort(" created desc "); | |
173 | 174 | List<AssistBuildUserModel> userModels = assistBuildService.queryAssistBuildUsers(param); |
174 | 175 | if (CollectionUtils.isNotEmpty(userModels)) { |
175 | 176 | AssistBuildUserModel model = userModels.get(0); |