Closed LanXa7 closed 2 months ago
2024-09-19T21:00:05.786+08:00 INFO 16568 --- [nio-8100-exec-4] o.b.jimmer.sql.runtime.ExecutorForLog : Execute SQL===> Purpose: MUTATE SQL: delete from user_role_mapping where role_id = ? / 6 / Affected row count: 1 JDBC response status: success Time cost: 78ms <===Execute SQL 2024-09-19T21:00:05.849+08:00 INFO 16568 --- [nio-8100-exec-4] o.b.jimmer.sql.runtime.ExecutorForLog : Execute SQL===> Purpose: MUTATE SQL: delete from role_permission_mapping where role_id = ? / 6 / Affected row count: 0 JDBC response status: success Time cost: 63ms <===Execute SQL 2024-09-19T21:00:05.913+08:00 INFO 16568 --- [nio-8100-exec-4] o.b.jimmer.sql.runtime.ExecutorForLog : Execute SQL===> Purpose: COMMAND SQL: update sys_role set DELETED = ? / 1 / where ID = ? / 6 / Affected row count: 1 JDBC response status: success Time cost: 63ms <===Execute SQL
实现逻辑删除了 但是中间表的数据被删除了 按照这里的说法如果不配置的话默认应该是不会被处理的
Try 0.8,179
0.8,179
2024-09-19T21:00:05.786+08:00 INFO 16568 --- [nio-8100-exec-4] o.b.jimmer.sql.runtime.ExecutorForLog : Execute SQL===> Purpose: MUTATE SQL: delete from user_role_mapping where role_id = ? / 6 / Affected row count: 1 JDBC response status: success Time cost: 78ms <===Execute SQL 2024-09-19T21:00:05.849+08:00 INFO 16568 --- [nio-8100-exec-4] o.b.jimmer.sql.runtime.ExecutorForLog : Execute SQL===> Purpose: MUTATE SQL: delete from role_permission_mapping where role_id = ? / 6 / Affected row count: 0 JDBC response status: success Time cost: 63ms <===Execute SQL 2024-09-19T21:00:05.913+08:00 INFO 16568 --- [nio-8100-exec-4] o.b.jimmer.sql.runtime.ExecutorForLog : Execute SQL===> Purpose: COMMAND SQL: update sys_role set DELETED = ? / 1 / where ID = ? / 6 / Affected row count: 1 JDBC response status: success Time cost: 63ms <===Execute SQL
实现逻辑删除了 但是中间表的数据被删除了 按照这里的说法如果不配置的话默认应该是不会被处理的