From ce5763e2bf5dae2155e95dd44ae2b88fca84f667 Mon Sep 17 00:00:00 2001
From: lihongbiao <964708803@qq.com>
Date: Tue, 15 Jul 2025 20:13:48 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=AE=A2=E6=88=B7=E7=B1=BB?=
=?UTF-8?q?=E5=9E=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../controller/CnCustomerTypeController.java | 125 ------------------
.../modules/system/domain/CnCustomerType.java | 36 -----
.../system/mapper/CnCustomerTypeMapper.java | 18 ---
.../system/service/CnCustomerTypeService.java | 34 -----
.../impl/CnCustomerTypeServiceImpl.java | 48 -------
.../resources/mapper/CnCustomerTypeMapper.xml | 5 -
6 files changed, 266 deletions(-)
delete mode 100644 aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerTypeController.java
delete mode 100644 aircraft-system/src/main/java/com/aircraft/modules/system/domain/CnCustomerType.java
delete mode 100644 aircraft-system/src/main/java/com/aircraft/modules/system/mapper/CnCustomerTypeMapper.java
delete mode 100644 aircraft-system/src/main/java/com/aircraft/modules/system/service/CnCustomerTypeService.java
delete mode 100644 aircraft-system/src/main/java/com/aircraft/modules/system/service/impl/CnCustomerTypeServiceImpl.java
delete mode 100644 aircraft-system/src/main/resources/mapper/CnCustomerTypeMapper.xml
diff --git a/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerTypeController.java b/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerTypeController.java
deleted file mode 100644
index 1991742..0000000
--- a/aircraft-system/src/main/java/com/aircraft/modules/system/controller/CnCustomerTypeController.java
+++ /dev/null
@@ -1,125 +0,0 @@
-package com.aircraft.modules.system.controller;
-
-
-import com.aircraft.annotation.Log;
-import com.aircraft.modules.system.domain.CnCustomerType;
-import com.aircraft.modules.system.service.CnCustomerTypeService;
-import com.aircraft.utils.PageResult;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
-import kotlin.Result;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.dao.DataIntegrityViolationException;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.validation.BindingResult;
-import org.springframework.web.bind.annotation.*;
-
-import javax.validation.Valid;
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-/**
- *
- * 前端控制器
- *
- *
- * @author cli
- * @since 2025-07-09
- */
-@RestController
-@RequestMapping("/cnCustomerType")
-public class CnCustomerTypeController {
-
- private static final Logger LOG = LoggerFactory.getLogger(CnCustomerTypeController.class);
- @Autowired
- private CnCustomerTypeService entityService;
-
- @Log("分页查询客户类型")
- @ApiOperation(value = "分页查询客户类型", notes = "分页查询客户类型")
- @RequestMapping(method = RequestMethod.GET)
- @ApiImplicitParams({@ApiImplicitParam(name = "size", value = "分页大小", paramType = "query"),
- @ApiImplicitParam(name = "current", value = "当前页面:从1开始", paramType = "query")})
- public ResponseEntity> findByPage(final CnCustomerType example, final Page page) {
- PageResult records = entityService.page(example,page);
- return new ResponseEntity<>(records,HttpStatus.OK);
- }
-
- @Log("删除客户类型")
- @ApiOperation(value = "删除客户类型")
- @RequestMapping(value = "{id}", method = {RequestMethod.DELETE})
- @ApiImplicitParam(name = "id", value = "客户类型ID", required = true, paramType = "path")
- public ResponseEntity