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