04_dict_slaj_cros_situ.sql 1.0 KB

1234567891011121314151617
  1. -- 字典:跨界情况(堤防工程 att_eng_dike.cros_situ)
  2. -- dict_code / dict_id 由数据库自增生成,无需手动指定
  3. -- 1. 字典类型
  4. INSERT INTO sys_dict_type (dict_name, dict_type, status, create_by, create_time, remark)
  5. VALUES ('跨界情况', 'slaj_cros_situ', '0', 'admin', now(), '堤防工程跨界情况');
  6. -- 2. 字典数据
  7. INSERT INTO sys_dict_data (dict_sort, dict_label, dict_value, dict_type, is_default, status, create_by, create_time, remark)
  8. VALUES
  9. (0, '未知', '0', 'slaj_cros_situ', 'Y', '0', 'admin', now(), NULL),
  10. (1, '跨国并跨省', '1', 'slaj_cros_situ', 'N', '0', 'admin', now(), NULL),
  11. (2, '跨国', '2', 'slaj_cros_situ', 'N', '0', 'admin', now(), NULL),
  12. (3, '跨省', '3', 'slaj_cros_situ', 'N', '0', 'admin', now(), NULL),
  13. (4, '跨地市', '4', 'slaj_cros_situ', 'N', '0', 'admin', now(), NULL),
  14. (5, '跨县', '5', 'slaj_cros_situ', 'N', '0', 'admin', now(), NULL),
  15. (6, '县界内', '6', 'slaj_cros_situ', 'N', '0', 'admin', now(), NULL);