sys_area_template_detail_gen.xml 1.4 KB

1234567891011121314151617181920212223242526272829
  1. <sqlMap>
  2. <sql id="insert_sys_area_template_detail">
  3. insert into sys_area_template_detail
  4. (`id`,`temp_id`,`name`,`value`,`type`,`priority`,`content`,`domain`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`)
  5. values
  6. (?id,?temp_id,?name,?value,?type,?priority,?content,?domain,?create_by,?create_time,?last_update_by,?last_update_time,?del_flag)
  7. </sql>
  8. <sql id="update_sys_area_template_detail">
  9. update sys_area_template_detail set
  10. `temp_id` = ?temp_id,`name` = ?name,`value` = ?value,`type` = ?type,`priority` = ?priority,`content` = ?content,`domain` = ?domain,`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_area_template_detail">
  14. delete from sys_area_template_detail
  15. where id =?id
  16. </sql>
  17. <sql id="selectone_sys_area_template_detail">
  18. select
  19. `id`,`temp_id`,`name`,`value`,`type`,`priority`,`content`,`domain`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`
  20. from sys_area_template_detail
  21. where id = ?id
  22. </sql>
  23. <sql id="selectall_sys_area_template_detail">
  24. select
  25. `id`,`temp_id`,`name`,`value`,`type`,`priority`,`content`,`domain`,`create_by`,`create_time`,`last_update_by`,`last_update_time`,`del_flag`
  26. from sys_area_template_detail
  27. </sql>
  28. </sqlMap>