¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server; |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| | | |
| | | /** |
| | | * Landåºç¨ç¨åº |
| | | * @author WWW |
| | | * æé¤Securityï¼, exclude = {SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class} |
| | | */ |
| | | @EnableSwagger2 |
| | | @SpringBootApplication(scanBasePackages = {"com.lf.server.*"}) |
| | | public class LfApplication { |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(LfApplication.class, args); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.annotation; |
| | | |
| | | import java.lang.annotation.*; |
| | | |
| | | /** |
| | | * Excel头注解类 |
| | | * @author WWW |
| | | */ |
| | | @Target(ElementType.TYPE) |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | public @interface ExcelHead { |
| | | /** |
| | | * Excelå¤´è¡æ° |
| | | * |
| | | * @return å¤´è¡æ° |
| | | */ |
| | | int headRows() default 1; |
| | | |
| | | /** |
| | | * æé¤çSheetåç§°ï¼å¤ä¸ªç¨éå·éå¼ï¼ |
| | | * |
| | | * @return |
| | | */ |
| | | String excludeSheets() default ""; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.annotation; |
| | | |
| | | import java.lang.annotation.*; |
| | | |
| | | /** |
| | | * ç³»ç»æ¥å¿æ³¨è§£ç±» |
| | | * @author WWW |
| | | */ |
| | | @Target(ElementType.METHOD) |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | @Documented |
| | | public @interface SysLog { |
| | | String value() default ""; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.aspect; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.entity.sys.OperateEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.sys.OperateService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.aspectj.lang.ProceedingJoinPoint; |
| | | import org.aspectj.lang.annotation.Around; |
| | | import org.aspectj.lang.annotation.Aspect; |
| | | import org.aspectj.lang.annotation.Pointcut; |
| | | import org.aspectj.lang.reflect.MethodSignature; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.lang.reflect.Method; |
| | | |
| | | /** |
| | | * æ¥å¿åé¢ç±» |
| | | * @author WWW |
| | | */ |
| | | @Aspect |
| | | @Component |
| | | public class LogAspect { |
| | | @Autowired |
| | | private TokenService tokenService; |
| | | |
| | | @Autowired |
| | | private OperateService operateService; |
| | | |
| | | private final static String SELECT = "/select"; |
| | | |
| | | private final static String INSERT = "/insert"; |
| | | |
| | | private final static String UPDATE = "/update"; |
| | | |
| | | private final static String DELETE = "/delete"; |
| | | |
| | | private final static String UPLOAD = "/upload"; |
| | | |
| | | private final static String DOWNLOAD = "/download"; |
| | | |
| | | private final static String COUNT = "/count"; |
| | | |
| | | private final static String SPLIT = "\\\\"; |
| | | |
| | | private static final Log log = LogFactory.getLog(LogAspect.class); |
| | | |
| | | @Pointcut("@annotation(com.lf.server.annotation.SysLog)") |
| | | public void logPointCut() { |
| | | // |
| | | } |
| | | |
| | | /** |
| | | * ç¯ç»éç¥ @Aroundï¼ä¹å¯ä»¥ä½¿ç¨ @Before (åç½®éç¥) æ @After (åç½®éç¥) |
| | | */ |
| | | @Around("logPointCut()") |
| | | public Object around(ProceedingJoinPoint point) throws Throwable { |
| | | long beginTime = System.currentTimeMillis(); |
| | | |
| | | // æ§è¡æ¹æ³ |
| | | Object result = point.proceed(); |
| | | |
| | | // æ§è¡æ¶é¿(毫ç§) |
| | | long time = System.currentTimeMillis() - beginTime; |
| | | |
| | | // ä¿åæ¥å¿ |
| | | saveLog(point, time); |
| | | |
| | | return result; |
| | | } |
| | | |
| | | /** |
| | | * ä¿åæ¥å¿ |
| | | */ |
| | | private void saveLog(ProceedingJoinPoint joinPoint, long time) { |
| | | try { |
| | | MethodSignature signature = (MethodSignature) joinPoint.getSignature(); |
| | | Class<?> clazz = joinPoint.getTarget().getClass(); |
| | | Method method = signature.getMethod(); |
| | | |
| | | HttpServletRequest req = WebHelper.getRequest(); |
| | | String url = req.getServletPath(); |
| | | |
| | | OperateEntity oe = new OperateEntity(); |
| | | oe.setIp(WebHelper.getIpAddress(req)); |
| | | oe.setUrl(url); |
| | | oe.setExec(time); |
| | | |
| | | // 设置模å |
| | | Api api = clazz.getAnnotation(Api.class); |
| | | if (api != null) { |
| | | String[] strs = api.tags()[0].split(SPLIT); |
| | | oe.setModular1(strs[0]); |
| | | oe.setModular2(strs[1]); |
| | | } |
| | | |
| | | // 设置类å\æ¹æ³åãç±»å« |
| | | oe.setClazz(clazz.getName() + "." + method.getName()); |
| | | oe.setType(getType(method.getName())); |
| | | |
| | | // è®¾ç½®å¤æ³¨ |
| | | SysLog sysLog = method.getAnnotation(SysLog.class); |
| | | if (sysLog != null) { |
| | | oe.setBak(sysLog.value()); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | oe.setUserid(ue.getId()); |
| | | } |
| | | |
| | | operateService.insertOperate(oe); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * è·åæä½ç±»å |
| | | */ |
| | | private static int getType(String methodName) { |
| | | if (methodName.contains(SELECT)) { |
| | | return 1; |
| | | } |
| | | if (methodName.contains(INSERT)) { |
| | | return 2; |
| | | } |
| | | if (methodName.contains(UPDATE)) { |
| | | return 3; |
| | | } |
| | | if (methodName.contains(DELETE)) { |
| | | return 4; |
| | | } |
| | | if (methodName.contains(UPLOAD)) { |
| | | return 5; |
| | | } |
| | | if (methodName.contains(DOWNLOAD)) { |
| | | return 6; |
| | | } |
| | | // methodName.indexOf(COUNT) > -1 |
| | | if (methodName.contains(COUNT)) { |
| | | return 7; |
| | | } |
| | | |
| | | return 0; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.OrderItem; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.lf.server.entity.all.MenusAuthEntity; |
| | | 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.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.show.LocateService; |
| | | import com.lf.server.service.sys.ArgsService; |
| | | import com.lf.server.service.sys.BlacklistService; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.ApplicationArguments; |
| | | import org.springframework.boot.ApplicationRunner; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * åå§å宿é
置类 |
| | | * @author WWW |
| | | */ |
| | | @Component |
| | | @SuppressWarnings("AlibabaRemoveCommentedCode") |
| | | public class InitConfig implements ApplicationRunner { |
| | | private final static Log log = LogFactory.getLog(InitConfig.class); |
| | | |
| | | @Autowired |
| | | PathHelper pathHelper; |
| | | |
| | | @Autowired |
| | | ArgsService argsService; |
| | | |
| | | @Autowired |
| | | DlgagnpMapper dlgagnpMapper; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @Autowired |
| | | BlacklistService blacklistService; |
| | | |
| | | @Autowired |
| | | BaseQueryService baseQueryService; |
| | | |
| | | @Autowired |
| | | LocateService locateService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | | try { |
| | | // 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"); |
| | | //ShpRecord sr = GdalHelper.readShpFirstRecord("D:\\LF\\data\\shp\\extent.shp"); |
| | | |
| | | //com.lf.server.helper.RsaHelper.generate(); |
| | | //testMybatisPlus(); |
| | | //testAes(); |
| | | //testPerms(); |
| | | //testBlacklist(); |
| | | //FloatServerController.test(); |
| | | //testReadExcel(); |
| | | |
| | | //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"); |
| | | //boolean f3 = Zip4jHelper.zip("D:\\LF\\data\\zip\\resources.zip", "D:\\LF\\data\\zip\\resources", "12345"); |
| | | //boolean f4 = Zip4jHelper.unzip("D:\\LF\\data\\zip\\resources.zip", "D:\\LF\\data\\zip\\res", "12345"); |
| | | |
| | | // åå§å |
| | | GdalHelper.init(); |
| | | pathHelper.init(); |
| | | argsService.initSettingData(); |
| | | |
| | | log.info("***************** ç³»ç»å¯å¨å®æ¯ *****************" + "\n"); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | |
| | | private void testMybatisPlus() { |
| | | 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(tabName, 2); |
| | | |
| | | Map<String, Object> map = new HashMap<String, Object>(3); |
| | | map.put("gid", 2); |
| | | List<DlgagnpEntity> list1 = dlgagnpMapper.selectByMap(map); |
| | | |
| | | QueryWrapper<DlgagnpEntity> w1 = new QueryWrapper<>(); |
| | | w1.eq("name", "æ²»å¤å¿"); |
| | | List<DlgagnpEntity> list2 = dlgagnpMapper.selectList(w1); |
| | | |
| | | UpdateWrapper<DlgagnpEntity> w2 = new UpdateWrapper<DlgagnpEntity>(); |
| | | // è®¾ç½®æ´æ°å
容 |
| | | w2.set("name", "newName").set("gb", "10013") |
| | | // è®¾ç½®æ´æ°æ¡ä»¶ |
| | | .eq("gid", 0); |
| | | // dlgagnpMapper.update(null, w2) |
| | | |
| | | List<Integer> ids = new ArrayList<Integer>(); |
| | | ids.add(1); |
| | | ids.add(2); |
| | | // dlgagnpMapper.deleteBatchIds(ids) |
| | | List<DlgagnpEntity> list3 = dlgagnpMapper.selectBatchIds(ids); |
| | | |
| | | // dlgagnpMapper.updateById(dlg) |
| | | // List<DlgAgnp> all = dlgagnpMapper.selectList(null) |
| | | |
| | | // é¡µæ° / æ¯é¡µè®°å½æ° |
| | | Page<DlgagnpEntity> page = new Page<>(1, 10); |
| | | // ååºæåº |
| | | page.addOrder(OrderItem.asc("gid")); |
| | | // å页ï¼Wrapperæ¥è¯¢æ¡ä»¶ |
| | | Page<DlgagnpEntity> userPage = dlgagnpMapper.selectPage(page, null); |
| | | // æ»é¡µæ° / æ»è®°å½æ°ï¼325 / 3247 |
| | | String str = userPage.getPages() + " / " + userPage.getTotal(); |
| | | List<DlgagnpEntity> list4 = userPage.getRecords(); |
| | | |
| | | QueryWrapper<DlgagnpEntity> w3 = new QueryWrapper<>(); |
| | | w3.like("name", "å¤").ge("gid", 100); |
| | | List<DlgagnpEntity> list5 = dlgagnpMapper.selectList(w3); |
| | | } |
| | | |
| | | private void testAes() { |
| | | try { |
| | | String content = "POLYGON ((115.94927385452 32.3754479115071 0,121.989371092554 32.2766788010181 0,121.850621222894 29.6874200067864 0,115.9727267226 29.7835368627922 0,115.94927385452 32.3754479115071 0))"; |
| | | System.out.println("å å¯åï¼" + content); |
| | | String encrypt = AesHelper.encrypt(content); |
| | | |
| | | System.out.println("å å¯åï¼" + encrypt); |
| | | String decrypt = AesHelper.decrypt(encrypt); |
| | | |
| | | System.out.println("è§£å¯åï¼" + decrypt); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | |
| | | private void testPerms() { |
| | | List<ResAuthEntity> raeList = permsService.selectRes("admin"); |
| | | List<ResAuthEntity> raeList2 = permsService.selectRes("admin"); |
| | | |
| | | List<MenusAuthEntity> maeList = permsService.selectMenus("admin"); |
| | | List<MenusAuthEntity> maeList2 = permsService.selectMenus("admin"); |
| | | |
| | | List<String> pList = permsService.selectPerms("admin"); |
| | | List<String> pList2 = permsService.selectPerms("admin"); |
| | | |
| | | List<PermsAuthEntity> pauList = permsService.selectPermsEntity("admin"); |
| | | List<PermsAuthEntity> pauList2 = permsService.selectPermsEntity("admin"); |
| | | |
| | | permsService.clearResCache(); |
| | | permsService.clearPermsCache(); |
| | | |
| | | raeList = permsService.selectRes("admin"); |
| | | maeList = permsService.selectMenus("admin"); |
| | | pList = permsService.selectPerms("admin"); |
| | | pauList = permsService.selectPermsEntity("admin"); |
| | | permsService.clearAllCache(); |
| | | } |
| | | |
| | | private void testBlacklist() { |
| | | List<String> list1 = blacklistService.selectIpList(1); |
| | | List<String> list2 = blacklistService.selectIpList(1); |
| | | List<String> list3 = blacklistService.selectIpList(2); |
| | | List<String> list4 = blacklistService.selectIpList(2); |
| | | blacklistService.clearCache(); |
| | | List<String> list5 = blacklistService.selectIpList(1); |
| | | } |
| | | |
| | | private void testReadExcel() { |
| | | List<MdZxcgEntity> listMdZxcg = ExcelHelper.readExcel(MdZxcgEntity.class, "D:\\LF\\data\\xls\\æµç»\\1-é¡¹ç®ææ-西ä¸ä¸\\1-1ä¸çº¿ææè¡¨\\æµ·åå¿ä¸çº¿ææè¡¨.xlsx"); |
| | | int r1 = listMdZxcg.size(); |
| | | |
| | | //List<MdGdcgEntity> listGdcg = ExcelHelper.readExcel(MdGdcgEntity.class, "D:\\LF\\data\\xls\\æµç»\\2-å°ä¸ç®¡çº¿æ¢æµææ\\2-2 管线ææè¡¨.xlsx"); |
| | | //int r2 = listGdcg.size(); |
| | | |
| | | String entityName = "Gxcg"; |
| | | String xls = "D:\\LF\\data\\xls\\æµç»\\2-å°ä¸ç®¡çº¿æ¢æµææ\\2-2 管线ææè¡¨.xlsx"; |
| | | |
| | | String className = "com.lf.server.entity.bs." + entityName; |
| | | Object obj = ClassHelper.createInstance(className); |
| | | |
| | | List<?> list = ExcelHelper.readExcel(obj.getClass(), xls); |
| | | int r3 = list.size(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.DbType; |
| | | import com.baomidou.mybatisplus.autoconfigure.ConfigurationCustomizer; |
| | | import com.baomidou.mybatisplus.core.MybatisConfiguration; |
| | | import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor; |
| | | import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor; |
| | | import com.lf.server.extend.CustomizedSqlInjector; |
| | | import org.apache.ibatis.type.JdbcType; |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.transaction.annotation.EnableTransactionManagement; |
| | | |
| | | /** |
| | | * Mybatis-Pluså页é
ç½® |
| | | * @author WWW |
| | | */ |
| | | @EnableTransactionManagement |
| | | @Configuration |
| | | @MapperScan("com.lf.server.mapper") |
| | | public class MybatisPlusConfig { |
| | | /** |
| | | * æ°çå页æä»¶,ä¸ç¼åäºç¼éµå¾ªmybatisçè§å,éè¦è®¾ç½® |
| | | * MybatisConfiguration#useDeprecatedExecutor = false |
| | | * é¿å
ç¼ååºç°é®é¢(è¯¥å±æ§ä¼å¨æ§æä»¶ç§»é¤åä¸åç§»é¤) |
| | | */ |
| | | @Bean |
| | | public MybatisPlusInterceptor mybatisPlusInterceptor() { |
| | | MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor(); |
| | | interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.POSTGRE_SQL)); |
| | | return interceptor; |
| | | } |
| | | |
| | | @Bean |
| | | public ConfigurationCustomizer configurationCustomizer() { |
| | | return new ConfigurationCustomizer() { |
| | | @Override |
| | | public void customize(MybatisConfiguration configuration) { |
| | | configuration.setCacheEnabled(true); |
| | | configuration.setMapUnderscoreToCamelCase(true); |
| | | configuration.setCallSettersOnNulls(true); |
| | | configuration.setJdbcTypeForNull(JdbcType.NULL); |
| | | } |
| | | }; |
| | | } |
| | | |
| | | @Bean |
| | | public CustomizedSqlInjector customizedSqlInjector() { |
| | | return new CustomizedSqlInjector(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.context.annotation.Configuration; |
| | | |
| | | /** |
| | | * 屿§é
置类 |
| | | * @author WWW |
| | | */ |
| | | @Configuration |
| | | @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") |
| | | public class PropertiesConfig { |
| | | @Value("${sys.path.download}") |
| | | private String downloadPath; |
| | | |
| | | @Value("${sys.path.upload}") |
| | | private String uploadPath; |
| | | |
| | | @Value("${sys.path.share}") |
| | | private String sharePath; |
| | | |
| | | @Value("${sys.path.temp}") |
| | | private String tempPath; |
| | | |
| | | // @Value("${spring.datasource.druid.stat-view-servlet.login-username}") |
| | | private String druidUser; |
| | | |
| | | // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") |
| | | private String druidPwd; |
| | | |
| | | public String getDruidUser() { |
| | | return druidUser; |
| | | } |
| | | |
| | | public void setDruidUser(String druidUser) { |
| | | this.druidUser = druidUser; |
| | | } |
| | | |
| | | public String getDruidPwd() { |
| | | return druidPwd; |
| | | } |
| | | |
| | | public void setDruidPwd(String druidPwd) { |
| | | this.druidPwd = druidPwd; |
| | | } |
| | | |
| | | public String getDownloadPath() { |
| | | return downloadPath; |
| | | } |
| | | |
| | | public void setDownloadPath(String downloadPath) { |
| | | this.downloadPath = downloadPath; |
| | | } |
| | | |
| | | public String getUploadPath() { |
| | | return uploadPath; |
| | | } |
| | | |
| | | public void setUploadPath(String uploadPath) { |
| | | this.uploadPath = uploadPath; |
| | | } |
| | | |
| | | public String getSharePath() { |
| | | return sharePath; |
| | | } |
| | | |
| | | public void setSharePath(String sharePath) { |
| | | this.sharePath = sharePath; |
| | | } |
| | | |
| | | public String getTempPath() { |
| | | return tempPath; |
| | | } |
| | | |
| | | public void setTempPath(String tempPath) { |
| | | this.tempPath = tempPath; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonAutoDetect; |
| | | import com.fasterxml.jackson.annotation.PropertyAccessor; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import org.springframework.boot.autoconfigure.AutoConfigureAfter; |
| | | import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration; |
| | | import org.springframework.cache.Cache; |
| | | import org.springframework.cache.annotation.CachingConfigurerSupport; |
| | | import org.springframework.cache.interceptor.CacheErrorHandler; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.data.redis.connection.RedisConnectionFactory; |
| | | import org.springframework.data.redis.core.RedisTemplate; |
| | | import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer; |
| | | import org.springframework.data.redis.serializer.StringRedisSerializer; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * Redisé
置类 |
| | | * @author WWW |
| | | */ |
| | | @Configuration |
| | | @AutoConfigureAfter(RedisAutoConfiguration.class) |
| | | public class RedisConfig extends CachingConfigurerSupport { |
| | | /** |
| | | * é
ç½®èªå®ä¹redisTemplate |
| | | */ |
| | | @SuppressWarnings("deprecation") |
| | | @Bean |
| | | public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory redisConnectionFactory) { |
| | | RedisTemplate<String, Object> template = new RedisTemplate<>(); |
| | | template.setConnectionFactory(redisConnectionFactory); |
| | | |
| | | // 使ç¨Jackson2JsonRedisSerializeræ¥åºåååååºååredisçvalueå¼ |
| | | Jackson2JsonRedisSerializer<Object> serializer = new Jackson2JsonRedisSerializer<Object>(Object.class); |
| | | |
| | | ObjectMapper mapper = new ObjectMapper(); |
| | | mapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); |
| | | mapper.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL); |
| | | serializer.setObjectMapper(mapper); |
| | | |
| | | template.setValueSerializer(serializer); |
| | | |
| | | //使ç¨StringRedisSerializeræ¥åºåååååºååredisçkeyå¼ |
| | | template.setKeySerializer(new StringRedisSerializer()); |
| | | template.setHashKeySerializer(new StringRedisSerializer()); |
| | | template.setHashValueSerializer(serializer); |
| | | template.afterPropertiesSet(); |
| | | |
| | | return template; |
| | | } |
| | | |
| | | @Bean |
| | | @Override |
| | | public CacheErrorHandler errorHandler() { |
| | | // å¼å¸¸å¤çï¼å½Redisåçå¼å¸¸æ¶ï¼æå°æ¥å¿ï¼ä½æ¯ç¨åºæ£å¸¸èµ° |
| | | return new CacheErrorHandler() { |
| | | @Override |
| | | public void handleCacheGetError(RuntimeException e, Cache cache, Object key) { |
| | | Map<String, Object> error = new HashMap<String, Object>(3); |
| | | error.put("e", e); |
| | | error.put("cache", cache); |
| | | error.put("key", key); |
| | | } |
| | | |
| | | @Override |
| | | public void handleCachePutError(RuntimeException e, Cache cache, Object key, Object value) { |
| | | Map<String, Object> error = new HashMap<String, Object>(4); |
| | | error.put("e", e); |
| | | error.put("cache", cache); |
| | | error.put("key", key); |
| | | error.put("value", value); |
| | | } |
| | | |
| | | @Override |
| | | public void handleCacheEvictError(RuntimeException e, Cache cache, Object key) { |
| | | Map<String, Object> error = new HashMap<String, Object>(3); |
| | | error.put("e", e); |
| | | error.put("cache", cache); |
| | | error.put("key", key); |
| | | } |
| | | |
| | | @Override |
| | | public void handleCacheClearError(RuntimeException e, Cache cache) { |
| | | Map<String, Object> error = new HashMap<String, Object>(2); |
| | | error.put("e", e); |
| | | error.put("cache", cache); |
| | | } |
| | | }; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import org.apache.http.client.HttpClient; |
| | | import org.apache.http.impl.client.HttpClientBuilder; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.http.client.ClientHttpRequestFactory; |
| | | import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; |
| | | import org.springframework.http.client.SimpleClientHttpRequestFactory; |
| | | import org.springframework.http.converter.HttpMessageConverter; |
| | | import org.springframework.http.converter.StringHttpMessageConverter; |
| | | import org.springframework.web.client.RestTemplate; |
| | | |
| | | import java.nio.charset.StandardCharsets; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Rest模æ¿é
置类 |
| | | * @author WWW |
| | | */ |
| | | @Configuration |
| | | @ConditionalOnClass(value = {RestTemplate.class, HttpClient.class}) |
| | | public class RestTemplateConfig { |
| | | /** |
| | | * è¿æ¥æ± çæå¤§è¿æ¥æ°é»è®¤ä¸º0 |
| | | */ |
| | | @Value("${remote.maxTotalConnect:0}") |
| | | private int maxTotalConnect; |
| | | |
| | | /** |
| | | * å个主æºçæå¤§è¿æ¥æ° |
| | | */ |
| | | @Value("${remote.maxConnectPerRoute:1000}") |
| | | private int maxConnectPerRoute; |
| | | |
| | | /** |
| | | * è¿æ¥è¶
æ¶é»è®¤5s |
| | | */ |
| | | @Value("${remote.connectTimeout:5000}") |
| | | private int connectTimeout; |
| | | |
| | | /** |
| | | * 读åè¶
æ¶é»è®¤30s |
| | | */ |
| | | @Value("${remote.readTimeout:30000}") |
| | | private int readTimeout; |
| | | |
| | | /** |
| | | * å建HTTP客æ·ç«¯å·¥å |
| | | * |
| | | * @return 客æ·ç«¯å·¥å |
| | | */ |
| | | private ClientHttpRequestFactory createFactory() { |
| | | if (this.maxTotalConnect <= 0) { |
| | | SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory(); |
| | | factory.setConnectTimeout(this.connectTimeout); |
| | | factory.setReadTimeout(this.readTimeout); |
| | | return factory; |
| | | } |
| | | |
| | | HttpClient httpClient = HttpClientBuilder.create().setMaxConnTotal(this.maxTotalConnect).setMaxConnPerRoute(this.maxConnectPerRoute).build(); |
| | | |
| | | HttpComponentsClientHttpRequestFactory factory = new HttpComponentsClientHttpRequestFactory(httpClient); |
| | | factory.setConnectTimeout(this.connectTimeout); |
| | | factory.setReadTimeout(this.readTimeout); |
| | | |
| | | return factory; |
| | | } |
| | | |
| | | /** |
| | | * åå§åRestTemplate,å¹¶å å
¥springçBeanå·¥åï¼ç±springç»ä¸ç®¡ç |
| | | * å¿
é¡»å æ³¨è§£@LoadBalanced |
| | | * |
| | | * @return |
| | | */ |
| | | @Bean |
| | | @ConditionalOnMissingBean(RestTemplate.class) |
| | | public RestTemplate getRestTemplate() { |
| | | RestTemplate restTemplate = new RestTemplate(this.createFactory()); |
| | | List<HttpMessageConverter<?>> converterList = restTemplate.getMessageConverters(); |
| | | |
| | | // éæ°è®¾ç½®StringHttpMessageConverterå符é为UTF-8ï¼è§£å³ä¸æä¹±ç é®é¢ |
| | | HttpMessageConverter<?> converterTarget = null; |
| | | for (HttpMessageConverter<?> item : converterList) { |
| | | if (StringHttpMessageConverter.class == item.getClass()) { |
| | | converterTarget = item; |
| | | break; |
| | | } |
| | | } |
| | | if (null != converterTarget) { |
| | | converterList.remove(converterTarget); |
| | | } |
| | | converterList.add(1, new StringHttpMessageConverter(StandardCharsets.UTF_8)); |
| | | |
| | | return restTemplate; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.alibaba.fastjson.serializer.SerializerFeature; |
| | | import com.lf.server.service.all.ScheduleService; |
| | | import com.lf.server.service.all.WebSocketService; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.EnableScheduling; |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | /** |
| | | * æ¥ç¨é
置类 |
| | | * @author WWW |
| | | */ |
| | | @Component |
| | | @EnableScheduling |
| | | public class ScheduleConfig { |
| | | @Autowired |
| | | private ScheduleService scheduleService; |
| | | |
| | | private static final Log log = LogFactory.getLog(ScheduleConfig.class); |
| | | |
| | | @Scheduled(fixedRate = 10 * 1000) |
| | | public void pushMonitorInfo() { |
| | | try { |
| | | JSONObject jsonObject = new JSONObject(); |
| | | |
| | | // æ¥è¯¢Cpuä¿¡æ¯ |
| | | jsonObject.put("cpuInfo", scheduleService.selectCpuInfo()); |
| | | // æ¥è¯¢å
åä¿¡æ¯ |
| | | jsonObject.put("memInfo", scheduleService.selectMemInfo()); |
| | | // æ¥è¯¢å¨çº¿ç¨æ· |
| | | jsonObject.put("userInfo", scheduleService.selectOnlineUsers()); |
| | | |
| | | String json = JSONObject.toJSONStringWithDateFormat(jsonObject, "yyyy-MM-dd HH:mm:ss", SerializerFeature.WriteMapNullValue); |
| | | |
| | | WebSocketService.broadCastInfo(json); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | |
| | | @Scheduled(fixedRate = 20 * 1000) |
| | | public void checkSystemStatus() { |
| | | try { |
| | | JSONObject jsonObject = new JSONObject(); |
| | | |
| | | // æ¥è¯¢æå¡èµæºç¶æ |
| | | jsonObject.put("resInfo", scheduleService.selectResStatus()); |
| | | |
| | | String json = JSONObject.toJSONStringWithDateFormat(jsonObject, "yyyy-MM-dd HH:mm:ss", SerializerFeature.WriteMapNullValue); |
| | | |
| | | WebSocketService.broadCastInfo(json); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | |
| | | @Scheduled(fixedRate = 40 * 1000) |
| | | public void countSystemStatus() { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | | try { |
| | | JSONObject jsonObject = new JSONObject(); |
| | | |
| | | // æå¡èµæºç¶æ sys_res |
| | | jsonObject.put("resUseCount", scheduleService.countResStatus()); |
| | | |
| | | // ç¨æ·ç»å½ç¶æ sys_login |
| | | jsonObject.put("userLoginCount", scheduleService.userLoginCount()); |
| | | |
| | | // èµæºæä½ç¶æ sys_operate |
| | | jsonObject.put("operateCount", scheduleService.operateCount()); |
| | | |
| | | // èµæºè°ç¨ç¶æ |
| | | |
| | | String json = JSONObject.toJSONStringWithDateFormat(jsonObject, "yyyy-MM-dd HH:mm:ss", SerializerFeature.WriteMapNullValue); |
| | | |
| | | WebSocketService.broadCastInfo(json); |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import springfox.documentation.builders.ApiInfoBuilder; |
| | | import springfox.documentation.builders.PathSelectors; |
| | | import springfox.documentation.builders.RequestHandlerSelectors; |
| | | import springfox.documentation.service.*; |
| | | import springfox.documentation.spi.DocumentationType; |
| | | import springfox.documentation.spi.service.contexts.SecurityContext; |
| | | import springfox.documentation.spring.web.plugins.Docket; |
| | | import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Swaggeré
置类 |
| | | * @author www |
| | | */ |
| | | @Configuration |
| | | @EnableSwagger2 |
| | | public class SwaggerConfig { |
| | | private List<ApiKey> securitySchemes() { |
| | | List<ApiKey> apiKeys = new ArrayList<ApiKey>(); |
| | | apiKeys.add(new ApiKey("Authorization", "token", "header")); |
| | | |
| | | return apiKeys; |
| | | } |
| | | |
| | | private List<SecurityContext> securityContexts() { |
| | | List<SecurityContext> securityContexts = new ArrayList<>(); |
| | | securityContexts.add(SecurityContext.builder() |
| | | .securityReferences(defaultAuth()) |
| | | .forPaths(PathSelectors.regex("^(?!auth).*$")).build()); |
| | | |
| | | return securityContexts; |
| | | } |
| | | |
| | | private List<SecurityReference> defaultAuth() { |
| | | AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything"); |
| | | AuthorizationScope[] authorizationScopes = new AuthorizationScope[1]; |
| | | authorizationScopes[0] = authorizationScope; |
| | | List<SecurityReference> securityReferences = new ArrayList<>(); |
| | | securityReferences.add(new SecurityReference("Authorization", authorizationScopes)); |
| | | |
| | | return securityReferences; |
| | | } |
| | | |
| | | @Bean |
| | | public Docket createRestApi() { |
| | | return new Docket(DocumentationType.SWAGGER_2) |
| | | .apiInfo(apiInfo()).select() |
| | | .apis(RequestHandlerSelectors.basePackage("com.lf.server.controller")) |
| | | //.securitySchemes(securitySchemes()) |
| | | //.securityContexts(securityContexts()) |
| | | .paths(PathSelectors.any()).build(); |
| | | } |
| | | |
| | | private ApiInfo apiInfo() { |
| | | return new ApiInfoBuilder() |
| | | .title("Spring Bootæ¥å£API") |
| | | .description("Spring Bootæ¥å£APIæ¥ç") |
| | | .version("1.0").build(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import com.alibaba.fastjson.serializer.SerializerFeature; |
| | | import com.alibaba.fastjson.support.config.FastJsonConfig; |
| | | import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter; |
| | | import com.lf.server.interceptor.AuthInterceptor; |
| | | import com.lf.server.service.all.SysService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.http.converter.HttpMessageConverter; |
| | | import org.springframework.util.AntPathMatcher; |
| | | import org.springframework.web.servlet.config.annotation.*; |
| | | |
| | | import java.nio.charset.Charset; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Webé
置类 |
| | | * @author WWW |
| | | */ |
| | | @Configuration |
| | | public class WebConfig extends WebMvcConfigurationSupport { |
| | | @Autowired |
| | | private SysService sysService; |
| | | |
| | | /** |
| | | * è·åæ¦æªå¨å¯¹è±¡ |
| | | * |
| | | * @return |
| | | */ |
| | | public AuthInterceptor getAuthBean() { |
| | | return new AuthInterceptor(sysService); |
| | | } |
| | | |
| | | /** |
| | | * swaggeræ§å¶ |
| | | */ |
| | | @Override |
| | | protected void addResourceHandlers(ResourceHandlerRegistry registry) { |
| | | registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/"); |
| | | registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/"); |
| | | registry.addResourceHandler("/**").addResourceLocations("classpath:/static/"); |
| | | super.addResourceHandlers(registry); |
| | | } |
| | | |
| | | /** |
| | | * 忽ç¥urlå°å大å°å |
| | | */ |
| | | @Override |
| | | protected void configurePathMatch(PathMatchConfigurer configurer) { |
| | | AntPathMatcher matcher = new AntPathMatcher(); |
| | | matcher.setCaseSensitive(false); |
| | | |
| | | configurer.setPathMatcher(matcher); |
| | | } |
| | | |
| | | /** |
| | | * è·¨åè¯·æ± |
| | | */ |
| | | @Override |
| | | protected void addCorsMappings(CorsRegistry registry) { |
| | | registry.addMapping("/**") |
| | | .allowCredentials(true) |
| | | .allowedOrigins("*") |
| | | .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS") |
| | | .allowedHeaders("*") |
| | | .maxAge(3600); |
| | | } |
| | | |
| | | /** |
| | | * æ·»å ç»ä¸çæ¦æªå¨ |
| | | */ |
| | | @Override |
| | | protected void addInterceptors(InterceptorRegistry registry) { |
| | | registry.addInterceptor(getAuthBean()) |
| | | // .excludePathPatterns("/swagger", "/webjars/**", "/v2/**", "/sign/**") |
| | | .addPathPatterns("/**"); |
| | | super.addInterceptors(registry); |
| | | } |
| | | |
| | | /** |
| | | * å¤çjsonæ ¼å¼ï¼å¼nullç转æ¢ä¸º"" |
| | | */ |
| | | @Override |
| | | public void configureMessageConverters(List<HttpMessageConverter<?>> converters) { |
| | | FastJsonHttpMessageConverter converter = new FastJsonHttpMessageConverter(); |
| | | FastJsonConfig config = new FastJsonConfig(); |
| | | config.setSerializerFeatures( |
| | | SerializerFeature.WriteNullListAsEmpty, |
| | | SerializerFeature.WriteMapNullValue, |
| | | //SerializerFeature.WriteNullStringAsEmpty, |
| | | SerializerFeature.WriteNullNumberAsZero, |
| | | SerializerFeature.WriteNullBooleanAsFalse); |
| | | // ç»ææ¯å¦æ ¼å¼å,é»è®¤ä¸ºfalse |
| | | //SerializerFeature.PrettyFormat); |
| | | |
| | | converter.setFastJsonConfig(config); |
| | | converter.setDefaultCharset(Charset.forName("UTF-8")); |
| | | converters.add(converter); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.config; |
| | | |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.web.socket.server.standard.ServerEndpointExporter; |
| | | |
| | | /** |
| | | * WebSocketé
置类 |
| | | * @author WWW |
| | | */ |
| | | @Component |
| | | public class WebSocketConfig { |
| | | /** |
| | | * èªå¨æ³¨å使ç¨@ServerEndpoint |
| | | */ |
| | | @Bean |
| | | public ServerEndpointExporter serverEndpointExporter() { |
| | | return new ServerEndpointExporter(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.all; |
| | | |
| | | import com.lf.server.entity.all.HttpStatus; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | |
| | | /** |
| | | * Controlleråºç±» |
| | | * @author WWW |
| | | */ |
| | | public class BaseController { |
| | | public Log log = LogFactory.getLog(getClass()); |
| | | |
| | | public <T> ResponseMsg<T> success(T result) { |
| | | return new ResponseMsg<T>(HttpStatus.OK, result); |
| | | } |
| | | |
| | | public <T> ResponseMsg<T> success(String msg, T result) { |
| | | return new ResponseMsg<T>(HttpStatus.OK, msg, result); |
| | | } |
| | | |
| | | public <T> ResponseMsg<T> success(long count, T result) { |
| | | return new ResponseMsg<T>(HttpStatus.OK, count, result); |
| | | } |
| | | |
| | | public <T> ResponseMsg<T> success(String msg, long count, T result) { |
| | | return new ResponseMsg<T>(HttpStatus.OK, msg, count, result); |
| | | } |
| | | |
| | | public <T> ResponseMsg<T> fail(T result) { |
| | | return new ResponseMsg<T>(HttpStatus.ERROR, result); |
| | | } |
| | | |
| | | public <T> ResponseMsg<T> fail(String msg, T result) { |
| | | return new ResponseMsg<T>(HttpStatus.ERROR, msg, result); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.all; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.metadata.OrderItem; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.IdNameEntity; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.entity.data.DomainEntity; |
| | | import com.lf.server.helper.AesHelper; |
| | | import com.lf.server.helper.ClassHelper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.all.BasicMapper; |
| | | import com.lf.server.mapper.all.GeomBaseMapper; |
| | | import com.lf.server.service.all.BaseQueryService; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç¶æ¥è¯¢æ§å¶å¨ |
| | | * @author WWW |
| | | */ |
| | | public class BaseQueryController extends BaseController { |
| | | @Autowired |
| | | BaseQueryService baseQueryService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æ å°åç§°", dataType = "String", paramType = "query", example = "dlgagnp"), |
| | | @ApiImplicitParam(name = "filter", value = "è¿æ»¤æ¡ä»¶", dataType = "String", paramType = "query", example = "gid >= 50 and name like 'å¿' and objectid < 5000.0"), |
| | | @ApiImplicitParam(name = "wkt", value = "WKTï¼èåææ¬ï¼", dataType = "String", paramType = "query", example = "gAPpDbZ53XfoQfvT8dj/uhBWX5os8kBJQ1LrNvH3VX7byFQdUJMPiEr8Fkj0q2i1pw+L8KFrvR0MLXq2xaO21nlQQXmEPofJxpDQZwEWUIFZsToXo1kLRD3t6WQezxWB8YTzXHM20Ba73x/ZuuezVhOFOq1U8HKf1dXQdv7gBzEB6fWMmFDc3FuH8GDDHv3LfT86Gio9VgMO6ohlrUdf3ZKtTHeLSuzGF4t0RZuX97YBNo25IIzpeTfRTXBxfdxA") |
| | | }) |
| | | @GetMapping(value = "/selectCount") |
| | | @PostMapping(value = "/selectCount") |
| | | public ResponseMsg<Long> selectCount(String name, String filter, String wkt) { |
| | | try { |
| | | BasicMapper baseMapper = ClassHelper.getBasicMapper(name); |
| | | if (baseMapper == null) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | QueryWrapper wrapper = new QueryWrapper(); |
| | | baseQueryService.addFilterWrapper(wrapper, filter); |
| | | baseQueryService.addGeomWrapper(baseMapper, wrapper, wkt); |
| | | |
| | | long count = baseMapper.selectCount(wrapper); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æ å°åç§°", dataType = "String", paramType = "query", example = "dlgagnp"), |
| | | @ApiImplicitParam(name = "filter", value = "è¿æ»¤æ¡ä»¶", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "wkt", value = "WKTï¼èåææ¬ï¼", dataType = "String", paramType = "query", example = ""), |
| | | //@ApiImplicitParam(name = "srid", value = "空é´å¼ç¨æ è¯ç¬¦", dataType = "Integer", paramType = "query", example = "4326"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | @PostMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<Object>> selectByPage(String name, String filter, String wkt, Integer pageIndex, Integer pageSize) { |
| | | try { |
| | | BasicMapper baseMapper = ClassHelper.getBasicMapper(name); |
| | | if (baseMapper == null) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | QueryWrapper wrapper = new QueryWrapper(); |
| | | baseQueryService.addFilterWrapper(wrapper, filter); |
| | | baseQueryService.addGeomWrapper(baseMapper, wrapper, wkt); |
| | | |
| | | Page<Object> page = new Page<>(pageIndex, pageSize); |
| | | page.addOrder(OrderItem.asc("gid")); |
| | | IPage<Object> paged = baseMapper.selectPage(page, wrapper); |
| | | |
| | | return success(paged.getTotal(), paged.getRecords()); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢WKT") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æ å°åç§°", dataType = "String", paramType = "query", example = "dlgagnp"), |
| | | @ApiImplicitParam(name = "gid", value = "GID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectWktById") |
| | | public ResponseMsg<String> selectWktById(String name, Integer gid) { |
| | | try { |
| | | GeomBaseMapper baseMapper = ClassHelper.getGeoBaseMapper(name); |
| | | if (baseMapper == null) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | String tab = BaseQueryService.getTabName(baseMapper); |
| | | if (StringHelper.isNull(tab)) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | String wkt = baseMapper.selectWktById(tab, gid); |
| | | if (!StringHelper.isEmpty(wkt)) { |
| | | wkt = AesHelper.encrypt(wkt); |
| | | } |
| | | |
| | | return success(wkt); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¨¡ç³æç´¢åæ®µ") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æ å°åç§°", dataType = "String", paramType = "query", example = "dlgagnp"), |
| | | @ApiImplicitParam(name = "field", value = "åæ®µ", dataType = "String", paramType = "query", example = "name"), |
| | | @ApiImplicitParam(name = "value", value = "å¼", dataType = "String", paramType = "query", example = "'å¿'") |
| | | }) |
| | | @GetMapping(value = "/selectFieldFuzzy") |
| | | public ResponseMsg<List<String>> selectFieldFuzzy(String name, String field, String value) { |
| | | try { |
| | | BasicMapper baseMapper = ClassHelper.getBasicMapper(name); |
| | | if (baseMapper == null) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | String tab = BaseQueryService.getTabName(baseMapper); |
| | | if (StringHelper.isNull(tab)) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | if (StringHelper.isEmpty(field) || StringHelper.isSqlInjection(field)) { |
| | | return fail("æ¥è¯¢åæ®µä¸æ£ç¡®", null); |
| | | } |
| | | if (!StringHelper.isEmpty(value)) { |
| | | value = value.trim().replace("'", ""); |
| | | } |
| | | |
| | | value = StringHelper.getLikeStr2(value); |
| | | List<String> rs = baseMapper.selectFieldFuzzy(tab, field, value); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¨¡ç³æç´¢ç¨æ·") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "室") |
| | | }) |
| | | @GetMapping(value = "/selectUserFuzzy") |
| | | public ResponseMsg<List<IdNameEntity>> selectUserFuzzy(String name) { |
| | | try { |
| | | List<IdNameEntity> rs = baseQueryService.selectUserFuzzy(name); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¨¡ç³æç´¢åä½") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åä½å", dataType = "String", paramType = "query", example = "å¸") |
| | | }) |
| | | @GetMapping(value = "/selectDepFuzzy") |
| | | public ResponseMsg<List<IdNameEntity>> selectDepFuzzy(String name) { |
| | | try { |
| | | List<IdNameEntity> rs = baseQueryService.selectDepFuzzy(name); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææè¡¨") |
| | | @GetMapping(value = "/selectTabs") |
| | | public ResponseMsg<List<TabEntity>> selectTabs() { |
| | | try { |
| | | List<TabEntity> list = baseQueryService.selectTabs(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å段信æ¯") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æ å°åç§°", dataType = "String", paramType = "query", example = "dlg25wAanp") |
| | | }) |
| | | @GetMapping(value = "/selectFields") |
| | | public ResponseMsg<List<DictEntity>> selectFields(String name) { |
| | | try { |
| | | BasicMapper baseMapper = ClassHelper.getBasicMapper(name); |
| | | if (baseMapper == null) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | String tabName = BaseQueryService.getTabName(baseMapper); |
| | | if (tabName == null) { |
| | | return null; |
| | | } |
| | | |
| | | String[] strs = tabName.split("\\."); |
| | | List<DictEntity> list = baseQueryService.selectFields(strs[0], strs[1]); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å¼åä¿¡æ¯") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æ å°åç§°", dataType = "String", paramType = "query", example = "dlg25wAanp") |
| | | }) |
| | | @GetMapping(value = "/selectDomains") |
| | | public ResponseMsg<List<DomainEntity>> selectDomains(String name) { |
| | | try { |
| | | BasicMapper baseMapper = ClassHelper.getBasicMapper(name); |
| | | if (baseMapper == null) { |
| | | return fail("æ¥è¯¢å¯¹è±¡ä¸åå¨", null); |
| | | } |
| | | |
| | | String tabName = BaseQueryService.getTabName(baseMapper); |
| | | if (tabName == null) { |
| | | return null; |
| | | } |
| | | |
| | | String[] strs = tabName.split("\\."); |
| | | List<DomainEntity> list = baseQueryService.selectDomains(strs[0], strs[1]); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.all; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.data.VerEntity; |
| | | import com.lf.server.entity.sys.DepEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.all.BaseUploadService; |
| | | import com.lf.server.service.data.DirService; |
| | | import com.lf.server.service.data.MetaService; |
| | | import com.lf.server.service.data.VerService; |
| | | import com.lf.server.service.sys.DepService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç¶ä¸ä¼ æ§å¶å¨ |
| | | * @author WWW |
| | | */ |
| | | public class BaseUploadController extends BaseController { |
| | | @Autowired |
| | | DepService depService; |
| | | |
| | | @Autowired |
| | | DirService dirService; |
| | | |
| | | @Autowired |
| | | VerService verService; |
| | | |
| | | @Autowired |
| | | MetaService metaService; |
| | | |
| | | @Autowired |
| | | protected TokenService tokenService; |
| | | |
| | | @Autowired |
| | | protected BaseUploadService baseUploadService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææåä½") |
| | | @GetMapping(value = "/selectDepAll") |
| | | public ResponseMsg<List<DepEntity>> selectDepAll() { |
| | | try { |
| | | List<DepEntity> list = depService.selectDepAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææç®å½") |
| | | @GetMapping(value = "/selectDirAll") |
| | | public ResponseMsg<List<DirEntity>> selectDirAll() { |
| | | try { |
| | | List<DirEntity> list = dirService.selectDirAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®ç®å½IDæ¥è¯¢çæ¬å表") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "dirid", value = "ç®å½ID", dataType = "Integer", paramType = "query") |
| | | }) |
| | | @GetMapping(value = "/selectVerByDirid") |
| | | public ResponseMsg<List<VerEntity>> selectVerByDirid(Integer dirid) { |
| | | try { |
| | | if (null == dirid || dirid < 0) { |
| | | dirid = 0; |
| | | } |
| | | |
| | | List<VerEntity> list = verService.selectByDirid(dirid); |
| | | if (null == list || list.isEmpty()) { |
| | | list = verService.selectByDirid(0); |
| | | } |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è·¯å¾") |
| | | @GetMapping(value = "/selectPath") |
| | | public ResponseMsg<String> selectPath() { |
| | | try { |
| | | String pathName = baseUploadService.selectPath(); |
| | | |
| | | return success(pathName); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸ä¼ æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "path", value = "è·¯å¾", dataType = "String", paramType = "query") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/uploadFiles") |
| | | public ResponseMsg<Object> uploadFiles(String path, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<MetaFileEntity> list = baseUploadService.uploadData(null, path, req, res); |
| | | if (null == list || list.isEmpty()) { |
| | | return fail("æ²¡ææ¾å°ä¸ä¼ æä»¶", null); |
| | | } |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å 餿件") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MetaFileEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/deleteFiles") |
| | | public ResponseMsg<Object> deleteFiles(@RequestBody List<MetaFileEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | if (null == list || list.isEmpty()) { |
| | | return fail("æ²¡ææ¾å°æä»¶", null); |
| | | } |
| | | |
| | | int rows = baseUploadService.deleteFiles(list); |
| | | |
| | | return success("æå", rows); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å
æ°æ®") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteMetas") |
| | | public ResponseMsg<Integer> deleteMetas(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | // int count = metaService.deletes(ids) |
| | | String idStr = StringHelper.join(ids, ","); |
| | | int count = metaService.deleteCascade(idStr); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.all; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.entity.all.MenusAuthEntity; |
| | | import com.lf.server.entity.all.PermsAuthEntity; |
| | | import com.lf.server.entity.all.ResAuthEntity; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æææ§å¶å¨ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\ææç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/perms") |
| | | public class PermsController extends BaseController { |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å½åç¨æ·çèµæºææ") |
| | | @GetMapping(value = "/selectRes") |
| | | public ResponseMsg<List<ResAuthEntity>> selectRes(HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<ResAuthEntity> rs = permsService.selectRes(ue.getUid()); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å½åç¨æ·çèåææ") |
| | | @GetMapping(value = "/selectMenus") |
| | | public ResponseMsg<List<MenusAuthEntity>> selectMenus(HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<MenusAuthEntity> rs = permsService.selectMenus(ue.getUid()); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å½åç¨æ·çæéææ") |
| | | @GetMapping(value = "/selectPerms") |
| | | public ResponseMsg<List<String>> selectPerms(HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<String> rs = permsService.selectPerms(ue.getUid()); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å½åç¨æ·çæéææå®ä½éå") |
| | | @GetMapping(value = "/selectPermsEntity") |
| | | public ResponseMsg<List<PermsAuthEntity>> selectPermsEntity(HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<PermsAuthEntity> rs = permsService.selectPermsEntity(ue.getUid()); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¸
ç©ºææææç¼å") |
| | | @GetMapping(value = "/deleteAllCache") |
| | | public ResponseMsg<Boolean> deleteAllCache() { |
| | | try { |
| | | permsService.clearAllCache(); |
| | | |
| | | return success(true); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), false); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.all; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.config.PropertiesConfig; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.all.StaticData; |
| | | import com.lf.server.entity.sys.LoginEntity; |
| | | import com.lf.server.entity.sys.TokenEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.*; |
| | | import com.lf.server.service.sys.LoginService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import com.lf.server.service.sys.UserService; |
| | | import com.lf.server.service.all.SignService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.servlet.ModelAndView; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | /** |
| | | * ç¾åæ§å¶å¨ |
| | | * @author WWW |
| | | * @date 2022-09-21 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\ç¾å管ç") |
| | | @RestController |
| | | @RequestMapping("/sign") |
| | | public class SignController extends BaseController { |
| | | @Autowired |
| | | UserService userService; |
| | | |
| | | @Autowired |
| | | LoginService loginService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | SignService signService; |
| | | |
| | | @Autowired |
| | | PropertiesConfig propertiesConfig; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "跳转é¦é¡µ") |
| | | @GetMapping({"/", "/toIndex"}) |
| | | public ModelAndView toIndex(ModelAndView mv, HttpServletRequest req) { |
| | | mv.setViewName("index"); |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | mv.addObject("msg", "Hello " + ue.getUname() + " !"); |
| | | } |
| | | |
| | | return mv; |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "跳转ç»å½é¡µ") |
| | | @GetMapping("/toLogin") |
| | | public ModelAndView toLogin(ModelAndView mv) { |
| | | mv.setViewName("login"); |
| | | |
| | | return mv; |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ°æ®åºçæ§") |
| | | @GetMapping(value = "/toDruid") |
| | | public ModelAndView toDruid(HttpServletRequest req, HttpServletResponse res) { |
| | | ModelAndView mv = new ModelAndView(); |
| | | mv.setViewName("druid"); |
| | | |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | String sessionId = WebHelper.getCookieByKey(StaticData.DRUID_COOKIE_KEY, req); |
| | | if (StringHelper.isNull(sessionId)) { |
| | | signService.loginDruid(req, res); |
| | | } |
| | | } |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | |
| | | return mv; |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "èµæºçæ§") |
| | | @GetMapping(value = "/toMonitor") |
| | | public ModelAndView toMonitor(ModelAndView mv, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | mv.setViewName("redirect:/toLogin"); |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | mv.setViewName("monitor"); |
| | | } |
| | | } catch (Exception ex) { |
| | | log.error(ex.getMessage(), ex); |
| | | } |
| | | |
| | | return mv; |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ç»å½") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "user", value = "ç¨æ¶å", dataType = "UsersEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/login", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<TokenEntity> login(@RequestBody UserEntity user, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | String str = userService.validateLoginPwd(user); |
| | | if (str != null) { |
| | | return fail(str, null); |
| | | } |
| | | |
| | | UserEntity ue = userService.selectByUid(user.getUid()); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·åä¸åå¨", null); |
| | | } |
| | | |
| | | if (!Md5Helper.validatePassword(user.getPwd(), ue.getPwd())) { |
| | | tokenService.setPwdErrCache(ue); |
| | | return fail("å¯ç 䏿£ç¡®", null); |
| | | } |
| | | |
| | | LoginEntity le = loginService.getNewLogin(ue.getId(), 1, 1, 1, req); |
| | | Integer rows = loginService.insertLogin(le); |
| | | if (rows == 0) { |
| | | return fail("å建ç»å½æ¥å¿å¤±è´¥", null); |
| | | } |
| | | |
| | | TokenEntity te = tokenService.getNewToken(ue, req); |
| | | rows = tokenService.insertToken(te); |
| | | if (rows == 0) { |
| | | return fail("å建令ç失败", null); |
| | | } |
| | | |
| | | tokenService.saveToken(ue, te, req, res); |
| | | |
| | | return success(te); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ç»åº") |
| | | @GetMapping(value = "/logout") |
| | | public ResponseMsg<Boolean> logout(HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | String token = WebHelper.getToken(req); |
| | | if (StringHelper.isEmpty(token)) { |
| | | return fail("æ²¡ææ£æµå°ä»¤ç", false); |
| | | } |
| | | |
| | | Boolean flag = tokenService.logout(token, req, res); |
| | | |
| | | return success(flag ? "ç»åºæå" : "ç»åºå¤±è´¥", flag); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), false); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ£æ¥æ¯/å¦ç»å½") |
| | | @GetMapping("/check") |
| | | public ResponseMsg<Boolean> check(HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | Boolean flag = tokenService.isLogin(req, res); |
| | | if (flag) { |
| | | // åæ¥å¿ |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | LoginEntity le = loginService.getNewLogin(ue.getId(), 1, 2, 1, req); |
| | | Integer rows = loginService.insertLogin(le); |
| | | } |
| | | |
| | | return success(flag ? "ç¨æ·å·²ç»å½" : "ç¨æ·æªç»å½", flag); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), false); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "è·åå½åç¨æ·") |
| | | @GetMapping("/getCurrentUser") |
| | | public ResponseMsg<UserEntity> getCurrentUser(HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("æ²¡ææ¾å°", null); |
| | | } |
| | | |
| | | return success(ue); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "è·åRSAå å¯å
¬é¥") |
| | | @GetMapping("/getPublicKey") |
| | | public ResponseMsg<String> getPublicKey() { |
| | | try { |
| | | String key = RsaHelper.getPublicKey(); |
| | | |
| | | return success(key); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseUploadController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.ctrl.TabMapperEntity; |
| | | import com.lf.server.entity.ctrl.UploadEntity; |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.all.BaseQueryService; |
| | | import com.lf.server.service.data.DataLoaderService; |
| | | import com.lf.server.service.data.MetaService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ°æ®å
¥åº |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\æ°æ®å
¥åº") |
| | | @RestController |
| | | @RequestMapping("/dataLoader") |
| | | public class DataLoaderController extends BaseUploadController { |
| | | @Autowired |
| | | MetaService metaService; |
| | | |
| | | @Autowired |
| | | BaseQueryService baseQueryService; |
| | | |
| | | @Autowired |
| | | DataLoaderService dataLoaderService; |
| | | |
| | | private final static String FILE_TYPES = "'xls','shp','gdb','mdb'"; |
| | | |
| | | public static List<String> extList = new ArrayList<>(Arrays.asList(".xls", ".xlsx", ".mdb", ".zip")); |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢ä¸ä¼ æ°æ®å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForUpload") |
| | | public ResponseMsg<Object> selectByPageForUpload(String name, Integer pageSize, Integer pageIndex, HttpServletRequest req) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | |
| | | int count = metaService.selectCountForUpload(name, ue.getId(), FILE_TYPES); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<MetaEntity> list = metaService.selectByPageForUpload(name, ue.getId(), FILE_TYPES, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "path", value = "è·¯å¾", dataType = "String", paramType = "query") |
| | | }) |
| | | @GetMapping(value = "/selectFiles") |
| | | public ResponseMsg<List<MetaFileEntity>> selectFiles(String path) { |
| | | try { |
| | | List<MetaFileEntity> list = baseUploadService.selectFiles(path, extList); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææè¡¨") |
| | | @GetMapping(value = "/selectTabs") |
| | | public ResponseMsg<List<TabEntity>> selectTabs() { |
| | | try { |
| | | List<TabEntity> list = baseQueryService.selectTabs(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æ å°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "path", value = "è·¯å¾", dataType = "String", paramType = "query") |
| | | }) |
| | | @GetMapping(value = "/selectMappers") |
| | | public ResponseMsg<List<TabMapperEntity>> selectMappers(String path) { |
| | | try { |
| | | List<TabMapperEntity> list = dataLoaderService.selectMappers(path); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "ä¸ä¼ å®ä½ç±»", dataType = "UploadEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/insertFiles") |
| | | public ResponseMsg<Object> insertFiles(@RequestBody UploadEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | if (null == entity || null == entity.getMetaEntity()) { |
| | | return fail("å
æ°æ®ä¿¡æ¯ä¸ºç©º", null); |
| | | } |
| | | |
| | | if (null == entity.getFileEntities() || entity.getFileEntities().isEmpty()) { |
| | | return fail("æ²¡ææ¾å°ä¸ä¼ æä»¶", null); |
| | | } |
| | | |
| | | MetaEntity me = entity.getMetaEntity(); |
| | | me.setCreateTime(WebHelper.getCurrentTimestamp()); |
| | | me.setBatch(StringHelper.YMDHMS_FORMAT.format(new Date(me.getCreateTime().getTime()))); |
| | | me.setCreateUser(ue.getId()); |
| | | |
| | | dataLoaderService.insertFiles(me, entity.getFileEntities(), entity.getTabEntities()); |
| | | |
| | | return success("æå", entity.getTabEntities()); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è¡¨ä¸æ°æ®") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "metaid", value = "å
æ°æ®ID", dataType = "Integer", paramType = "1") |
| | | }) |
| | | @GetMapping(value = "/selectDbData") |
| | | public ResponseMsg<Object> selectDbData(Integer metaid) { |
| | | try { |
| | | // |
| | | |
| | | return success(null); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseQueryController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.AttachEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.data.DataQueryService; |
| | | import com.lf.server.service.sys.AttachService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ°æ®æ£ç´¢ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\æ°æ®æ£ç´¢") |
| | | @RestController |
| | | @RequestMapping("/dataQuery") |
| | | public class DataQueryController extends BaseQueryController { |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | AttachService attachService; |
| | | |
| | | @Autowired |
| | | DataQueryService dataQueryService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "tabName", value = "表å", dataType = "String", paramType = "query", example = "lf.sys_style"), |
| | | @ApiImplicitParam(name = "eventid", value = "主é®", dataType = "String", paramType = "query", example = "fa25979a5ef8b43ba82a0be35b3fb0d4") |
| | | }) |
| | | @GetMapping(value = "/selectFiles") |
| | | public ResponseMsg<List<AttachEntity>> selectFiles(String tabName, String eventid) { |
| | | try { |
| | | if (StringHelper.isEmpty(tabName) || StringHelper.isEmpty(eventid)) { |
| | | return fail("åæ°ä¸è½ä¸ºç©º", null); |
| | | } |
| | | |
| | | List<AttachEntity> list = attachService.selectByTab(tabName, eventid); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å 餿件") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deleteFiles(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int rows = attachService.deletes(ids); |
| | | |
| | | return success(rows); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), 0); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸ä¼ æä»¶") |
| | | @ResponseBody |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "tabName", value = "表å", dataType = "String", paramType = "query", example = "lf.sys_style"), |
| | | @ApiImplicitParam(name = "eventid", value = "主é®", dataType = "String", paramType = "query", example = "fa25979a5ef8b43ba82a0be35b3fb0d4") |
| | | }) |
| | | @PostMapping(value = "/uploadFiles") |
| | | public ResponseMsg<Integer> uploadFiles(String tabName, String eventid, @RequestParam("file") MultipartFile[] files, HttpServletRequest req) { |
| | | try { |
| | | if (StringHelper.isEmpty(tabName) || StringHelper.isEmpty(eventid)) { |
| | | return fail("åæ°ä¸è½ä¸ºç©º", null); |
| | | } |
| | | if (null == files || files.length == 0) { |
| | | return fail("æä»¶ä¸ä¼ 为空", 0); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | Integer count = dataQueryService.uploadFiles(ue, tabName, eventid, files, req); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), 0); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseUploadController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.UploadEntity; |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.data.DataUploadService; |
| | | import com.lf.server.service.data.MetaService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ°æ®ä¸ä¼ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\æ°æ®ä¸ä¼ ") |
| | | @RestController |
| | | @RequestMapping("/dataUpload") |
| | | public class DataUploadController extends BaseUploadController { |
| | | @Autowired |
| | | MetaService metaService; |
| | | |
| | | @Autowired |
| | | DataUploadService dataUploadService; |
| | | |
| | | private final static String FILE_TYPES = "'file'"; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢ä¸ä¼ æ°æ®å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForUpload") |
| | | public ResponseMsg<Object> selectByPageForUpload(String name, Integer pageSize, Integer pageIndex, HttpServletRequest req) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | |
| | | int count = metaService.selectCountForUpload(name, ue.getId(), FILE_TYPES); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<MetaEntity> list = metaService.selectByPageForUpload(name, ue.getId(), FILE_TYPES, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "path", value = "è·¯å¾", dataType = "String", paramType = "query") |
| | | }) |
| | | @GetMapping(value = "/selectFiles") |
| | | public ResponseMsg<List<MetaFileEntity>> selectFiles(String path) { |
| | | try { |
| | | List<MetaFileEntity> list = baseUploadService.selectFiles(path, null); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "ä¸ä¼ å®ä½ç±»", dataType = "UploadEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/insertFiles") |
| | | public ResponseMsg<Object> insertFiles(@RequestBody UploadEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | if (null == entity || null == entity.getMetaEntity()) { |
| | | return fail("å
æ°æ®ä¿¡æ¯ä¸ºç©º", null); |
| | | } |
| | | |
| | | if (null == entity.getFileEntities() || entity.getFileEntities().isEmpty()) { |
| | | return fail("æ²¡ææ¾å°ä¸ä¼ æä»¶", null); |
| | | } |
| | | |
| | | MetaEntity me = entity.getMetaEntity(); |
| | | me.setCreateTime(WebHelper.getCurrentTimestamp()); |
| | | me.setBatch(StringHelper.YMDHMS_FORMAT.format(new Date(me.getCreateTime().getTime()))); |
| | | me.setCreateUser(ue.getId()); |
| | | |
| | | int rows = dataUploadService.insertFiles(me, entity.getFileEntities()); |
| | | |
| | | return success("æå", rows); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.data.DictService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * åå
¸ç®¡ç |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\åå
¸ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/dict") |
| | | public class DictController extends BaseController { |
| | | @Autowired |
| | | DictService dictService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "表空é´", dataType = "String", paramType = "query", required = false, example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "dlg_25w_hyda") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String ns, String tab) { |
| | | try { |
| | | int count = dictService.selectCount(ns, tab); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "表空é´", dataType = "String", paramType = "query", example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "dlg_25w_hyda"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<DictEntity>> selectByPage(String ns, String tab, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<DictEntity> rs = dictService.selectByPage(ns, tab, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "表空é´", dataType = "String", paramType = "query", example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "dlg_25w_hyda"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<DictEntity>> selectByPageAndCount(String ns, String tab, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = dictService.selectCount(ns, tab); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<DictEntity> rs = dictService.selectByPage(ns, tab, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<DictEntity>> selectAll() { |
| | | try { |
| | | List<DictEntity> list = dictService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<DictEntity> selectById(int id) { |
| | | try { |
| | | DictEntity entity = dictService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢åå
¸è¡¨ç»æ") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "ç¹") |
| | | }) |
| | | @GetMapping(value = "/selectDictTab") |
| | | public ResponseMsg<List<TabEntity>> selectDictTab(String name) { |
| | | try { |
| | | List<TabEntity> list = dictService.selectDictTab(name); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DictEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody DictEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dictService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DictEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<DictEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DictEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = dictService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = dictService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = dictService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DictEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody DictEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dictService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DictEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<DictEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DictEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = dictService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.data.DirService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç®å½ç®¡ç |
| | | * @author sws |
| | | * @date 2022-09-22 |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\ç®å½ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/dir") |
| | | public class DirController extends BaseController { |
| | | @Autowired |
| | | DirService dirService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDir", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDir(@RequestBody DirEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.insertDir(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDirs", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDirs(@RequestBody List<DirEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | for (DirEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.insertDirs(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteDir") |
| | | public ResponseMsg<Integer> deleteDir(int id) { |
| | | try { |
| | | int count = dirService.deleteDir(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "com.lf.server.entity.data.DirEntity", paramType = "body", example = "") |
| | | }) |
| | | @GetMapping(value = "/deleteDirs") |
| | | public ResponseMsg<Integer> deleteDirs(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = dirService.deleteDirs(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DictEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDir", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDir(@RequestBody DirEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = dirService.updateDir(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DirEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDirs", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDirs(@RequestBody List<DirEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DirEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = dirService.updateDirs(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢æ°æ®") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectDir") |
| | | public ResponseMsg<DirEntity> selectDir(int id) { |
| | | try { |
| | | DirEntity dirEntity = dirService.selectDir(id); |
| | | |
| | | return success(dirEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æææ°æ®") |
| | | @GetMapping(value = "/selectDirAll") |
| | | public ResponseMsg<List<DirEntity>> selectDirAll() { |
| | | try { |
| | | List<DirEntity> list = dirService.selectDirAll(); |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "é彿¥è¯¢æ°æ®") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "ç®å½åç§°", dataType = "String", paramType = "query", required = false, example = "ä¸ä¿ä¸çº¿ç®¡éå·¥ç¨å段") |
| | | }) |
| | | @GetMapping(value = "/selectDirRecursive") |
| | | public ResponseMsg<List<DirEntity>> selectDirRecursive(String name) { |
| | | try { |
| | | if (StringHelper.isEmpty(name)) { |
| | | name = "ä¸ä¿ä¸çº¿ç®¡éå·¥ç¨å段"; |
| | | } |
| | | List<DirEntity> list = dirService.selectDirRecursive(name); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DomainEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.all.BaseQueryService; |
| | | import com.lf.server.service.data.DomainService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¼å |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\å¼å") |
| | | @RestController |
| | | @RequestMapping("/domain") |
| | | public class DomainController extends BaseController { |
| | | @Autowired |
| | | DomainService domainService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | BaseQueryService baseQueryService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "å称空é´", dataType = "String", paramType = "query", example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "dlg_25w_aanp"), |
| | | @ApiImplicitParam(name = "code", value = "ç¼ç ", dataType = "String", paramType = "query", example = "210") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String ns, String tab, String code) { |
| | | try { |
| | | int count = domainService.selectCount(ns, tab, code); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "å称空é´", dataType = "String", paramType = "query", example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "dlg_25w_aanp"), |
| | | @ApiImplicitParam(name = "code", value = "ç¼ç ", dataType = "String", paramType = "query", example = "210"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<DomainEntity>> selectByPage(String ns, String tab, String code, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<DomainEntity> rs = domainService.selectByPage(ns, tab, code, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "å称空é´", dataType = "String", paramType = "query", example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "b_hy20w_s23"), |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "ç级"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<DomainEntity>> selectByPageAndCount(String ns, String tab, String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = domainService.selectCount(ns, tab, name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<DomainEntity> rs = domainService.selectByPage(ns, tab, name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<DomainEntity>> selectAll() { |
| | | try { |
| | | List<DomainEntity> list = domainService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å¼å表éå") |
| | | @GetMapping(value = "/selectDomainTabs") |
| | | public ResponseMsg<List<TabEntity>> selectDomainTabs() { |
| | | try { |
| | | List<TabEntity> list = domainService.selectDomainTabs(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®è¡¨åæ¥è¯¢å¼ååç§°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ns", value = "å称空é´", dataType = "String", paramType = "query", example = "bd"), |
| | | @ApiImplicitParam(name = "tab", value = "表å", dataType = "String", paramType = "query", example = "b_hy20w_s23") |
| | | }) |
| | | @GetMapping(value = "/selectDomainNames") |
| | | public ResponseMsg<List<String>> selectDomainNames(String ns, String tab) { |
| | | try { |
| | | if (StringHelper.isEmpty(ns) || StringHelper.isEmpty(tab)) { |
| | | return fail("å称空é´å表åä¸è½ä¸ºç©º", null); |
| | | } |
| | | |
| | | List<String> list = domainService.selectDomainNames(ns, tab); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<DomainEntity> selectById(int id) { |
| | | try { |
| | | DomainEntity entity = domainService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DomainEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody DomainEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = domainService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DomainEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<DomainEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DomainEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = domainService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = domainService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = domainService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DomainEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody DomainEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = domainService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DomainEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<DomainEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DomainEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = domainService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.HttpStatus; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.ctrl.DownloadReqEntity; |
| | | import com.lf.server.entity.data.DownloadEntity; |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.Md5Helper; |
| | | import com.lf.server.helper.RsaHelper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.data.DownloadService; |
| | | import com.lf.server.service.data.MetaService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.*; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å
æ°æ® |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\å
æ°æ®") |
| | | @RestController |
| | | @RequestMapping("/meta") |
| | | public class MetaController extends BaseController { |
| | | @Autowired |
| | | MetaService metaService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | DownloadService downloadService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "dirid", value = "ç®å½ID", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<MetaEntity>> selectByPageAndCount(Integer dirid, String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = metaService.selectCount(dirid, name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<MetaEntity> rs = metaService.selectByPage(dirid, name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<MetaEntity>> selectAll() { |
| | | try { |
| | | List<MetaEntity> list = metaService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<MetaEntity> selectById(int id) { |
| | | try { |
| | | MetaEntity entity = metaService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MetaEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody MetaEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | entity.setCreateTime(WebHelper.getCurrentTimestamp()); |
| | | int count = metaService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MetaEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<MetaEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MetaEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = metaService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | // int count = metaService.delete(id) |
| | | int count = metaService.deleteCascade(String.valueOf(id)); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | // int count = metaService.deletes(ids) |
| | | String idStr = StringHelper.join(ids, ","); |
| | | int count = metaService.deleteCascade(idStr); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MetaEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody MetaEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = metaService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MetaEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<MetaEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MetaEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = metaService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢ä¸è½½è®°å½å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectPageCountForDownload") |
| | | public ResponseMsg<List<DownloadEntity>> selectPageCountForDownload(String name, Integer pageSize, Integer pageIndex, HttpServletRequest req) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | int count = downloadService.selectCountForUser(ue.getCreateUser(), 3, name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<DownloadEntity> rs = downloadService.selectByPageForUser(ue.getCreateUser(), 3, name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "请æ±ä¸è½½") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "pwd", value = "å¯ç ", dataType = "String", paramType = "body", example = ""), |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "body", example = "1,2") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/downloadReq") |
| | | public ResponseMsg<Object> downloadReq(@RequestBody DownloadReqEntity reqEntity, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | if (null == reqEntity || StringHelper.isEmpty(reqEntity.getPwd())) { |
| | | return fail("å¯ç ä¸è½ä¸ºç©º"); |
| | | } |
| | | if (null == reqEntity.getIds() || reqEntity.getIds().isEmpty()) { |
| | | return fail("è¯·éæ©è¦ä¸è½½çæä»¶"); |
| | | } |
| | | if (!downloadService.validatePwd(reqEntity)) { |
| | | return fail("å¯ç ä¸ç¬¦åè¦æ±"); |
| | | } |
| | | |
| | | List<MetaFileEntity> list = metaService.selectMetaFiles(reqEntity.getIds()); |
| | | |
| | | return success(true); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸è½½æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "guid", value = "æä»¶GUID", dataType = "String", paramType = "query") |
| | | }) |
| | | @ResponseBody |
| | | @RequestMapping(value = "/downloadFile", method = RequestMethod.GET) |
| | | public void downloadFile(@RequestBody DownloadReqEntity reqEntity, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | if (null == reqEntity || StringHelper.isEmpty(reqEntity.getPwd())) { |
| | | WebHelper.writeInfo(HttpStatus.BAD_REQUEST, "å¯ç ä¸è½ä¸ºç©º", res); |
| | | } |
| | | if (StringHelper.isEmpty(reqEntity.getGuid())) { |
| | | WebHelper.writeInfo(HttpStatus.BAD_REQUEST, "æ¾ä¸å°æä»¶ID", res); |
| | | return; |
| | | } |
| | | |
| | | DownloadEntity de = downloadService.selectByGuid(reqEntity.getGuid()); |
| | | if (null == de) { |
| | | WebHelper.writeInfo(HttpStatus.NOT_FOUND, "æä»¶ä¸åå¨", res); |
| | | return; |
| | | } |
| | | if (!StringHelper.isNull(de.getPwd()) && !Md5Helper.validatePassword(reqEntity.getPwd(), de.getPwd())) { |
| | | WebHelper.writeInfo(HttpStatus.UNAUTHORIZED, "å¯ç 䏿£ç¡®", res); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | de.setDcount(de.getDcount() + 1); |
| | | de.setDownloadUser(ue.getId()); |
| | | int rows = downloadService.update(de); |
| | | |
| | | String filePath = downloadService.getDownloadFilePath(de); |
| | | WebHelper.download(filePath, de.getName(), res); |
| | | } catch (Exception ex) { |
| | | WebHelper.writeInfo(HttpStatus.ERROR, ex.getMessage(), res); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.StyleEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.UploadAttachService; |
| | | import com.lf.server.service.data.StyleService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ ·å¼ç®¡ç |
| | | * @author sws |
| | | * @date 2022-09.26 |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\æ ·å¼ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/style") |
| | | public class StyleController extends BaseController { |
| | | @Autowired |
| | | StyleService styleService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | UploadAttachService uploadAttachService; |
| | | |
| | | private final static String TAB_NAME = "lf.sys_style"; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", required = false, example = "a") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = styleService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", required = false, example = "a"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<StyleEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 0) { |
| | | return fail("å页æ°å°äº1æå页索å¼å°äº0", null); |
| | | } |
| | | |
| | | List<StyleEntity> rs = styleService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "a"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<StyleEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 0) { |
| | | return fail("å页æ°å°äº1æå页索å¼å°äº0", null); |
| | | } |
| | | |
| | | int count = styleService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<StyleEntity> rs = styleService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.data.StyleEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertStyle", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertStyle(@RequestBody StyleEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = styleService.insertStyle(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "com.lf.server.entity.data.StyleEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertStyles", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertStyles(@RequestBody List<StyleEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (StyleEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = styleService.insertStyles(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteStyle") |
| | | public ResponseMsg<Integer> deleteStyle(int id) { |
| | | try { |
| | | int count = styleService.deleteStyle(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteStyles") |
| | | public ResponseMsg<Integer> deleteStyles(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = styleService.deleteStyles(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "StyleEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateStyle", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateStyle(@RequestBody StyleEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = styleService.updateStyle(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectStyle") |
| | | public ResponseMsg<StyleEntity> selectStyle(int id) { |
| | | try { |
| | | StyleEntity styleEntity = styleService.selectStyle(id); |
| | | |
| | | return success(styleEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectStyleAll") |
| | | public ResponseMsg<List<StyleEntity>> selectStyleAll() { |
| | | |
| | | try { |
| | | List<StyleEntity> list = styleService.selectStyleAll(); |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸ä¼ æä»¶") |
| | | @ResponseBody |
| | | @PostMapping(value = "/upload") |
| | | public ResponseMsg<String> upload(@RequestParam("file") MultipartFile file, HttpServletRequest req) { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | |
| | | return uploadAttachService.upload(ue, TAB_NAME, file, this); |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸è½½æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "guid", value = "éä»¶Guid", dataType = "String", paramType = "body") |
| | | }) |
| | | @GetMapping(value = "/download") |
| | | public void download(String guid, HttpServletResponse res) { |
| | | uploadAttachService.download(guid, res); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.data; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.VerEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.data.VerService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * çæ¬è¡¨ |
| | | * @author SWS |
| | | * @date 2022-09.29 |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\çæ¬ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/ver") |
| | | public class VerController extends BaseController { |
| | | @Autowired |
| | | VerService versionService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "sys_ver"), |
| | | @ApiImplicitParam(name = "depName", value = "ç®å½", dataType = "String", paramType = "query", example = ""), |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name, String depName) { |
| | | try { |
| | | int count = versionService.selectCount(name, depName); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "sys_ver"), |
| | | @ApiImplicitParam(name = "depName", value = "ç®å½", dataType = "String", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<VerEntity>> selectByPage(String name, String depName, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | List<VerEntity> rs = versionService.selectByPage(name, depName, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "depName", value = "ç®å½", dataType = "String", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<VerEntity>> selectByPageAndCount(String name, String depName, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = versionService.selectCount(name, depName); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<VerEntity> rs = versionService.selectByPage(name, depName, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.data.VersionEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertVersion", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertVersion(@RequestBody VerEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = versionService.insertVersion(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<VersionEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertVersions", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertVersions(@RequestParam List<VerEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (VerEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = versionService.insertVersions(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteVersion") |
| | | public ResponseMsg<Integer> deleteVersion(int id) { |
| | | try { |
| | | int count = versionService.deleteVersion(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteVersions") |
| | | public ResponseMsg<Integer> deleteVersions(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | int count = versionService.deleteVersions(ids); |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "VersionEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateVersion", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateVersion(@RequestBody VerEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = versionService.updateVersion(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectVersion") |
| | | public ResponseMsg<VerEntity> selectVersion(int id) { |
| | | try { |
| | | VerEntity verEntity = versionService.selectVersion(id); |
| | | |
| | | return success(verEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectVersionAll") |
| | | public ResponseMsg<List<VerEntity>> selectVersionAll() { |
| | | try { |
| | | List<VerEntity> list = versionService.selectVersionAll(); |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.other; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.AttachEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.AttachService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * éä»¶ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\éä»¶") |
| | | @RestController |
| | | @RequestMapping("/attach") |
| | | public class AttachController extends BaseController { |
| | | @Autowired |
| | | AttachService attachService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æä»¶å", dataType = "String", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = attachService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æä»¶å", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<AttachEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<AttachEntity> rs = attachService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æä»¶å", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<AttachEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = attachService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<AttachEntity> rs = attachService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<AttachEntity>> selectAll() { |
| | | try { |
| | | List<AttachEntity> list = attachService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<AttachEntity> selectById(int id) { |
| | | try { |
| | | AttachEntity entity = attachService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "AttachEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody AttachEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = attachService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "AttachEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<AttachEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (AttachEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = attachService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = attachService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = attachService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "AttachEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody AttachEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = attachService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "AttachEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<AttachEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (AttachEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = attachService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.other; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.DownloadEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.data.DownloadService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¸è½½è®°å½ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\ä¸è½½è®°å½") |
| | | @RestController |
| | | @RequestMapping("/download") |
| | | public class DownloadController extends BaseController { |
| | | @Autowired |
| | | DownloadService downloadService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = downloadService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<DownloadEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<DownloadEntity> rs = downloadService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<DownloadEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = downloadService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<DownloadEntity> rs = downloadService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<DownloadEntity>> selectAll() { |
| | | try { |
| | | List<DownloadEntity> list = downloadService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<DownloadEntity> selectById(int id) { |
| | | try { |
| | | DownloadEntity entity = downloadService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DownloadEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody DownloadEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = downloadService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DownloadEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<DownloadEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DownloadEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = downloadService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = downloadService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = downloadService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DownloadEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody DownloadEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setDownloadUser(ue.getId()); |
| | | } |
| | | |
| | | int count = downloadService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DownloadEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<DownloadEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DownloadEntity entity : list) { |
| | | entity.setDownloadUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = downloadService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.other; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.other.FloatServerResponse; |
| | | import com.lf.server.entity.other.ReqParamFloatServer; |
| | | import com.lf.server.helper.HttpHelper; |
| | | import com.lf.server.helper.LicHelper; |
| | | import io.swagger.annotations.Api; |
| | | import org.apache.http.HttpEntity; |
| | | import org.apache.http.entity.InputStreamEntity; |
| | | import org.apache.http.util.EntityUtils; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | /** |
| | | * FloatServer |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "FloatServer") |
| | | @RestController |
| | | @RequestMapping("/floatserver") |
| | | public class FloatServerController extends BaseController { |
| | | private static LicHelper licHelper; |
| | | |
| | | private static boolean isRedirect = false; |
| | | |
| | | @PostMapping({"/checkout/license"}) |
| | | public void license(HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | if (isRedirect) { |
| | | HttpHelper httpHelper = new HttpHelper(); |
| | | httpHelper.service(req, res, "http://192.168.20.43:38080/floatserver/checkout/license", null); |
| | | return; |
| | | } |
| | | |
| | | HttpEntity entity = new InputStreamEntity(req.getInputStream(), getContentLength(req)); |
| | | String str = EntityUtils.toString(entity, "UTF-8"); |
| | | |
| | | LicHelper helper = getHelper(); |
| | | String reqJson = helper.b(str); |
| | | |
| | | ReqParamFloatServer rfs = JSON.parseObject(reqJson, ReqParamFloatServer.class); |
| | | FloatServerResponse fsr = new FloatServerResponse(rfs); |
| | | |
| | | String resJson = JSON.toJSONString(fsr); |
| | | String strRes = helper.a(resJson); |
| | | |
| | | res.getWriter().write(strRes); |
| | | } catch (Exception ex) { |
| | | String str = ex.getMessage(); |
| | | } |
| | | } |
| | | |
| | | private Integer getContentLength(HttpServletRequest request) { |
| | | String contentLengthHeader = request.getHeader("Content-Length"); |
| | | if (contentLengthHeader != null) { |
| | | return Integer.parseInt(contentLengthHeader); |
| | | } |
| | | |
| | | return -1; |
| | | } |
| | | |
| | | private static LicHelper getHelper() { |
| | | if (licHelper == null) { |
| | | licHelper = new LicHelper(); |
| | | licHelper.d("&kdaow$IEW.##%5-"); |
| | | licHelper.c("*y91z72a;pclfleoqc20161v$DSP&%3+"); |
| | | } |
| | | |
| | | return licHelper; |
| | | } |
| | | |
| | | @SuppressWarnings("AlibabaUndefineMagicConstant") |
| | | private static String getClientIpAddr(HttpServletRequest req) { |
| | | String ip; |
| | | if ((ip = req.getHeader("x-forwarded-for")) == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { |
| | | ip = req.getHeader("Proxy-Client-IP"); |
| | | } |
| | | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { |
| | | ip = req.getHeader("WL-Proxy-Client-IP"); |
| | | } |
| | | if (ip == null || ip.length() == 0 || "unknown".equalsIgnoreCase(ip)) { |
| | | ip = req.getRemoteAddr(); |
| | | } |
| | | |
| | | return ip; |
| | | } |
| | | |
| | | public static void test() { |
| | | try { |
| | | ReqParamFloatServer reqParam = new ReqParamFloatServer("192.168.20.106", "12316"); |
| | | String json = JSON.toJSONString(reqParam); |
| | | |
| | | String licCode = "78a82f0920de0f557f8177bec1e48601c4dc25e4054a00728e4314b56528d3a1632de5298edee38a65412277977a174fea5d91c452b19ef138dbc2ba089ba632"; |
| | | |
| | | LicHelper helper = getHelper(); |
| | | String str = helper.a(json); |
| | | System.out.println("ReqParamFloatServer: " + str); |
| | | |
| | | String data = "8dfb75298185cbcc4b2d485fdb4f25627f7aeb4dd41329076b5015586e4d56cfe2c56f12cd9852c447904210117b41fe2672b24d7e82fd581ad5a0983b501b5bcbe97d65dbbe770dbdc4a98e80d2966a71ecd0041a5282283bff853d70caf7aed671bc9c9d4bedf6d1d0294394861af40f195d68a965d957d53c78aa50ada3afc65d1a526c54648e6e081e8f7f7ab1c31b9f75916170e638b0b9216d30204864afe3a7a1bc8a6563bf44daf6a29e27c19f798c4f82dbb904ea4aa4fcc87a82226d9bf3e891ecb97b94263064fec025e3aa7c440d7c0e8ed559b84ae2438ec0fc438444a03c992883170ecdde20e08552efcf9d584de469930b27c81f946548d5c6e63e815671182b03b5e6e622ddb10a3f6a35ad3f44ec247a3b2dee0e936020d48efb7abc2d2abfb555f61d54c85eca"; |
| | | String rs = helper.b(data); |
| | | System.out.println("Lic: " + rs); |
| | | } catch (Exception ex) { |
| | | System.out.println(ex.getStackTrace()); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.other; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.data.MetaFileService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å
æ°æ®æä»¶ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "æ°æ®ç®¡ç\\å
æ°æ®æä»¶") |
| | | @RestController |
| | | @RequestMapping("/metaFile") |
| | | public class MetaFileController extends BaseController { |
| | | @Autowired |
| | | MetaFileService metaFileService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æä»¶å", dataType = "String", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = metaFileService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æä»¶å", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<MetaFileEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<MetaFileEntity> rs = metaFileService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "æä»¶å", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<MetaFileEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = metaFileService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<MetaFileEntity> rs = metaFileService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<MetaFileEntity>> selectAll() { |
| | | try { |
| | | List<MetaFileEntity> list = metaFileService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<MetaFileEntity> selectById(int id) { |
| | | try { |
| | | MetaFileEntity entity = metaFileService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MetaFileEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody MetaFileEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | entity.setCreateTime(WebHelper.getCurrentTimestamp()); |
| | | int count = metaFileService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MetaFileEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<MetaFileEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MetaFileEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = metaFileService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = metaFileService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = metaFileService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MetaFileEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody MetaFileEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = metaFileService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MetaFileEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<MetaFileEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MetaFileEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = metaFileService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.other; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.MsgEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.MsgService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¶æ¯éç¥ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\æ¶æ¯éç¥") |
| | | @RestController |
| | | @RequestMapping("/msg") |
| | | public class MsgController extends BaseController { |
| | | @Autowired |
| | | MsgService msgService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "title", value = "æ é¢", dataType = "String", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String title) { |
| | | try { |
| | | int count = msgService.selectCount(title); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "title", value = "æ é¢", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<MsgEntity>> selectByPage(String title, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<MsgEntity> rs = msgService.selectByPage(title, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "title", value = "æ é¢", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<MsgEntity>> selectByPageAndCount(String title, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = msgService.selectCount(title); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<MsgEntity> rs = msgService.selectByPage(title, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<MsgEntity>> selectAll() { |
| | | try { |
| | | List<MsgEntity> list = msgService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<MsgEntity> selectById(int id) { |
| | | try { |
| | | MsgEntity entity = msgService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MsgEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody MsgEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = msgService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MsgEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<MsgEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MsgEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = msgService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = msgService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = msgService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MsgEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody MsgEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = msgService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MsgEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<MsgEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MsgEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = msgService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | import com.lf.server.controller.all.BaseQueryController; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * èµæé¦ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综åå±ç¤º\\èµæé¦") |
| | | @RestController |
| | | @RequestMapping("/dataLib") |
| | | public class DataLibController extends BaseQueryController { |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.HttpStatus; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.DownloadEntity; |
| | | import com.lf.server.entity.show.ExportEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.data.DownloadService; |
| | | import com.lf.server.service.show.ExportService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å¨çº¿å¶å¾ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综åå±ç¤º\\å¨çº¿å¶å¾") |
| | | @RestController |
| | | @RequestMapping("/export") |
| | | public class ExportController extends BaseController { |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | ExportService exportService; |
| | | |
| | | @Autowired |
| | | DownloadService downloadService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<DownloadEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex, HttpServletRequest req) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | int count = downloadService.selectCountForUser(ue.getCreateUser(), 2, name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<DownloadEntity> rs = downloadService.selectByPageForUser(ue.getCreateUser(), 2, name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ°å»ºåºå¾") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å¨çº¿å¶å¾å®ä½ç±»", dataType = "ExportEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/insertMap", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<String> insertMap(@RequestBody ExportEntity entity, HttpServletRequest req) { |
| | | try { |
| | | boolean flag = entity.getXmin() == 0 && entity.getYmin() == 0 && entity.getXmax() == 0 && entity.getYmax() == 0; |
| | | if (entity == null || |
| | | StringHelper.isEmpty(entity.getLayers()) || |
| | | StringHelper.isEmpty(entity.getToken()) || |
| | | flag) { |
| | | return fail("åæ°ä¸å®æ´"); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½"); |
| | | } |
| | | |
| | | String str = exportService.post(ue, entity); |
| | | if (StringHelper.isNull(str)) { |
| | | return fail("åºå¾å¤±è´¥"); |
| | | } |
| | | |
| | | return success("åºå¾æå", str); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage()); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸è½½åºå¾") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "guid", value = "æä»¶GUID", dataType = "String", paramType = "query") |
| | | }) |
| | | @RequestMapping(value = "/downloadFile", method = RequestMethod.GET) |
| | | public void downloadFile(String guid, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | if (StringHelper.isEmpty(guid)) { |
| | | WebHelper.writeInfo(HttpStatus.BAD_REQUEST, "æ¾ä¸å°æä»¶ID", res); |
| | | return; |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | DownloadEntity de = downloadService.selectByGuid(guid); |
| | | if (null == de) { |
| | | WebHelper.writeInfo(HttpStatus.NOT_FOUND, "æä»¶ä¸åå¨", res); |
| | | return; |
| | | } |
| | | |
| | | de.setDcount(de.getDcount() + 1); |
| | | de.setDownloadUser(ue.getId()); |
| | | int rows = downloadService.update(de); |
| | | |
| | | String filePath = downloadService.getDownloadFilePath(de); |
| | | WebHelper.download(filePath, de.getName(), res); |
| | | } catch (Exception ex) { |
| | | WebHelper.writeInfo(HttpStatus.ERROR, ex.getMessage(), res); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseQueryController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.all.StaticData; |
| | | import com.lf.server.entity.ctrl.ShpRecordEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.AesHelper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.data.UploaderService; |
| | | import com.lf.server.service.show.InquiryService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¯¢ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综åå±ç¤º\\æ¥è¯¢") |
| | | @RestController |
| | | @RequestMapping("/inquiry") |
| | | public class InquiryController extends BaseQueryController { |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | UploaderService uploaderService; |
| | | |
| | | @Autowired |
| | | InquiryService inquiryService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸ä¼ Shpæä»¶è¯»åç¬¬ä¸æ¡è®°å½çWKT") |
| | | @ResponseBody |
| | | @PostMapping(value = "/uploadShp") |
| | | public ResponseMsg<ShpRecordEntity> uploadShp(HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<MetaFileEntity> list = uploaderService.uploadData(null, null, req, res); |
| | | if (list == null || list.size() < StaticData.FOUR) { |
| | | return fail("æ²¡ææ¾å°å·²ä¸ä¼ çæ°æ®æä¸å®æ´", null); |
| | | } |
| | | |
| | | ShpRecordEntity sr = inquiryService.readShpFirstRecord(list); |
| | | if (sr != null && !StringHelper.isEmpty(sr.getWkt())) { |
| | | sr.setWkt(AesHelper.encrypt(sr.getWkt())); |
| | | } |
| | | |
| | | return success(sr); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.bd.DlgagnpEntity; |
| | | import com.lf.server.service.data.UploaderService; |
| | | import com.lf.server.service.show.LocateService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 综åå±ç¤º |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综åå±ç¤º\\å®ä½") |
| | | @RestController |
| | | @RequestMapping("/locate") |
| | | public class LocateController extends BaseController { |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | UploaderService uploaderService; |
| | | |
| | | @Autowired |
| | | LocateService locateService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°-å°åå°å") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "å¤"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectAddrByPage") |
| | | public ResponseMsg<List<DlgagnpEntity>> selectAddrByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | Page<DlgagnpEntity> paged = locateService.selectAddrByPage(name, pageSize, pageIndex); |
| | | |
| | | return success(paged.getTotal(), paged.getRecords()); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢WKT-å°åå°å") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectWktById") |
| | | public ResponseMsg<String> selectWktById(Integer id) { |
| | | try { |
| | | String wkt = locateService.selectWktById(id); |
| | | |
| | | return success(wkt); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.HttpStatus; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.all.StaticData; |
| | | import com.lf.server.entity.ctrl.MarkJsonEntity; |
| | | import com.lf.server.entity.data.DownloadEntity; |
| | | import com.lf.server.entity.data.MetaFileEntity; |
| | | import com.lf.server.entity.show.MarkEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | | import com.lf.server.service.data.DownloadService; |
| | | import com.lf.server.service.data.UploaderService; |
| | | import com.lf.server.service.show.MarkService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ ç» |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综åå±ç¤º\\æ ç»") |
| | | @RestController |
| | | @RequestMapping("/mark") |
| | | public class MarkController extends BaseController { |
| | | @Autowired |
| | | MarkService markService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | UploaderService uploaderService; |
| | | |
| | | @Autowired |
| | | DownloadService downloadService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<MarkEntity>> selectByPageAndCount(Integer pageSize, Integer pageIndex, HttpServletRequest req) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | int count = markService.selectCount(ue.getId()); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<MarkEntity> rs = markService.selectByPage(ue.getId(), pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<MarkEntity> selectById(int id) { |
| | | try { |
| | | MarkEntity entity = markService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MarkEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody MarkEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = markService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MarkEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<MarkEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MarkEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = markService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = markService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = markService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MarkEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody MarkEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = markService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MarkEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<MarkEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MarkEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = markService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸ä¼ ShapeFileæä»¶") |
| | | @ResponseBody |
| | | @PostMapping(value = "/uploadShp", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<List<MarkJsonEntity>> uploadShp(HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | |
| | | List<MetaFileEntity> meList = uploaderService.uploadData(null, null, req, res); |
| | | if (meList == null || meList.size() < StaticData.FOUR) { |
| | | return fail("æ²¡ææ¾å°å·²ä¸ä¼ çæ°æ®æä¸å®æ´", null); |
| | | } |
| | | |
| | | List<MarkJsonEntity> list = markService.readShpForMarks(meList); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸è½½ShapeFileæä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "æ ç»JSONå®ä½ç±»éå", dataType = "MarkJsonEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/downloadShp", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<String> downloadShp(@RequestBody List<MarkJsonEntity> list, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", null); |
| | | } |
| | | if (list == null || list.isEmpty()) { |
| | | return fail("æ¾ä¸å°æ ç»æ°æ®", null); |
| | | } |
| | | |
| | | String guid = markService.downloadShp(ue, list, req, res); |
| | | if (StringHelper.isNull(guid)) { |
| | | return fail("çæShapeFileæä»¶å¤±è´¥", null); |
| | | } |
| | | |
| | | return success(guid); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸è½½æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "guid", value = "æä»¶GUID", dataType = "String", paramType = "query") |
| | | }) |
| | | @RequestMapping(value = "/downloadFile", method = RequestMethod.GET) |
| | | public void downloadFile(String guid, HttpServletRequest req, HttpServletResponse res) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | WebHelper.write2Page(res, WebHelper.getErrJson(HttpStatus.UNAUTHORIZED, "ç¨æ·æªç»å½")); |
| | | } |
| | | |
| | | DownloadEntity de = downloadService.selectByGuid(guid); |
| | | if (de == null) { |
| | | WebHelper.write2Page(res, WebHelper.getErrJson(HttpStatus.NOT_FOUND, "æä»¶ä¸åå¨")); |
| | | } |
| | | |
| | | de.setDcount(de.getDcount() + 1); |
| | | de.setDownloadUser(ue.getId()); |
| | | int rows = downloadService.update(de); |
| | | |
| | | String filePath = markService.getDownloadFilePath(de); |
| | | WebHelper.download(filePath, de.getName(), res); |
| | | } catch (Exception ex) { |
| | | try { |
| | | WebHelper.write2Page(res, WebHelper.getErrJson(HttpStatus.UNAUTHORIZED, ex.getMessage())); |
| | | } catch (Exception e) { |
| | | log.error(e.getMessage(), e); |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.show; |
| | | |
| | | import com.lf.server.controller.all.BaseController; |
| | | import io.swagger.annotations.Api; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * ä¸é¢å¾ |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "综åå±ç¤º\\ä¸é¢å¾") |
| | | @RestController |
| | | @RequestMapping("/thematic") |
| | | public class ThematicController extends BaseController { |
| | | // |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.ArgsEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.ArgsService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * åæ°è®¾ç½® |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\ç³»ç»é
ç½®") |
| | | @RestController |
| | | @RequestMapping("/args") |
| | | public class ArgsController extends BaseController { |
| | | @Autowired |
| | | ArgsService argsService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", required = false, example = "æææ") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = argsService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "æææ"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<ArgsEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<ArgsEntity> rs = argsService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "æææ"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<ArgsEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = argsService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<ArgsEntity> rs = argsService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<ArgsEntity>> selectAll() { |
| | | try { |
| | | List<ArgsEntity> list = argsService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<ArgsEntity> selectById(int id) { |
| | | try { |
| | | ArgsEntity entity = argsService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | /*@SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "ArgsEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody ArgsEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = argsService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "ArgsEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<ArgsEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (ArgsEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = argsService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = argsService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = argsService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | }*/ |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "ArgsEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody ArgsEntity entity, HttpServletRequest req) { |
| | | try { |
| | | ArgsEntity ae = argsService.selectById(entity.getId()); |
| | | if (ae == null) { |
| | | return fail("æ¾ä¸å°å¾
æ´æ°çå®ä½", -1); |
| | | } |
| | | if (entity.getCvalue() > ae.getMaxValue() || entity.getCvalue() < ae.getMinValue()) { |
| | | return fail("å¾
æ´æ°çå¼ä¸å¨ææèå´å
", -1); |
| | | } |
| | | ae.setCvalue(entity.getCvalue()); |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | ae.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = argsService.updateForValue(ae); |
| | | if (count > 0) { |
| | | argsService.updateSettingData(ae); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | /*@SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "ArgsEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<ArgsEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (ArgsEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = argsService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | }*/ |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.AuthEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.AuthService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æé表 |
| | | * @author SWS |
| | | * @date 2022-09.28 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\æé管ç") |
| | | @RestController |
| | | @RequestMapping("/auth") |
| | | public class AuthController extends BaseController { |
| | | @Autowired |
| | | AuthService authService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", required = false, example = "sys_auth") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = authService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "sys_auth"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<AuthEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | List<AuthEntity> rs = authService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<AuthEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = authService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<AuthEntity> rs = authService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®èåå页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "menuid", value = "èåID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForMenu") |
| | | public ResponseMsg<List<AuthEntity>> selectByPageForMenu(Integer menuid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = authService.selectCountForMenu(menuid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<AuthEntity> rs = authService.selectByPageForMenu(menuid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.AuthEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertAuth", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertAuth(@RequestBody AuthEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = authService.insertAuth(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<AuthEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertAuths", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertAuths(@RequestBody List<AuthEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (AuthEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = authService.insertAuths(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteAuth") |
| | | public ResponseMsg<Integer> deleteAuth(int id) { |
| | | try { |
| | | int count = authService.deleteAuth(id); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteAuths") |
| | | public ResponseMsg<Integer> deleteAuths(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = authService.deleteAuths(ids); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "LoginEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateAuth", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateAuth(@RequestBody AuthEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = authService.updateAuth(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectAuth") |
| | | public ResponseMsg<AuthEntity> selectAuth(int id) { |
| | | try { |
| | | AuthEntity authEntity = authService.selectAuth(id); |
| | | |
| | | return success(authEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAuthAll") |
| | | public ResponseMsg<List<AuthEntity>> selectAuthAll() { |
| | | try { |
| | | List<AuthEntity> list = authService.selectAuthAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.BlacklistEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.BlacklistService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é»åå |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\é»åå") |
| | | @RestController |
| | | @RequestMapping("/blacklist") |
| | | public class BlacklistController extends BaseController { |
| | | @Autowired |
| | | BlacklistService blacklistService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ip", value = "IPå°å", dataType = "String", paramType = "query", required = false, example = "192."), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å«", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String ip, Integer type) { |
| | | try { |
| | | int count = blacklistService.selectCount(ip, type); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ip", value = "IPå°å", dataType = "String", paramType = "query", example = "192."), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å«", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<BlacklistEntity>> selectByPage(String ip, Integer type, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<BlacklistEntity> rs = blacklistService.selectByPage(ip, type, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ip", value = "IPå°å", dataType = "String", paramType = "query", required = false, example = "192."), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å«", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<BlacklistEntity>> selectByPageAndCount(String ip, Integer type, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = blacklistService.selectCount(ip, type); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<BlacklistEntity> rs = blacklistService.selectByPage(ip, type, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<BlacklistEntity>> selectAll() { |
| | | try { |
| | | List<BlacklistEntity> list = blacklistService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<BlacklistEntity> selectById(int id) { |
| | | try { |
| | | BlacklistEntity entity = blacklistService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "BlacklistEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody BlacklistEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = blacklistService.insert(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "BlacklistEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<BlacklistEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (BlacklistEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = blacklistService.inserts(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = blacklistService.delete(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = blacklistService.deletes(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "BlacklistEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody BlacklistEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = blacklistService.update(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "BlacklistEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<BlacklistEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (BlacklistEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = blacklistService.updates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.ResEntity; |
| | | import com.lf.server.service.all.ScheduleService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ§å¶å°æ§å¶å¨ |
| | | * @author WWW |
| | | * @date 2022-09-21 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\æ§å¶å°") |
| | | @RestController |
| | | @RequestMapping("/ctrl") |
| | | public class CtrlController extends BaseController { |
| | | @Autowired |
| | | private ScheduleService scheduleService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æå¡å¨ç¶æ") |
| | | @GetMapping(value = "/selectServerStatus") |
| | | public ResponseMsg<JSONObject> selectServerStatus() { |
| | | try { |
| | | JSONObject jsonObject = scheduleService.selectServerStatus(); |
| | | |
| | | return success(jsonObject); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢Cpuä¿¡æ¯") |
| | | @GetMapping(value = "/selectCpuInfo") |
| | | public ResponseMsg<JSONObject> selectCpuInfo() { |
| | | try { |
| | | JSONObject jsonObject = scheduleService.selectCpuInfo(); |
| | | |
| | | return success(jsonObject); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å
åä¿¡æ¯") |
| | | @GetMapping(value = "/selectMemInfo") |
| | | public ResponseMsg<JSONObject> selectMemInfo() { |
| | | try { |
| | | JSONObject jsonObject = scheduleService.selectMemInfo(); |
| | | |
| | | return success(jsonObject); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢å¨çº¿ç¨æ·") |
| | | @GetMapping(value = "/selectOnlineUsers") |
| | | public ResponseMsg<List<JSONObject>> selectOnlineUsers() { |
| | | try { |
| | | List<JSONObject> list = scheduleService.selectOnlineUsers(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æå¡èµæºç¶æ") |
| | | @GetMapping(value = "/selectResStatus") |
| | | public ResponseMsg<List<ResEntity>> selectResStatus() { |
| | | try { |
| | | List<ResEntity> list = scheduleService.selectResStatus(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.DepEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.sys.DepService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç»ç»æºæ |
| | | * @author sws |
| | | * @date 2022-09-23 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\åä½ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/dep") |
| | | public class DepController extends BaseController { |
| | | @Autowired |
| | | DepService depService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.DepEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDep", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDep(@RequestBody DepEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = depService.insertDep(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "com.lf.server.entity.sys.DepEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertDes", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertDes(@RequestBody List<DepEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DepEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = depService.insertDeps(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteDep") |
| | | public ResponseMsg<Integer> deleteDep(int id) { |
| | | try { |
| | | int count = depService.deleteDep(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteDeps") |
| | | public ResponseMsg<Integer> deleteDeps(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = depService.deleteDeps(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "DepEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDep", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDep(@RequestBody DepEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = depService.updateDep(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "DepEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateDeps", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateDeps(@RequestBody List<DepEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (DepEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = depService.updateDeps(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectDep") |
| | | public ResponseMsg<DepEntity> selectDep(int id) { |
| | | try { |
| | | DepEntity de = depService.selectDep(id); |
| | | return success(de); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æææ°æ®") |
| | | @GetMapping(value = "/selectDepAll") |
| | | public ResponseMsg<List<DepEntity>> selectDepAll() { |
| | | try { |
| | | List<DepEntity> list = depService.selectDepAll(); |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "é彿¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åä½åç§°", dataType = "String", paramType = "query", required = false, example = "ä¸å½xxxå·¥ç¨æéå
¬å¸") |
| | | }) |
| | | @GetMapping(value = "/selectDepRecursive") |
| | | public ResponseMsg<List<DepEntity>> selectDepRecursive(String name) { |
| | | try { |
| | | if (StringHelper.isEmpty(name)) { |
| | | name = "ä¸å½xxxå·¥ç¨æéå
¬å¸"; |
| | | } |
| | | List<DepEntity> list = depService.selectDepRecursive(name); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.LoginEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.LoginService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.sql.Timestamp; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç»å½æ¥å¿ |
| | | * @author SWS |
| | | * @date 2022-09.28 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\ç»å½æ¥å¿") |
| | | @RestController |
| | | @RequestMapping("/login") |
| | | public class LoginController extends BaseController { |
| | | @Autowired |
| | | LoginService loginService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "管çå"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 17:00:00") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String uname, Integer type, Timestamp start, Timestamp end) { |
| | | try { |
| | | int count = loginService.selectCount(uname, type, start, end); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "管çå"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 17:00:00"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<LoginEntity>> selectByPage(String uname, Integer type, Timestamp start, Timestamp end, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | List<LoginEntity> rs = loginService.selectByPage(uname, type, start, end, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "管çå"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 17:00:00"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<LoginEntity>> selectByPageAndCount(String uname, Integer type, Timestamp start, Timestamp end, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = loginService.selectCount(uname, type, start, end); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<LoginEntity> rs = loginService.selectByPage(uname, type, start, end, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.LoginEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertLogin", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertLogin(@RequestBody LoginEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | |
| | | int count = loginService.insertLogin(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<LoginEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertLogins", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertLogins(@RequestBody List<LoginEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (LoginEntity entity : list) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = loginService.insertLogins(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteLogin") |
| | | public ResponseMsg<Integer> deleteLogin(int id) { |
| | | try { |
| | | int count = loginService.deleteLogin(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteLogins") |
| | | public ResponseMsg<Integer> deleteLogins(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | int count = loginService.deleteLogins(ids); |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "LoginEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateLogin", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateLogin(@RequestBody LoginEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | |
| | | int count = loginService.updateLogin(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectLogin") |
| | | public ResponseMsg<LoginEntity> selectLogin(int id) { |
| | | try { |
| | | LoginEntity loginEntity = loginService.selectLogin(id); |
| | | |
| | | return success(loginEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectLoginAll") |
| | | public ResponseMsg<List<LoginEntity>> selectLoginAll() { |
| | | try { |
| | | List<LoginEntity> list = loginService.selectLoginAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.MenuAuthEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.MenuAuthService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * èå-æé |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\èåæé") |
| | | @RestController |
| | | @RequestMapping("/menuAuth") |
| | | public class MenuAuthController extends BaseController { |
| | | @Autowired |
| | | MenuAuthService menuAuthService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "menuid", value = "èåID", dataType = "Integer", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(Integer menuid) { |
| | | try { |
| | | int count = menuAuthService.selectCount(menuid); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "menuid", value = "èåID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<MenuAuthEntity>> selectByPage(Integer menuid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<MenuAuthEntity> rs = menuAuthService.selectByPage(menuid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "menuid", value = "èåID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<MenuAuthEntity>> selectByPageAndCount(Integer menuid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = menuAuthService.selectCount(menuid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<MenuAuthEntity> rs = menuAuthService.selectByPage(menuid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®è§è²ID+èåIDå页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "menuid", value = "èåID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForRole") |
| | | public ResponseMsg<List<MenuAuthEntity>> selectByPageForRole(Integer roleid, Integer menuid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = menuAuthService.selectCountForRole(roleid, menuid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<MenuAuthEntity> rs = menuAuthService.selectByPageForRole(roleid, menuid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<MenuAuthEntity>> selectAll() { |
| | | try { |
| | | List<MenuAuthEntity> list = menuAuthService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<MenuAuthEntity> selectById(int id) { |
| | | try { |
| | | MenuAuthEntity entity = menuAuthService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MenuAuthEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody MenuAuthEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = menuAuthService.insert(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MenuAuthEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<MenuAuthEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MenuAuthEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = menuAuthService.inserts(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = menuAuthService.delete(id); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = menuAuthService.deletes(ids); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MenuAuthEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody MenuAuthEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = menuAuthService.update(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MenuAuthEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<MenuAuthEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MenuAuthEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = menuAuthService.updates(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.entity.sys.MenuEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.MenuService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * èå |
| | | * @author sws |
| | | * @date 2022-09-23 |
| | | */ |
| | | @Api(tags= "è¿ç»´ç®¡ç\\èå管ç") |
| | | @RestController |
| | | @RequestMapping("/menu") |
| | | public class MenuController extends BaseController { |
| | | @Autowired |
| | | MenuService menuService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.MenusEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertMenu", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertMenu(@RequestBody MenuEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = menuService.insertMenu(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "com.lf.server.entity.sys.MenusEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertMenus", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertMenus(@RequestBody List<MenuEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MenuEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = menuService.insertMenus(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteMenu") |
| | | public ResponseMsg<Integer> deleteMenu(int id) { |
| | | try { |
| | | int count = menuService.deleteMenu(id); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteMenus") |
| | | public ResponseMsg<Integer> deleteMenus(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = menuService.deleteMenus(ids); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "MenusEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateMenu", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateMenu(@RequestBody MenuEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = menuService.updateMenu(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "MenusEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateMenus", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateMenus(@RequestBody List<MenuEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (MenuEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = menuService.updateMenus(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectMenu") |
| | | public ResponseMsg<MenuEntity> selectMenu(int id) { |
| | | try { |
| | | MenuEntity menuEntity = menuService.selectMenu(id); |
| | | |
| | | return success(menuEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectMenuAll") |
| | | public ResponseMsg<List<MenuEntity>> selectMenuAll() { |
| | | try { |
| | | List<MenuEntity> list = menuService.selectMenuAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "é彿¥è¯¢æ°æ®") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "èååç§°", dataType = "String", paramType = "query", required = false, example = "管éåºç¡å¤§æ°æ®å¹³å°") |
| | | }) |
| | | @GetMapping(value = "/selectMenuRecursive") |
| | | public ResponseMsg<List<DirEntity>> selectMenuRecursive(String name) { |
| | | try { |
| | | if (StringHelper.isEmpty(name)) { |
| | | name = "管éåºç¡å¤§æ°æ®å¹³å°"; |
| | | } |
| | | List<DirEntity> list = menuService.selectMenuRecursive(name); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.OperateEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.OperateService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.sql.Timestamp; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æä½æ¥å¿ |
| | | * @author SWS |
| | | * @date 2022-09.28 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\æä½æ¥å¿") |
| | | @RestController |
| | | @RequestMapping("/operate") |
| | | public class OperateController extends BaseController { |
| | | @Autowired |
| | | OperateService operateService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "管çå"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 17:00:00") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String uname, Integer type, Timestamp start, Timestamp end) { |
| | | try { |
| | | int count = operateService.selectCount(uname, type, start, end); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "管çå"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 17:00:00"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<OperateEntity>> selectByPage(String uname, Integer type, Timestamp start, Timestamp end, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | List<OperateEntity> rs = operateService.selectByPage(uname, type, start, end, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "管çå"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 17:00:00"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<OperateEntity>> selectByPageAndCount(String uname, Integer type, Timestamp start, Timestamp end, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = operateService.selectCount(uname, type, start, end); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<OperateEntity> rs = operateService.selectByPage(uname, type, start, end, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.OperateEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertOperate", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertOperate(@RequestBody OperateEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | |
| | | int count = operateService.insertOperate(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<OperateEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertOperates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertOperates(@RequestBody List<OperateEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (OperateEntity entity : list) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = operateService.insertOperates(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteOperate") |
| | | public ResponseMsg<Integer> deleteOperate(int id) { |
| | | try { |
| | | int count = operateService.deleteOperate(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteOperates") |
| | | public ResponseMsg<Integer> deleteOperates(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | int count = operateService.deleteOperates(ids); |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "OperateEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateOperate", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateOperate(@RequestBody OperateEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | |
| | | int count = operateService.updateOperate(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectOperate") |
| | | public ResponseMsg<OperateEntity> selectOperate(int id) { |
| | | try { |
| | | OperateEntity operateEntity = operateService.selectOperate(id); |
| | | |
| | | return success(operateEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectOperateAll") |
| | | public ResponseMsg<List<OperateEntity>> selectOperateAll() { |
| | | try { |
| | | List<OperateEntity> list = operateService.selectOperateAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.ResEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.all.UploadAttachService; |
| | | import com.lf.server.service.sys.ResService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * èµæºè¡¨ |
| | | * @author SWS |
| | | * @date 2022-09.28 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\èµæºç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/res") |
| | | public class ResController extends BaseController { |
| | | @Autowired |
| | | ResService resService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | UploadAttachService uploadAttachService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | private final static String TAB_NAME = "lf.sys_res"; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", required = false, example = "sys_res") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name) { |
| | | try { |
| | | int count = resService.selectCount(name); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "sys_res"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<ResEntity>> selectByPage(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<ResEntity> rs = resService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "sys_res"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<ResEntity>> selectByPageAndCount(String name, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = resService.selectCount(name); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<ResEntity> rs = resService.selectByPage(name, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®è§è²å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForRole") |
| | | public ResponseMsg<List<ResEntity>> selectByPageForRole(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = resService.selectCountForRole(roleid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<ResEntity> rs = resService.selectByPageForRole(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.ResEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertRes", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertRes(@RequestBody ResEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = resService.insertRes(entity); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<ResEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertRess", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertRess(@RequestBody List<ResEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (ResEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = resService.insertRess(list); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteRes") |
| | | public ResponseMsg<Integer> deleteRes(int id) { |
| | | try { |
| | | int count = resService.deleteRes(id); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteRess") |
| | | public ResponseMsg<Integer> deleteRess(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = resService.deleteRess(ids); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "ResEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateRes", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateRes(@RequestBody ResEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = resService.updateRes(entity); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectRes") |
| | | public ResponseMsg<ResEntity> selectRes(int id) { |
| | | try { |
| | | ResEntity resEntity = resService.selectRes(id); |
| | | |
| | | return success(resEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectResAll") |
| | | public ResponseMsg<List<ResEntity>> selectResAll() { |
| | | try { |
| | | List<ResEntity> list = resService.selectResAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸ä¼ æä»¶") |
| | | @ResponseBody |
| | | @PostMapping(value = "/upload") |
| | | public ResponseMsg<String> upload(@RequestParam("file") MultipartFile file, HttpServletRequest req) { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | |
| | | return uploadAttachService.upload(ue, TAB_NAME, file, this); |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "ä¸è½½æä»¶") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "guid", value = "éä»¶Guid", dataType = "String", paramType = "body") |
| | | }) |
| | | @GetMapping(value = "/download") |
| | | public void download(String guid, HttpServletResponse res) { |
| | | uploadAttachService.download(guid, res); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.ResOpEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.ResOpService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.sql.Timestamp; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * èµæºæä½ |
| | | * @author SWS |
| | | * @date 2022-09.28 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\èµæºæä½") |
| | | @RestController |
| | | @RequestMapping("/resOp") |
| | | public class ResOpController extends BaseController { |
| | | @Autowired |
| | | ResOpService resOpService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "èµæºåç§°", dataType = "String", paramType = "query", example = "天å°å¾"), |
| | | @ApiImplicitParam(name = "type", value = "æä½ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 18:00:00"), |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name, Integer type, Timestamp start, Timestamp end) { |
| | | try { |
| | | int count = resOpService.selectCount(name, type, start, end); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "èµæºåç§°", dataType = "String", paramType = "query", example = "天å°å¾"), |
| | | @ApiImplicitParam(name = "type", value = "æä½ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 18:00:00"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<ResOpEntity>> selectByPage(String name, Integer type, Timestamp start, Timestamp end, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | List<ResOpEntity> rs = resOpService.selectByPage(name, type, start, end, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "èµæºåç§°", dataType = "String", paramType = "query", example = "天å°å¾"), |
| | | @ApiImplicitParam(name = "type", value = "æä½ç±»å", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "start", value = "å¼å§æ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-09 09:00:00"), |
| | | @ApiImplicitParam(name = "end", value = "ç»ææ¶é´", dataType = "Timestamp", paramType = "query", example = "2022-10-10 18:00:00"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<ResOpEntity>> selectByPageAndCount(String name, Integer type, Timestamp start, Timestamp end, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = resOpService.selectCount(name, type, start, end); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<ResOpEntity> rs = resOpService.selectByPage(name, type, start, end, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.ResOpEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertResOp", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertResOp(@RequestBody ResOpEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | |
| | | int count = resOpService.insertResOp(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<ResOpEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertResOps", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertResOps(@RequestBody List<ResOpEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (ResOpEntity entity : list) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = resOpService.insertResOps(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteLogin") |
| | | public ResponseMsg<Integer> deleteResOp(int id) { |
| | | try { |
| | | int count = resOpService.deleteResOp(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteResOps") |
| | | public ResponseMsg<Integer> deleteResOps(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | int count = resOpService.deleteResOps(ids); |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "IDæ°ç»", dataType = "LoginEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateResOp", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateResOp(@RequestBody ResOpEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUserid(ue.getId()); |
| | | } |
| | | |
| | | int count = resOpService.updateResOp(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectResOp") |
| | | public ResponseMsg<ResOpEntity> selectResOp(int id) { |
| | | try { |
| | | ResOpEntity resOpEntity = resOpService.selectResOp(id); |
| | | |
| | | return success(resOpEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectResOpAll") |
| | | public ResponseMsg<List<ResOpEntity>> selectResOpAll() { |
| | | try { |
| | | List<ResOpEntity> list = resOpService.selectResOpAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.RoleEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.RoleService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | *è§è²è¡¨ |
| | | * @author SWS |
| | | * @date 2022-09.28 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\è§è²ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/role") |
| | | public class RoleController extends BaseController { |
| | | @Autowired |
| | | RoleService roleService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "Admin"), |
| | | @ApiImplicitParam(name = "depid", value = "åä½ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name, Integer depid) { |
| | | try { |
| | | int count = roleService.selectCount(name, depid); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "Admin"), |
| | | @ApiImplicitParam(name = "depid", value = "åä½ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<RoleEntity>> selectByPage(String name, Integer depid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<RoleEntity> rs = roleService.selectByPage(name, depid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "åç§°", dataType = "String", paramType = "query", example = "Admin"), |
| | | @ApiImplicitParam(name = "depid", value = "åä½ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<RoleEntity>> selectByPageAndCount(String name, Integer depid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = roleService.selectCount(name, depid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<RoleEntity> rs = roleService.selectByPage(name, depid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.RoleEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertRole", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertRole(@RequestBody RoleEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleService.insertRole(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<RoleEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertRoles", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertRoles(@RequestBody List<RoleEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleService.insertRoles(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteRole") |
| | | public ResponseMsg<Integer> deleteRole(int id) { |
| | | try { |
| | | int count = roleService.deleteRole(id); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteAuths") |
| | | public ResponseMsg<Integer> deleteRoles(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = roleService.deleteRoles(ids); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateRole", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateRole(@RequestBody RoleEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleService.updateRole(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectRole") |
| | | public ResponseMsg<RoleEntity> selectRole(int id) { |
| | | try { |
| | | RoleEntity roleEntity = roleService.selectRole(id); |
| | | |
| | | return success(roleEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectRoleAll") |
| | | public ResponseMsg<List<RoleEntity>> selectRoleAll() { |
| | | try { |
| | | List<RoleEntity> list = roleService.selectRoleAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.RoleMenuAuthEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.RoleMenuAuthService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è§è²-èå |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\è§è²èå") |
| | | @RestController |
| | | @RequestMapping("/roleMenuAuth") |
| | | public class RoleMenuAuthController extends BaseController { |
| | | @Autowired |
| | | RoleMenuAuthService roleMenuAuthService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(Integer roleid) { |
| | | try { |
| | | int count = roleMenuAuthService.selectCount(roleid); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<RoleMenuAuthEntity>> selectByPage(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<RoleMenuAuthEntity> rs = roleMenuAuthService.selectByPage(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<RoleMenuAuthEntity>> selectByPageAndCount(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = roleMenuAuthService.selectCount(roleid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<RoleMenuAuthEntity> rs = roleMenuAuthService.selectByPage(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®è§è²ID+èåIDå页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "menuid", value = "èåID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForRole") |
| | | public ResponseMsg<List<RoleMenuAuthEntity>> selectByPageForRole(Integer roleid, Integer menuid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | int count = roleMenuAuthService.selectCountForRole(roleid, menuid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<RoleMenuAuthEntity> rs = roleMenuAuthService.selectByPageForRole(roleid, menuid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<RoleMenuAuthEntity>> selectAll() { |
| | | try { |
| | | List<RoleMenuAuthEntity> list = roleMenuAuthService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<RoleMenuAuthEntity> selectById(int id) { |
| | | try { |
| | | RoleMenuAuthEntity entity = roleMenuAuthService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleMenuAuthEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody RoleMenuAuthEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleMenuAuthService.insert(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "RoleMenuAuthEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<RoleMenuAuthEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleMenuAuthEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleMenuAuthService.inserts(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = roleMenuAuthService.delete(id); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = roleMenuAuthService.deletes(ids); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleMenuAuthEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody RoleMenuAuthEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleMenuAuthService.update(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "RoleMenuAuthEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<RoleMenuAuthEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleMenuAuthEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleMenuAuthService.updates(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.RoleResEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.RoleResService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è§è²-èµæº |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\è§è²èµæº") |
| | | @RestController |
| | | @RequestMapping("/roleRes") |
| | | public class RoleResController extends BaseController { |
| | | @Autowired |
| | | RoleResService roleResService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(Integer roleid) { |
| | | try { |
| | | int count = roleResService.selectCount(roleid); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<RoleResEntity>> selectByPage(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<RoleResEntity> rs = roleResService.selectByPage(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<RoleResEntity>> selectByPageAndCount(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = roleResService.selectCount(roleid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<RoleResEntity> rs = roleResService.selectByPage(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<RoleResEntity>> selectAll() { |
| | | try { |
| | | List<RoleResEntity> list = roleResService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<RoleResEntity> selectById(int id) { |
| | | try { |
| | | RoleResEntity entity = roleResService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleResEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody RoleResEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleResService.insert(entity); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "RoleResEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<RoleResEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleResEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleResService.inserts(list); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = roleResService.delete(id); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = roleResService.deletes(ids); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleResEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody RoleResEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleResService.update(entity); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "RoleResEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<RoleResEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleResEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleResService.updates(list); |
| | | if (count > 0) { |
| | | permsService.clearResCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.RoleUserEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.all.PermsService; |
| | | import com.lf.server.service.sys.RoleUserService; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è§è²-ç¨æ· |
| | | * @author WWW |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\ç¨æ·è§è²") |
| | | @RestController |
| | | @RequestMapping("/roleUser") |
| | | public class RoleUserController extends BaseController { |
| | | @Autowired |
| | | RoleUserService roleUserService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @Autowired |
| | | PermsService permsService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", required = false, example = "") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(Integer roleid) { |
| | | try { |
| | | int count = roleUserService.selectCount(roleid); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<RoleUserEntity>> selectByPage(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<RoleUserEntity> rs = roleUserService.selectByPage(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = ""), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<RoleUserEntity>> selectByPageAndCount(Integer roleid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = roleUserService.selectCount(roleid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<RoleUserEntity> rs = roleUserService.selectByPage(roleid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectAll") |
| | | public ResponseMsg<List<RoleUserEntity>> selectAll() { |
| | | try { |
| | | List<RoleUserEntity> list = roleUserService.selectAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectById") |
| | | public ResponseMsg<RoleUserEntity> selectById(int id) { |
| | | try { |
| | | RoleUserEntity entity = roleUserService.selectById(id); |
| | | |
| | | return success(entity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleUserEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/insert", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insert(@RequestBody RoleUserEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleUserService.insert(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "RoleUserEntity", paramType = "body") |
| | | }) |
| | | @PostMapping(value = "/inserts", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> inserts(@RequestBody List<RoleUserEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleUserEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleUserService.inserts(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/delete") |
| | | public ResponseMsg<Integer> delete(int id) { |
| | | try { |
| | | int count = roleUserService.delete(id); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "Integer", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deletes") |
| | | public ResponseMsg<Integer> deletes(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = roleUserService.deletes(ids); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "RoleUserEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/update", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> update(@RequestBody RoleUserEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = roleUserService.update(entity); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "RoleUserEntity", paramType = "body") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updates", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updates(@RequestBody List<RoleUserEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (RoleUserEntity entity : list) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = roleUserService.updates(list); |
| | | if (count > 0) { |
| | | permsService.clearPermsCache(); |
| | | } |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.TokenEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 令ç表 |
| | | * @author sws |
| | | * @date 2022-09-28 |
| | | */ |
| | | |
| | | @Api(tags = "è¿ç»´ç®¡ç\\令ç管ç") |
| | | @RestController |
| | | @RequestMapping("/token") |
| | | public class TokenController extends BaseController { |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "令ç", dataType = "String", paramType = "query", required = false, example = "sys_token"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "sys_token"), |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String name,Integer type) { |
| | | try { |
| | | int count = tokenService.selectCount(name,type); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "令ç", dataType = "String", paramType = "query", example = "sys_token"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "sys_token"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<TokenEntity>> selectByPage(String name, Integer type,Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | List<TokenEntity> rs = tokenService.selectByPage(name,type, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "name", value = "令ç", dataType = "String", paramType = "query", example = "sys_token"), |
| | | @ApiImplicitParam(name = "type", value = "ç±»å", dataType = "Integer", paramType = "query", example = "sys_token"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<TokenEntity>> selectByPageAndCount(String name,Integer type, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = tokenService.selectCount(name,type); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<TokenEntity> rs = tokenService.selectByPage(name,type, pageSize, pageSize * (pageIndex - 1)); |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.sys.TokenEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertToken", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertToken(@RequestBody TokenEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = tokenService.insertToken(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<TokenEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertTokens", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertTokens(@RequestBody List<TokenEntity> list, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | for (TokenEntity entity : list) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = tokenService.insertTokens(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteToken") |
| | | public ResponseMsg<Integer> deleteToken(int id) { |
| | | try { |
| | | int count = tokenService.deleteToken(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteTokens") |
| | | public ResponseMsg<Integer> deleteTokens(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | int count = tokenService.deleteTokens(ids); |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "TokenEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateToken", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> updateToken(@RequestBody TokenEntity entity, HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = tokenService.updateToken(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectToken") |
| | | public ResponseMsg<TokenEntity> selectToken(int id) { |
| | | try { |
| | | TokenEntity tokenEntity = tokenService.selectToken(id); |
| | | |
| | | return success(tokenEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectTokenAll") |
| | | public ResponseMsg<List<TokenEntity>> selectTokenAll() { |
| | | try { |
| | | List<TokenEntity> list = tokenService.selectTokenAll(); |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.controller.sys; |
| | | |
| | | import com.lf.server.annotation.SysLog; |
| | | import com.lf.server.controller.all.BaseController; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.entity.ctrl.UserUpdateEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.service.sys.TokenService; |
| | | import com.lf.server.service.sys.UserService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç¨æ·è¡¨ |
| | | * @author sws |
| | | * @date 2022-09-27 |
| | | */ |
| | | @Api(tags = "è¿ç»´ç®¡ç\\ç¨æ·ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/user") |
| | | public class UserController extends BaseController { |
| | | @Autowired |
| | | UserService userService; |
| | | |
| | | @Autowired |
| | | TokenService tokenService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢è®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", required = false, example = "室") |
| | | }) |
| | | @GetMapping({"/selectCount"}) |
| | | public ResponseMsg<Integer> selectCount(String uname) { |
| | | try { |
| | | int count = userService.selectCount(uname); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ¶å", dataType = "String", paramType = "query", example = "室"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPage") |
| | | public ResponseMsg<List<UserEntity>> selectByPage(String uname, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | |
| | | List<UserEntity> rs = userService.selectByPage(uname, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "室"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageAndCount") |
| | | public ResponseMsg<List<UserEntity>> selectByPageAndCount(String uname, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = userService.selectCount(uname); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | List<UserEntity> rs = userService.selectByPage(uname, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®è§è²+åä½å页æ¥è¯¢å¹¶è¿åè®°å½æ°") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uname", value = "ç¨æ·å", dataType = "String", paramType = "query", example = "室"), |
| | | @ApiImplicitParam(name = "roleid", value = "è§è²ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "depid", value = "åä½ID", dataType = "Integer", paramType = "query", example = "1"), |
| | | @ApiImplicitParam(name = "pageSize", value = "æ¯é¡µæ¡æ°", dataType = "Integer", paramType = "query", example = "10"), |
| | | @ApiImplicitParam(name = "pageIndex", value = "å页æ°ï¼ä»1å¼å§ï¼", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectByPageForRole") |
| | | public ResponseMsg<List<UserEntity>> selectByPageForRole(String uname, Integer roleid, Integer depid, Integer pageSize, Integer pageIndex) { |
| | | try { |
| | | if (pageSize < 1 || pageIndex < 1) { |
| | | return fail("æ¯é¡µé¡µæ°æå页æ°å°äº1", null); |
| | | } |
| | | int count = userService.selectCountForRole(uname, roleid, depid); |
| | | if (count == 0) { |
| | | return success(0, null); |
| | | } |
| | | |
| | | List<UserEntity> rs = userService.selectByPageForRole(uname, roleid, depid, pageSize, pageSize * (pageIndex - 1)); |
| | | |
| | | return success(count, rs); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/selectUser") |
| | | public ResponseMsg<UserEntity> selectUser(int id) { |
| | | try { |
| | | UserEntity userEntity = userService.selectUser(id); |
| | | |
| | | return success(userEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ ¹æ®ç¨æ·IDæ¥è¯¢") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "uid", value = "ç¨æ·ID", dataType = "String", paramType = "query", example = "admin") |
| | | }) |
| | | @GetMapping(value = "/selectByUid") |
| | | public ResponseMsg<UserEntity> selectByUid(String uid) { |
| | | try { |
| | | if (StringHelper.isEmpty(uid)) { |
| | | fail("ç¨æ·IDä¸è½ä¸ºç©º", null); |
| | | } |
| | | |
| | | UserEntity userEntity = userService.selectByUid(uid); |
| | | |
| | | return success(userEntity); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢ææ") |
| | | @GetMapping(value = "/selectUserAll") |
| | | public ResponseMsg<List<UserEntity>> selectUserAll() { |
| | | try { |
| | | List<UserEntity> list = userService.selectUserAll(); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), null); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ¥è¯¢æ¯/å¦ä¸ºç®¡çå") |
| | | @GetMapping(value = "/selectForIsAdmin") |
| | | public ResponseMsg<Boolean> selectForIsAdmin(HttpServletRequest req) { |
| | | try { |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue == null) { |
| | | return fail("ç¨æ·æªç»å½", false); |
| | | } |
| | | |
| | | Integer rows = userService.selectForIsAdmin(ue.getId()); |
| | | |
| | | return success("æå", rows > 0); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), false); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "com.lf.server.entity.data.UserEntity", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertUser", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Integer> insertUser(@RequestBody UserEntity entity, HttpServletRequest req) { |
| | | try { |
| | | String str = userService.validateNewPwd(entity); |
| | | if (str != null) { |
| | | return fail(str, -1); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = userService.insertUser(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æå
¥å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "list", value = "å®ä½ç±»éå", dataType = "List<UserEntity>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/insertUsers", produces = "application/json; charset=UTF-8") |
| | | @SuppressWarnings("AlibabaRemoveCommentedCode") |
| | | public ResponseMsg<Integer> insertUsers(@RequestBody List<UserEntity> list, HttpServletRequest req) { |
| | | try { |
| | | if (list == null || list.isEmpty()) { |
| | | return fail("å®ä½ç±»éå为空", -1); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | for (UserEntity entity : list) { |
| | | /*String str = userService.validateNewPwd(entity); |
| | | if (str != null) { |
| | | return fail(str, -1); |
| | | }*/ |
| | | if (ue != null) { |
| | | entity.setCreateUser(ue.getId()); |
| | | } |
| | | } |
| | | |
| | | int count = userService.insertUsers(list); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", value = "ID", dataType = "Integer", paramType = "query", example = "1") |
| | | }) |
| | | @GetMapping(value = "/deleteUser") |
| | | public ResponseMsg<Integer> deleteUser(int id) { |
| | | try { |
| | | int count = userService.deleteUser(id); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "å é¤å¤æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "ids", value = "IDæ°ç»", dataType = "List<Integer>", paramType = "query", example = "1,2") |
| | | }) |
| | | @GetMapping(value = "/deleteUsers") |
| | | public ResponseMsg<Integer> deleteUsers(@RequestParam List<Integer> ids) { |
| | | try { |
| | | if (ids == null || ids.isEmpty()) { |
| | | return fail("idæ°ç»ä¸è½ä¸ºç©º", -1); |
| | | } |
| | | |
| | | int count = userService.deleteUsers(ids); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°ä¸æ¡") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "entity", value = "å®ä½ç±»", dataType = "UserEntity", paramType = "body", example = "") |
| | | }) |
| | | @ResponseBody |
| | | @PostMapping(value = "/updateUser", produces = "application/json; charset=UTF-8") |
| | | @SuppressWarnings("AlibabaRemoveCommentedCode") |
| | | public ResponseMsg<Integer> updateUser(@RequestBody UserEntity entity, HttpServletRequest req) { |
| | | try { |
| | | /*String str = userService.validateOldPwd(entity); |
| | | if (str != null) { |
| | | return fail(str, -1); |
| | | }*/ |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | if (ue != null) { |
| | | entity.setUpdateUser(ue.getId()); |
| | | } |
| | | |
| | | int count = userService.updateUsers(entity); |
| | | |
| | | return success(count); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), -1); |
| | | } |
| | | } |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "æ´æ°å¤ä¸ªç¨æ·å¯ç ") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "adminPwd", value = "管çåå¯ç ", dataType = "String", paramType = "body", example = ""), |
| | | @ApiImplicitParam(name = "newPwd", value = "æ°å¯ç ", dataType = "String", paramType = "body", example = ""), |
| | | @ApiImplicitParam(name = "ids", value = "ç¨æ·IDéå", dataType = "List<Integer>", paramType = "body", example = "") |
| | | }) |
| | | @PostMapping(value = "/updateUsersPwd", produces = "application/json; charset=UTF-8") |
| | | public ResponseMsg<Boolean> updateUsersPwd(@RequestBody UserUpdateEntity uue, HttpServletRequest req) { |
| | | try { |
| | | if (uue == null || uue.getIds() == null || uue.getIds().isEmpty()) { |
| | | return fail("æ²¡ææ¾å°æ°æ®", false); |
| | | } |
| | | |
| | | UserEntity ue = tokenService.getCurrentUser(req); |
| | | String str = userService.validateAdminPwd(ue, uue.getAdminPwd()); |
| | | if (str != null) { |
| | | return fail(str, false); |
| | | } |
| | | |
| | | Integer rows = userService.selectForIsAdmin(ue.getId()); |
| | | if (rows < 1) { |
| | | return fail("åªå
许管çåæä½", false); |
| | | } |
| | | |
| | | str = userService.validateNewPwd(ue, uue.getNewPwd()); |
| | | if (str != null) { |
| | | return fail(str, false); |
| | | } |
| | | |
| | | rows = userService.updateUsersPwd(ue.getId(), ue.getSalt(), uue.getIds()); |
| | | |
| | | return success(rows > 0 ? "æ´æ°æå" : "æ´æ°å¤±è´¥", rows > 0); |
| | | } catch (Exception ex) { |
| | | return fail(ex.getMessage(), false); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * åºç¡å®ä½ç±» |
| | | * @author WWW |
| | | */ |
| | | public class BaseEntity implements Serializable { |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer gid; |
| | | |
| | | private String eventid; |
| | | |
| | | private Integer dirid; |
| | | |
| | | private Integer depid; |
| | | |
| | | private Integer verid; |
| | | |
| | | private Timestamp createtime; |
| | | |
| | | private Integer createuser; |
| | | |
| | | private Integer updateuser; |
| | | |
| | | private Timestamp updatetime; |
| | | |
| | | public BaseEntity() { |
| | | } |
| | | |
| | | public Integer getGid() { |
| | | return gid; |
| | | } |
| | | |
| | | public void setGid(Integer gid) { |
| | | this.gid = gid; |
| | | } |
| | | |
| | | public String getEventid() { |
| | | return eventid; |
| | | } |
| | | |
| | | public void setEventid(String eventid) { |
| | | this.eventid = eventid; |
| | | } |
| | | |
| | | public Integer getDirid() { |
| | | return dirid; |
| | | } |
| | | |
| | | public void setDirid(Integer dirid) { |
| | | this.dirid = dirid; |
| | | } |
| | | |
| | | public Integer getDepid() { |
| | | return depid; |
| | | } |
| | | |
| | | public void setDepid(Integer depid) { |
| | | this.depid = depid; |
| | | } |
| | | |
| | | public Integer getVerid() { |
| | | return verid; |
| | | } |
| | | |
| | | public void setVerid(Integer verid) { |
| | | this.verid = verid; |
| | | } |
| | | |
| | | public Timestamp getCreatetime() { |
| | | return createtime; |
| | | } |
| | | |
| | | public void setCreatetime(Timestamp createtime) { |
| | | this.createtime = createtime; |
| | | } |
| | | |
| | | public Integer getCreateuser() { |
| | | return createuser; |
| | | } |
| | | |
| | | public void setCreateuser(Integer createuser) { |
| | | this.createuser = createuser; |
| | | } |
| | | |
| | | public Integer getUpdateuser() { |
| | | return updateuser; |
| | | } |
| | | |
| | | public void setUpdateuser(Integer updateuser) { |
| | | this.updateuser = updateuser; |
| | | } |
| | | |
| | | public Timestamp getUpdatetime() { |
| | | return updatetime; |
| | | } |
| | | |
| | | public void setUpdatetime(Timestamp updatetime) { |
| | | this.updatetime = updatetime; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | |
| | | /** |
| | | * 空é´åºç¡å®ä½ç±» |
| | | * @author WWW |
| | | */ |
| | | public class BaseGeoEntity extends BaseEntity { |
| | | @TableField(select = false) |
| | | private String geom; |
| | | |
| | | public String getGeom() { |
| | | return geom; |
| | | } |
| | | |
| | | public void setGeom(String geom) { |
| | | this.geom = geom; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | /** |
| | | * Httpç¶æç ç±» |
| | | * @author WWW |
| | | */ |
| | | public enum HttpStatus { |
| | | /** |
| | | * è¯·æ±æå |
| | | */ |
| | | OK(200,"è¯·æ±æå"), |
| | | |
| | | /** |
| | | * è¯·æ±æ æ |
| | | */ |
| | | BAD_REQUEST(400,"è¯·æ±æ æ"), |
| | | |
| | | /** |
| | | * æªç»ææè®¿é® |
| | | */ |
| | | UNAUTHORIZED(401,"æªç»ææè®¿é®"), |
| | | |
| | | /** |
| | | * æå¡è¯·æ±æªæ¾å° |
| | | */ |
| | | NOT_FOUND(404,"æå¡è¯·æ±æªæ¾å°"), |
| | | |
| | | /** |
| | | * ç³»ç»é误 |
| | | */ |
| | | ERROR(500,"ç³»ç»é误"), |
| | | |
| | | /** |
| | | * åå¨éå¤çæ°æ® |
| | | */ |
| | | UNIQUE_ERROR(500100,"åå¨éå¤çæ°æ®"), |
| | | |
| | | /** |
| | | * åæ°æ ¡éªé误 |
| | | */ |
| | | VALIDATE_ERROR(500101,"åæ°æ ¡éªé误"), |
| | | |
| | | /** |
| | | * tokené误 |
| | | */ |
| | | TOKEN_ERROR(500102,"tokené误"), |
| | | |
| | | /** |
| | | * ç¨æ·æªç»é |
| | | */ |
| | | NO_LOGIN_ERROR(500104,"ç¨æ·æªç»é"), |
| | | |
| | | /** |
| | | * ç»é失败 |
| | | */ |
| | | LOGIN_ERROR(500105,"ç»é失败"), |
| | | |
| | | /** |
| | | * æ æéè®¿é® |
| | | */ |
| | | NO_AUTH_ERROR(500106,"æ æé访é®"), |
| | | |
| | | /** |
| | | * ç¨æ·åé误 |
| | | */ |
| | | LOGIN_USER_ERROR(500107,"ç¨æ·åé误"), |
| | | |
| | | /** |
| | | * å¯ç é误 |
| | | */ |
| | | LOGIN_PWD_ERROR(500108,"å¯ç é误"), |
| | | |
| | | /** |
| | | * ç¨æ·è¢«éå® |
| | | */ |
| | | USER_LOCK_ERROR(500109,"ç¨æ·è¢«éå®"), |
| | | |
| | | /** |
| | | * å¯ç ä¸åè§è |
| | | */ |
| | | PWD_NONSTANDARD(500111,"å¯ç ä¸åè§è"), |
| | | |
| | | /** |
| | | * å¯ç è¿æ |
| | | */ |
| | | LOGIN_PWD_EXPIRE(500116,"å¯ç è¿æ"); |
| | | |
| | | private HttpStatus(int value, String msg) { |
| | | this.value = value; |
| | | this.msg = msg; |
| | | } |
| | | |
| | | private int value; |
| | | |
| | | private String msg; |
| | | |
| | | public int getValue() { |
| | | return value; |
| | | } |
| | | |
| | | public String getMsg() { |
| | | return msg; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * èåææ |
| | | * @author WWW |
| | | */ |
| | | public class MenusAuthEntity implements Serializable { |
| | | private static final long serialVersionUID = -944664756113218L; |
| | | |
| | | private Integer id; |
| | | |
| | | private Integer pid; |
| | | |
| | | private String cnName; |
| | | |
| | | private String enName; |
| | | |
| | | private String url; |
| | | |
| | | private String perms; |
| | | |
| | | private Integer type; |
| | | |
| | | private String icon; |
| | | |
| | | private Integer level; |
| | | |
| | | private Integer orderNum; |
| | | |
| | | private Integer isShow; |
| | | |
| | | public MenusAuthEntity() { |
| | | |
| | | } |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Integer pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public String getCnName() { |
| | | return cnName; |
| | | } |
| | | |
| | | public void setCnName(String cnName) { |
| | | this.cnName = cnName; |
| | | } |
| | | |
| | | public String getEnName() { |
| | | return enName; |
| | | } |
| | | |
| | | public void setEnName(String enName) { |
| | | this.enName = enName; |
| | | } |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | |
| | | public String getPerms() { |
| | | return perms; |
| | | } |
| | | |
| | | public void setPerms(String perms) { |
| | | this.perms = perms; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getIcon() { |
| | | return icon; |
| | | } |
| | | |
| | | public void setIcon(String icon) { |
| | | this.icon = icon; |
| | | } |
| | | |
| | | public Integer getLevel() { |
| | | return level; |
| | | } |
| | | |
| | | public void setLevel(Integer level) { |
| | | this.level = level; |
| | | } |
| | | |
| | | public Integer getOrderNum() { |
| | | return orderNum; |
| | | } |
| | | |
| | | public void setOrderNum(Integer orderNum) { |
| | | this.orderNum = orderNum; |
| | | } |
| | | |
| | | public Integer getIsShow() { |
| | | return isShow; |
| | | } |
| | | |
| | | public void setIsShow(Integer isShow) { |
| | | this.isShow = isShow; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * æéææ |
| | | * @author WWW |
| | | */ |
| | | public class PermsAuthEntity implements Serializable { |
| | | private static final long serialVersionUID = -8948994757253139554L; |
| | | |
| | | private Integer id; |
| | | |
| | | private Integer pid; |
| | | |
| | | private Integer orderNum; |
| | | |
| | | private String cnName; |
| | | |
| | | private String enName; |
| | | |
| | | private String name; |
| | | |
| | | private String perms; |
| | | |
| | | private String tag; |
| | | |
| | | public PermsAuthEntity() { |
| | | |
| | | } |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Integer pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public Integer getOrderNum() { |
| | | return orderNum; |
| | | } |
| | | |
| | | public void setOrderNum(Integer orderNum) { |
| | | this.orderNum = orderNum; |
| | | } |
| | | |
| | | public String getCnName() { |
| | | return cnName; |
| | | } |
| | | |
| | | public void setCnName(String cnName) { |
| | | this.cnName = cnName; |
| | | } |
| | | |
| | | public String getEnName() { |
| | | return enName; |
| | | } |
| | | |
| | | public void setEnName(String enName) { |
| | | this.enName = enName; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPerms() { |
| | | return perms; |
| | | } |
| | | |
| | | public void setPerms(String perms) { |
| | | this.perms = perms; |
| | | } |
| | | |
| | | public String getTag() { |
| | | return tag; |
| | | } |
| | | |
| | | public void setTag(String tag) { |
| | | this.tag = tag; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | /** |
| | | * Redisç¼åé® |
| | | * @author WWW |
| | | */ |
| | | public class RedisCacheKey { |
| | | /** |
| | | * ç»å½ä»¤çé® |
| | | */ |
| | | public static String signTokenKey(String key) { |
| | | return "sign:token:" + key; |
| | | } |
| | | |
| | | /** |
| | | * ç»å½ç¨æ·é® |
| | | */ |
| | | public static String signUserKey(String key) { |
| | | return "sign:user:" + key; |
| | | } |
| | | |
| | | /** |
| | | * å¯ç éè¯¯é® |
| | | */ |
| | | public static String signPwdError(String key) { |
| | | return "sign:pwdError:" + key; |
| | | } |
| | | |
| | | /** |
| | | * æææ ¹é® |
| | | */ |
| | | public static String permsRootKey() { |
| | | return "perms:"; |
| | | } |
| | | |
| | | /** |
| | | * èµæºææé® |
| | | */ |
| | | public static String permsResKey(String key) { |
| | | return "perms:res:" + key; |
| | | } |
| | | |
| | | /** |
| | | * èåææé® |
| | | */ |
| | | public static String permsMenusKey(String key) { |
| | | return "perms:menus:" + key; |
| | | } |
| | | |
| | | /** |
| | | * æéææé® |
| | | */ |
| | | public static String permsPermsKey(String key) { |
| | | return "perms:perms:" + key; |
| | | } |
| | | |
| | | /** |
| | | * æéææå®ä½é® |
| | | */ |
| | | public static String permsPermsEntityKey(String key) { |
| | | return "perms:permsEntity:" + key; |
| | | } |
| | | |
| | | /** |
| | | * é»/ç½ååé® |
| | | */ |
| | | public static String blacklistKey(String key) { |
| | | return "blacklist:" + key; |
| | | } |
| | | |
| | | /** |
| | | * å ä½å¯¹è±¡ç空é´åèé® |
| | | */ |
| | | public static String sridKey(String key) { |
| | | return "geom:srid:" + key; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | /** |
| | | * èµæºææ |
| | | * @author WWW |
| | | */ |
| | | public class ResAuthEntity implements Serializable { |
| | | private static final long serialVersionUID = 7610553267313397837L; |
| | | |
| | | private Integer id; |
| | | |
| | | private String name; |
| | | |
| | | private String server; |
| | | |
| | | public ResAuthEntity() { |
| | | |
| | | } |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getServer() { |
| | | return server; |
| | | } |
| | | |
| | | public void setServer(String server) { |
| | | this.server = server; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | /** |
| | | * ååºæ¶æ¯ç±» |
| | | * @author www |
| | | * @param <T> æ³å |
| | | */ |
| | | public class ResponseMsg<T> { |
| | | public ResponseMsg() { |
| | | this.time = System.currentTimeMillis(); |
| | | } |
| | | |
| | | public ResponseMsg(HttpStatus code, T result) { |
| | | this.code = code.getValue(); |
| | | this.msg = this.code == 200 ? "æå" : "失败"; |
| | | this.result = result; |
| | | this.time = System.currentTimeMillis(); |
| | | } |
| | | |
| | | public ResponseMsg(HttpStatus code, String msg, T result) { |
| | | this.code = code.getValue(); |
| | | this.msg = msg; |
| | | this.result = result; |
| | | this.time = System.currentTimeMillis(); |
| | | } |
| | | |
| | | public ResponseMsg(int code, String msg, T result, long time) { |
| | | this.code = code; |
| | | this.msg = msg; |
| | | this.result = result; |
| | | this.time = time; |
| | | } |
| | | |
| | | public ResponseMsg(HttpStatus code, long count, T result) { |
| | | this.code = code.getValue(); |
| | | this.msg = this.code == 200 ? "æå" : "失败"; |
| | | this.count = count; |
| | | this.result = result; |
| | | this.time = System.currentTimeMillis(); |
| | | } |
| | | |
| | | public ResponseMsg(HttpStatus code, String msg, long count, T result) { |
| | | this.code = code.getValue(); |
| | | this.msg = msg; |
| | | this.count = count; |
| | | this.result = result; |
| | | this.time = System.currentTimeMillis(); |
| | | } |
| | | |
| | | public ResponseMsg(int code, String msg, long count, T result, long time) { |
| | | this.code = code; |
| | | this.msg = msg; |
| | | this.count = count; |
| | | this.result = result; |
| | | this.time = time; |
| | | } |
| | | |
| | | private int code; |
| | | |
| | | private String msg; |
| | | |
| | | private long count; |
| | | |
| | | private T result; |
| | | |
| | | private long time; |
| | | |
| | | public int getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public void setCode(int code) { |
| | | this.code = code; |
| | | } |
| | | |
| | | public String getMsg() { |
| | | return msg; |
| | | } |
| | | |
| | | public void setMsg(String msg) { |
| | | this.msg = msg; |
| | | } |
| | | |
| | | public long getCount() { |
| | | return count; |
| | | } |
| | | |
| | | public void setCount(long count) { |
| | | this.count = count; |
| | | } |
| | | |
| | | public T getResult() { |
| | | return result; |
| | | } |
| | | |
| | | public void setResult(T result) { |
| | | this.result = result; |
| | | } |
| | | |
| | | public long getTime() { |
| | | return time; |
| | | } |
| | | |
| | | public void setTime(long time) { |
| | | this.time = time; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | /** |
| | | * è®¾ç½®æ°æ®ç±» |
| | | * @author WWW |
| | | */ |
| | | public class SettingData { |
| | | /** |
| | | * å¯ç åºéæ¬¡æ° |
| | | */ |
| | | public static int PWD_ERR_COUNT = 5; |
| | | |
| | | /** |
| | | * åºéçå¾
æ¶é´ |
| | | */ |
| | | public static int PWD_ERR_TIME = 5; |
| | | |
| | | /** |
| | | * èªå¨ç»åºæ¶é´ |
| | | */ |
| | | public static int AUTO_LOGOUT = 15; |
| | | |
| | | /** |
| | | * ä»¤çæææ |
| | | */ |
| | | public static int TOKEN_EXPIRE = 240; |
| | | |
| | | /** |
| | | * ç¼åæææ |
| | | */ |
| | | public static int CACHE_EXPIRE = 240; |
| | | |
| | | /** |
| | | * æå¤§æä»¶æ° |
| | | */ |
| | | public static int MAX_FILES = 2000; |
| | | |
| | | /** |
| | | * Cookieæææï¼s |
| | | */ |
| | | public static int COOKIE_MAX_AGE = 4 * 60 * 60; |
| | | |
| | | /** |
| | | * é件大å°ï¼B |
| | | */ |
| | | public static long MAX_FILE_SIZE = 50 * 1024 * 1024; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.all; |
| | | |
| | | /** |
| | | * éææ°æ®ç±» |
| | | * @author WWW |
| | | */ |
| | | public class StaticData { |
| | | /** |
| | | * æéæé¤è·¯å¾ï¼/proxy |
| | | */ |
| | | public static String[] EXCLUDE_PATH = new String[]{"/swagger", "/sign/", "/error", "/floatserver"}; |
| | | |
| | | /** |
| | | * æ°å¼ï¼4 |
| | | */ |
| | | public final static int FOUR = 4; |
| | | |
| | | /** |
| | | * æ°å¼ï¼200 |
| | | */ |
| | | public final static int TWO_HUNDRED = 200; |
| | | |
| | | /** |
| | | * çæ¬å· |
| | | */ |
| | | public final static String VERSION = "1.0.0"; |
| | | |
| | | /** |
| | | * 令çé® |
| | | */ |
| | | public final static String TOKEN_KEY = "token"; |
| | | |
| | | /** |
| | | * Cookieä¸ä»¤çé® |
| | | */ |
| | | public final static String TOKEN_COOKIE_KEY = "token"; |
| | | |
| | | /** |
| | | * Cookieä¸druidé® |
| | | */ |
| | | public final static String DRUID_COOKIE_KEY = "JSESSIONID"; |
| | | |
| | | /** |
| | | * ææ¬ç¼ç æ¹å¼ |
| | | */ |
| | | public final static String TEXT_ENCODER = "UTF-8"; |
| | | |
| | | /** |
| | | * å¯ç æ£åè¡¨è¾¾å¼ |
| | | */ |
| | | public static final String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$"; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bborehole |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_borehole") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BboreholeEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 391204077001290432L; |
| | | |
| | | private String drilltype; |
| | | |
| | | private String drillcode; |
| | | |
| | | private String projname; |
| | | |
| | | private String mminerals; |
| | | |
| | | private String holedepth; |
| | | |
| | | private String endholtime; |
| | | |
| | | private String workspname; |
| | | |
| | | private String custodname; |
| | | |
| | | private String pac; |
| | | |
| | | private String path; |
| | | |
| | | private BigDecimal x; |
| | | |
| | | private BigDecimal y; |
| | | |
| | | private String blocation; |
| | | |
| | | private BigDecimal ostioleh; |
| | | |
| | | private String odatano; |
| | | |
| | | private String explineno; |
| | | |
| | | private String conorg; |
| | | |
| | | private String testreport; |
| | | |
| | | private String ogeorecord; |
| | | |
| | | private String bcore; |
| | | |
| | | private String dataname; |
| | | |
| | | private String adatano; |
| | | |
| | | private String pendtime; |
| | | |
| | | private String workdegree; |
| | | |
| | | private String padatano; |
| | | |
| | | private String orgcode; |
| | | |
| | | private String hexplevel; |
| | | |
| | | private String suporg; |
| | | |
| | | private String indsector; |
| | | |
| | | private String address; |
| | | |
| | | private String postcode; |
| | | |
| | | private String conname; |
| | | |
| | | private String telephone; |
| | | |
| | | private String fax; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BboreholeEntity() { |
| | | } |
| | | |
| | | public String getDrilltype() { |
| | | return drilltype; |
| | | } |
| | | |
| | | public void setDrilltype(String drilltype) { |
| | | this.drilltype = drilltype; |
| | | } |
| | | |
| | | public String getDrillcode() { |
| | | return drillcode; |
| | | } |
| | | |
| | | public void setDrillcode(String drillcode) { |
| | | this.drillcode = drillcode; |
| | | } |
| | | |
| | | public String getProjname() { |
| | | return projname; |
| | | } |
| | | |
| | | public void setProjname(String projname) { |
| | | this.projname = projname; |
| | | } |
| | | |
| | | public String getMminerals() { |
| | | return mminerals; |
| | | } |
| | | |
| | | public void setMminerals(String mminerals) { |
| | | this.mminerals = mminerals; |
| | | } |
| | | |
| | | public String getHoledepth() { |
| | | return holedepth; |
| | | } |
| | | |
| | | public void setHoledepth(String holedepth) { |
| | | this.holedepth = holedepth; |
| | | } |
| | | |
| | | public String getEndholtime() { |
| | | return endholtime; |
| | | } |
| | | |
| | | public void setEndholtime(String endholtime) { |
| | | this.endholtime = endholtime; |
| | | } |
| | | |
| | | public String getWorkspname() { |
| | | return workspname; |
| | | } |
| | | |
| | | public void setWorkspname(String workspname) { |
| | | this.workspname = workspname; |
| | | } |
| | | |
| | | public String getCustodname() { |
| | | return custodname; |
| | | } |
| | | |
| | | public void setCustodname(String custodname) { |
| | | this.custodname = custodname; |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public BigDecimal getx() { |
| | | return x; |
| | | } |
| | | |
| | | public void setx(BigDecimal x) { |
| | | this.x = x; |
| | | } |
| | | |
| | | public BigDecimal gety() { |
| | | return y; |
| | | } |
| | | |
| | | public void sety(BigDecimal y) { |
| | | this.y = y; |
| | | } |
| | | |
| | | public String getBlocation() { |
| | | return blocation; |
| | | } |
| | | |
| | | public void setBlocation(String blocation) { |
| | | this.blocation = blocation; |
| | | } |
| | | |
| | | public BigDecimal getOstioleh() { |
| | | return ostioleh; |
| | | } |
| | | |
| | | public void setOstioleh(BigDecimal ostioleh) { |
| | | this.ostioleh = ostioleh; |
| | | } |
| | | |
| | | public String getOdatano() { |
| | | return odatano; |
| | | } |
| | | |
| | | public void setOdatano(String odatano) { |
| | | this.odatano = odatano; |
| | | } |
| | | |
| | | public String getExplineno() { |
| | | return explineno; |
| | | } |
| | | |
| | | public void setExplineno(String explineno) { |
| | | this.explineno = explineno; |
| | | } |
| | | |
| | | public String getConorg() { |
| | | return conorg; |
| | | } |
| | | |
| | | public void setConorg(String conorg) { |
| | | this.conorg = conorg; |
| | | } |
| | | |
| | | public String getTestreport() { |
| | | return testreport; |
| | | } |
| | | |
| | | public void setTestreport(String testreport) { |
| | | this.testreport = testreport; |
| | | } |
| | | |
| | | public String getOgeorecord() { |
| | | return ogeorecord; |
| | | } |
| | | |
| | | public void setOgeorecord(String ogeorecord) { |
| | | this.ogeorecord = ogeorecord; |
| | | } |
| | | |
| | | public String getBcore() { |
| | | return bcore; |
| | | } |
| | | |
| | | public void setBcore(String bcore) { |
| | | this.bcore = bcore; |
| | | } |
| | | |
| | | public String getDataname() { |
| | | return dataname; |
| | | } |
| | | |
| | | public void setDataname(String dataname) { |
| | | this.dataname = dataname; |
| | | } |
| | | |
| | | public String getAdatano() { |
| | | return adatano; |
| | | } |
| | | |
| | | public void setAdatano(String adatano) { |
| | | this.adatano = adatano; |
| | | } |
| | | |
| | | public String getPendtime() { |
| | | return pendtime; |
| | | } |
| | | |
| | | public void setPendtime(String pendtime) { |
| | | this.pendtime = pendtime; |
| | | } |
| | | |
| | | public String getWorkdegree() { |
| | | return workdegree; |
| | | } |
| | | |
| | | public void setWorkdegree(String workdegree) { |
| | | this.workdegree = workdegree; |
| | | } |
| | | |
| | | public String getPadatano() { |
| | | return padatano; |
| | | } |
| | | |
| | | public void setPadatano(String padatano) { |
| | | this.padatano = padatano; |
| | | } |
| | | |
| | | public String getOrgcode() { |
| | | return orgcode; |
| | | } |
| | | |
| | | public void setOrgcode(String orgcode) { |
| | | this.orgcode = orgcode; |
| | | } |
| | | |
| | | public String getHexplevel() { |
| | | return hexplevel; |
| | | } |
| | | |
| | | public void setHexplevel(String hexplevel) { |
| | | this.hexplevel = hexplevel; |
| | | } |
| | | |
| | | public String getSuporg() { |
| | | return suporg; |
| | | } |
| | | |
| | | public void setSuporg(String suporg) { |
| | | this.suporg = suporg; |
| | | } |
| | | |
| | | public String getIndsector() { |
| | | return indsector; |
| | | } |
| | | |
| | | public void setIndsector(String indsector) { |
| | | this.indsector = indsector; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address; |
| | | } |
| | | |
| | | public String getPostcode() { |
| | | return postcode; |
| | | } |
| | | |
| | | public void setPostcode(String postcode) { |
| | | this.postcode = postcode; |
| | | } |
| | | |
| | | public String getConname() { |
| | | return conname; |
| | | } |
| | | |
| | | public void setConname(String conname) { |
| | | this.conname = conname; |
| | | } |
| | | |
| | | public String getTelephone() { |
| | | return telephone; |
| | | } |
| | | |
| | | public void setTelephone(String telephone) { |
| | | this.telephone = telephone; |
| | | } |
| | | |
| | | public String getFax() { |
| | | return fax; |
| | | } |
| | | |
| | | public void setFax(String fax) { |
| | | this.fax = fax; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bgeologichazard |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_geologic_hazard") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BgeologichazardEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 391204077001290432L; |
| | | |
| | | private String ghazid; |
| | | |
| | | private String ghaztype; |
| | | |
| | | private String pac; |
| | | |
| | | private String infsegname; |
| | | |
| | | private String dimensions; |
| | | |
| | | private String control; |
| | | |
| | | private String projname; |
| | | |
| | | private String pipename; |
| | | |
| | | private BigDecimal x; |
| | | |
| | | private BigDecimal y; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BgeologichazardEntity() { |
| | | } |
| | | |
| | | public String getGhazid() { |
| | | return ghazid; |
| | | } |
| | | |
| | | public void setGhazid(String ghazid) { |
| | | this.ghazid = ghazid; |
| | | } |
| | | |
| | | public String getGhaztype() { |
| | | return ghaztype; |
| | | } |
| | | |
| | | public void setGhaztype(String ghaztype) { |
| | | this.ghaztype = ghaztype; |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getInfsegname() { |
| | | return infsegname; |
| | | } |
| | | |
| | | public void setInfsegname(String infsegname) { |
| | | this.infsegname = infsegname; |
| | | } |
| | | |
| | | public String getDimensions() { |
| | | return dimensions; |
| | | } |
| | | |
| | | public void setDimensions(String dimensions) { |
| | | this.dimensions = dimensions; |
| | | } |
| | | |
| | | public String getControl() { |
| | | return control; |
| | | } |
| | | |
| | | public void setControl(String control) { |
| | | this.control = control; |
| | | } |
| | | |
| | | public String getProjname() { |
| | | return projname; |
| | | } |
| | | |
| | | public void setProjname(String projname) { |
| | | this.projname = projname; |
| | | } |
| | | |
| | | public String getPipename() { |
| | | return pipename; |
| | | } |
| | | |
| | | public void setPipename(String pipename) { |
| | | this.pipename = pipename; |
| | | } |
| | | |
| | | public BigDecimal getx() { |
| | | return x; |
| | | } |
| | | |
| | | public void setx(BigDecimal x) { |
| | | this.x = x; |
| | | } |
| | | |
| | | public BigDecimal gety() { |
| | | return y; |
| | | } |
| | | |
| | | public void sety(BigDecimal y) { |
| | | this.y = y; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wd21 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_d21") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wd21Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 391204077001290432L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String dsn; |
| | | |
| | | private String dso; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private BigDecimal qdfcf; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20wd21Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getDsn() { |
| | | return dsn; |
| | | } |
| | | |
| | | public void setDsn(String dsn) { |
| | | this.dsn = dsn; |
| | | } |
| | | |
| | | public String getDso() { |
| | | return dso; |
| | | } |
| | | |
| | | public void setDso(String dso) { |
| | | this.dso = dso; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public BigDecimal getQdfcf() { |
| | | return qdfcf; |
| | | } |
| | | |
| | | public void setQdfcf(BigDecimal qdfcf) { |
| | | this.qdfcf = qdfcf; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wd23 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_d23") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wd23Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 391204077001290432L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzbd; |
| | | |
| | | private String dzmsg; |
| | | |
| | | public Bhy20wd23Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzbd() { |
| | | return gzbd; |
| | | } |
| | | |
| | | public void setGzbd(String gzbd) { |
| | | this.gzbd = gzbd; |
| | | } |
| | | |
| | | public String getDzmsg() { |
| | | return dzmsg; |
| | | } |
| | | |
| | | public void setDzmsg(String dzmsg) { |
| | | this.dzmsg = dzmsg; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wd29 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_d29") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wd29Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 391204077001290432L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzee; |
| | | |
| | | private String gzeab; |
| | | |
| | | private String gzeca; |
| | | |
| | | private String gzecd; |
| | | |
| | | private String gzece; |
| | | |
| | | private String swah; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20wd29Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzee() { |
| | | return gzee; |
| | | } |
| | | |
| | | public void setGzee(String gzee) { |
| | | this.gzee = gzee; |
| | | } |
| | | |
| | | public String getGzeab() { |
| | | return gzeab; |
| | | } |
| | | |
| | | public void setGzeab(String gzeab) { |
| | | this.gzeab = gzeab; |
| | | } |
| | | |
| | | public String getGzeca() { |
| | | return gzeca; |
| | | } |
| | | |
| | | public void setGzeca(String gzeca) { |
| | | this.gzeca = gzeca; |
| | | } |
| | | |
| | | public String getGzecd() { |
| | | return gzecd; |
| | | } |
| | | |
| | | public void setGzecd(String gzecd) { |
| | | this.gzecd = gzecd; |
| | | } |
| | | |
| | | public String getGzece() { |
| | | return gzece; |
| | | } |
| | | |
| | | public void setGzece(String gzece) { |
| | | this.gzece = gzece; |
| | | } |
| | | |
| | | public String getSwah() { |
| | | return swah; |
| | | } |
| | | |
| | | public void setSwah(String swah) { |
| | | this.swah = swah; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wd31 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_d31") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wd31Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzbbga; |
| | | |
| | | private String gzbbac; |
| | | |
| | | private String gzbbad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20wd31Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzbbga() { |
| | | return gzbbga; |
| | | } |
| | | |
| | | public void setGzbbga(String gzbbga) { |
| | | this.gzbbga = gzbbga; |
| | | } |
| | | |
| | | public String getGzbbac() { |
| | | return gzbbac; |
| | | } |
| | | |
| | | public void setGzbbac(String gzbbac) { |
| | | this.gzbbac = gzbbac; |
| | | } |
| | | |
| | | public String getGzbbad() { |
| | | return gzbbad; |
| | | } |
| | | |
| | | public void setGzbbad(String gzbbad) { |
| | | this.gzbbad = gzbbad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wl72 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_l72") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wl72Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private BigDecimal elev; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20wl72Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public BigDecimal getElev() { |
| | | return elev; |
| | | } |
| | | |
| | | public void setElev(BigDecimal elev) { |
| | | this.elev = elev; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws11 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s11") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws11Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws11Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws12 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s12") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws12Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws12Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws13 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s13") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws13Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws13Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws14 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s14") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws14Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws14Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws15 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s15") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws15Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws15Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws16 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s16") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws16Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws16Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws17 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s17") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws17Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws17Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws18 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s18") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws18Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private String chfcac; |
| | | |
| | | public Bhy20ws18Entity() { |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws19 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s19") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws19Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String swaf; |
| | | |
| | | private String swafm; |
| | | |
| | | private String swafa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private String chfcac; |
| | | |
| | | public Bhy20ws19Entity() { |
| | | } |
| | | |
| | | public String getSwaf() { |
| | | return swaf; |
| | | } |
| | | |
| | | public void setSwaf(String swaf) { |
| | | this.swaf = swaf; |
| | | } |
| | | |
| | | public String getSwafm() { |
| | | return swafm; |
| | | } |
| | | |
| | | public void setSwafm(String swafm) { |
| | | this.swafm = swafm; |
| | | } |
| | | |
| | | public String getSwafa() { |
| | | return swafa; |
| | | } |
| | | |
| | | public void setSwafa(String swafa) { |
| | | this.swafa = swafa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws21 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s21") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws21Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws21Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws22 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s22") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws22Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws22Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws23 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s23") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws23Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws23Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws24 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s24") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws24Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws24Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws25 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s25") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws25Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws25Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws26 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s26") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws26Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws26Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws27 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s27") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws27Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws27Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws28 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s28") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws28Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws28Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws29 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s29") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws29Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbff; |
| | | |
| | | private String swddbx; |
| | | |
| | | private String swddbw; |
| | | |
| | | private String swddbxa; |
| | | |
| | | private String swaded; |
| | | |
| | | private String swddbxb; |
| | | |
| | | private String swddbwa; |
| | | |
| | | private String swag; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws29Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbff() { |
| | | return swbff; |
| | | } |
| | | |
| | | public void setSwbff(String swbff) { |
| | | this.swbff = swbff; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public String getSwddbw() { |
| | | return swddbw; |
| | | } |
| | | |
| | | public void setSwddbw(String swddbw) { |
| | | this.swddbw = swddbw; |
| | | } |
| | | |
| | | public String getSwddbxa() { |
| | | return swddbxa; |
| | | } |
| | | |
| | | public void setSwddbxa(String swddbxa) { |
| | | this.swddbxa = swddbxa; |
| | | } |
| | | |
| | | public String getSwaded() { |
| | | return swaded; |
| | | } |
| | | |
| | | public void setSwaded(String swaded) { |
| | | this.swaded = swaded; |
| | | } |
| | | |
| | | public String getSwddbxb() { |
| | | return swddbxb; |
| | | } |
| | | |
| | | public void setSwddbxb(String swddbxb) { |
| | | this.swddbxb = swddbxb; |
| | | } |
| | | |
| | | public String getSwddbwa() { |
| | | return swddbwa; |
| | | } |
| | | |
| | | public void setSwddbwa(String swddbwa) { |
| | | this.swddbwa = swddbwa; |
| | | } |
| | | |
| | | public String getSwag() { |
| | | return swag; |
| | | } |
| | | |
| | | public void setSwag(String swag) { |
| | | this.swag = swag; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws41 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s41") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws41Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private BigDecimal swfhe; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws41Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public BigDecimal getSwfhe() { |
| | | return swfhe; |
| | | } |
| | | |
| | | public void setSwfhe(BigDecimal swfhe) { |
| | | this.swfhe = swfhe; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws42 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s42") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws42Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String swfcb; |
| | | |
| | | private String swfkz; |
| | | |
| | | private BigDecimal swamaj; |
| | | |
| | | private String swfka; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws42Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getSwfcb() { |
| | | return swfcb; |
| | | } |
| | | |
| | | public void setSwfcb(String swfcb) { |
| | | this.swfcb = swfcb; |
| | | } |
| | | |
| | | public String getSwfkz() { |
| | | return swfkz; |
| | | } |
| | | |
| | | public void setSwfkz(String swfkz) { |
| | | this.swfkz = swfkz; |
| | | } |
| | | |
| | | public BigDecimal getSwamaj() { |
| | | return swamaj; |
| | | } |
| | | |
| | | public void setSwamaj(BigDecimal swamaj) { |
| | | this.swamaj = swamaj; |
| | | } |
| | | |
| | | public String getSwfka() { |
| | | return swfka; |
| | | } |
| | | |
| | | public void setSwfka(String swfka) { |
| | | this.swfka = swfka; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws43 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s43") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws43Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String swfcb; |
| | | |
| | | private String swfkz; |
| | | |
| | | private BigDecimal swamaj; |
| | | |
| | | private String swfka; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws43Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getSwfcb() { |
| | | return swfcb; |
| | | } |
| | | |
| | | public void setSwfcb(String swfcb) { |
| | | this.swfcb = swfcb; |
| | | } |
| | | |
| | | public String getSwfkz() { |
| | | return swfkz; |
| | | } |
| | | |
| | | public void setSwfkz(String swfkz) { |
| | | this.swfkz = swfkz; |
| | | } |
| | | |
| | | public BigDecimal getSwamaj() { |
| | | return swamaj; |
| | | } |
| | | |
| | | public void setSwamaj(BigDecimal swamaj) { |
| | | this.swamaj = swamaj; |
| | | } |
| | | |
| | | public String getSwfka() { |
| | | return swfka; |
| | | } |
| | | |
| | | public void setSwfka(String swfka) { |
| | | this.swfka = swfka; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws51 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s51") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws51Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String chfcae; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws51Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getChfcae() { |
| | | return chfcae; |
| | | } |
| | | |
| | | public void setChfcae(String chfcae) { |
| | | this.chfcae = chfcae; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws61 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s61") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws61Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String chfcae; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws61Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getChfcae() { |
| | | return chfcae; |
| | | } |
| | | |
| | | public void setChfcae(String chfcae) { |
| | | this.chfcae = chfcae; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20ws81 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_s81") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20ws81Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String swddbx; |
| | | |
| | | private BigDecimal swibfh; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20ws81Entity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getSwddbx() { |
| | | return swddbx; |
| | | } |
| | | |
| | | public void setSwddbx(String swddbx) { |
| | | this.swddbx = swddbx; |
| | | } |
| | | |
| | | public BigDecimal getSwibfh() { |
| | | return swibfh; |
| | | } |
| | | |
| | | public void setSwibfh(BigDecimal swibfh) { |
| | | this.swibfh = swibfh; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wt21 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_t21") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wt21Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chamac; |
| | | |
| | | private String chamaa; |
| | | |
| | | private String chamdb; |
| | | |
| | | private String chag; |
| | | |
| | | private String chai; |
| | | |
| | | private String ddaebe; |
| | | |
| | | private String ddaebf; |
| | | |
| | | private String ddaebg; |
| | | |
| | | private String ddaebh; |
| | | |
| | | private String qdaq; |
| | | |
| | | private String qdae; |
| | | |
| | | private String qdygg; |
| | | |
| | | private String qdyh; |
| | | |
| | | private String qdaf; |
| | | |
| | | private String ddaeed; |
| | | |
| | | private String pkigj; |
| | | |
| | | private String sdafaf; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Bhy20wt21Entity() { |
| | | } |
| | | |
| | | public String getChamac() { |
| | | return chamac; |
| | | } |
| | | |
| | | public void setChamac(String chamac) { |
| | | this.chamac = chamac; |
| | | } |
| | | |
| | | public String getChamaa() { |
| | | return chamaa; |
| | | } |
| | | |
| | | public void setChamaa(String chamaa) { |
| | | this.chamaa = chamaa; |
| | | } |
| | | |
| | | public String getChamdb() { |
| | | return chamdb; |
| | | } |
| | | |
| | | public void setChamdb(String chamdb) { |
| | | this.chamdb = chamdb; |
| | | } |
| | | |
| | | public String getChag() { |
| | | return chag; |
| | | } |
| | | |
| | | public void setChag(String chag) { |
| | | this.chag = chag; |
| | | } |
| | | |
| | | public String getChai() { |
| | | return chai; |
| | | } |
| | | |
| | | public void setChai(String chai) { |
| | | this.chai = chai; |
| | | } |
| | | |
| | | public String getDdaebe() { |
| | | return ddaebe; |
| | | } |
| | | |
| | | public void setDdaebe(String ddaebe) { |
| | | this.ddaebe = ddaebe; |
| | | } |
| | | |
| | | public String getDdaebf() { |
| | | return ddaebf; |
| | | } |
| | | |
| | | public void setDdaebf(String ddaebf) { |
| | | this.ddaebf = ddaebf; |
| | | } |
| | | |
| | | public String getDdaebg() { |
| | | return ddaebg; |
| | | } |
| | | |
| | | public void setDdaebg(String ddaebg) { |
| | | this.ddaebg = ddaebg; |
| | | } |
| | | |
| | | public String getDdaebh() { |
| | | return ddaebh; |
| | | } |
| | | |
| | | public void setDdaebh(String ddaebh) { |
| | | this.ddaebh = ddaebh; |
| | | } |
| | | |
| | | public String getQdaq() { |
| | | return qdaq; |
| | | } |
| | | |
| | | public void setQdaq(String qdaq) { |
| | | this.qdaq = qdaq; |
| | | } |
| | | |
| | | public String getQdae() { |
| | | return qdae; |
| | | } |
| | | |
| | | public void setQdae(String qdae) { |
| | | this.qdae = qdae; |
| | | } |
| | | |
| | | public String getQdygg() { |
| | | return qdygg; |
| | | } |
| | | |
| | | public void setQdygg(String qdygg) { |
| | | this.qdygg = qdygg; |
| | | } |
| | | |
| | | public String getQdyh() { |
| | | return qdyh; |
| | | } |
| | | |
| | | public void setQdyh(String qdyh) { |
| | | this.qdyh = qdyh; |
| | | } |
| | | |
| | | public String getQdaf() { |
| | | return qdaf; |
| | | } |
| | | |
| | | public void setQdaf(String qdaf) { |
| | | this.qdaf = qdaf; |
| | | } |
| | | |
| | | public String getDdaeed() { |
| | | return ddaeed; |
| | | } |
| | | |
| | | public void setDdaeed(String ddaeed) { |
| | | this.ddaeed = ddaeed; |
| | | } |
| | | |
| | | public String getPkigj() { |
| | | return pkigj; |
| | | } |
| | | |
| | | public void setPkigj(String pkigj) { |
| | | this.pkigj = pkigj; |
| | | } |
| | | |
| | | public String getSdafaf() { |
| | | return sdafaf; |
| | | } |
| | | |
| | | public void setSdafaf(String sdafaf) { |
| | | this.sdafaf = sdafaf; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhy20wz21 |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hy20w_z21") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Bhy20wz21Entity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String ddcdib; |
| | | |
| | | private String dsf; |
| | | |
| | | private String dsbf; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String gcjflq; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private BigDecimal ddcdid; |
| | | |
| | | private String chfcac; |
| | | |
| | | public Bhy20wz21Entity() { |
| | | } |
| | | |
| | | public String getDdcdib() { |
| | | return ddcdib; |
| | | } |
| | | |
| | | public void setDdcdib(String ddcdib) { |
| | | this.ddcdib = ddcdib; |
| | | } |
| | | |
| | | public String getDsf() { |
| | | return dsf; |
| | | } |
| | | |
| | | public void setDsf(String dsf) { |
| | | this.dsf = dsf; |
| | | } |
| | | |
| | | public String getDsbf() { |
| | | return dsbf; |
| | | } |
| | | |
| | | public void setDsbf(String dsbf) { |
| | | this.dsbf = dsbf; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getGcjflq() { |
| | | return gcjflq; |
| | | } |
| | | |
| | | public void setGcjflq(String gcjflq) { |
| | | this.gcjflq = gcjflq; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public BigDecimal getDdcdid() { |
| | | return ddcdid; |
| | | } |
| | | |
| | | public void setDdcdid(BigDecimal ddcdid) { |
| | | this.ddcdid = ddcdid; |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bhydrogeologyattach |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_hydrogeology_attach") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BhydrogeologyattachEntity extends BaseEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private Long id; |
| | | |
| | | private String filename; |
| | | |
| | | private String fileguid; |
| | | |
| | | private String filesizes; |
| | | |
| | | private String path; |
| | | |
| | | private String tabguid; |
| | | |
| | | private String tab; |
| | | |
| | | public BhydrogeologyattachEntity() { |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getFilename() { |
| | | return filename; |
| | | } |
| | | |
| | | public void setFilename(String filename) { |
| | | this.filename = filename; |
| | | } |
| | | |
| | | public String getFileguid() { |
| | | return fileguid; |
| | | } |
| | | |
| | | public void setFileguid(String fileguid) { |
| | | this.fileguid = fileguid; |
| | | } |
| | | |
| | | public String getFilesizes() { |
| | | return filesizes; |
| | | } |
| | | |
| | | public void setFilesizes(String filesizes) { |
| | | this.filesizes = filesizes; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public String getTabguid() { |
| | | return tabguid; |
| | | } |
| | | |
| | | public void setTabguid(String tabguid) { |
| | | this.tabguid = tabguid; |
| | | } |
| | | |
| | | public String getTab() { |
| | | return tab; |
| | | } |
| | | |
| | | public void setTab(String tab) { |
| | | this.tab = tab; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacfrozensoil |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_frozensoil") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacfrozensoilEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String pac; |
| | | |
| | | private String name; |
| | | |
| | | private String gb; |
| | | |
| | | private String materiname; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BpacfrozensoilEntity() { |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMateriname() { |
| | | return materiname; |
| | | } |
| | | |
| | | public void setMateriname(String materiname) { |
| | | this.materiname = materiname; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacfrozensoilattach |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_frozensoil_attach") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacfrozensoilattachEntity extends BaseEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private Long id; |
| | | |
| | | private String filename; |
| | | |
| | | private String fileguid; |
| | | |
| | | private String filesizes; |
| | | |
| | | private String path; |
| | | |
| | | private String tabguid; |
| | | |
| | | private String tab; |
| | | |
| | | public BpacfrozensoilattachEntity() { |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getFilename() { |
| | | return filename; |
| | | } |
| | | |
| | | public void setFilename(String filename) { |
| | | this.filename = filename; |
| | | } |
| | | |
| | | public String getFileguid() { |
| | | return fileguid; |
| | | } |
| | | |
| | | public void setFileguid(String fileguid) { |
| | | this.fileguid = fileguid; |
| | | } |
| | | |
| | | public String getFilesizes() { |
| | | return filesizes; |
| | | } |
| | | |
| | | public void setFilesizes(String filesizes) { |
| | | this.filesizes = filesizes; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public String getTabguid() { |
| | | return tabguid; |
| | | } |
| | | |
| | | public void setTabguid(String tabguid) { |
| | | this.tabguid = tabguid; |
| | | } |
| | | |
| | | public String getTab() { |
| | | return tab; |
| | | } |
| | | |
| | | public void setTab(String tab) { |
| | | this.tab = tab; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacgeologichazard |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_geologic_hazard") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacgeologichazardEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String pac; |
| | | |
| | | private String name; |
| | | |
| | | private String gb; |
| | | |
| | | private String materiname; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BpacgeologichazardEntity() { |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMateriname() { |
| | | return materiname; |
| | | } |
| | | |
| | | public void setMateriname(String materiname) { |
| | | this.materiname = materiname; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacgeologichazardattach |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_geologic_hazard_attach") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacgeologichazardattachEntity extends BaseEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private Long id; |
| | | |
| | | private String filename; |
| | | |
| | | private String fileguid; |
| | | |
| | | private String filesizes; |
| | | |
| | | private String path; |
| | | |
| | | private String tabguid; |
| | | |
| | | private String tab; |
| | | |
| | | public BpacgeologichazardattachEntity() { |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getFilename() { |
| | | return filename; |
| | | } |
| | | |
| | | public void setFilename(String filename) { |
| | | this.filename = filename; |
| | | } |
| | | |
| | | public String getFileguid() { |
| | | return fileguid; |
| | | } |
| | | |
| | | public void setFileguid(String fileguid) { |
| | | this.fileguid = fileguid; |
| | | } |
| | | |
| | | public String getFilesizes() { |
| | | return filesizes; |
| | | } |
| | | |
| | | public void setFilesizes(String filesizes) { |
| | | this.filesizes = filesizes; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public String getTabguid() { |
| | | return tabguid; |
| | | } |
| | | |
| | | public void setTabguid(String tabguid) { |
| | | this.tabguid = tabguid; |
| | | } |
| | | |
| | | public String getTab() { |
| | | return tab; |
| | | } |
| | | |
| | | public void setTab(String tab) { |
| | | this.tab = tab; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpachydrogeology |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_hydrogeology") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpachydrogeologyEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String pac; |
| | | |
| | | private String name; |
| | | |
| | | private String gb; |
| | | |
| | | private String materiname; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BpachydrogeologyEntity() { |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMateriname() { |
| | | return materiname; |
| | | } |
| | | |
| | | public void setMateriname(String materiname) { |
| | | this.materiname = materiname; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacmarinemeteorological |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_marine_meteorological") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacmarinemeteorologicalEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String pac; |
| | | |
| | | private String name; |
| | | |
| | | private String gb; |
| | | |
| | | private String materiname; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BpacmarinemeteorologicalEntity() { |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMateriname() { |
| | | return materiname; |
| | | } |
| | | |
| | | public void setMateriname(String materiname) { |
| | | this.materiname = materiname; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacmarinemeteorologicalattach |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_marine_meteorological_attach") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacmarinemeteorologicalattachEntity extends BaseEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private Long id; |
| | | |
| | | private String filename; |
| | | |
| | | private String fileguid; |
| | | |
| | | private String filesizes; |
| | | |
| | | private String path; |
| | | |
| | | private String tabguid; |
| | | |
| | | private String tab; |
| | | |
| | | public BpacmarinemeteorologicalattachEntity() { |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getFilename() { |
| | | return filename; |
| | | } |
| | | |
| | | public void setFilename(String filename) { |
| | | this.filename = filename; |
| | | } |
| | | |
| | | public String getFileguid() { |
| | | return fileguid; |
| | | } |
| | | |
| | | public void setFileguid(String fileguid) { |
| | | this.fileguid = fileguid; |
| | | } |
| | | |
| | | public String getFilesizes() { |
| | | return filesizes; |
| | | } |
| | | |
| | | public void setFilesizes(String filesizes) { |
| | | this.filesizes = filesizes; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public String getTabguid() { |
| | | return tabguid; |
| | | } |
| | | |
| | | public void setTabguid(String tabguid) { |
| | | this.tabguid = tabguid; |
| | | } |
| | | |
| | | public String getTab() { |
| | | return tab; |
| | | } |
| | | |
| | | public void setTab(String tab) { |
| | | this.tab = tab; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacmeteorological |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_meteorological") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacmeteorologicalEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String pac; |
| | | |
| | | private String name; |
| | | |
| | | private String gb; |
| | | |
| | | private String materiname; |
| | | |
| | | private String belongs; |
| | | |
| | | private String belongsid; |
| | | |
| | | private String datastatus; |
| | | |
| | | private String remarks; |
| | | |
| | | public BpacmeteorologicalEntity() { |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMateriname() { |
| | | return materiname; |
| | | } |
| | | |
| | | public void setMateriname(String materiname) { |
| | | this.materiname = materiname; |
| | | } |
| | | |
| | | public String getBelongs() { |
| | | return belongs; |
| | | } |
| | | |
| | | public void setBelongs(String belongs) { |
| | | this.belongs = belongs; |
| | | } |
| | | |
| | | public String getBelongsid() { |
| | | return belongsid; |
| | | } |
| | | |
| | | public void setBelongsid(String belongsid) { |
| | | this.belongsid = belongsid; |
| | | } |
| | | |
| | | public String getDatastatus() { |
| | | return datastatus; |
| | | } |
| | | |
| | | public void setDatastatus(String datastatus) { |
| | | this.datastatus = datastatus; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Bpacmeteorologicalattach |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_pac_meteorological_attach") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class BpacmeteorologicalattachEntity extends BaseEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private Long id; |
| | | |
| | | private String filename; |
| | | |
| | | private String fileguid; |
| | | |
| | | private String filesizes; |
| | | |
| | | private String path; |
| | | |
| | | private String tabguid; |
| | | |
| | | private String tab; |
| | | |
| | | public BpacmeteorologicalattachEntity() { |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getFilename() { |
| | | return filename; |
| | | } |
| | | |
| | | public void setFilename(String filename) { |
| | | this.filename = filename; |
| | | } |
| | | |
| | | public String getFileguid() { |
| | | return fileguid; |
| | | } |
| | | |
| | | public void setFileguid(String fileguid) { |
| | | this.fileguid = fileguid; |
| | | } |
| | | |
| | | public String getFilesizes() { |
| | | return filesizes; |
| | | } |
| | | |
| | | public void setFilesizes(String filesizes) { |
| | | this.filesizes = filesizes; |
| | | } |
| | | |
| | | public String getPath() { |
| | | return path; |
| | | } |
| | | |
| | | public void setPath(String path) { |
| | | this.path = path; |
| | | } |
| | | |
| | | public String getTabguid() { |
| | | return tabguid; |
| | | } |
| | | |
| | | public void setTabguid(String tabguid) { |
| | | this.tabguid = tabguid; |
| | | } |
| | | |
| | | public String getTab() { |
| | | return tab; |
| | | } |
| | | |
| | | public void setTab(String tab) { |
| | | this.tab = tab; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wann |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_ann") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wannEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String ann; |
| | | |
| | | private String expression; |
| | | |
| | | private String plfs; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wannEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getAnn() { |
| | | return ann; |
| | | } |
| | | |
| | | public void setAnn(String ann) { |
| | | this.ann = ann; |
| | | } |
| | | |
| | | public String getExpression() { |
| | | return expression; |
| | | } |
| | | |
| | | public void setExpression(String expression) { |
| | | this.expression = expression; |
| | | } |
| | | |
| | | public String getPlfs() { |
| | | return plfs; |
| | | } |
| | | |
| | | public void setPlfs(String plfs) { |
| | | this.plfs = plfs; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd01b |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d01b") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd01bEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String dsn; |
| | | |
| | | private String dso; |
| | | |
| | | private String dsp; |
| | | |
| | | private String yszh; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private String ykbie; |
| | | |
| | | private String ykbic; |
| | | |
| | | private String gsaf; |
| | | |
| | | private String kwbfn; |
| | | |
| | | private String kcaam; |
| | | |
| | | private BigDecimal qdfcf; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd01bEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getDsn() { |
| | | return dsn; |
| | | } |
| | | |
| | | public void setDsn(String dsn) { |
| | | this.dsn = dsn; |
| | | } |
| | | |
| | | public String getDso() { |
| | | return dso; |
| | | } |
| | | |
| | | public void setDso(String dso) { |
| | | this.dso = dso; |
| | | } |
| | | |
| | | public String getDsp() { |
| | | return dsp; |
| | | } |
| | | |
| | | public void setDsp(String dsp) { |
| | | this.dsp = dsp; |
| | | } |
| | | |
| | | public String getYszh() { |
| | | return yszh; |
| | | } |
| | | |
| | | public void setYszh(String yszh) { |
| | | this.yszh = yszh; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public String getYkbie() { |
| | | return ykbie; |
| | | } |
| | | |
| | | public void setYkbie(String ykbie) { |
| | | this.ykbie = ykbie; |
| | | } |
| | | |
| | | public String getYkbic() { |
| | | return ykbic; |
| | | } |
| | | |
| | | public void setYkbic(String ykbic) { |
| | | this.ykbic = ykbic; |
| | | } |
| | | |
| | | public String getGsaf() { |
| | | return gsaf; |
| | | } |
| | | |
| | | public void setGsaf(String gsaf) { |
| | | this.gsaf = gsaf; |
| | | } |
| | | |
| | | public String getKwbfn() { |
| | | return kwbfn; |
| | | } |
| | | |
| | | public void setKwbfn(String kwbfn) { |
| | | this.kwbfn = kwbfn; |
| | | } |
| | | |
| | | public String getKcaam() { |
| | | return kcaam; |
| | | } |
| | | |
| | | public void setKcaam(String kcaam) { |
| | | this.kcaam = kcaam; |
| | | } |
| | | |
| | | public BigDecimal getQdfcf() { |
| | | return qdfcf; |
| | | } |
| | | |
| | | public void setQdfcf(BigDecimal qdfcf) { |
| | | this.qdfcf = qdfcf; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd01d |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d01d") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd01dEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String dsn; |
| | | |
| | | private String dso; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private String gsaf; |
| | | |
| | | private BigDecimal qdfcf; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd01dEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getDsn() { |
| | | return dsn; |
| | | } |
| | | |
| | | public void setDsn(String dsn) { |
| | | this.dsn = dsn; |
| | | } |
| | | |
| | | public String getDso() { |
| | | return dso; |
| | | } |
| | | |
| | | public void setDso(String dso) { |
| | | this.dso = dso; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public String getGsaf() { |
| | | return gsaf; |
| | | } |
| | | |
| | | public void setGsaf(String gsaf) { |
| | | this.gsaf = gsaf; |
| | | } |
| | | |
| | | public BigDecimal getQdfcf() { |
| | | return qdfcf; |
| | | } |
| | | |
| | | public void setQdfcf(BigDecimal qdfcf) { |
| | | this.qdfcf = qdfcf; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd01j |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d01j") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd01jEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzbd; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd01jEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzbd() { |
| | | return gzbd; |
| | | } |
| | | |
| | | public void setGzbd(String gzbd) { |
| | | this.gzbd = gzbd; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd02h |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d02h") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd02hEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String dso; |
| | | |
| | | private String yseb; |
| | | |
| | | private String hsfb; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd02hEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getDso() { |
| | | return dso; |
| | | } |
| | | |
| | | public void setDso(String dso) { |
| | | this.dso = dso; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getHsfb() { |
| | | return hsfb; |
| | | } |
| | | |
| | | public void setHsfb(String hsfb) { |
| | | this.hsfb = hsfb; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd03d |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d03d") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd03dEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String dso; |
| | | |
| | | private String yseb; |
| | | |
| | | private String ysah; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd03dEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getDso() { |
| | | return dso; |
| | | } |
| | | |
| | | public void setDso(String dso) { |
| | | this.dso = dso; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYsah() { |
| | | return ysah; |
| | | } |
| | | |
| | | public void setYsah(String ysah) { |
| | | this.ysah = ysah; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd04n |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d04n") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd04nEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String pkiaa; |
| | | |
| | | private String qdhn; |
| | | |
| | | private String qdhah; |
| | | |
| | | private String ysea; |
| | | |
| | | private String qdhd; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private String ysja; |
| | | |
| | | private String qdho; |
| | | |
| | | private String qdhx; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd04nEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getPkiaa() { |
| | | return pkiaa; |
| | | } |
| | | |
| | | public void setPkiaa(String pkiaa) { |
| | | this.pkiaa = pkiaa; |
| | | } |
| | | |
| | | public String getQdhn() { |
| | | return qdhn; |
| | | } |
| | | |
| | | public void setQdhn(String qdhn) { |
| | | this.qdhn = qdhn; |
| | | } |
| | | |
| | | public String getQdhah() { |
| | | return qdhah; |
| | | } |
| | | |
| | | public void setQdhah(String qdhah) { |
| | | this.qdhah = qdhah; |
| | | } |
| | | |
| | | public String getYsea() { |
| | | return ysea; |
| | | } |
| | | |
| | | public void setYsea(String ysea) { |
| | | this.ysea = ysea; |
| | | } |
| | | |
| | | public String getQdhd() { |
| | | return qdhd; |
| | | } |
| | | |
| | | public void setQdhd(String qdhd) { |
| | | this.qdhd = qdhd; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public String getYsja() { |
| | | return ysja; |
| | | } |
| | | |
| | | public void setYsja(String ysja) { |
| | | this.ysja = ysja; |
| | | } |
| | | |
| | | public String getQdho() { |
| | | return qdho; |
| | | } |
| | | |
| | | public void setQdho(String qdho) { |
| | | this.qdho = qdho; |
| | | } |
| | | |
| | | public String getQdhx() { |
| | | return qdhx; |
| | | } |
| | | |
| | | public void setQdhx(String qdhx) { |
| | | this.qdhx = qdhx; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd04p |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d04p") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd04pEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String qdhaa; |
| | | |
| | | private String qdhab; |
| | | |
| | | private String qdhac; |
| | | |
| | | private String qdhaf; |
| | | |
| | | private String qdhag; |
| | | |
| | | private String ysea; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private String ysb; |
| | | |
| | | private String qdhx; |
| | | |
| | | private String qdho; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd04pEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getQdhaa() { |
| | | return qdhaa; |
| | | } |
| | | |
| | | public void setQdhaa(String qdhaa) { |
| | | this.qdhaa = qdhaa; |
| | | } |
| | | |
| | | public String getQdhab() { |
| | | return qdhab; |
| | | } |
| | | |
| | | public void setQdhab(String qdhab) { |
| | | this.qdhab = qdhab; |
| | | } |
| | | |
| | | public String getQdhac() { |
| | | return qdhac; |
| | | } |
| | | |
| | | public void setQdhac(String qdhac) { |
| | | this.qdhac = qdhac; |
| | | } |
| | | |
| | | public String getQdhaf() { |
| | | return qdhaf; |
| | | } |
| | | |
| | | public void setQdhaf(String qdhaf) { |
| | | this.qdhaf = qdhaf; |
| | | } |
| | | |
| | | public String getQdhag() { |
| | | return qdhag; |
| | | } |
| | | |
| | | public void setQdhag(String qdhag) { |
| | | this.qdhag = qdhag; |
| | | } |
| | | |
| | | public String getYsea() { |
| | | return ysea; |
| | | } |
| | | |
| | | public void setYsea(String ysea) { |
| | | this.ysea = ysea; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public String getYsb() { |
| | | return ysb; |
| | | } |
| | | |
| | | public void setYsb(String ysb) { |
| | | this.ysb = ysb; |
| | | } |
| | | |
| | | public String getQdhx() { |
| | | return qdhx; |
| | | } |
| | | |
| | | public void setQdhx(String qdhx) { |
| | | this.qdhx = qdhx; |
| | | } |
| | | |
| | | public String getQdho() { |
| | | return qdho; |
| | | } |
| | | |
| | | public void setQdho(String qdho) { |
| | | this.qdho = qdho; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd05m |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d05m") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd05mEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 32399049975163788L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String ysea; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yseage; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private String qdho; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd05mEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getYsea() { |
| | | return ysea; |
| | | } |
| | | |
| | | public void setYsea(String ysea) { |
| | | this.ysea = ysea; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYseage() { |
| | | return yseage; |
| | | } |
| | | |
| | | public void setYseage(String yseage) { |
| | | this.yseage = yseage; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public String getQdho() { |
| | | return qdho; |
| | | } |
| | | |
| | | public void setQdho(String qdho) { |
| | | this.qdho = qdho; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd06s |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d06s") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd06sEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String kcaj; |
| | | |
| | | private String kwbh; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd06sEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getKcaj() { |
| | | return kcaj; |
| | | } |
| | | |
| | | public void setKcaj(String kcaj) { |
| | | this.kcaj = kcaj; |
| | | } |
| | | |
| | | public String getKwbh() { |
| | | return kwbh; |
| | | } |
| | | |
| | | public void setKwbh(String kwbh) { |
| | | this.kwbh = kwbh; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd07b |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d07b") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd07bEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String ysva; |
| | | |
| | | private String yswa; |
| | | |
| | | private String yswe; |
| | | |
| | | private String ysx; |
| | | |
| | | private String kwbed; |
| | | |
| | | private String ysvc; |
| | | |
| | | private String ysvd; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd07bEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getYsva() { |
| | | return ysva; |
| | | } |
| | | |
| | | public void setYsva(String ysva) { |
| | | this.ysva = ysva; |
| | | } |
| | | |
| | | public String getYswa() { |
| | | return yswa; |
| | | } |
| | | |
| | | public void setYswa(String yswa) { |
| | | this.yswa = yswa; |
| | | } |
| | | |
| | | public String getYswe() { |
| | | return yswe; |
| | | } |
| | | |
| | | public void setYswe(String yswe) { |
| | | this.yswe = yswe; |
| | | } |
| | | |
| | | public String getYsx() { |
| | | return ysx; |
| | | } |
| | | |
| | | public void setYsx(String ysx) { |
| | | this.ysx = ysx; |
| | | } |
| | | |
| | | public String getKwbed() { |
| | | return kwbed; |
| | | } |
| | | |
| | | public void setKwbed(String kwbed) { |
| | | this.kwbed = kwbed; |
| | | } |
| | | |
| | | public String getYsvc() { |
| | | return ysvc; |
| | | } |
| | | |
| | | public void setYsvc(String ysvc) { |
| | | this.ysvc = ysvc; |
| | | } |
| | | |
| | | public String getYsvd() { |
| | | return ysvd; |
| | | } |
| | | |
| | | public void setYsvd(String ysvd) { |
| | | this.ysvd = ysvd; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd07h |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d07h") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd07hEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String qdimc; |
| | | |
| | | private String yseb; |
| | | |
| | | private String yshb; |
| | | |
| | | private String ysc; |
| | | |
| | | private String ysd; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd07hEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getQdimc() { |
| | | return qdimc; |
| | | } |
| | | |
| | | public void setQdimc(String qdimc) { |
| | | this.qdimc = qdimc; |
| | | } |
| | | |
| | | public String getYseb() { |
| | | return yseb; |
| | | } |
| | | |
| | | public void setYseb(String yseb) { |
| | | this.yseb = yseb; |
| | | } |
| | | |
| | | public String getYshb() { |
| | | return yshb; |
| | | } |
| | | |
| | | public void setYshb(String yshb) { |
| | | this.yshb = yshb; |
| | | } |
| | | |
| | | public String getYsc() { |
| | | return ysc; |
| | | } |
| | | |
| | | public void setYsc(String ysc) { |
| | | this.ysc = ysc; |
| | | } |
| | | |
| | | public String getYsd() { |
| | | return ysd; |
| | | } |
| | | |
| | | public void setYsd(String ysd) { |
| | | this.ysd = ysd; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd08d |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d08d") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd08dEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzee; |
| | | |
| | | private String gzeab; |
| | | |
| | | private String gzeca; |
| | | |
| | | private String gzecd; |
| | | |
| | | private String gzece; |
| | | |
| | | private String gzegbn; |
| | | |
| | | private String gzeha; |
| | | |
| | | private String gzek; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd08dEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzee() { |
| | | return gzee; |
| | | } |
| | | |
| | | public void setGzee(String gzee) { |
| | | this.gzee = gzee; |
| | | } |
| | | |
| | | public String getGzeab() { |
| | | return gzeab; |
| | | } |
| | | |
| | | public void setGzeab(String gzeab) { |
| | | this.gzeab = gzeab; |
| | | } |
| | | |
| | | public String getGzeca() { |
| | | return gzeca; |
| | | } |
| | | |
| | | public void setGzeca(String gzeca) { |
| | | this.gzeca = gzeca; |
| | | } |
| | | |
| | | public String getGzecd() { |
| | | return gzecd; |
| | | } |
| | | |
| | | public void setGzecd(String gzecd) { |
| | | this.gzecd = gzecd; |
| | | } |
| | | |
| | | public String getGzece() { |
| | | return gzece; |
| | | } |
| | | |
| | | public void setGzece(String gzece) { |
| | | this.gzece = gzece; |
| | | } |
| | | |
| | | public String getGzegbn() { |
| | | return gzegbn; |
| | | } |
| | | |
| | | public void setGzegbn(String gzegbn) { |
| | | this.gzegbn = gzegbn; |
| | | } |
| | | |
| | | public String getGzeha() { |
| | | return gzeha; |
| | | } |
| | | |
| | | public void setGzeha(String gzeha) { |
| | | this.gzeha = gzeha; |
| | | } |
| | | |
| | | public String getGzek() { |
| | | return gzek; |
| | | } |
| | | |
| | | public void setGzek(String gzek) { |
| | | this.gzek = gzek; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd09g |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d09g") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd09gEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzci; |
| | | |
| | | private String gzeha; |
| | | |
| | | private String kwbeh; |
| | | |
| | | private String gzmf; |
| | | |
| | | private String gzse; |
| | | |
| | | private String gzafj; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd09gEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzci() { |
| | | return gzci; |
| | | } |
| | | |
| | | public void setGzci(String gzci) { |
| | | this.gzci = gzci; |
| | | } |
| | | |
| | | public String getGzeha() { |
| | | return gzeha; |
| | | } |
| | | |
| | | public void setGzeha(String gzeha) { |
| | | this.gzeha = gzeha; |
| | | } |
| | | |
| | | public String getKwbeh() { |
| | | return kwbeh; |
| | | } |
| | | |
| | | public void setKwbeh(String kwbeh) { |
| | | this.kwbeh = kwbeh; |
| | | } |
| | | |
| | | public String getGzmf() { |
| | | return gzmf; |
| | | } |
| | | |
| | | public void setGzmf(String gzmf) { |
| | | this.gzmf = gzmf; |
| | | } |
| | | |
| | | public String getGzse() { |
| | | return gzse; |
| | | } |
| | | |
| | | public void setGzse(String gzse) { |
| | | this.gzse = gzse; |
| | | } |
| | | |
| | | public String getGzafj() { |
| | | return gzafj; |
| | | } |
| | | |
| | | public void setGzafj(String gzafj) { |
| | | this.gzafj = gzafj; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd11k |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d11k") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd11kEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String jjdaj; |
| | | |
| | | private String kcc; |
| | | |
| | | private String kcaaw; |
| | | |
| | | private String kcaai; |
| | | |
| | | private String kcaah; |
| | | |
| | | private String kcba; |
| | | |
| | | private String pkgki; |
| | | |
| | | private String pkgkb; |
| | | |
| | | private String pkgkpl; |
| | | |
| | | private String pkcdd; |
| | | |
| | | private String hxgah; |
| | | |
| | | private String kcaoc; |
| | | |
| | | private String pkd; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd11kEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getJjdaj() { |
| | | return jjdaj; |
| | | } |
| | | |
| | | public void setJjdaj(String jjdaj) { |
| | | this.jjdaj = jjdaj; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getKcaaw() { |
| | | return kcaaw; |
| | | } |
| | | |
| | | public void setKcaaw(String kcaaw) { |
| | | this.kcaaw = kcaaw; |
| | | } |
| | | |
| | | public String getKcaai() { |
| | | return kcaai; |
| | | } |
| | | |
| | | public void setKcaai(String kcaai) { |
| | | this.kcaai = kcaai; |
| | | } |
| | | |
| | | public String getKcaah() { |
| | | return kcaah; |
| | | } |
| | | |
| | | public void setKcaah(String kcaah) { |
| | | this.kcaah = kcaah; |
| | | } |
| | | |
| | | public String getKcba() { |
| | | return kcba; |
| | | } |
| | | |
| | | public void setKcba(String kcba) { |
| | | this.kcba = kcba; |
| | | } |
| | | |
| | | public String getPkgki() { |
| | | return pkgki; |
| | | } |
| | | |
| | | public void setPkgki(String pkgki) { |
| | | this.pkgki = pkgki; |
| | | } |
| | | |
| | | public String getPkgkb() { |
| | | return pkgkb; |
| | | } |
| | | |
| | | public void setPkgkb(String pkgkb) { |
| | | this.pkgkb = pkgkb; |
| | | } |
| | | |
| | | public String getPkgkpl() { |
| | | return pkgkpl; |
| | | } |
| | | |
| | | public void setPkgkpl(String pkgkpl) { |
| | | this.pkgkpl = pkgkpl; |
| | | } |
| | | |
| | | public String getPkcdd() { |
| | | return pkcdd; |
| | | } |
| | | |
| | | public void setPkcdd(String pkcdd) { |
| | | this.pkcdd = pkcdd; |
| | | } |
| | | |
| | | public String getHxgah() { |
| | | return hxgah; |
| | | } |
| | | |
| | | public void setHxgah(String hxgah) { |
| | | this.hxgah = hxgah; |
| | | } |
| | | |
| | | public String getKcaoc() { |
| | | return kcaoc; |
| | | } |
| | | |
| | | public void setKcaoc(String kcaoc) { |
| | | this.kcaoc = kcaoc; |
| | | } |
| | | |
| | | public String getPkd() { |
| | | return pkd; |
| | | } |
| | | |
| | | public void setPkd(String pkd) { |
| | | this.pkd = pkd; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd12c |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d12c") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd12cEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gzbbga; |
| | | |
| | | private String gzbbac; |
| | | |
| | | private String gzbbad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd12cEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGzbbga() { |
| | | return gzbbga; |
| | | } |
| | | |
| | | public void setGzbbga(String gzbbga) { |
| | | this.gzbbga = gzbbga; |
| | | } |
| | | |
| | | public String getGzbbac() { |
| | | return gzbbac; |
| | | } |
| | | |
| | | public void setGzbbac(String gzbbac) { |
| | | this.gzbbac = gzbbac; |
| | | } |
| | | |
| | | public String getGzbbad() { |
| | | return gzbbad; |
| | | } |
| | | |
| | | public void setGzbbad(String gzbbad) { |
| | | this.gzbbad = gzbbad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd13h |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d13h") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd13hEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gsab; |
| | | |
| | | private String dsb; |
| | | |
| | | private String dso; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd13hEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGsab() { |
| | | return gsab; |
| | | } |
| | | |
| | | public void setGsab(String gsab) { |
| | | this.gsab = gsab; |
| | | } |
| | | |
| | | public String getDsb() { |
| | | return dsb; |
| | | } |
| | | |
| | | public void setDsb(String dsb) { |
| | | this.dsb = dsb; |
| | | } |
| | | |
| | | public String getDso() { |
| | | return dso; |
| | | } |
| | | |
| | | public void setDso(String dso) { |
| | | this.dso = dso; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd13k |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d13k") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd13kEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String gcjcbo; |
| | | |
| | | private String gcjcbn; |
| | | |
| | | private String tkaa; |
| | | |
| | | private BigDecimal qdfcf; |
| | | |
| | | private BigDecimal tkacca; |
| | | |
| | | private String kcc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd13kEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getGcjcbo() { |
| | | return gcjcbo; |
| | | } |
| | | |
| | | public void setGcjcbo(String gcjcbo) { |
| | | this.gcjcbo = gcjcbo; |
| | | } |
| | | |
| | | public String getGcjcbn() { |
| | | return gcjcbn; |
| | | } |
| | | |
| | | public void setGcjcbn(String gcjcbn) { |
| | | this.gcjcbn = gcjcbn; |
| | | } |
| | | |
| | | public String getTkaa() { |
| | | return tkaa; |
| | | } |
| | | |
| | | public void setTkaa(String tkaa) { |
| | | this.tkaa = tkaa; |
| | | } |
| | | |
| | | public BigDecimal getQdfcf() { |
| | | return qdfcf; |
| | | } |
| | | |
| | | public void setQdfcf(BigDecimal qdfcf) { |
| | | this.qdfcf = qdfcf; |
| | | } |
| | | |
| | | public BigDecimal getTkacca() { |
| | | return tkacca; |
| | | } |
| | | |
| | | public void setTkacca(BigDecimal tkacca) { |
| | | this.tkacca = tkacca; |
| | | } |
| | | |
| | | public String getKcc() { |
| | | return kcc; |
| | | } |
| | | |
| | | public void setKcc(String kcc) { |
| | | this.kcc = kcc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd13p |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d13p") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd13pEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String qdygk; |
| | | |
| | | private String qdygm; |
| | | |
| | | private String qdygl; |
| | | |
| | | private String qdygd; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd13pEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getQdygk() { |
| | | return qdygk; |
| | | } |
| | | |
| | | public void setQdygk(String qdygk) { |
| | | this.qdygk = qdygk; |
| | | } |
| | | |
| | | public String getQdygm() { |
| | | return qdygm; |
| | | } |
| | | |
| | | public void setQdygm(String qdygm) { |
| | | this.qdygm = qdygm; |
| | | } |
| | | |
| | | public String getQdygl() { |
| | | return qdygl; |
| | | } |
| | | |
| | | public void setQdygl(String qdygl) { |
| | | this.qdygl = qdygl; |
| | | } |
| | | |
| | | public String getQdygd() { |
| | | return qdygd; |
| | | } |
| | | |
| | | public void setQdygd(String qdygd) { |
| | | this.qdygd = qdygd; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd13q |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d13q") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd13qEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String swbgad; |
| | | |
| | | private String swbgaf; |
| | | |
| | | private String swbgao; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd13qEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getSwbgad() { |
| | | return swbgad; |
| | | } |
| | | |
| | | public void setSwbgad(String swbgad) { |
| | | this.swbgad = swbgad; |
| | | } |
| | | |
| | | public String getSwbgaf() { |
| | | return swbgaf; |
| | | } |
| | | |
| | | public void setSwbgaf(String swbgaf) { |
| | | this.swbgaf = swbgaf; |
| | | } |
| | | |
| | | public String getSwbgao() { |
| | | return swbgao; |
| | | } |
| | | |
| | | public void setSwbgao(String swbgao) { |
| | | this.swbgao = swbgao; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd13s |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d13s") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd13sEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String hsde; |
| | | |
| | | private String hsdi; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd13sEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getHsde() { |
| | | return hsde; |
| | | } |
| | | |
| | | public void setHsde(String hsde) { |
| | | this.hsde = hsde; |
| | | } |
| | | |
| | | public String getHsdi() { |
| | | return hsdi; |
| | | } |
| | | |
| | | public void setHsdi(String hsdi) { |
| | | this.hsdi = hsdi; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wd13t |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_d13t") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wd13tEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String pkhfb; |
| | | |
| | | private String hxgie; |
| | | |
| | | private String dhbia; |
| | | |
| | | private String dhbhab; |
| | | |
| | | private String hxgg; |
| | | |
| | | private String hxgb; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wd13tEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getPkhfb() { |
| | | return pkhfb; |
| | | } |
| | | |
| | | public void setPkhfb(String pkhfb) { |
| | | this.pkhfb = pkhfb; |
| | | } |
| | | |
| | | public String getHxgie() { |
| | | return hxgie; |
| | | } |
| | | |
| | | public void setHxgie(String hxgie) { |
| | | this.hxgie = hxgie; |
| | | } |
| | | |
| | | public String getDhbia() { |
| | | return dhbia; |
| | | } |
| | | |
| | | public void setDhbia(String dhbia) { |
| | | this.dhbia = dhbia; |
| | | } |
| | | |
| | | public String getDhbhab() { |
| | | return dhbhab; |
| | | } |
| | | |
| | | public void setDhbhab(String dhbhab) { |
| | | this.dhbhab = dhbhab; |
| | | } |
| | | |
| | | public String getHxgg() { |
| | | return hxgg; |
| | | } |
| | | |
| | | public void setHxgg(String hxgg) { |
| | | this.hxgg = hxgg; |
| | | } |
| | | |
| | | public String getHxgb() { |
| | | return hxgb; |
| | | } |
| | | |
| | | public void setHxgb(String hxgb) { |
| | | this.hxgb = hxgb; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl01j |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l01j") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl01jEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chamac; |
| | | |
| | | private String chamaa; |
| | | |
| | | private String chamdb; |
| | | |
| | | private String chag; |
| | | |
| | | private String chai; |
| | | |
| | | private String ddaebe; |
| | | |
| | | private String ddaebf; |
| | | |
| | | private String ddaebg; |
| | | |
| | | private String ddaebh; |
| | | |
| | | private String qdaq; |
| | | |
| | | private String qdae; |
| | | |
| | | private String qdygg; |
| | | |
| | | private String qdyh; |
| | | |
| | | private String qdaf; |
| | | |
| | | private String ddaeed; |
| | | |
| | | private String pkigj; |
| | | |
| | | private String sdafaf; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl01jEntity() { |
| | | } |
| | | |
| | | public String getChamac() { |
| | | return chamac; |
| | | } |
| | | |
| | | public void setChamac(String chamac) { |
| | | this.chamac = chamac; |
| | | } |
| | | |
| | | public String getChamaa() { |
| | | return chamaa; |
| | | } |
| | | |
| | | public void setChamaa(String chamaa) { |
| | | this.chamaa = chamaa; |
| | | } |
| | | |
| | | public String getChamdb() { |
| | | return chamdb; |
| | | } |
| | | |
| | | public void setChamdb(String chamdb) { |
| | | this.chamdb = chamdb; |
| | | } |
| | | |
| | | public String getChag() { |
| | | return chag; |
| | | } |
| | | |
| | | public void setChag(String chag) { |
| | | this.chag = chag; |
| | | } |
| | | |
| | | public String getChai() { |
| | | return chai; |
| | | } |
| | | |
| | | public void setChai(String chai) { |
| | | this.chai = chai; |
| | | } |
| | | |
| | | public String getDdaebe() { |
| | | return ddaebe; |
| | | } |
| | | |
| | | public void setDdaebe(String ddaebe) { |
| | | this.ddaebe = ddaebe; |
| | | } |
| | | |
| | | public String getDdaebf() { |
| | | return ddaebf; |
| | | } |
| | | |
| | | public void setDdaebf(String ddaebf) { |
| | | this.ddaebf = ddaebf; |
| | | } |
| | | |
| | | public String getDdaebg() { |
| | | return ddaebg; |
| | | } |
| | | |
| | | public void setDdaebg(String ddaebg) { |
| | | this.ddaebg = ddaebg; |
| | | } |
| | | |
| | | public String getDdaebh() { |
| | | return ddaebh; |
| | | } |
| | | |
| | | public void setDdaebh(String ddaebh) { |
| | | this.ddaebh = ddaebh; |
| | | } |
| | | |
| | | public String getQdaq() { |
| | | return qdaq; |
| | | } |
| | | |
| | | public void setQdaq(String qdaq) { |
| | | this.qdaq = qdaq; |
| | | } |
| | | |
| | | public String getQdae() { |
| | | return qdae; |
| | | } |
| | | |
| | | public void setQdae(String qdae) { |
| | | this.qdae = qdae; |
| | | } |
| | | |
| | | public String getQdygg() { |
| | | return qdygg; |
| | | } |
| | | |
| | | public void setQdygg(String qdygg) { |
| | | this.qdygg = qdygg; |
| | | } |
| | | |
| | | public String getQdyh() { |
| | | return qdyh; |
| | | } |
| | | |
| | | public void setQdyh(String qdyh) { |
| | | this.qdyh = qdyh; |
| | | } |
| | | |
| | | public String getQdaf() { |
| | | return qdaf; |
| | | } |
| | | |
| | | public void setQdaf(String qdaf) { |
| | | this.qdaf = qdaf; |
| | | } |
| | | |
| | | public String getDdaeed() { |
| | | return ddaeed; |
| | | } |
| | | |
| | | public void setDdaeed(String ddaeed) { |
| | | this.ddaeed = ddaeed; |
| | | } |
| | | |
| | | public String getPkigj() { |
| | | return pkigj; |
| | | } |
| | | |
| | | public void setPkigj(String pkigj) { |
| | | this.pkigj = pkigj; |
| | | } |
| | | |
| | | public String getSdafaf() { |
| | | return sdafaf; |
| | | } |
| | | |
| | | public void setSdafaf(String sdafaf) { |
| | | this.sdafaf = sdafaf; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl01t |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l01t") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl01tEntity extends BaseEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private String idtic; |
| | | |
| | | private BigDecimal xtic; |
| | | |
| | | private BigDecimal ytic; |
| | | |
| | | public Brg20wl01tEntity() { |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public String getIdtic() { |
| | | return idtic; |
| | | } |
| | | |
| | | public void setIdtic(String idtic) { |
| | | this.idtic = idtic; |
| | | } |
| | | |
| | | public BigDecimal getXtic() { |
| | | return xtic; |
| | | } |
| | | |
| | | public void setXtic(BigDecimal xtic) { |
| | | this.xtic = xtic; |
| | | } |
| | | |
| | | public BigDecimal getYtic() { |
| | | return ytic; |
| | | } |
| | | |
| | | public void setYtic(BigDecimal ytic) { |
| | | this.ytic = ytic; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl02h |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l02h") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl02hEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl02hEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl02s |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l02s") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl02sEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl02sEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl03j |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l03j") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl03jEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl03jEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl04j |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l04j") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl04jEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl04jEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl05j |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l05j") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl05jEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl05jEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl05x |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l05x") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl05xEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chfcad; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wl05xEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChfcad() { |
| | | return chfcad; |
| | | } |
| | | |
| | | public void setChfcad(String chfcad) { |
| | | this.chfcad = chfcad; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl06d |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l06d") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl06dEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private BigDecimal elev; |
| | | |
| | | public Brg20wl06dEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public BigDecimal getElev() { |
| | | return elev; |
| | | } |
| | | |
| | | public void setElev(BigDecimal elev) { |
| | | this.elev = elev; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wl06g |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_l06g") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wl06gEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String chfcaa; |
| | | |
| | | private String chambc; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private BigDecimal elev; |
| | | |
| | | public Brg20wl06gEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getChfcaa() { |
| | | return chfcaa; |
| | | } |
| | | |
| | | public void setChfcaa(String chfcaa) { |
| | | this.chfcaa = chfcaa; |
| | | } |
| | | |
| | | public String getChambc() { |
| | | return chambc; |
| | | } |
| | | |
| | | public void setChambc(String chambc) { |
| | | this.chambc = chambc; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public BigDecimal getElev() { |
| | | return elev; |
| | | } |
| | | |
| | | public void setElev(BigDecimal elev) { |
| | | this.elev = elev; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wwl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_wl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wwlEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private BigDecimal perimeter; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | public Brg20wwlEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public BigDecimal getPerimeter() { |
| | | return perimeter; |
| | | } |
| | | |
| | | public void setPerimeter(BigDecimal perimeter) { |
| | | this.perimeter = perimeter; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wwp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_wp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wwpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private BigDecimal perimeter; |
| | | |
| | | private BigDecimal area; |
| | | |
| | | public Brg20wwpEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public BigDecimal getPerimeter() { |
| | | return perimeter; |
| | | } |
| | | |
| | | public void setPerimeter(BigDecimal perimeter) { |
| | | this.perimeter = perimeter; |
| | | } |
| | | |
| | | public BigDecimal getArea() { |
| | | return area; |
| | | } |
| | | |
| | | public void setArea(BigDecimal area) { |
| | | this.area = area; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Brg20wwt |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.b_rg20w_wt") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Brg20wwtEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String chfcac; |
| | | |
| | | private String m2sLegend; |
| | | |
| | | private String m2sAngle; |
| | | |
| | | public Brg20wwtEntity() { |
| | | } |
| | | |
| | | public String getChfcac() { |
| | | return chfcac; |
| | | } |
| | | |
| | | public void setChfcac(String chfcac) { |
| | | this.chfcac = chfcac; |
| | | } |
| | | |
| | | public String getM2sLegend() { |
| | | return m2sLegend; |
| | | } |
| | | |
| | | public void setM2sLegend(String m2sLegend) { |
| | | this.m2sLegend = m2sLegend; |
| | | } |
| | | |
| | | public String getM2sAngle() { |
| | | return m2sAngle; |
| | | } |
| | | |
| | | public void setM2sAngle(String m2sAngle) { |
| | | this.m2sAngle = m2sAngle; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100waanp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_aanp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100waanpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String name; |
| | | |
| | | private String pinyin; |
| | | |
| | | private String classes; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100waanpEntity() { |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPinyin() { |
| | | return pinyin; |
| | | } |
| | | |
| | | public void setPinyin(String pinyin) { |
| | | this.pinyin = pinyin; |
| | | } |
| | | |
| | | public String getClasses() { |
| | | return classes; |
| | | } |
| | | |
| | | public void setClasses(String classes) { |
| | | this.classes = classes; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wagnp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_agnp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wagnpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String name; |
| | | |
| | | private String pinyin; |
| | | |
| | | private String classes; |
| | | |
| | | private String gnid; |
| | | |
| | | private String townname; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wagnpEntity() { |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPinyin() { |
| | | return pinyin; |
| | | } |
| | | |
| | | public void setPinyin(String pinyin) { |
| | | this.pinyin = pinyin; |
| | | } |
| | | |
| | | public String getClasses() { |
| | | return classes; |
| | | } |
| | | |
| | | public void setClasses(String classes) { |
| | | this.classes = classes; |
| | | } |
| | | |
| | | public String getGnid() { |
| | | return gnid; |
| | | } |
| | | |
| | | public void setGnid(String gnid) { |
| | | this.gnid = gnid; |
| | | } |
| | | |
| | | public String getTownname() { |
| | | return townname; |
| | | } |
| | | |
| | | public void setTownname(String townname) { |
| | | this.townname = townname; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wboua |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_boua") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wbouaEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String pac; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wbouaEntity() { |
| | | } |
| | | |
| | | public String getPac() { |
| | | return pac; |
| | | } |
| | | |
| | | public void setPac(String pac) { |
| | | this.pac = pac; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wboul |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_boul") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wboulEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wboulEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wboup |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_boup") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wboupEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String bno; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wboupEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getBno() { |
| | | return bno; |
| | | } |
| | | |
| | | public void setBno(String bno) { |
| | | this.bno = bno; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wbrga |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_brga") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wbrgaEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wbrgaEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wbrgl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_brgl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wbrglEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wbrglEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wbrgp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_brgp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wbrgpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wbrgpEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wcptl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_cptl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wcptlEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wcptlEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wcptp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_cptp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wcptpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wcptpEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100whfca |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_hfca") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100whfcaEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100whfcaEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100whfcl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_hfcl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100whfclEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100whfclEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100whfcp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_hfcp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100whfcpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100whfcpEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100whyda |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_hyda") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100whydaEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String hydc; |
| | | |
| | | private String name; |
| | | |
| | | private String vol; |
| | | |
| | | private String period; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100whydaEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getHydc() { |
| | | return hydc; |
| | | } |
| | | |
| | | public void setHydc(String hydc) { |
| | | this.hydc = hydc; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getVol() { |
| | | return vol; |
| | | } |
| | | |
| | | public void setVol(String vol) { |
| | | this.vol = vol; |
| | | } |
| | | |
| | | public String getPeriod() { |
| | | return period; |
| | | } |
| | | |
| | | public void setPeriod(String period) { |
| | | this.period = period; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100whydl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_hydl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100whydlEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String hydc; |
| | | |
| | | private String name; |
| | | |
| | | private String period; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100whydlEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getHydc() { |
| | | return hydc; |
| | | } |
| | | |
| | | public void setHydc(String hydc) { |
| | | this.hydc = hydc; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPeriod() { |
| | | return period; |
| | | } |
| | | |
| | | public void setPeriod(String period) { |
| | | this.period = period; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100whydp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_hydp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100whydpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String angle; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100whydpEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getAngle() { |
| | | return angle; |
| | | } |
| | | |
| | | public void setAngle(String angle) { |
| | | this.angle = angle; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wlfcl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_lfcl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wlfclEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String name; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wlfclEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wlfcp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_lfcp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wlfcpEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String rn; |
| | | |
| | | private String name; |
| | | |
| | | private String period; |
| | | |
| | | private String brglev; |
| | | |
| | | private String angle; |
| | | |
| | | public Dlg100wlfcpEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getRn() { |
| | | return rn; |
| | | } |
| | | |
| | | public void setRn(String rn) { |
| | | this.rn = rn; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPeriod() { |
| | | return period; |
| | | } |
| | | |
| | | public void setPeriod(String period) { |
| | | this.period = period; |
| | | } |
| | | |
| | | public String getBrglev() { |
| | | return brglev; |
| | | } |
| | | |
| | | public void setBrglev(String brglev) { |
| | | this.brglev = brglev; |
| | | } |
| | | |
| | | public String getAngle() { |
| | | return angle; |
| | | } |
| | | |
| | | public void setAngle(String angle) { |
| | | this.angle = angle; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wlrdl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_lrdl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wlrdlEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String rn; |
| | | |
| | | private String name; |
| | | |
| | | private String rteg; |
| | | |
| | | private String type; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wlrdlEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getRn() { |
| | | return rn; |
| | | } |
| | | |
| | | public void setRn(String rn) { |
| | | this.rn = rn; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getRteg() { |
| | | return rteg; |
| | | } |
| | | |
| | | public void setRteg(String rteg) { |
| | | this.rteg = rteg; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wlrrl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_lrrl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wlrrlEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String rn; |
| | | |
| | | private String name; |
| | | |
| | | private String type; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wlrrlEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getRn() { |
| | | return rn; |
| | | } |
| | | |
| | | public void setRn(String rn) { |
| | | this.rn = rn; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wpipl |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_pipl") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wpiplEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String maptile; |
| | | |
| | | private String gb; |
| | | |
| | | public Dlg100wpiplEntity() { |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wresa |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_resa") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wresaEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String maptile; |
| | | |
| | | public Dlg100wresaEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.entity.bd; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.lf.server.entity.all.BaseGeoEntity; |
| | | import lombok.*; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | /** |
| | | * Dlg100wresp |
| | | * @author WWW |
| | | */ |
| | | @Data |
| | | @AllArgsConstructor |
| | | @TableName("bd.dlg_100w_resp") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Dlg100wrespEntity extends BaseGeoEntity { |
| | | private static final long serialVersionUID = 673594022949037184L; |
| | | |
| | | private String gb; |
| | | |
| | | private String maptile; |
| | | |
| | | private String angle; |
| | | |
| | | public Dlg100wrespEntity() { |
| | | } |
| | | |
| | | public String getGb() { |
| | | return gb; |
| | | } |
| | | |
| | | public void setGb(String gb) { |
| | | this.gb = gb; |
| | | } |
| | | |
| | | public String getMaptile() { |
| | | return maptile; |
| | | } |
| | | |
| | | public void setMaptile(String maptile) { |
| | | this.maptile = maptile; |
| | | } |
| | | |
| | | public String getAngle() { |
| | | return angle; |
| | | } |
| | | |
| | | public void setAngle(String angle) { |
| | | this.angle = angle; |
| | | } |
| | | } |
src/main/java/com/lf/server/entity/bd/Dlg100wrfcaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wrfclEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wrfcpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wteraEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wterlEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wterpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wvegaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg100wvegpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25waanpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wagnpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wbouacEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wbouadEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wbouapEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wboulEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wboupEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wbrgaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wbrglEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wbrgpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25whfcaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25whfclEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25whfcpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25whydaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25whydlEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25whydpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wlfclEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wlfcpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wlrdlEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wlrrlEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wresaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wrespEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wrfcaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wrfclEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wrfcpEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wteraEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wterlEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wvegaEntity.java
src/main/java/com/lf/server/entity/bd/Dlg25wvegpEntity.java
src/main/java/com/lf/server/entity/bd/DlgagnpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1waanpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wagnpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wbouaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wboulEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wboupEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wcptlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wcptpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1whfcaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1whfclEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1whfcpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1whydaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1whydlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1whydpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wlfcaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wlfclEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wlfcpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wlrdlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wlrrlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wpiplEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wpippEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wresaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wreslEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wrespEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wrfcaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wrfclEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wrfcpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wteraEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wterlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wterpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wvegaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wveglEntity.java
src/main/java/com/lf/server/entity/bs/Dlg1wvegpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5waanpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wagnpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wbouaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wboulEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wboupEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wcptlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wcptpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5whfcaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5whfclEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5whfcpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5whydaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5whydlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5whydpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wlfcaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wlfclEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wlfcpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wlrdlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wlrrlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wpiplEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wpippEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wresaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wreslEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wrespEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wrfcaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wrfclEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wrfcpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wteraEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wterlEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wterpEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wvegaEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wveglEntity.java
src/main/java/com/lf/server/entity/bs/Dlg5wvegpEntity.java
src/main/java/com/lf/server/entity/bs/Dlgbouan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbouan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbouan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbouan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboulk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboulk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboulk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboulk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbount1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbount2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbount5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgbount500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboupt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboupt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboupt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgboupt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlal1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlal2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlal5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlal500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctllk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctllk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctllk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctllk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlpt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlpt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlpt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgctlpt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdpllk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdpllk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdpllk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdpllk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdplpt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdplpt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdplpt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgdplpt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydal1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydal2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydal5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydal500Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydap1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydap2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydap5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydap500Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydlk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydlk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydlk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydlk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydnt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydnt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydnt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydnt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydpt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydpt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydpt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlghydpt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipal1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipal2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipal5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipal500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpiplk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpiplk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpiplk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpiplk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipnt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipnt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipnt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpipnt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpippt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpippt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpippt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgpippt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresal1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresal2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresal5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresal500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresap1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresap2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresap5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresap500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgreslk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgreslk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgreslk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgreslk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresnt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresnt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresnt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgresnt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgrespt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgrespt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgrespt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgrespt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteral1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteral2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteral5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteral500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteran1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteran2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteran5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgteran500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterlk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterlk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterlk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterlk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgternt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgternt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgternt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgternt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterpt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterpt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterpt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgterpt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraal1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraal2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraal5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraal500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtraan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtralk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtralk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtralk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtralk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrant1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrant2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrant5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrant500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrapt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrapt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrapt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgtrapt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegal1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegal2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegal5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegal500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegan1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegan2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegan5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegan500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgveglk1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgveglk2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgveglk5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgveglk500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegnt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegnt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegnt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegnt500Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegpt1000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegpt2000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegpt5000Entity.java
src/main/java/com/lf/server/entity/bs/Dlgvegpt500Entity.java
src/main/java/com/lf/server/entity/bs/GcollapseEntity.java
src/main/java/com/lf/server/entity/bs/GdebrisflowEntity.java
src/main/java/com/lf/server/entity/bs/GgroundcollapseEntity.java
src/main/java/com/lf/server/entity/bs/GhighandsteepslopeEntity.java
src/main/java/com/lf/server/entity/bs/GlandslideEntity.java
src/main/java/com/lf/server/entity/bs/GunstableslopeEntity.java
src/main/java/com/lf/server/entity/bs/GwaterdamageEntity.java
src/main/java/com/lf/server/entity/bs/MadministrativedivisionEntity.java
src/main/java/com/lf/server/entity/bs/MdetactionpipelinepointEntity.java
src/main/java/com/lf/server/entity/bs/MequipmentnameplateEntity.java
src/main/java/com/lf/server/entity/bs/MequipmentnameplateattachEntity.java
src/main/java/com/lf/server/entity/bs/MgeocontrolpointEntity.java
src/main/java/com/lf/server/entity/bs/MgroundlineEntity.java
src/main/java/com/lf/server/entity/bs/MhydraulicprotectionEntity.java
src/main/java/com/lf/server/entity/bs/MhydraulicprotectionattachEntity.java
src/main/java/com/lf/server/entity/bs/MmarkerEntity.java
src/main/java/com/lf/server/entity/bs/MmarkerattachEntity.java
src/main/java/com/lf/server/entity/bs/MpipelineEntity.java
src/main/java/com/lf/server/entity/bs/MpipelinepointEntity.java
src/main/java/com/lf/server/entity/bs/MpipesegmentEntity.java
src/main/java/com/lf/server/entity/bs/MplanindexfileEntity.java
src/main/java/com/lf/server/entity/bs/MpoiEntity.java
src/main/java/com/lf/server/entity/bs/MscatterpointEntity.java
src/main/java/com/lf/server/entity/bs/MsurfacedeformationdataEntity.java
src/main/java/com/lf/server/entity/bs/SboreholeEntity.java
src/main/java/com/lf/server/entity/bs/SboreholeattachEntity.java
src/main/java/com/lf/server/entity/bs/SexplorationpointEntity.java
src/main/java/com/lf/server/entity/bs/SgeologicaldataEntity.java
src/main/java/com/lf/server/entity/bs/SprofileindexfileEntity.java
src/main/java/com/lf/server/entity/bs/SresistivityEntity.java
src/main/java/com/lf/server/entity/bs/SsurveyinformationEntity.java
src/main/java/com/lf/server/entity/bs/SsurveyworksiteEntity.java
src/main/java/com/lf/server/entity/bs/Uundergroundcavern3dattachEntity.java
src/main/java/com/lf/server/entity/bs/UundergroundhydrologicalmonitoringEntity.java
src/main/java/com/lf/server/entity/ctrl/DownloadReqEntity.java
src/main/java/com/lf/server/entity/ctrl/FileInfoEntity.java
src/main/java/com/lf/server/entity/ctrl/IdNameEntity.java
src/main/java/com/lf/server/entity/ctrl/KeyValueEntity.java
src/main/java/com/lf/server/entity/ctrl/MarkJsonEntity.java
src/main/java/com/lf/server/entity/ctrl/ShpRecordEntity.java
src/main/java/com/lf/server/entity/ctrl/TabEntity.java
src/main/java/com/lf/server/entity/ctrl/TabMapperEntity.java
src/main/java/com/lf/server/entity/ctrl/UploadEntity.java
src/main/java/com/lf/server/entity/ctrl/UserUpdateEntity.java
src/main/java/com/lf/server/entity/data/DictEntity.java
src/main/java/com/lf/server/entity/data/DirEntity.java
src/main/java/com/lf/server/entity/data/DomainEntity.java
src/main/java/com/lf/server/entity/data/DownloadEntity.java
src/main/java/com/lf/server/entity/data/MetaEntity.java
src/main/java/com/lf/server/entity/data/MetaFileEntity.java
src/main/java/com/lf/server/entity/data/StyleEntity.java
src/main/java/com/lf/server/entity/data/VerEntity.java
src/main/java/com/lf/server/entity/md/MdGdcgEntity.java
src/main/java/com/lf/server/entity/md/MdZxcgEntity.java
src/main/java/com/lf/server/entity/other/CheckOutLicense.java
src/main/java/com/lf/server/entity/other/FloatServerResponse.java
src/main/java/com/lf/server/entity/other/ReqParamFloatServer.java
src/main/java/com/lf/server/entity/show/ExportEntity.java
src/main/java/com/lf/server/entity/show/MarkEntity.java
src/main/java/com/lf/server/entity/sys/ArgsEntity.java
src/main/java/com/lf/server/entity/sys/AttachEntity.java
src/main/java/com/lf/server/entity/sys/AuthEntity.java
src/main/java/com/lf/server/entity/sys/BlacklistEntity.java
src/main/java/com/lf/server/entity/sys/DepEntity.java
src/main/java/com/lf/server/entity/sys/LoginEntity.java
src/main/java/com/lf/server/entity/sys/MenuAuthEntity.java
src/main/java/com/lf/server/entity/sys/MenuEntity.java
src/main/java/com/lf/server/entity/sys/MsgEntity.java
src/main/java/com/lf/server/entity/sys/OperateEntity.java
src/main/java/com/lf/server/entity/sys/ResEntity.java
src/main/java/com/lf/server/entity/sys/ResOpEntity.java
src/main/java/com/lf/server/entity/sys/RoleEntity.java
src/main/java/com/lf/server/entity/sys/RoleMenuAuthEntity.java
src/main/java/com/lf/server/entity/sys/RoleResEntity.java
src/main/java/com/lf/server/entity/sys/RoleUserEntity.java
src/main/java/com/lf/server/entity/sys/TokenEntity.java
src/main/java/com/lf/server/entity/sys/UserEntity.java
src/main/java/com/lf/server/extend/CustomizedSqlInjector.java
src/main/java/com/lf/server/extend/InsertBatchMethod.java
src/main/java/com/lf/server/extend/UpdateBatchMethod.java
src/main/java/com/lf/server/helper/AccessHelper.java
src/main/java/com/lf/server/helper/AesHelper.java
src/main/java/com/lf/server/helper/ClassHelper.java
src/main/java/com/lf/server/helper/EnumHelper.java
src/main/java/com/lf/server/helper/ExcelHelper.java
src/main/java/com/lf/server/helper/FileHelper.java
src/main/java/com/lf/server/helper/GdalHelper.java
src/main/java/com/lf/server/helper/GdbHelper.java
src/main/java/com/lf/server/helper/HttpHelper.java
src/main/java/com/lf/server/helper/JsonHelper.java
src/main/java/com/lf/server/helper/LicHelper.java
src/main/java/com/lf/server/helper/Md5Helper.java
src/main/java/com/lf/server/helper/MdbHelper.java
src/main/java/com/lf/server/helper/PathHelper.java
src/main/java/com/lf/server/helper/RestHelper.java
src/main/java/com/lf/server/helper/RsaHelper.java
src/main/java/com/lf/server/helper/ShpHelper.java
src/main/java/com/lf/server/helper/SpringContextHelper.java
src/main/java/com/lf/server/helper/StringHelper.java
src/main/java/com/lf/server/helper/WebHelper.java
src/main/java/com/lf/server/helper/Zip4jHelper.java
src/main/java/com/lf/server/helper/ZipHelper.java
src/main/java/com/lf/server/interceptor/AuthInterceptor.java
src/main/java/com/lf/server/interceptor/CrosFilter.java
src/main/java/com/lf/server/mapper/all/BaseQueryMapper.java
src/main/java/com/lf/server/mapper/all/BasicMapper.java
src/main/java/com/lf/server/mapper/all/GeomBaseMapper.java
src/main/java/com/lf/server/mapper/all/PermsMapper.java
src/main/java/com/lf/server/mapper/bd/BboreholeMapper.java
src/main/java/com/lf/server/mapper/bd/BgeologichazardMapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wd21Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wd23Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wd29Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wd31Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wl72Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws11Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws12Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws13Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws14Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws15Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws16Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws17Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws18Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws19Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws21Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws22Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws23Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws24Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws25Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws26Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws27Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws28Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws29Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws41Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws42Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws43Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws51Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws61Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20ws81Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wt21Mapper.java
src/main/java/com/lf/server/mapper/bd/Bhy20wz21Mapper.java
src/main/java/com/lf/server/mapper/bd/BhydrogeologyattachMapper.java
src/main/java/com/lf/server/mapper/bd/BpacfrozensoilMapper.java
src/main/java/com/lf/server/mapper/bd/BpacfrozensoilattachMapper.java
src/main/java/com/lf/server/mapper/bd/BpacgeologichazardMapper.java
src/main/java/com/lf/server/mapper/bd/BpacgeologichazardattachMapper.java
src/main/java/com/lf/server/mapper/bd/BpachydrogeologyMapper.java
src/main/java/com/lf/server/mapper/bd/BpacmarinemeteorologicalMapper.java
src/main/java/com/lf/server/mapper/bd/BpacmarinemeteorologicalattachMapper.java
src/main/java/com/lf/server/mapper/bd/BpacmeteorologicalMapper.java
src/main/java/com/lf/server/mapper/bd/BpacmeteorologicalattachMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wannMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd01bMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd01dMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd01jMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd02hMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd03dMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd04nMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd04pMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd05mMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd06sMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd07bMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd07hMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd08dMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd09gMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd11kMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd12cMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd13hMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd13kMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd13pMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd13qMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd13sMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wd13tMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl01jMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl01tMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl02hMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl02sMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl03jMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl04jMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl05jMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl05xMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl06dMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wl06gMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wwlMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wwpMapper.java
src/main/java/com/lf/server/mapper/bd/Brg20wwtMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100waanpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wagnpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wbouaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wboulMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wboupMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wbrgaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wbrglMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wbrgpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wcptlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wcptpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100whfcaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100whfclMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100whfcpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100whydaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100whydlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100whydpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wlfclMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wlfcpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wlrdlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wlrrlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wpiplMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wresaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wrespMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wrfcaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wrfclMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wrfcpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wteraMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wterlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wterpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wvegaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg100wvegpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25waanpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wagnpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wbouacMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wbouadMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wbouapMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wboulMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wboupMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wbrgaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wbrglMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wbrgpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25whfcaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25whfclMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25whfcpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25whydaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25whydlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25whydpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wlfclMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wlfcpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wlrdlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wlrrlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wresaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wrespMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wrfcaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wrfclMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wrfcpMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wteraMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wterlMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wvegaMapper.java
src/main/java/com/lf/server/mapper/bd/Dlg25wvegpMapper.java
src/main/java/com/lf/server/mapper/bd/DlgagnpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1waanpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wagnpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wbouaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wboulMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wboupMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wcptlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wcptpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1whfcaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1whfclMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1whfcpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1whydaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1whydlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1whydpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wlfcaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wlfclMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wlfcpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wlrdlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wlrrlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wpiplMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wpippMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wresaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wreslMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wrespMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wrfcaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wrfclMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wrfcpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wteraMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wterlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wterpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wvegaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wveglMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg1wvegpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5waanpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wagnpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wbouaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wboulMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wboupMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wcptlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wcptpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5whfcaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5whfclMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5whfcpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5whydaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5whydlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5whydpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wlfcaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wlfclMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wlfcpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wlrdlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wlrrlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wpiplMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wpippMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wresaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wreslMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wrespMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wrfcaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wrfclMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wrfcpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wteraMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wterlMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wterpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wvegaMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wveglMapper.java
src/main/java/com/lf/server/mapper/bs/Dlg5wvegpMapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbouan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbouan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbouan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbouan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboulk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboulk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboulk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboulk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbount1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbount2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbount5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgbount500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboupt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboupt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboupt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgboupt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlal1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlal2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlal5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlal500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctllk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctllk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctllk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctllk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlpt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlpt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlpt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgctlpt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdpllk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdpllk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdpllk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdpllk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdplpt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdplpt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdplpt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgdplpt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydal1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydal2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydal5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydal500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydap1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydap2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydap5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydap500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydlk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydlk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydlk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydlk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydnt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydnt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydnt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydnt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydpt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydpt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydpt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlghydpt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipal1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipal2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipal5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipal500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpiplk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpiplk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpiplk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpiplk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipnt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipnt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipnt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpipnt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpippt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpippt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpippt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgpippt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresal1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresal2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresal5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresal500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresap1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresap2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresap5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresap500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgreslk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgreslk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgreslk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgreslk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresnt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresnt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresnt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgresnt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgrespt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgrespt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgrespt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgrespt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteral1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteral2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteral5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteral500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteran1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteran2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteran5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgteran500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterlk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterlk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterlk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterlk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgternt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgternt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgternt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgternt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterpt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterpt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterpt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgterpt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraal1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraal2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraal5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraal500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtraan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtralk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtralk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtralk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtralk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrant1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrant2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrant5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrant500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrapt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrapt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrapt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgtrapt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegal1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegal2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegal5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegal500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegan1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegan2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegan5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegan500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgveglk1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgveglk2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgveglk5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgveglk500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegnt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegnt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegnt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegnt500Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegpt1000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegpt2000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegpt5000Mapper.java
src/main/java/com/lf/server/mapper/bs/Dlgvegpt500Mapper.java
src/main/java/com/lf/server/mapper/bs/GcollapseMapper.java
src/main/java/com/lf/server/mapper/bs/GdebrisflowMapper.java
src/main/java/com/lf/server/mapper/bs/GgroundcollapseMapper.java
src/main/java/com/lf/server/mapper/bs/GhighandsteepslopeMapper.java
src/main/java/com/lf/server/mapper/bs/GlandslideMapper.java
src/main/java/com/lf/server/mapper/bs/GunstableslopeMapper.java
src/main/java/com/lf/server/mapper/bs/GwaterdamageMapper.java
src/main/java/com/lf/server/mapper/bs/MadministrativedivisionMapper.java
src/main/java/com/lf/server/mapper/bs/MdetactionpipelinepointMapper.java
src/main/java/com/lf/server/mapper/bs/MequipmentnameplateMapper.java
src/main/java/com/lf/server/mapper/bs/MequipmentnameplateattachMapper.java
src/main/java/com/lf/server/mapper/bs/MgeocontrolpointMapper.java
src/main/java/com/lf/server/mapper/bs/MgroundlineMapper.java
src/main/java/com/lf/server/mapper/bs/MhydraulicprotectionMapper.java
src/main/java/com/lf/server/mapper/bs/MhydraulicprotectionattachMapper.java
src/main/java/com/lf/server/mapper/bs/MmarkerMapper.java
src/main/java/com/lf/server/mapper/bs/MmarkerattachMapper.java
src/main/java/com/lf/server/mapper/bs/MpipelineMapper.java
src/main/java/com/lf/server/mapper/bs/MpipelinepointMapper.java
src/main/java/com/lf/server/mapper/bs/MpipesegmentMapper.java
src/main/java/com/lf/server/mapper/bs/MplanindexfileMapper.java
src/main/java/com/lf/server/mapper/bs/MpoiMapper.java
src/main/java/com/lf/server/mapper/bs/MscatterpointMapper.java
src/main/java/com/lf/server/mapper/bs/MsurfacedeformationdataMapper.java
src/main/java/com/lf/server/mapper/bs/SboreholeMapper.java
src/main/java/com/lf/server/mapper/bs/SboreholeattachMapper.java
src/main/java/com/lf/server/mapper/bs/SexplorationpointMapper.java
src/main/java/com/lf/server/mapper/bs/SgeologicaldataMapper.java
src/main/java/com/lf/server/mapper/bs/SprofileindexfileMapper.java
src/main/java/com/lf/server/mapper/bs/SresistivityMapper.java
src/main/java/com/lf/server/mapper/bs/SsurveyinformationMapper.java
src/main/java/com/lf/server/mapper/bs/SsurveyworksiteMapper.java
src/main/java/com/lf/server/mapper/bs/Uundergroundcavern3dattachMapper.java
src/main/java/com/lf/server/mapper/bs/UundergroundhydrologicalmonitoringMapper.java
src/main/java/com/lf/server/mapper/data/DictMapper.java
src/main/java/com/lf/server/mapper/data/DirMapper.java
src/main/java/com/lf/server/mapper/data/DomainMapper.java
src/main/java/com/lf/server/mapper/data/DownloadMapper.java
src/main/java/com/lf/server/mapper/data/MetaFileMapper.java
src/main/java/com/lf/server/mapper/data/MetaMapper.java
src/main/java/com/lf/server/mapper/data/StyleMapper.java
src/main/java/com/lf/server/mapper/data/VerMapper.java
src/main/java/com/lf/server/mapper/md/MdGdcgMapper.java
src/main/java/com/lf/server/mapper/md/MdZxcgMapper.java
src/main/java/com/lf/server/mapper/show/MarkMapper.java
src/main/java/com/lf/server/mapper/sys/ArgsMapper.java
src/main/java/com/lf/server/mapper/sys/AttachMapper.java
src/main/java/com/lf/server/mapper/sys/AuthMapper.java
src/main/java/com/lf/server/mapper/sys/BlacklistMapper.java
src/main/java/com/lf/server/mapper/sys/DepMapper.java
src/main/java/com/lf/server/mapper/sys/LoginMapper.java
src/main/java/com/lf/server/mapper/sys/MenuAuthMapper.java
src/main/java/com/lf/server/mapper/sys/MenuMapper.java
src/main/java/com/lf/server/mapper/sys/MsgMapper.java
src/main/java/com/lf/server/mapper/sys/OperateMapper.java
src/main/java/com/lf/server/mapper/sys/ResMapper.java
src/main/java/com/lf/server/mapper/sys/ResOpMapper.java
src/main/java/com/lf/server/mapper/sys/RoleMapper.java
src/main/java/com/lf/server/mapper/sys/RoleMenuAuthMapper.java
src/main/java/com/lf/server/mapper/sys/RoleResMapper.java
src/main/java/com/lf/server/mapper/sys/RoleUserMapper.java
src/main/java/com/lf/server/mapper/sys/TokenMapper.java
src/main/java/com/lf/server/mapper/sys/UserMapper.java
src/main/java/com/lf/server/service/all/BaseQueryService.java
src/main/java/com/lf/server/service/all/BaseUploadService.java
src/main/java/com/lf/server/service/all/CommonsFileuploadService.java
src/main/java/com/lf/server/service/all/PermsService.java
src/main/java/com/lf/server/service/all/RedisService.java
src/main/java/com/lf/server/service/all/ScheduleService.java
src/main/java/com/lf/server/service/all/SignService.java
src/main/java/com/lf/server/service/all/SysService.java
src/main/java/com/lf/server/service/all/UploadAttachService.java
src/main/java/com/lf/server/service/all/WebSocketService.java
src/main/java/com/lf/server/service/data/DataLoaderService.java
src/main/java/com/lf/server/service/data/DataQueryService.java
src/main/java/com/lf/server/service/data/DataUploadService.java
src/main/java/com/lf/server/service/data/DictService.java
src/main/java/com/lf/server/service/data/DirService.java
src/main/java/com/lf/server/service/data/DomainService.java
src/main/java/com/lf/server/service/data/DownloadService.java
src/main/java/com/lf/server/service/data/MetaFileService.java
src/main/java/com/lf/server/service/data/MetaService.java
src/main/java/com/lf/server/service/data/StyleService.java
src/main/java/com/lf/server/service/data/UploaderService.java
src/main/java/com/lf/server/service/data/VerService.java
src/main/java/com/lf/server/service/show/ExportService.java
src/main/java/com/lf/server/service/show/InquiryService.java
src/main/java/com/lf/server/service/show/LocateService.java
src/main/java/com/lf/server/service/show/MarkService.java
src/main/java/com/lf/server/service/sys/ArgsService.java
src/main/java/com/lf/server/service/sys/AttachService.java
src/main/java/com/lf/server/service/sys/AuthService.java
src/main/java/com/lf/server/service/sys/BlacklistService.java
src/main/java/com/lf/server/service/sys/DepService.java
src/main/java/com/lf/server/service/sys/LoginService.java
src/main/java/com/lf/server/service/sys/MenuAuthService.java
src/main/java/com/lf/server/service/sys/MenuService.java
src/main/java/com/lf/server/service/sys/MsgService.java
src/main/java/com/lf/server/service/sys/OperateService.java
src/main/java/com/lf/server/service/sys/ResOpService.java
src/main/java/com/lf/server/service/sys/ResService.java
src/main/java/com/lf/server/service/sys/RoleMenuAuthService.java
src/main/java/com/lf/server/service/sys/RoleResService.java
src/main/java/com/lf/server/service/sys/RoleService.java
src/main/java/com/lf/server/service/sys/RoleUserService.java
src/main/java/com/lf/server/service/sys/TokenService.java
src/main/java/com/lf/server/service/sys/UserService.java |