fix
This commit is contained in:
parent
1546ad81f1
commit
2a2bf99239
@ -1,6 +1,7 @@
|
|||||||
package com.sunyard.chsm.model.entity;
|
package com.sunyard.chsm.model.entity;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
@ -30,6 +31,7 @@ public class KeyInfo {
|
|||||||
private LocalDateTime expiredTime;
|
private LocalDateTime expiredTime;
|
||||||
|
|
||||||
private String remark;
|
private String remark;
|
||||||
|
@TableLogic
|
||||||
private Boolean deleted;
|
private Boolean deleted;
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
private LocalDateTime updateTime;
|
private LocalDateTime updateTime;
|
||||||
|
@ -91,7 +91,7 @@ public class KeyInfoServiceImpl implements KeyInfoService {
|
|||||||
LambdaQueryWrapper<KeyInfo> wrapper = new LambdaQueryWrapper<KeyInfo>()
|
LambdaQueryWrapper<KeyInfo> wrapper = new LambdaQueryWrapper<KeyInfo>()
|
||||||
.eq(StringUtils.hasText(query.getKeyType()), KeyInfo::getKeyType, query.getKeyType())
|
.eq(StringUtils.hasText(query.getKeyType()), KeyInfo::getKeyType, query.getKeyType())
|
||||||
.eq(StringUtils.hasText(query.getStatus()), KeyInfo::getStatus, query.getStatus())
|
.eq(StringUtils.hasText(query.getStatus()), KeyInfo::getStatus, query.getStatus())
|
||||||
.eq(KeyInfo::getDeleted, false)
|
// .eq(KeyInfo::getDeleted, false)
|
||||||
.orderByDesc(KeyInfo::getCreateTime);
|
.orderByDesc(KeyInfo::getCreateTime);
|
||||||
if (StringUtils.hasText(query.getStatus())) {
|
if (StringUtils.hasText(query.getStatus())) {
|
||||||
KeyStatus queryStatus = KeyStatus.of(query.getStatus());
|
KeyStatus queryStatus = KeyStatus.of(query.getStatus());
|
||||||
|
@ -55,6 +55,7 @@ mybatis-plus:
|
|||||||
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
||||||
# 原生配置
|
# 原生配置
|
||||||
configuration:
|
configuration:
|
||||||
|
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
|
||||||
map-underscore-to-camel-case: true
|
map-underscore-to-camel-case: true
|
||||||
cache-enabled: false
|
cache-enabled: false
|
||||||
lazy-loading-enabled: false
|
lazy-loading-enabled: false
|
||||||
@ -123,9 +124,10 @@ ignored:
|
|||||||
- /ushield/init/bindUPublickey
|
- /ushield/init/bindUPublickey
|
||||||
- /status/set
|
- /status/set
|
||||||
- /test/setALL
|
- /test/setALL
|
||||||
#logging:
|
logging:
|
||||||
# level:
|
level:
|
||||||
# root: debug
|
root: info
|
||||||
|
com.sunyard.chsm.mapper: debug
|
||||||
# org.springframework.web: trace
|
# org.springframework.web: trace
|
||||||
# config: classpath:log4j2.xml
|
# config: classpath:log4j2.xml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user