insert into sys_data_permission
(`id`,`name`,`code`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`)
values
(?id,?name,?code,?create_by,?create_time,?last_update_by,?last_update_time,?del_flag)
update sys_data_permission set
`name` = ?name,`code` = ?code,`create_by` = ?create_by,`create_time` = ?create_time,`last_update_by` = ?last_update_by,`last_update_time` = ?last_update_time,`del_flag` = ?del_flag
where id = ?id
delete from sys_data_permission
where id =?id
select
`id`,`name`,`code`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`
from sys_data_permission
where id = ?id
select
`id`,`name`,`code`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`
from sys_data_permission