mirror of
https://github.com/mfish-qf/mfish-nocode.git
synced 2026-09-01 15:09:52 +08:00
feat: 修改pom结构
This commit is contained in:
@@ -16,33 +16,6 @@
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
<!-- Mysql Connector -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
|
||||
@@ -37,14 +37,14 @@ public class SysLogController {
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @param reqSysLog
|
||||
* @return
|
||||
* @param reqSysLog 系统日志请求参数
|
||||
* @return 返回系统日志
|
||||
*/
|
||||
@ApiOperation(value = "系统日志-分页列表查询", notes = "系统日志-分页列表查询")
|
||||
@GetMapping
|
||||
public Result<PageResult<SysLog>> queryPageList(ReqSysLog reqSysLog, ReqPage reqPage) {
|
||||
PageHelper.startPage(reqPage.getPageNum(), reqPage.getPageSize());
|
||||
LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<SysLog>()
|
||||
LambdaQueryWrapper<SysLog> queryWrapper = new LambdaQueryWrapper<SysLog>()
|
||||
.like(reqSysLog.getTitle() != null, SysLog::getTitle, reqSysLog.getTitle())
|
||||
.like(reqSysLog.getMethod() != null, SysLog::getMethod, reqSysLog.getMethod())
|
||||
.eq(reqSysLog.getReqType() != null, SysLog::getReqType, reqSysLog.getReqType())
|
||||
@@ -54,7 +54,8 @@ public class SysLogController {
|
||||
.like(reqSysLog.getOperIp() != null, SysLog::getOperIp, reqSysLog.getOperIp())
|
||||
.eq(reqSysLog.getOperStatus() != null, SysLog::getOperStatus, reqSysLog.getOperStatus())
|
||||
.ge(reqSysLog.getStartTime() != null, SysLog::getCreateTime, reqSysLog.getStartTime())
|
||||
.le(reqSysLog.getEndTime() != null, SysLog::getCreateTime, reqSysLog.getEndTime());
|
||||
.le(reqSysLog.getEndTime() != null, SysLog::getCreateTime, reqSysLog.getEndTime())
|
||||
.orderByDesc(SysLog::getCreateTime);
|
||||
return Result.ok(new PageResult<>(sysLogService.list(queryWrapper)), "系统日志-查询成功!");
|
||||
}
|
||||
|
||||
|
||||
@@ -16,33 +16,6 @@
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
<!-- Mysql Connector -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
|
||||
@@ -16,29 +16,6 @@
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
||||
+12
-12
@@ -34,8 +34,8 @@ public class ${entityName}Controller {
|
||||
/**
|
||||
* 分页列表查询
|
||||
*
|
||||
* @param req${entityName}
|
||||
* @return
|
||||
* @param req${entityName} ${tableInfo.tableComment}请求参数
|
||||
* @return 返回${tableInfo.tableComment}-分页列表
|
||||
*/
|
||||
@ApiOperation(value = "${tableInfo.tableComment}-分页列表查询", notes = "${tableInfo.tableComment}-分页列表查询")
|
||||
@GetMapping
|
||||
@@ -47,8 +47,8 @@ public class ${entityName}Controller {
|
||||
/**
|
||||
* 添加
|
||||
*
|
||||
* @param ${entityName?uncap_first}
|
||||
* @return
|
||||
* @param ${entityName?uncap_first} ${tableInfo.tableComment}对象
|
||||
* @return 返回${tableInfo.tableComment}-添加结果
|
||||
*/
|
||||
@Log(title = "${tableInfo.tableComment}-添加", operateType = OperateType.INSERT)
|
||||
@ApiOperation("${tableInfo.tableComment}-添加")
|
||||
@@ -63,8 +63,8 @@ public class ${entityName}Controller {
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param ${entityName?uncap_first}
|
||||
* @return
|
||||
* @param ${entityName?uncap_first} ${tableInfo.tableComment}对象
|
||||
* @return 返回${tableInfo.tableComment}-编辑结果
|
||||
*/
|
||||
@Log(title = "${tableInfo.tableComment}-编辑", operateType = OperateType.UPDATE)
|
||||
@ApiOperation("${tableInfo.tableComment}-编辑")
|
||||
@@ -79,8 +79,8 @@ public class ${entityName}Controller {
|
||||
/**
|
||||
* 通过id删除
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
* @param id 唯一ID
|
||||
* @return 返回${tableInfo.tableComment}-删除结果
|
||||
*/
|
||||
@Log(title = "${tableInfo.tableComment}-通过id删除", operateType = OperateType.DELETE)
|
||||
@ApiOperation("${tableInfo.tableComment}-通过id删除")
|
||||
@@ -95,8 +95,8 @@ public class ${entityName}Controller {
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids
|
||||
* @return
|
||||
* @param ids 批量ID
|
||||
* @return 返回${tableInfo.tableComment}-删除结果
|
||||
*/
|
||||
@Log(title = "${tableInfo.tableComment}-批量删除", operateType = OperateType.DELETE)
|
||||
@ApiOperation("${tableInfo.tableComment}-批量删除")
|
||||
@@ -111,8 +111,8 @@ public class ${entityName}Controller {
|
||||
/**
|
||||
* 通过id查询
|
||||
*
|
||||
* @param id
|
||||
* @return
|
||||
* @param id 唯一ID
|
||||
* @return 返回${tableInfo.tableComment}对象
|
||||
*/
|
||||
@ApiOperation("${tableInfo.tableComment}-通过id查询")
|
||||
@GetMapping("/{id}")
|
||||
|
||||
@@ -11,6 +11,31 @@
|
||||
|
||||
<artifactId>mf-common-web</artifactId>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringBoot Web -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.com.mfish</groupId>
|
||||
<artifactId>mf-common-swagger</artifactId>
|
||||
|
||||
@@ -11,31 +11,6 @@
|
||||
|
||||
<artifactId>mf-oauth</artifactId>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<!-- SpringBoot Web -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||||
|
||||
@@ -16,33 +16,6 @@
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- SpringCloud Alibaba Nacos -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Nacos Config -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringCloud Alibaba Sentinel -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- SpringBoot Actuator -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
<!-- Mysql Connector -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<spring-boot.version>2.7.3</spring-boot.version>
|
||||
<spring-cloud.version>2021.0.4</spring-cloud.version>
|
||||
<spring-cloud-alibaba.version>2021.0.4.0</spring-cloud-alibaba.version>
|
||||
<alibaba.nacos.version>2.0.4</alibaba.nacos.version>
|
||||
<alibaba.nacos.version>2.2.0</alibaba.nacos.version>
|
||||
<mybatis-plus.version>3.5.2</mybatis-plus.version>
|
||||
<swagger.fox.version>3.0.0</swagger.fox.version>
|
||||
<swagger.core.version>1.6.2</swagger.core.version>
|
||||
|
||||
Reference in New Issue
Block a user