清除查询上的日志
This commit is contained in:
parent
dc3c75a62c
commit
78be5a048f
|
|
@ -43,7 +43,6 @@ public class BaseAreaController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("getList")
|
@PostMapping("getList")
|
||||||
@ApiMark(moduleName = "区域管理", apiName = "获取区域列表")
|
|
||||||
public ApiResult<PageData<TBaseAreaVO>> getList(@RequestBody BaseAreaQuery query){
|
public ApiResult<PageData<TBaseAreaVO>> getList(@RequestBody BaseAreaQuery query){
|
||||||
//
|
//
|
||||||
return adminBaseAreaService.getList(query);
|
return adminBaseAreaService.getList(query);
|
||||||
|
|
@ -55,7 +54,6 @@ public class BaseAreaController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping("getChild")
|
@GetMapping("getChild")
|
||||||
@MethodInfoMark(value = "获取子级", menuName ="区域管理" )
|
|
||||||
@ApiMark(moduleName = "区域管理", apiName = "获取子级")
|
@ApiMark(moduleName = "区域管理", apiName = "获取子级")
|
||||||
public ApiResult<List<TBaseAreaVO>> getChild(@RequestParam("parentId") Integer parentId ){
|
public ApiResult<List<TBaseAreaVO>> getChild(@RequestParam("parentId") Integer parentId ){
|
||||||
List<TBaseArea> result = baseAreaService.lambdaQuery().eq(TBaseArea::getParentAreaRowId, parentId).list();
|
List<TBaseArea> result = baseAreaService.lambdaQuery().eq(TBaseArea::getParentAreaRowId, parentId).list();
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,6 @@ public class CustomerController extends ControllerBase {
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("getList")
|
@PostMapping("getList")
|
||||||
@MethodInfoMark(value = "获取客户列表" ,menuName = "客户管理")
|
|
||||||
@ApiMark(moduleName = "客户管理", apiName = "获取客户列表")
|
@ApiMark(moduleName = "客户管理", apiName = "获取客户列表")
|
||||||
public ApiResult<PageData<TBaseCustomer>> getList(@RequestBody CustomerQuery query){
|
public ApiResult<PageData<TBaseCustomer>> getList(@RequestBody CustomerQuery query){
|
||||||
Page<TBaseCustomer> result = baseCustomerService.getList(new Page<>(query.getPage(),query.getPageSize()), query);
|
Page<TBaseCustomer> result = baseCustomerService.getList(new Page<>(query.getPage(),query.getPageSize()), query);
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,6 @@ public class DepartmentController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping("getChild")
|
@GetMapping("getChild")
|
||||||
@MethodInfoMark(value = "获取子级",menuName = "部门管理")
|
|
||||||
@ApiMark(moduleName = "部门管理", apiName = "获取子级")
|
@ApiMark(moduleName = "部门管理", apiName = "获取子级")
|
||||||
public ApiResult<List<TBaseDepartment>> getChild(@RequestParam("parentId") Integer parentId ){
|
public ApiResult<List<TBaseDepartment>> getChild(@RequestParam("parentId") Integer parentId ){
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,6 @@ public class DeviceComponentController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("getList")
|
@PostMapping("getList")
|
||||||
@MethodInfoMark(value = "获取设备机型列表", menuName = "机型部件")
|
|
||||||
@ApiMark(moduleName = "机型部件管理", apiName = "获取设备机型列表")
|
@ApiMark(moduleName = "机型部件管理", apiName = "获取设备机型列表")
|
||||||
public ApiResult<PageData<DeviceComponent>> getList(@RequestBody DeviceComponentQuery query){
|
public ApiResult<PageData<DeviceComponent>> getList(@RequestBody DeviceComponentQuery query){
|
||||||
Page<DeviceComponent> result = deviceComponentService.selectListByPage(query);
|
Page<DeviceComponent> result = deviceComponentService.selectListByPage(query);
|
||||||
|
|
@ -69,7 +68,6 @@ public class DeviceComponentController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping("getModelPartList")
|
@GetMapping("getModelPartList")
|
||||||
@MethodInfoMark(value = "获取机型部件列表", menuName = "机型部件")
|
|
||||||
@ApiMark(moduleName = "机型部件管理", apiName = "获取机型部件列表")
|
@ApiMark(moduleName = "机型部件管理", apiName = "获取机型部件列表")
|
||||||
public ApiResult<List<DeviceComponentDetailDTO>> getModelPartList(@RequestParam("deviceComponentId") Integer deviceComponentId){
|
public ApiResult<List<DeviceComponentDetailDTO>> getModelPartList(@RequestParam("deviceComponentId") Integer deviceComponentId){
|
||||||
if (deviceComponentId == null) {
|
if (deviceComponentId == null) {
|
||||||
|
|
@ -138,7 +136,6 @@ public class DeviceComponentController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("importData")
|
@PostMapping("importData")
|
||||||
@MethodInfoMark(value = "导入部件",menuName = "机型部件")
|
|
||||||
@ApiMark(moduleName = "机型部件管理", apiName = "导入部件")
|
@ApiMark(moduleName = "机型部件管理", apiName = "导入部件")
|
||||||
public ApiResult<Boolean> importData( @RequestParam(value = "file") MultipartFile file){
|
public ApiResult<Boolean> importData( @RequestParam(value = "file") MultipartFile file){
|
||||||
|
|
||||||
|
|
@ -160,7 +157,6 @@ public class DeviceComponentController extends ControllerBase {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@GetMapping("exportData")
|
@GetMapping("exportData")
|
||||||
@MethodInfoMark(value = "导出部件",menuName = "机型部件")
|
|
||||||
@ApiMark(moduleName = "机型部件管理", apiName = "导出部件")
|
@ApiMark(moduleName = "机型部件管理", apiName = "导出部件")
|
||||||
public void exportData(HttpServletResponse response) throws IOException {
|
public void exportData(HttpServletResponse response) throws IOException {
|
||||||
EecExcelUtil.setResponseExcelHeader(response,"部件列表");
|
EecExcelUtil.setResponseExcelHeader(response,"部件列表");
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ public class DeviceTypeController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("getList")
|
@PostMapping("getList")
|
||||||
@MethodInfoMark(value = "获取设备类型列表" ,menuName = "设备类型")
|
|
||||||
@ApiMark(moduleName = "设备类型管理", apiName = "获取设备类型列表")
|
@ApiMark(moduleName = "设备类型管理", apiName = "获取设备类型列表")
|
||||||
public ApiResult<PageData<TBaseDeviceTypeVO>> getList(@RequestBody DeviceTypeQuery query){
|
public ApiResult<PageData<TBaseDeviceTypeVO>> getList(@RequestBody DeviceTypeQuery query){
|
||||||
Page<TBaseDeviceType> result = baseDeviceTypeService.getList(new Page<>(query.getPage(),query.getPageSize()), query);
|
Page<TBaseDeviceType> result = baseDeviceTypeService.getList(new Page<>(query.getPage(),query.getPageSize()), query);
|
||||||
|
|
@ -71,7 +70,6 @@ public class DeviceTypeController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("getDeviceTypeForDataSource")
|
@PostMapping("getDeviceTypeForDataSource")
|
||||||
@MethodInfoMark(value = "获取设备类型-下拉数据源" ,menuName = "设备类型")
|
|
||||||
@ApiMark(moduleName = "设备类型管理", apiName = "获取设备类型-下拉数据源")
|
@ApiMark(moduleName = "设备类型管理", apiName = "获取设备类型-下拉数据源")
|
||||||
public ApiResult<List<String>> getDeviceTypeForDataSource(){
|
public ApiResult<List<String>> getDeviceTypeForDataSource(){
|
||||||
return ApiResult.success(baseDeviceTypeService.getDistinctDeviceType());
|
return ApiResult.success(baseDeviceTypeService.getDistinctDeviceType());
|
||||||
|
|
@ -83,7 +81,6 @@ public class DeviceTypeController extends ControllerBase {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("getCqmPersonList")
|
@PostMapping("getCqmPersonList")
|
||||||
@MethodInfoMark(value = "获取客户质量管理人" ,menuName = "设备类型")
|
|
||||||
@ApiMark(moduleName = "设备类型管理", apiName = "获取客户质量管理人")
|
@ApiMark(moduleName = "设备类型管理", apiName = "获取客户质量管理人")
|
||||||
public ApiResult<List<String>> getCqmPersonList(){
|
public ApiResult<List<String>> getCqmPersonList(){
|
||||||
return ApiResult.success(ImmutableList.of("CQM001","CQM002"));
|
return ApiResult.success(ImmutableList.of("CQM001","CQM002"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue