--数据日志添加忽略字段
This commit is contained in:
@ -12,4 +12,5 @@ public interface ExceptionCommonCode {
|
|||||||
*/
|
*/
|
||||||
final BusinessCode DATA_FIELD_DUPLICATION = BusinessCode.of(10501,"字段【{}】不允许重复");
|
final BusinessCode DATA_FIELD_DUPLICATION = BusinessCode.of(10501,"字段【{}】不允许重复");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -122,7 +122,7 @@ public class DataLogTools {
|
|||||||
|
|
||||||
public static final String SQL_LIST = "SELECT * FROM ${TBL_NAME} WHERE entity_id = ? ORDER BY operation_time DESC, flow_id DESC";
|
public static final String SQL_LIST = "SELECT * FROM ${TBL_NAME} WHERE entity_id = ? ORDER BY operation_time DESC, flow_id DESC";
|
||||||
|
|
||||||
public static final Set<String> excludeFields = SetUtils.of("tenantId");
|
public static final Set<String> excludeFields = SetUtils.of("tenantId","dataVersion","tenantId","tenantId","tenantId");
|
||||||
|
|
||||||
|
|
||||||
public static DataChangeLog createLog(Class<?> klazz,OperationType type) {
|
public static DataChangeLog createLog(Class<?> klazz,OperationType type) {
|
||||||
|
|||||||
@ -0,0 +1,45 @@
|
|||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos: #nacos监控
|
||||||
|
config:
|
||||||
|
server-addr: 47.94.165.164:8848 # nacos 配置中心地址
|
||||||
|
namespace: ITC-MS
|
||||||
|
group: DNE
|
||||||
|
username: nacos
|
||||||
|
password: Lng@123
|
||||||
|
extension-configs:
|
||||||
|
- data-id: global-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: discovery-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: datasource-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: seata-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: redis-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: magic-api.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: sa-token.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: camunda.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: sentinel-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
@ -0,0 +1,45 @@
|
|||||||
|
spring:
|
||||||
|
cloud:
|
||||||
|
nacos: #nacos监控
|
||||||
|
config:
|
||||||
|
server-addr: 47.94.165.164:8848 # nacos 配置中心地址
|
||||||
|
namespace: ITC-MS
|
||||||
|
group: DNE
|
||||||
|
username: nacos
|
||||||
|
password: Lng@123
|
||||||
|
extension-configs:
|
||||||
|
- data-id: global-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: discovery-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: datasource-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: seata-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: redis-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: magic-api.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: sa-token.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: camunda.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
|
|
||||||
|
- data-id: sentinel-dev.yml
|
||||||
|
refresh: true
|
||||||
|
group: DNE
|
||||||
Reference in New Issue
Block a user