sys_app_fun_gen.xml 1.4 KB

1234567891011121314151617181920212223242526272829
  1. <sqlMap>
  2. <sql id="insert_sys_app_fun">
  3. insert into sys_app_fun
  4. (`id`,`name`,`code`,`parent`,`inheritance`,`icon`,`imgae`,`url`,`order_num`,`hidden`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`)
  5. values
  6. (?id,?name,?code,?parent,?inheritance,?icon,?imgae,?url,?order_num,?hidden,?create_by,?create_time,?last_update_by,?last_update_time,?del_flag)
  7. </sql>
  8. <sql id="update_sys_app_fun">
  9. update sys_app_fun set
  10. `name` = ?name,`code` = ?code,`parent` = ?parent,`inheritance` = ?inheritance,`icon` = ?icon,`imgae` = ?imgae,`url` = ?url,`order_num` = ?order_num,`hidden` = ?hidden,`create_by` = ?create_by,`create_time` = ?create_time,`last_update_by` = ?last_update_by,`last_update_time` = ?last_update_time,`del_flag` = ?del_flag
  11. where id = ?id
  12. </sql>
  13. <sql id="deleteone_sys_app_fun">
  14. delete from sys_app_fun
  15. where id =?id
  16. </sql>
  17. <sql id="selectone_sys_app_fun">
  18. select
  19. `id`,`name`,`code`,`parent`,`inheritance`,`icon`,`imgae`,`url`,`order_num`,`hidden`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`
  20. from sys_app_fun
  21. where id = ?id
  22. </sql>
  23. <sql id="selectall_sys_app_fun">
  24. select
  25. `id`,`name`,`code`,`parent`,`inheritance`,`icon`,`imgae`,`url`,`order_num`,`hidden`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`
  26. from sys_app_fun
  27. </sql>
  28. </sqlMap>