| | |
| | | import com.lf.server.entity.all.ResAuthEntity; |
| | | import com.lf.server.entity.bd.DlgAgnpEntity; |
| | | import com.lf.server.helper.AesHelper; |
| | | import com.lf.server.helper.FileHelper; |
| | | import com.lf.server.helper.GdalHelper; |
| | | import com.lf.server.helper.PathHelper; |
| | | 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.show.LocateService; |
| | | import com.lf.server.service.sys.ArgsService; |
| | | import com.lf.server.service.sys.BlacklistService; |
| | | import org.apache.commons.logging.Log; |
| | |
| | | @Autowired |
| | | BlacklistService blacklistService; |
| | | |
| | | @Autowired |
| | | BaseQueryService baseQueryService; |
| | | |
| | | @Autowired |
| | | LocateService locateService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | |
| | | //boolean f4 = Zip4jHelper.unzip("D:\\LF\\data\\zip\\resources.zip", "D:\\LF\\data\\zip\\res", "12345"); |
| | | |
| | | // 初始化 |
| | | GdalHelper.init(); |
| | | pathHelper.init(); |
| | | argsService.initSettingData(); |
| | | |
| | |
| | | } |
| | | |
| | | private void testMybatisPlus() { |
| | | List<String> list0 = dlgAgnpMapper.selectFuzzy("bd.dlg_agnp", "name", "%县%"); |
| | | String s1 = locateService.selectWktById(1); |
| | | |
| | | String tabName = baseQueryService.getTabName(dlgAgnpMapper); |
| | | List<String> list0 = dlgAgnpMapper.selectFieldFuzzy(tabName, "name", "%县%"); |
| | | |
| | | DlgAgnpEntity dlg = dlgAgnpMapper.selectById(1); |
| | | String wkt = dlgAgnpMapper.selectWktById("bd.dlg_agnp", 2); |
| | | String wkt = dlgAgnpMapper.selectWktById(tabName, 2); |
| | | |
| | | Map<String, Object> map = new HashMap<String, Object>(3); |
| | | map.put("gid", 2); |