| | |
| | | id serial primary key, |
| | | eventid varchar(38) default new_guid(), |
| | | metaid integer default 0, |
| | | ismeta smallint default 0, |
| | | dirid integer default 0, |
| | | depid integer default 0, |
| | | depcode varchar(24) default '00', |
| | |
| | | comment on column lf.sys_meta.id is '主键ID'; |
| | | comment on column lf.sys_meta.eventid is 'GUID'; |
| | | comment on column lf.sys_meta.metaid is '父源数据ID:0-没有'; |
| | | comment on column lf.sys_meta.ismeta is '是否为元数据'; |
| | | comment on column lf.sys_meta.dirid is '目录ID'; |
| | | comment on column lf.sys_meta.depid is '单位ID'; |
| | | comment on column lf.sys_meta.depcode is '目录编码'; |
| | |
| | | comment on column lf.sys_meta.update_user is '更新人ID'; |
| | | comment on column lf.sys_meta.update_time is '更新时间'; |
| | | comment on column lf.sys_meta.bak is '备注'; |
| | | comment on column lf.sys_meta.geom is '空间位置'; |
| | | comment on column lf.sys_meta.geom is '空间位置 |
| | | -- insert into lf.sys_meta(dirid,depid,geom,sizes,name,path) values (1,1,ST_PolygonFromText('MultiPolygon (((100 0,120 0,120 20,100 20,100 0)))', 4490),0.001,'a.jpg','c:\a.jpg'); |
| | | |
| | | select a.*,st_astext(geom) from lf.sys_meta a; select id,name,dirid,depid,verid,type,sizes,create_user,create_time,update_user,update_time,st_astext(geom) from lf.sys_meta; |