|
@@ -20,13 +20,8 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
-import java.util.List;
|
|
|
|
|
import java.util.Arrays;
|
|
import java.util.Arrays;
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-import com.ktg.common.core.page.TableDataInfo;
|
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 基础数据Controller
|
|
* 基础数据Controller
|
|
@@ -66,7 +61,7 @@ public class IsSystemAttributeController extends BaseController
|
|
|
page.setSize(-1);
|
|
page.setSize(-1);
|
|
|
page.setCurrent(1);
|
|
page.setCurrent(1);
|
|
|
List<IsSystemAttribute> list = isSystemAttributeService.page(page, Wrappers.<IsSystemAttribute>lambdaQuery()
|
|
List<IsSystemAttribute> list = isSystemAttributeService.page(page, Wrappers.<IsSystemAttribute>lambdaQuery()
|
|
|
- .orderByDesc(IsSystemAttribute::getId)).getRecords();
|
|
|
|
|
|
|
+ .orderByDesc(IsSystemAttribute::getSysAttrId)).getRecords();
|
|
|
ExcelUtil<IsSystemAttribute> util = new ExcelUtil<IsSystemAttribute>(IsSystemAttribute.class);
|
|
ExcelUtil<IsSystemAttribute> util = new ExcelUtil<IsSystemAttribute>(IsSystemAttribute.class);
|
|
|
util.exportExcel(response, list, "基础数据数据");
|
|
util.exportExcel(response, list, "基础数据数据");
|
|
|
}
|
|
}
|