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