| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.lf.server.entity.bd.DlgAgnpEntity; |
| | | import com.lf.server.helper.PathHelper; |
| | | import com.lf.server.helper.ZipHelper; |
| | | import com.lf.server.mapper.bd.DlgAgnpMapper; |
| | | import com.lf.server.service.sys.ArgsService; |
| | | import org.apache.commons.logging.Log; |
| | |
| | | public void run(ApplicationArguments args) { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | | try { |
| | | // "E:\\data\\7.Insar\\insartest.tif","E:\\data\\6.高光谱\\GF5_Cut_1.img","E:\\data\\22.tif\\110.747 sq km.tif","E:\\Test\\Test.gdb" |
| | | // GDAL测试:"E:\\data\\7.Insar\\insartest.tif","E:\\data\\6.高光谱\\GF5_Cut_1.img","E:\\data\\22.tif\\110.747 sq km.tif","E:\\Test\\Test.gdb" |
| | | //GdalHelper.readTif("E:\\data\\7.Insar\\insartest.tif") |
| | | //GdalHelper.readShp("E:\\data\\13.cppe\\shps\\addr.shp"); |
| | | //GdalHelper.readGdb("E:\\Test\\addr.gdb"); |
| | | |
| | | //com.lf.server.helper.RsaHelper.generate(); |
| | | |
| | | //testMybatisPlus(); |
| | | |
| | | pathHelper.init(); |
| | | //boolean f1 = ZipHelper.unzip("D:\\LF\\data\\resources.zip", "D:\\LF\\data\\unzip"); |
| | | boolean f2 = ZipHelper.zip("D:\\LF\\data\\res.zip", "D:\\LF\\data\\unzip\\resources"); |
| | | |
| | | // 初始化 |
| | | pathHelper.init(); |
| | | argsService.initSettingData(); |
| | | |
| | | log.info("***************** 系统启动完毕 *****************" + "\n"); |