| | |
| | | alter table lf.sys_meta add column layer varchar(50); |
| | | comment on column lf.sys_meta.layer is '鍥惧眰'; |
| | | select * from lf.sys_fme_log; |
| | | select * from lf.sys_meta order by guid; |
| | | select * from lf.sys_meta order by guid,tab; -- delete from lf.sys_meta where id> 31; |
| | | -- delete from lf.sys_meta; alter sequence lf.sys_meta_id_seq1 restart with 1; |
| | | |
| | | select * from lf.sys_token where create_time < '2023-01-10'; |
| | |
| | | import org.gdal.ogr.*; |
| | | import org.gdal.osr.SpatialReference; |
| | | |
| | | import javax.swing.plaf.synth.SynthTextAreaUI; |
| | | import java.io.File; |
| | | import java.sql.Time; |
| | | import java.sql.Timestamp; |
| | |
| | | if (!StringHelper.isEmpty(gdalPath)) { |
| | | gdal.SetConfigOption("GDAL_DATA", gdalPath + File.separator + "gdal-data"); |
| | | gdal.SetConfigOption("PROJ_LIB", gdalPath + File.separator + "proj7\\share"); |
| | | // System.setProperty("PROJ_LIB", gdalPath + File.separator + "proj7\\share") |
| | | gdal.SetConfigOption("GDAL_DRIVER_PATH", gdalPath + File.separator + "gdalplugins"); |
| | | |
| | | String path = System.getenv("PATH"); |
| | |
| | | */ |
| | | private String findPathByGuid(List<MetaFileEntity> list, MetaFileEntity mf) { |
| | | for (MetaFileEntity meta : list) { |
| | | if (meta.getGuid().equals(mf.getGuid()) && !meta.getEventid().equals(mf.getEventid())) { |
| | | if (meta.getGuid().equals(mf.getGuid()) && !meta.getPath().equals(mf.getPath())) { |
| | | return meta.getPath(); |
| | | } |
| | | } |
| | |
| | | if (null == old) { |
| | | xlsList.add(mf); |
| | | } else { |
| | | mf.setPath(old.getPath()); |
| | | mf.setTab(old.getTab()); |
| | | mf.setEntity(old.getLayer()); |
| | | mf.setRows(old.getRows()); |