INSERT INTO auth_dept(`name`, `flag`, `remark`, updateTime, code)
values (#{name},
#{flag},
#{remark}, #{updateTime}, #{code})
UPDATE auth_dept
`name`=#{name},`flag`=#{flag},remark=#{remark},code=#{code},updateTime=#{updateTime},
WHERE id=#{id}
delete
from auth_dept
where id = #{id}
delete
from auth_dept