| | |
| | | import com.lf.server.entity.all.PermsAuthEntity; |
| | | import com.lf.server.entity.all.ResAuthEntity; |
| | | import com.lf.server.entity.bd.DlgagnpEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.md.*; |
| | | import com.lf.server.helper.*; |
| | | import com.lf.server.mapper.bd.DlgagnpMapper; |
| | | import com.lf.server.service.all.BaseQueryService; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.all.UploadAttachService; |
| | | import com.lf.server.service.data.UploadService; |
| | | import com.lf.server.service.show.LocateService; |
| | | import com.lf.server.service.sys.ArgsService; |
| | | import com.lf.server.service.sys.BlacklistService; |
| | |
| | | @Autowired |
| | | ReportService reportService; |
| | | |
| | | @Autowired |
| | | UploadService uploadService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | |
| | | UploadAttachService.init(env.getProperty("sys.attachTabs")); |
| | | pathHelper.init(); |
| | | argsService.initSettingData(); |
| | | //testReadShp(); |
| | | |
| | | log.info("***************** 系统启动完毕 *****************" + "\n"); |
| | | } catch (Exception ex) { |
| | |
| | | } |
| | | } |
| | | |
| | | private void testReadShp() { |
| | | MetaFileEntity mf = new MetaFileEntity(); |
| | | //mf.setPath("D:\\model_data\\m_sitepoint.shp"); |
| | | mf.setPath("D:\\shpto\\m_sitepoint.shp"); |
| | | mf.setEntity("msitepoint"); |
| | | mf.setGuid("msitepoint"); |
| | | mf.setTab("bs.m_sitepoint"); |
| | | mf.setExtName(".shp"); |
| | | |
| | | uploadService.loadSpatialData(mf); |
| | | } |
| | | |
| | | private void testBatchUpdate() { |
| | | DlgagnpEntity d1 = new DlgagnpEntity(); |
| | | d1.setGid(56); |