|
|
@@ -524,6 +524,16 @@ public class SysUserController extends BaseController {
|
|
|
throw new RuntimeException("导出数据为空!");
|
|
|
}
|
|
|
list = list.stream().filter(e -> "Y".equals(e.getIsManager())).collect(Collectors.toList());
|
|
|
+
|
|
|
+ AtomicInteger xh= new AtomicInteger();
|
|
|
+ xh.getAndIncrement();
|
|
|
+ list.forEach(e->{
|
|
|
+ if (e.getIsManager()==null) {
|
|
|
+ e.setIsManager("N");
|
|
|
+ }
|
|
|
+ e.setXh(String.valueOf(xh.getAndIncrement()));
|
|
|
+ });
|
|
|
+
|
|
|
if (list.size() > 10000) {
|
|
|
throw new RuntimeException("导出数据量过大(单次导出限量10000条数据),请填写条件分批导出");
|
|
|
}
|