Merge branch 'dev' of http://192.168.124.50:3000/wangliwen/share-platform into dev
This commit is contained in:
commit
091186a0e8
|
@ -353,8 +353,6 @@
|
||||||
<!-- 排除flyway管理的sql -->
|
<!-- 排除flyway管理的sql -->
|
||||||
<exclude>db/*.sql</exclude>
|
<exclude>db/*.sql</exclude>
|
||||||
<exclude>domain/**</exclude>
|
<exclude>domain/**</exclude>
|
||||||
<!-- 日志配置文件 -->
|
|
||||||
<exclude>logback-spring.xml</exclude>
|
|
||||||
</excludes>
|
</excludes>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
|
|
|
@ -34,10 +34,7 @@ import org.springframework.web.bind.annotation.*;
|
||||||
import springfox.documentation.annotations.ApiIgnore;
|
import springfox.documentation.annotations.ApiIgnore;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.util.ArrayList;
|
import java.util.*;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -193,6 +190,8 @@ public class SysUserController {
|
||||||
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
public void export(@ApiIgnore @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||||
params.put("export", true);
|
params.put("export", true);
|
||||||
List<SysUserDTO> list = sysUserService.list(params);
|
List<SysUserDTO> list = sysUserService.list(params);
|
||||||
|
// HIQDUCS-695 默认导出创建时间逆序
|
||||||
|
list = list.stream().sorted(Comparator.comparing(SysUserDTO::getCreateDate).reversed()).collect(Collectors.toList());
|
||||||
ExcelUtils.exportExcelToTarget(response, null, "用户管理", list, SysUserExcel.class);
|
ExcelUtils.exportExcelToTarget(response, null, "用户管理", list, SysUserExcel.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@
|
||||||
<include>*.json</include>
|
<include>*.json</include>
|
||||||
<include>db/*.sql</include>
|
<include>db/*.sql</include>
|
||||||
<include>domain/**</include>
|
<include>domain/**</include>
|
||||||
<include>logback-spring.xml</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>application-bt.yml</exclude>
|
<exclude>application-bt.yml</exclude>
|
||||||
|
@ -66,7 +65,6 @@
|
||||||
</excludes>
|
</excludes>
|
||||||
<filtered>true</filtered>
|
<filtered>true</filtered>
|
||||||
<outputDirectory>${file.separator}config</outputDirectory>
|
<outputDirectory>${file.separator}config</outputDirectory>
|
||||||
<fileMode>0755</fileMode>
|
|
||||||
</fileSet>
|
</fileSet>
|
||||||
|
|
||||||
<!-- 将target目录下的启动jar打包到目录下-->
|
<!-- 将target目录下的启动jar打包到目录下-->
|
||||||
|
|
Loading…
Reference in New Issue