| | |
| | | */ |
| | | @EnableTransactionManagement |
| | | @Configuration |
| | | @MapperScan("com.se.ai.mapper") |
| | | @MapperScan("com.se.simu.mapper") |
| | | public class MybatisPlusConfig { |
| | | /** |
| | | * 新的分页插件,一缓和二缓遵循mybatis的规则,需要设置 |
| | |
| | | } |
| | | |
| | | private void clipDemFile(String filePath, List<GeFile> files, String basePath, String bbox, int epsg) throws Exception { |
| | | String target = basePath + File.separator + demName; |
| | | String target = basePath + File.separator + demFile; |
| | | for (GeFile file : files) { |
| | | if (file.getName().toLowerCase().endsWith(demType)) { |
| | | String source = filePath + File.separator + file.getName(); |
| | |
| | | deny: |
| | | |
| | | mybatis-plus: |
| | | type-aliases-package: com.se.ai.domain |
| | | config-location: classpath:mybatis.xml |
| | | mapper-locations: classpath:mapper/**/*.xml |
| | | |
| | |
| | | <setting name="logImpl" value="NO_LOGGING" /> |
| | | </settings> |
| | | <typeAliases> |
| | | <package name="com.se.ai.domain"/> |
| | | <package name="com.se.simu.domain"/> |
| | | </typeAliases> |
| | | </configuration> |