select count(*) from sys_dept where find_in_set("T0001", ancestors) or dept_id="T0001"
select count(*) from sys_dept where ancestors like concat(‘%‘, ‘T0001‘, ‘%‘) or dept_id=‘T0001‘
2023-10-21 22:23:22
select count(*) from sys_dept where find_in_set("T0001", ancestors) or dept_id="T0001"
select count(*) from sys_dept where ancestors like concat(‘%‘, ‘T0001‘, ‘%‘) or dept_id=‘T0001‘
下一篇:JDBC - DBCP连接池