feat():修复缓存3
parent
06a35cd645
commit
e9e32c2ad0
|
@ -7,7 +7,7 @@ nacos:
|
||||||
addr: 123.57.152.124:8848
|
addr: 123.57.152.124:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: yan1
|
namespace: xyr
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package com.muyu.common.cache;
|
package com.muyu.common.cache;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 主键基础
|
* 主键基础
|
||||||
* * @className: PrimaryKeyBasic ️✈️
|
* * @className: PrimaryKeyBasic ️✈️
|
||||||
|
|
|
@ -7,7 +7,7 @@ nacos:
|
||||||
addr: 123.57.152.124:8848
|
addr: 123.57.152.124:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: yan1
|
namespace: xyr
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
|
|
@ -84,7 +84,6 @@ public class SysCar extends BaseEntity{
|
||||||
.append("createTime", getCreateTime())
|
.append("createTime", getCreateTime())
|
||||||
.append("updateBy", getUpdateBy())
|
.append("updateBy", getUpdateBy())
|
||||||
.append("updateTime", getUpdateTime())
|
.append("updateTime", getUpdateTime())
|
||||||
.append("remark", getRemark())
|
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>enterpise-common</artifactId>
|
<artifactId>enterpise-common</artifactId>
|
||||||
|
<version>${muyu.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>enterpise-common</artifactId>
|
<artifactId>enterpise-common</artifactId>
|
||||||
|
<version>${muyu.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- SpringCloud Alibaba Nacos -->
|
<!-- SpringCloud Alibaba Nacos -->
|
||||||
|
|
|
@ -15,5 +15,5 @@ import java.util.List;
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysCarMapper extends BaseMapper<SysCar>{
|
public interface SysCarMapper extends BaseMapper<SysCar>{
|
||||||
|
|
||||||
List<SysCarResp> selectSysCarList(SysCar sysCar);
|
// List<SysCarResp> selectSysCarList(SysCar sysCar);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public interface SysTypeMapper extends BaseMapper<SysCarType> {
|
public interface SysTypeMapper extends BaseMapper<SysCarType> {
|
||||||
|
|
||||||
List<SysCarType> selectSysList();
|
// List<SysCarType> selectSysList();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,8 +39,6 @@ public class SysCarServiceImpl
|
||||||
LambdaQueryWrapper<SysCar> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<SysCar> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
Assert.notNull(id, "id不可为空");
|
Assert.notNull(id, "id不可为空");
|
||||||
queryWrapper.eq(SysCar::getId, id);
|
queryWrapper.eq(SysCar::getId, id);
|
||||||
|
|
||||||
|
|
||||||
return this.getOne(queryWrapper);
|
return this.getOne(queryWrapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class SysTypeServiceImpl
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<SysCarType> selectSysTypeList() {
|
public List<SysCarType> selectSysTypeList() {
|
||||||
return sysTypeMapper.selectSysList();
|
return this.list();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ spring:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: cloud-warn
|
name: cloud-saas
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: dev
|
active: dev
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>enterpise-common</artifactId>
|
<artifactId>enterpise-common</artifactId>
|
||||||
|
<version>${muyu.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ nacos:
|
||||||
addr: 123.57.152.124:8848
|
addr: 123.57.152.124:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: yan1
|
namespace: xyr
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
|
|
@ -7,7 +7,7 @@ nacos:
|
||||||
addr: 123.57.152.124:8848
|
addr: 123.57.152.124:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: yan1
|
namespace: xyr
|
||||||
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
|
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
|
|
@ -99,6 +99,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>enterpise-common</artifactId>
|
<artifactId>enterpise-common</artifactId>
|
||||||
|
<version>${muyu.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- 缓存框架 -->
|
<!-- 缓存框架 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -7,7 +7,7 @@ nacos:
|
||||||
addr: 123.57.152.124:8848
|
addr: 123.57.152.124:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: yan1
|
namespace: xyr
|
||||||
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
|
# SPRING_AMQP_DESERIALIZATION_TRUST_ALL=true spring.amqp.deserialization.trust.all
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
|
|
@ -7,7 +7,7 @@ nacos:
|
||||||
addr: 123.57.152.124:8848
|
addr: 123.57.152.124:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: yan1
|
namespace: xyr
|
||||||
|
|
||||||
# Spring
|
# Spring
|
||||||
spring:
|
spring:
|
||||||
|
|
10
pom.xml
10
pom.xml
|
@ -277,11 +277,11 @@
|
||||||
<version>${muyu.version}</version>
|
<version>${muyu.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>com.muyu</groupId>
|
<!-- <groupId>com.muyu</groupId>-->
|
||||||
<artifactId>enterpise-common</artifactId>
|
<!-- <artifactId>enterpise-common</artifactId>-->
|
||||||
<version>${muyu.version}</version>
|
<!-- <version>${muyu.version}</version>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
|
|
Loading…
Reference in New Issue