--数据日志忽略主键字段
This commit is contained in:
@ -136,7 +136,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","dataVersion","createUserId","createDate","modifyUserId","modifyDate","modifyDate","deleteMark");
|
public static final Set<String> excludeFields = SetUtils.of("id","tenantId","dataVersion","createUserId","createDate","modifyUserId","modifyDate","modifyDate","deleteMark");
|
||||||
|
|
||||||
|
|
||||||
public static DataChangeLog createLog(Class<?> klazz,OperationType type) {
|
public static DataChangeLog createLog(Class<?> klazz,OperationType type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user