From d0f2f7a9e25459443e9dab2f7adebbb0dc44fa4c Mon Sep 17 00:00:00 2001 From: mmm8955405 Date: Fri, 27 Sep 2024 19:14:52 +0800 Subject: [PATCH] xpath --- src/main/java/jj/tech/paolu/Application.java | 24 +- .../biz/webadmin/component/Hgt8Component.java | 294 ++++++-- .../webadmin/controller/Hgt8Controller.java | 113 --- .../controller/Idc9998Controller.java | 165 +++++ .../biz/webadmin/service/G24Service.java | 91 +++ .../biz/webadmin/service/Idc9998Sevice.java | 68 ++ .../biz/webadmin/vo/Idc9998AdminAddVo.java | 105 +++ .../biz/webadmin/vo/Idc9998AdminListVo.java | 64 ++ .../biz/webadmin/vo/Idc9998AdminUpdateVo.java | 18 + .../jj/tech/paolu/config/enums/Games.java | 29 + .../paolu/config/start/StartCloseConfig.java | 16 + .../jj/tech/paolu/repository/jooq/Keys.java | 11 + .../jj/tech/paolu/repository/jooq/Tables.java | 18 + .../jj/tech/paolu/repository/jooq/Yx.java | 21 + .../repository/jooq/tables/CurrentG24.java | 205 ++++++ .../repository/jooq/tables/HistoryG24.java | 205 ++++++ .../jooq/tables/Idc9998AdminInfo.java | 237 ++++++ .../jooq/tables/daos/CurrentG24Dao.java | 194 +++++ .../jooq/tables/daos/HistoryG24Dao.java | 194 +++++ .../jooq/tables/daos/Idc9998AdminInfoDao.java | 299 ++++++++ .../jooq/tables/pojos/CurrentG24.java | 264 +++++++ .../jooq/tables/pojos/HistoryG24.java | 264 +++++++ .../jooq/tables/pojos/Idc9998AdminInfo.java | 471 ++++++++++++ .../jooq/tables/records/CurrentG24Record.java | 388 ++++++++++ .../jooq/tables/records/HistoryG24Record.java | 388 ++++++++++ .../records/Idc9998AdminInfoRecord.java | 690 ++++++++++++++++++ .../mybatis/control/CurrentG24Controller.java | 37 + .../mybatis/control/HistoryG24Controller.java | 37 + .../control/Idc9998AdminInfoController.java | 37 + .../mybatis/dao/CurrentG24Mapper.java | 193 +++++ .../mybatis/dao/HistoryG24Mapper.java | 193 +++++ .../mybatis/dao/Idc9998AdminInfoMapper.java | 257 +++++++ .../mybatis/dao/SysAdminMapper.java | 36 +- .../mybatis/dao/SysAdminMenuMapper.java | 36 +- .../mybatis/dao/SysAdminRoleMapper.java | 36 +- .../mybatis/dao/SysConfigMapper.java | 36 +- .../repository/mybatis/dao/SysMenuMapper.java | 36 +- .../repository/mybatis/dao/SysOrgMapper.java | 36 +- .../mybatis/dao/SysResourceMapper.java | 36 +- .../repository/mybatis/dao/SysRoleMapper.java | 36 +- .../mybatis/dao/SysRoleResourceMapper.java | 36 +- .../mybatis/dao/SysRoleUrlMapper.java | 36 +- .../repository/mybatis/dao/SysUrlsMapper.java | 36 +- .../support/CurrentG24DynamicSqlSupport.java | 87 +++ .../support/HistoryG24DynamicSqlSupport.java | 87 +++ .../Idc9998AdminInfoDynamicSqlSupport.java | 158 ++++ .../support/SysAdminDynamicSqlSupport.java | 18 +- .../SysAdminMenuDynamicSqlSupport.java | 10 +- .../SysAdminRoleDynamicSqlSupport.java | 10 +- .../support/SysConfigDynamicSqlSupport.java | 18 +- .../dao/support/SysMenuDynamicSqlSupport.java | 24 +- .../dao/support/SysOrgDynamicSqlSupport.java | 12 +- .../support/SysResourceDynamicSqlSupport.java | 22 +- .../dao/support/SysRoleDynamicSqlSupport.java | 10 +- .../SysRoleResourceDynamicSqlSupport.java | 10 +- .../support/SysRoleUrlDynamicSqlSupport.java | 12 +- .../dao/support/SysUrlsDynamicSqlSupport.java | 18 +- .../repository/mybatis/entity/CurrentG24.java | 143 ++++ .../repository/mybatis/entity/HistoryG24.java | 143 ++++ .../mybatis/entity/Idc9998AdminInfo.java | 278 +++++++ .../repository/mybatis/entity/SysAdmin.java | 42 +- .../mybatis/entity/SysAdminMenu.java | 18 +- .../mybatis/entity/SysAdminRole.java | 18 +- .../repository/mybatis/entity/SysConfig.java | 42 +- .../repository/mybatis/entity/SysMenu.java | 60 +- .../repository/mybatis/entity/SysOrg.java | 24 +- .../mybatis/entity/SysResource.java | 54 +- .../repository/mybatis/entity/SysRole.java | 18 +- .../mybatis/entity/SysRoleResource.java | 18 +- .../repository/mybatis/entity/SysRoleUrl.java | 24 +- .../repository/mybatis/entity/SysUrls.java | 42 +- .../java/jj/tech/paolu/task/Hgt8Timer.java | 58 ++ .../jj/tech/paolu/utils/playwright/Hgt8.java | 268 +++++-- src/main/resources/application-dev.yml | 9 +- src/main/resources/application-prod.yml | 3 + src/main/resources/logback.xml | 10 - src/main/resources/sql/data-h2.sql | 11 + src/main/resources/sql/schema-h2.sql | 54 ++ 78 files changed, 7084 insertions(+), 735 deletions(-) delete mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/controller/Hgt8Controller.java create mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/controller/Idc9998Controller.java create mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/service/G24Service.java create mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/service/Idc9998Sevice.java create mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminAddVo.java create mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminListVo.java create mode 100644 src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminUpdateVo.java create mode 100644 src/main/java/jj/tech/paolu/config/enums/Games.java create mode 100644 src/main/java/jj/tech/paolu/config/start/StartCloseConfig.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/CurrentG24.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/HistoryG24.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/Idc9998AdminInfo.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CurrentG24Dao.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/daos/HistoryG24Dao.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/daos/Idc9998AdminInfoDao.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CurrentG24.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/HistoryG24.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Idc9998AdminInfo.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/records/CurrentG24Record.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/records/HistoryG24Record.java create mode 100644 src/main/java/jj/tech/paolu/repository/jooq/tables/records/Idc9998AdminInfoRecord.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/control/CurrentG24Controller.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/control/HistoryG24Controller.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/control/Idc9998AdminInfoController.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/dao/CurrentG24Mapper.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/dao/HistoryG24Mapper.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/dao/Idc9998AdminInfoMapper.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CurrentG24DynamicSqlSupport.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/dao/support/HistoryG24DynamicSqlSupport.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Idc9998AdminInfoDynamicSqlSupport.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/entity/CurrentG24.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/entity/HistoryG24.java create mode 100644 src/main/java/jj/tech/paolu/repository/mybatis/entity/Idc9998AdminInfo.java create mode 100644 src/main/java/jj/tech/paolu/task/Hgt8Timer.java diff --git a/src/main/java/jj/tech/paolu/Application.java b/src/main/java/jj/tech/paolu/Application.java index 4a8e544..5a143e2 100644 --- a/src/main/java/jj/tech/paolu/Application.java +++ b/src/main/java/jj/tech/paolu/Application.java @@ -54,18 +54,18 @@ public class Application { SpringApplication.run(Application.class, args); } - @Bean - public CommandLineRunner commandLineRunner(ApplicationContext ctx) { - return args -> { - System.out.println("Let's inspect the beans provided by Spring Boot:"); - - String[] beanNames = ctx.getBeanDefinitionNames(); - Arrays.sort(beanNames); - for (String beanName : beanNames) { - System.err.println(beanName); - } - }; - } +// @Bean +// public CommandLineRunner commandLineRunner(ApplicationContext ctx) { +// return args -> { +// System.out.println("Let's inspect the beans provided by Spring Boot:"); +// +// String[] beanNames = ctx.getBeanDefinitionNames(); +// Arrays.sort(beanNames); +// for (String beanName : beanNames) { +// System.err.println(beanName); +// } +// }; +// } // @StreamListener(IOrderProcessor.INPUT_ORDER) diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/component/Hgt8Component.java b/src/main/java/jj/tech/paolu/biz/webadmin/component/Hgt8Component.java index 9f2d277..60b5fdc 100644 --- a/src/main/java/jj/tech/paolu/biz/webadmin/component/Hgt8Component.java +++ b/src/main/java/jj/tech/paolu/biz/webadmin/component/Hgt8Component.java @@ -1,102 +1,248 @@ package jj.tech.paolu.biz.webadmin.component; +import java.net.URI; +import java.time.LocalDate; +import java.time.format.DateTimeFormatter; +import java.util.HashMap; + +import org.apache.commons.codec.binary.Base64; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; -import com.microsoft.playwright.APIRequest; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; import com.microsoft.playwright.APIRequestContext; +import com.microsoft.playwright.APIResponse; import com.microsoft.playwright.Browser; import com.microsoft.playwright.BrowserContext; import com.microsoft.playwright.BrowserType; -import com.microsoft.playwright.Locator; +import com.microsoft.playwright.FrameLocator; import com.microsoft.playwright.Page; import com.microsoft.playwright.Playwright; -import com.microsoft.playwright.options.AriaRole; +import com.microsoft.playwright.Response; +import com.microsoft.playwright.options.RequestOptions; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; +import jj.tech.paolu.biz.webadmin.service.Idc9998Sevice; +import jj.tech.paolu.config.enums.Games; +import jj.tech.paolu.repository.mybatis.dao.Idc9998AdminInfoMapper; +import jj.tech.paolu.repository.mybatis.entity.Idc9998AdminInfo; +import jj.tech.paolu.utils.YMHttp; @Component -public class Hgt8Component { +public class Hgt8Component{ + private static Logger logger = LoggerFactory.getLogger(Hgt8Component.class); + + public static Playwright playwright; + public static Browser browser; + public static HashMap instances = new HashMap(); + public static Boolean headless; + public static Long defaultTimeout = 6000L; - public Playwright playwright; - public Browser browser; public BrowserContext browserContext; public APIRequestContext aPIRequestContext; public Page page; + public Idc9998AdminInfo admin; + @Autowired Idc9998Sevice idc9998Sevice; + @Autowired Idc9998AdminInfoMapper idc9998AdminInfoMapper; + + @Value("${idc9998.headless}") + public void setHeadless(Boolean headless){ + Hgt8Component.headless= headless; + } + + + public Hgt8Component() { + } + + + @PostConstruct - public void start() throws Exception { - - this.playwright = Playwright.create(); - this.playwright.selectors().setTestIdAttribute("id"); - - this.browser = playwright.chromium().launch( -// new BrowserType.LaunchOptions() -// .setHeadless(false) + public void run() throws Exception { + playwright = Playwright.create(); + playwright.selectors().setTestIdAttribute("id"); + //设置有是否UI, 每个操作减慢执行200毫秒 + browser = playwright.chromium().launch( + new BrowserType.LaunchOptions() + .setHeadless(headless) + .setSlowMo(200) ); - - this.browserContext = browser.newContext(); - this.browserContext.setDefaultNavigationTimeout(5000); - - - this.aPIRequestContext = browserContext.request(); - //browserContext.newPage(); - - this.page = browserContext.newPage(); - - - - } - +// Idc9998AdminInfo admin = idc9998Sevice.getByUserName("bk7897"); +// this.addInstance(admin.getUser_name()); + logger.info("playwright started"); + } + + @PreDestroy - public void stop() { -// page.close(); - browser.close(); - playwright.close(); - System.out.println("Hgt8 is close"); + public void onDestroy() throws Exception { + browser.close(); + playwright.close(); + logger.info("playwright is close"); } - - - public static void main(String[] args) { - try { - Playwright playwright = Playwright.create(); - Browser browser = playwright.chromium().launch( - new BrowserType.LaunchOptions().setHeadless(false) - ); - Page page = browser.newPage(); -// page.navigate("https://sse8.idc9998.com"); - page.navigate("https://sol8.idc9998.com"); - - - - // Expect a title "to contain" a substring. - - - // create a locator - Locator getStarted = page.getByRole(AriaRole.LINK, new Page.GetByRoleOptions().setName("Get Started")); - - // Expect an attribute "to be strictly equal" to the value. -// assertThat(getStarted).hasAttribute("href", "/docs/intro"); - - // Click the get started link. -// getStarted.click(); - -// assertThat(browser.close()).hasAttribute("href", "/docs/intro"); - -// page.pause(); - - // Expects page to have a heading with the name of Installation. -// assertThat(page.getByRole(AriaRole.HEADING, -// new Page.GetByRoleOptions().setName("Installation"))).isVisible(); - page.close(); - browser.close(); - playwright.close(); - - - }catch (Exception e) { - // TODO: handle exception + + + public Hgt8Component addInstance(String userName) { + Idc9998AdminInfo bean = idc9998Sevice.getByUserName(userName); + if(bean==null) { + return null; + } + Hgt8Component instance = Hgt8Component.instances.get(userName); + if(instance == null) { + Hgt8Component inst = new Hgt8Component(); + inst.browserContext = browser.newContext( + new Browser.NewContextOptions().setStorageState(bean.getLogin_info()) + ); + inst.browserContext.setDefaultNavigationTimeout(defaultTimeout); + inst.aPIRequestContext = inst.browserContext.request(); + inst.page = inst.browserContext.newPage(); + inst.page.setDefaultTimeout(defaultTimeout); + inst.admin = bean; + inst.idc9998Sevice = this.idc9998Sevice; + inst.idc9998AdminInfoMapper = this.idc9998AdminInfoMapper; + Hgt8Component.instances.put(userName, inst); + return inst; + }else { + return instance; } - } + } + + public Hgt8Component getInstance(String userName) { + return instances.get(userName); + } + + public void deleteInstance(String userName) { + instances.get(userName).close(); + instances.remove(userName); + } + + public void updateInstance(String userName) { + if(instances.get(userName) != null) { + instances.get(userName).close(); + instances.remove(userName); + instances.put(userName, new Hgt8Component()); + } + } + + public void close() { + if(this.page != null) { + this.page.close(); + } + if(this.browserContext != null) { + this.browserContext.close(); + } + + } + + + public Boolean login() { + if(this.admin.getIs_online() == 1) { + return this.forceLogin(); + }else { + return true; + } + } + + public Boolean forceLogin() { + try { + this.page.navigate(this.admin.getDomain()+ "/search.aspx"); + FrameLocator ifr_main = this.page.frameLocator("#ifr_main"); + + //管理员账号 + ifr_main.getByTestId("lineCode") + .fill(this.admin.getManager_name()); + ifr_main.locator("xpath=//input[@class='btn']") + .click(); + + //login + Response response = this.page.waitForResponse("**/captcha_image/2*", + () -> { + }); + byte[] image_bytes = response.body(); + JsonNode root = + YMHttp.customApi(Base64.encodeBase64String(image_bytes)); + JsonNode code_num = root.get("data").get("data"); + ifr_main.getByTestId("userName").fill(this.admin.getUser_name()); + ifr_main.getByTestId("password").fill(this.admin.getUser_password()); + ifr_main.getByTestId("code").fill(code_num.asText()); + this.page.waitForTimeout(5_500); //wait 2500 + ifr_main.getByTestId("btnSubmit").click(); + + + //同意 + this.page.waitForTimeout(1_500); //wait 2500 + this.page.frameLocator("#ifr_main") + .locator("xpath=//input[@class='protocol-btn-y']") + .click(); + + Response s = page.waitForResponse(resp -> { + System.out.println(resp.url()); + if(resp.status() == 200) { + return true; + }else { + return false; + } + }, + () -> { + System.out.println("所有返回相应"); + } + ); + + + //更新用户登录状态 + String loginInfo = this.aPIRequestContext.storageState(); + +// idc9998Sevice.updateLoginInfo(this.admin.getUser_name(), loginInfo, 1); +// this.admin.setIs_online(1); +// this.admin.setLogin_info(loginInfo); + + //关闭弹窗 + //ifr_main.getByTestId("tc_Close") + //.click(); + + return true; + + }catch (Exception e) { + logger.error(e.getMessage()); + return false; + } + + } + + + + public void G_24_His(Integer page, String issuet, LocalDate localDate) { + try { + if(this.admin.getIs_online()==1) { + HashMap pram = new HashMap(); + pram.put("gameID", Games.G_21.getCode()); + pram.put("currtentPage",page.toString()); + pram.put("asDate",localDate.format(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); + pram.put("issuet", ""); + + RequestOptions requestOptions = + RequestOptions.create().setHeader("Content-Type", "application/json") + .setData(pram); + + APIResponse s001s = + this.aPIRequestContext.post(this.admin.getDomain()+"/wb2/jg0001/s001s", requestOptions); + + String storageState = aPIRequestContext.storageState(); + System.out.println(storageState); + System.err.println(s001s.text()); + + } + }catch (Exception e) { + logger.error(e.getMessage()); + } + + } + + } diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/controller/Hgt8Controller.java b/src/main/java/jj/tech/paolu/biz/webadmin/controller/Hgt8Controller.java deleted file mode 100644 index 7f9b788..0000000 --- a/src/main/java/jj/tech/paolu/biz/webadmin/controller/Hgt8Controller.java +++ /dev/null @@ -1,113 +0,0 @@ -package jj.tech.paolu.biz.webadmin.controller; - -import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat; - -import java.util.HashMap; - -import org.apache.commons.codec.binary.Base64; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; - -import com.fasterxml.jackson.databind.JsonNode; -import com.microsoft.playwright.APIResponse; -import com.microsoft.playwright.FrameLocator; -import com.microsoft.playwright.Response; -import com.microsoft.playwright.options.RequestOptions; - -import io.swagger.v3.oas.annotations.Operation; -import jj.tech.paolu.biz.webadmin.component.Hgt8Component; -import jj.tech.paolu.biz.webadmin.vo.YmCodeVo; -import jj.tech.paolu.utils.R; -import jj.tech.paolu.utils.YMHttp; - -@RestController -@RequestMapping(value = "/op/hgt8",name = "导航到hgt8") -public class Hgt8Controller { - @Autowired - public Hgt8Component hgt8Component; - - - @Operation(summary = "test", description = "test") - @PostMapping("/test") - public Object login(@Validated @RequestBody YmCodeVo prame) { -// hgt8Component.page.navigate("https://sol8.idc9998.com/search.aspx"); -// hgt8Component.page.locator("xpath=//iframe[@id=lineCode]").fill("bk7897"); -// hgt8Component.page.getByTestId("lineCode").fill("bk7897"); - - hgt8Component.page.navigate("https://bmq2.idc9998.com/search.aspx"); - hgt8Component.page.frameLocator("#ifr_main") - .getByTestId("lineCode") - .fill("339hp"); - - hgt8Component.page.frameLocator("#ifr_main") - .locator("xpath=//input[@class='btn']") - .click(); - - Response response = hgt8Component.page.waitForResponse("**/captcha_image/2*", () -> { - - }); - byte[] image_bytes = response.body(); - - JsonNode root = - YMHttp.customApi(Base64.encodeBase64String(image_bytes)); - JsonNode code_num = root.get("data").get("data"); - - //System.err.println(code_num.asText()); - FrameLocator ifr_main = hgt8Component.page.frameLocator("#ifr_main"); - - - ifr_main.getByTestId("userName") - .fill("bk7897"); - - ifr_main.getByTestId("password") - .fill("asas12123"); - - ifr_main.getByTestId("code") - .fill(code_num.asText()); - - ifr_main.getByTestId("btnSubmit") - .click(); - - - -// assertThat(hgt8Component.page.frameLocator("#ifr_main") -// .locator("xpath=//input[@class='protocol-btn-y']")).is; - - //同意 - hgt8Component.page.frameLocator("#ifr_main") - .locator("xpath=//input[@class='protocol-btn-y']") - .click(); - -// ifr_main.getByTestId("tc_Close") -// .click(); - ifr_main.getByText("历史开奖") - .click(); -// Assert.assertEquals(apiPostResponse.status(), 201); - -// {"gameID":"G_24","currtentPage":1,"asDate":"2024-09-23","issuet":""} - HashMap pram = new HashMap(); - pram.put("gameID", "G_24"); - pram.put("currtentPage","1"); - pram.put("asDate","2024-09-23"); - pram.put("issuet", ""); - - RequestOptions requestOptions = - RequestOptions.create().setHeader("Content-Type", "application/json") - .setData(pram); - - APIResponse addNewPet = - hgt8Component.aPIRequestContext.post("https://sol8.idc9998.com/wb2/jg0001/s001s", requestOptions); - - System.err.println(addNewPet.text()); - - - - //ifr_main.getByTestId("captcha"); - - return R.SUCCESS("ok"); - } -} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/controller/Idc9998Controller.java b/src/main/java/jj/tech/paolu/biz/webadmin/controller/Idc9998Controller.java new file mode 100644 index 0000000..4cc8965 --- /dev/null +++ b/src/main/java/jj/tech/paolu/biz/webadmin/controller/Idc9998Controller.java @@ -0,0 +1,165 @@ +package jj.tech.paolu.biz.webadmin.controller; + +import java.util.HashMap; +import java.util.List; +import java.util.function.Function; + +import static org.mybatis.dynamic.sql.SqlBuilder.*; + +import org.mybatis.dynamic.sql.SqlBuilder; +import org.mybatis.dynamic.sql.render.RenderingStrategies; +import org.mybatis.dynamic.sql.select.QueryExpressionDSL; +import org.mybatis.dynamic.sql.select.SelectModel; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.where.WhereApplier; +import org.springframework.beans.BeanUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import io.swagger.v3.oas.annotations.Operation; +import jj.tech.paolu.biz.webadmin.component.Hgt8Component; +import jj.tech.paolu.biz.webadmin.dao.SelectMapper; +import jj.tech.paolu.biz.webadmin.service.G24Service; +import jj.tech.paolu.biz.webadmin.vo.Id; +import jj.tech.paolu.biz.webadmin.vo.Idc9998AdminAddVo; +import jj.tech.paolu.biz.webadmin.vo.Idc9998AdminListVo; +import jj.tech.paolu.biz.webadmin.vo.Idc9998AdminUpdateVo; +import jj.tech.paolu.repository.mybatis.dao.CurrentG24Mapper; +import jj.tech.paolu.repository.mybatis.dao.Idc9998AdminInfoMapper; +import jj.tech.paolu.repository.mybatis.dao.support.Idc9998AdminInfoDynamicSqlSupport; +import jj.tech.paolu.repository.mybatis.entity.CurrentG24; +import jj.tech.paolu.repository.mybatis.entity.Idc9998AdminInfo; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.Page; +import jj.tech.paolu.utils.R; + +@RestController +@RequestMapping(value = "/op/idc9998",name = "导航到hgt8") +public class Idc9998Controller { + + @Autowired Hgt8Component hgt8Component; + @Autowired G24Service g24Service; + + @Autowired SelectMapper selectMapper; + @Autowired CurrentG24Mapper currentG24Mapper; + @Autowired Idc9998AdminInfoMapper idc9998AdminInfoMapper; + + + + @Operation(summary = "Idc9998管理列表") + @PostMapping("/listAdmin") + public Object listAdmin(@Validated @RequestBody Idc9998AdminListVo parame) { + + Page p = new Page(parame.pageNum, parame.pageSize); + + Function, QueryExpressionDSL> function = + s -> { + var from = s + .from(Idc9998AdminInfoDynamicSqlSupport.idc9998AdminInfo) + ; + return from; + }; + + var where = SqlBuilder.where(); + where.and(Idc9998AdminInfoDynamicSqlSupport.manager_name, isEqualToWhenPresent(parame.manager_name)); + where.and(Idc9998AdminInfoDynamicSqlSupport.member_name, isEqualToWhenPresent(parame.member_name)); + where.and(Idc9998AdminInfoDynamicSqlSupport.user_name, isEqualToWhenPresent(parame.user_name)); + where.and(Idc9998AdminInfoDynamicSqlSupport.user_password, isEqualToWhenPresent(parame.user_password)); + where.and(Idc9998AdminInfoDynamicSqlSupport.domain, isEqualToWhenPresent(parame.domain)); + + WhereApplier applier = where.toWhereApplier(); + + SelectStatementProvider provider = function.apply(select(Idc9998AdminInfoMapper.selectList)) + .applyWhere(applier) + .configureStatement(config -> config.setNonRenderingWhereClauseAllowed(true)) + .groupBy(Idc9998AdminInfoDynamicSqlSupport.id) + .orderBy(Idc9998AdminInfoDynamicSqlSupport.id.descending()) + .limit(p.getPageSize()) + .offset(p.limitStart()) + .build() + .render(RenderingStrategies.MYBATIS3); + + + SelectStatementProvider count = select(count()) + .from(function.apply(select(Idc9998AdminInfoMapper.selectList)) + .applyWhere(applier) + .groupBy(Idc9998AdminInfoDynamicSqlSupport.id) + .orderBy(Idc9998AdminInfoDynamicSqlSupport.id.descending()), + "t1") + .configureStatement(config -> config.setNonRenderingWhereClauseAllowed(true)) + .build() + .render(RenderingStrategies.MYBATIS3); + + + + var list = selectMapper.selectMany(provider); + long total = selectMapper.count(count); + p.setList(list); + p.setTotal(total); + return R.SUCCESS(p); + + } + + + + @Operation(summary = "添加Idc9998管理员信息") + @PostMapping("/addAdmin") + public Object addAdmin(@Validated @RequestBody Idc9998AdminAddVo parame) { + + Idc9998AdminInfo bean = new Idc9998AdminInfo(); + BeanUtils.copyProperties(parame, bean); + bean.setId(IDHelp.getInstance().nextId()); + + idc9998AdminInfoMapper.insertSelective(bean); + + return R.SUCCESS(bean); + } + + @Operation(summary = "", description = "") + @PostMapping("/updateAdmin") + public Object updateAdmin(@Validated @RequestBody Idc9998AdminUpdateVo parame) { + Idc9998AdminInfo bean = new Idc9998AdminInfo(); + BeanUtils.copyProperties(parame, bean); + idc9998AdminInfoMapper.updateByPrimaryKeySelective(bean); + return R.SUCCESS(bean); + } + + @Operation(summary = "", description = "") + @PostMapping("/getAdmin") + public Object getAdmin(@Validated @RequestBody Id parame) { + + Idc9998AdminInfo bean = + idc9998AdminInfoMapper.selectByPrimaryKey(parame.id).orElse(null); + return R.SUCCESS(bean); + } + + @Operation(summary = "", description = "") + @PostMapping("/deleteAdmin") + public Object deleteAdmin(@Validated @RequestBody Id parame) { + idc9998AdminInfoMapper.deleteByPrimaryKey(parame.id); + return R.SUCCESS("ok"); + } + + + + + @Operation(summary = "获取最新游戏数据", description = "test") + @PostMapping("/getCurret") + public Object getCurret() { + + CurrentG24 g24 = + currentG24Mapper.selectOne(s->s.limit(1)).orElse(null); + + HashMap r = new HashMap(); + r.put("g24", g24); + + return R.SUCCESS(r); + } + + + +} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/service/G24Service.java b/src/main/java/jj/tech/paolu/biz/webadmin/service/G24Service.java new file mode 100644 index 0000000..8e1d89c --- /dev/null +++ b/src/main/java/jj/tech/paolu/biz/webadmin/service/G24Service.java @@ -0,0 +1,91 @@ +package jj.tech.paolu.biz.webadmin.service; + + +import static org.mybatis.dynamic.sql.SqlBuilder.*; + +import java.time.LocalDateTime; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.ObjectMapper; + +import jj.tech.paolu.repository.mybatis.dao.CurrentG24Mapper; +import jj.tech.paolu.repository.mybatis.dao.HistoryG24Mapper; +import jj.tech.paolu.repository.mybatis.dao.support.HistoryG24DynamicSqlSupport; +import jj.tech.paolu.repository.mybatis.entity.CurrentG24; +import jj.tech.paolu.repository.mybatis.entity.HistoryG24; +import jj.tech.paolu.utils.IDHelp; + +@Service +public class G24Service { + + @Autowired CurrentG24Mapper currentG24Mapper; + @Autowired HistoryG24Mapper historyG24Mapper; + @Autowired ObjectMapper objectMapper; + + @Transactional + public void getCurretG24Data(String json_data) { + + try { + JsonNode root = objectMapper.readTree(json_data); + String gameID = root.get("gameID").asText(); + String issue = root.get("issue").asText(); + String newIssue = root.get("newIssue").asText(); + String ball = root.get("ball").asText(); + Integer openTime = root.get("openTime").asInt(); + Integer closeTime = root.get("closeTime").asInt(); + + HistoryG24 his = + historyG24Mapper.selectOne(s->s + .where() + .and(HistoryG24DynamicSqlSupport.newIssue, isEqualTo(newIssue)) + .limit(1) + ).orElse(null); + + if(his==null) { + + LocalDateTime now = LocalDateTime.now(); + + currentG24Mapper.delete(d->d.limit(5)); + + CurrentG24 currentG24 = new CurrentG24(); + currentG24.setId(IDHelp.getInstance().nextId()); + currentG24.setIssue(issue); + currentG24.setNewIssue(newIssue); + currentG24.setBall(ball); + currentG24.setOpenTime(openTime); + currentG24.setCloseTime(closeTime); + currentG24.setAddTime(now); + currentG24.setBall(ball); + currentG24.setGameID(gameID); + currentG24Mapper.insertSelective(currentG24); + + HistoryG24 historyG24 = new HistoryG24(); + historyG24.setId(IDHelp.getInstance().nextId()); + historyG24.setIssue(issue); + historyG24.setNewIssue(newIssue); + historyG24.setBall(ball); + historyG24.setOpenTime(openTime); + historyG24.setCloseTime(closeTime); + historyG24.setAddTime(now); + historyG24.setBall(ball); + historyG24.setGameID(gameID); + historyG24Mapper.insert(historyG24); + + } + + } catch (Exception e) { + throw new RuntimeException(e); + } + + + + } + + +} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/service/Idc9998Sevice.java b/src/main/java/jj/tech/paolu/biz/webadmin/service/Idc9998Sevice.java new file mode 100644 index 0000000..e566f79 --- /dev/null +++ b/src/main/java/jj/tech/paolu/biz/webadmin/service/Idc9998Sevice.java @@ -0,0 +1,68 @@ +package jj.tech.paolu.biz.webadmin.service; + +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import jj.tech.paolu.repository.mybatis.dao.Idc9998AdminInfoMapper; +import jj.tech.paolu.repository.mybatis.dao.support.Idc9998AdminInfoDynamicSqlSupport; +import jj.tech.paolu.repository.mybatis.entity.Idc9998AdminInfo; + +@Service +public class Idc9998Sevice { + @Autowired Idc9998AdminInfoMapper idc9998AdminInfoMapper; + + + public Idc9998AdminInfo getByUserName(String userName){ + return + idc9998AdminInfoMapper.selectOne(s-> + s.where() + .and(Idc9998AdminInfoDynamicSqlSupport.user_name, isEqualTo(userName)) + .limit(1) + ).orElse(null); + } + + + public String getLoginInfo(String userName){ + Idc9998AdminInfo bean = + idc9998AdminInfoMapper.selectOne(s-> + s.where() + .and(Idc9998AdminInfoDynamicSqlSupport.user_name, isEqualTo(userName)) + .limit(1) + ).orElse(null); + if(bean!=null) { + return bean.getLogin_info(); + } + return null; + } + + + public void updateLoginInfo(String userName, String loginInfo, Integer isOnline){ + idc9998AdminInfoMapper.update(up-> + up + .set(Idc9998AdminInfoDynamicSqlSupport.login_info).equalTo(loginInfo) + .set(Idc9998AdminInfoDynamicSqlSupport.is_online).equalTo(isOnline) + .where(Idc9998AdminInfoDynamicSqlSupport.user_name, isEqualTo(userName)) + .limit(1) + ); + } + + public void updateIsOnline(String userName, Integer isOnline){ + idc9998AdminInfoMapper.update(up-> + up + .set(Idc9998AdminInfoDynamicSqlSupport.is_online).equalTo(isOnline) + .where(Idc9998AdminInfoDynamicSqlSupport.user_name, isEqualTo(userName)) + .limit(1) + ); + } + +// public void updateIsOnline(String userName, Integer isOnline){ +// idc9998AdminInfoMapper.update(up-> +// up.set(Idc9998AdminInfoDynamicSqlSupport.is_online).equalTo(isOnline) +// .where(Idc9998AdminInfoDynamicSqlSupport.user_name, isEqualTo(userName)) +// .limit(1) +// ); +// } + +} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminAddVo.java b/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminAddVo.java new file mode 100644 index 0000000..98b3cb7 --- /dev/null +++ b/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminAddVo.java @@ -0,0 +1,105 @@ +package jj.tech.paolu.biz.webadmin.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; + +public class Idc9998AdminAddVo { + //public Integer status; + @Schema(description = "采集管理员账号") + @NotBlank(message = "管理员不能为空") + public String manager_name; + + public String member_name; + + @Schema(description = "采集用户密码") + @NotBlank(message = "采集用户不能为空") + public String user_name; + + @Schema(description = "密码") + @NotBlank(message = "密码不能为空") + private String user_password; + + @Schema(description = "网站域名或者IP,无须/") + @NotBlank(message = "网站不能为空") + private String domain; + + @Schema(description = "0不选择, 1选择") + public Integer g_24; + public Integer g_29; + public Integer g_30; + public Integer g_31; + public Integer g_35; + public Integer g_37; + + + + public String getManager_name() { + return manager_name; + } + public void setManager_name(String manager_name) { + this.manager_name = manager_name; + } + public String getMember_name() { + return member_name; + } + public void setMember_name(String member_name) { + this.member_name = member_name; + } + public String getUser_name() { + return user_name; + } + public void setUser_name(String user_name) { + this.user_name = user_name; + } + public String getUser_password() { + return user_password; + } + public void setUser_password(String user_password) { + this.user_password = user_password; + } + public String getDomain() { + return domain; + } + public void setDomain(String domain) { + this.domain = domain; + } + public Integer getG_24() { + return g_24; + } + public void setG_24(Integer g_24) { + this.g_24 = g_24; + } + public Integer getG_29() { + return g_29; + } + public void setG_29(Integer g_29) { + this.g_29 = g_29; + } + public Integer getG_30() { + return g_30; + } + public void setG_30(Integer g_30) { + this.g_30 = g_30; + } + public Integer getG_31() { + return g_31; + } + public void setG_31(Integer g_31) { + this.g_31 = g_31; + } + public Integer getG_35() { + return g_35; + } + public void setG_35(Integer g_35) { + this.g_35 = g_35; + } + public Integer getG_37() { + return g_37; + } + public void setG_37(Integer g_37) { + this.g_37 = g_37; + } + + + +} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminListVo.java b/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminListVo.java new file mode 100644 index 0000000..9c236f5 --- /dev/null +++ b/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminListVo.java @@ -0,0 +1,64 @@ +package jj.tech.paolu.biz.webadmin.vo; + +import io.swagger.v3.oas.annotations.media.Schema; + +public class Idc9998AdminListVo extends PageVo{ + + @Schema(description = "采集管理员账号") + public String manager_name; + + public String member_name; + + @Schema(description = "采集用户密码") + public String user_name; + + @Schema(description = "密码") + public String user_password; + + @Schema(description = "网站域名或者IP,无须/") + public String domain; + + public String getManager_name() { + return manager_name; + } + + public void setManager_name(String manager_name) { + this.manager_name = manager_name; + } + + public String getMember_name() { + return member_name; + } + + public void setMember_name(String member_name) { + this.member_name = member_name; + } + + public String getUser_name() { + return user_name; + } + + public void setUser_name(String user_name) { + this.user_name = user_name; + } + + public String getUser_password() { + return user_password; + } + + public void setUser_password(String user_password) { + this.user_password = user_password; + } + + public String getDomain() { + return domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + + + +} diff --git a/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminUpdateVo.java b/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminUpdateVo.java new file mode 100644 index 0000000..a015782 --- /dev/null +++ b/src/main/java/jj/tech/paolu/biz/webadmin/vo/Idc9998AdminUpdateVo.java @@ -0,0 +1,18 @@ +package jj.tech.paolu.biz.webadmin.vo; + +import jakarta.validation.constraints.NotNull; + +public class Idc9998AdminUpdateVo extends Idc9998AdminAddVo{ + @NotNull(message = "id不能为空") + public String id; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + +} diff --git a/src/main/java/jj/tech/paolu/config/enums/Games.java b/src/main/java/jj/tech/paolu/config/enums/Games.java new file mode 100644 index 0000000..6dd367f --- /dev/null +++ b/src/main/java/jj/tech/paolu/config/enums/Games.java @@ -0,0 +1,29 @@ +package jj.tech.paolu.config.enums; + +public enum Games { + G_21("G_21","幸运飞艇"), + G_29("G_29", "极速时时彩"), + G_30("G_30", "极速赛车"), + G_31("G_31", "极速飞艇"), + G_35("G_35", "澳洲幸运5"), + G_37("G_37", "澳洲幸运10") + ; + + Games(String code, String name) { + this.code=code; + this.name=name; + } + + + private String code; + private String name; + + + public String getCode() { + return code; + } + public String getName() { + return name; + } + +} diff --git a/src/main/java/jj/tech/paolu/config/start/StartCloseConfig.java b/src/main/java/jj/tech/paolu/config/start/StartCloseConfig.java new file mode 100644 index 0000000..954afd4 --- /dev/null +++ b/src/main/java/jj/tech/paolu/config/start/StartCloseConfig.java @@ -0,0 +1,16 @@ +//package jj.tech.paolu.config.start; +// +//import org.springframework.context.annotation.Bean; +//import org.springframework.context.annotation.Configuration; +// +//import jj.tech.paolu.biz.webadmin.component.Hgt8Component; +// +//@Configuration +//public class StartCloseConfig { +// +// @Bean +// public Hgt8Component messageProcessor() { +// return new Hgt8Component(); +// } +// +//} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Keys.java b/src/main/java/jj/tech/paolu/repository/jooq/Keys.java index 9d91d61..a7f55ca 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/Keys.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/Keys.java @@ -4,6 +4,9 @@ package jj.tech.paolu.repository.jooq; +import jj.tech.paolu.repository.jooq.tables.CurrentG24; +import jj.tech.paolu.repository.jooq.tables.HistoryG24; +import jj.tech.paolu.repository.jooq.tables.Idc9998AdminInfo; import jj.tech.paolu.repository.jooq.tables.SysAdmin; import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; import jj.tech.paolu.repository.jooq.tables.SysAdminRole; @@ -15,6 +18,9 @@ import jj.tech.paolu.repository.jooq.tables.SysRole; import jj.tech.paolu.repository.jooq.tables.SysRoleResource; import jj.tech.paolu.repository.jooq.tables.SysRoleUrl; import jj.tech.paolu.repository.jooq.tables.SysUrls; +import jj.tech.paolu.repository.jooq.tables.records.CurrentG24Record; +import jj.tech.paolu.repository.jooq.tables.records.HistoryG24Record; +import jj.tech.paolu.repository.jooq.tables.records.Idc9998AdminInfoRecord; import jj.tech.paolu.repository.jooq.tables.records.SysAdminMenuRecord; import jj.tech.paolu.repository.jooq.tables.records.SysAdminRecord; import jj.tech.paolu.repository.jooq.tables.records.SysAdminRoleRecord; @@ -43,6 +49,11 @@ public class Keys { // UNIQUE and PRIMARY KEY definitions // ------------------------------------------------------------------------- + public static final UniqueKey KEY_CURRENT_G24_NEWISSUE = Internal.createUniqueKey(CurrentG24.CURRENT_G24, DSL.name("KEY_current_g24_newIssue"), new TableField[] { CurrentG24.CURRENT_G24.NEWISSUE }, true); + public static final UniqueKey KEY_CURRENT_G24_PRIMARY = Internal.createUniqueKey(CurrentG24.CURRENT_G24, DSL.name("KEY_current_g24_PRIMARY"), new TableField[] { CurrentG24.CURRENT_G24.ID }, true); + public static final UniqueKey KEY_HISTORY_G24_NEWISSUE = Internal.createUniqueKey(HistoryG24.HISTORY_G24, DSL.name("KEY_history_g24_newIssue"), new TableField[] { HistoryG24.HISTORY_G24.NEWISSUE }, true); + public static final UniqueKey KEY_HISTORY_G24_PRIMARY = Internal.createUniqueKey(HistoryG24.HISTORY_G24, DSL.name("KEY_history_g24_PRIMARY"), new TableField[] { HistoryG24.HISTORY_G24.ID }, true); + public static final UniqueKey KEY_IDC9998_ADMIN_INFO_PRIMARY = Internal.createUniqueKey(Idc9998AdminInfo.IDC9998_ADMIN_INFO, DSL.name("KEY_idc9998_admin_info_PRIMARY"), new TableField[] { Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID }, true); public static final UniqueKey KEY_SYS_ADMIN_PRIMARY = Internal.createUniqueKey(SysAdmin.SYS_ADMIN, DSL.name("KEY_sys_admin_PRIMARY"), new TableField[] { SysAdmin.SYS_ADMIN.ID }, true); public static final UniqueKey KEY_SYS_ADMIN_USERNAME = Internal.createUniqueKey(SysAdmin.SYS_ADMIN, DSL.name("KEY_sys_admin_username"), new TableField[] { SysAdmin.SYS_ADMIN.USERNAME }, true); public static final UniqueKey KEY_SYS_ADMIN_MENU_ADMINID = Internal.createUniqueKey(SysAdminMenu.SYS_ADMIN_MENU, DSL.name("KEY_sys_admin_menu_adminid"), new TableField[] { SysAdminMenu.SYS_ADMIN_MENU.ADMINID, SysAdminMenu.SYS_ADMIN_MENU.MEMUID }, true); diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Tables.java b/src/main/java/jj/tech/paolu/repository/jooq/Tables.java index ed00f1d..c0baac1 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/Tables.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/Tables.java @@ -4,6 +4,9 @@ package jj.tech.paolu.repository.jooq; +import jj.tech.paolu.repository.jooq.tables.CurrentG24; +import jj.tech.paolu.repository.jooq.tables.HistoryG24; +import jj.tech.paolu.repository.jooq.tables.Idc9998AdminInfo; import jj.tech.paolu.repository.jooq.tables.SysAdmin; import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; import jj.tech.paolu.repository.jooq.tables.SysAdminRole; @@ -23,6 +26,21 @@ import jj.tech.paolu.repository.jooq.tables.SysUrls; @SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) public class Tables { + /** + * The table yx.current_g24. + */ + public static final CurrentG24 CURRENT_G24 = CurrentG24.CURRENT_G24; + + /** + * The table yx.history_g24. + */ + public static final HistoryG24 HISTORY_G24 = HistoryG24.HISTORY_G24; + + /** + * The table yx.idc9998_admin_info. + */ + public static final Idc9998AdminInfo IDC9998_ADMIN_INFO = Idc9998AdminInfo.IDC9998_ADMIN_INFO; + /** * The table yx.sys_admin. */ diff --git a/src/main/java/jj/tech/paolu/repository/jooq/Yx.java b/src/main/java/jj/tech/paolu/repository/jooq/Yx.java index 59e49b0..ae77d6d 100644 --- a/src/main/java/jj/tech/paolu/repository/jooq/Yx.java +++ b/src/main/java/jj/tech/paolu/repository/jooq/Yx.java @@ -7,6 +7,9 @@ package jj.tech.paolu.repository.jooq; import java.util.Arrays; import java.util.List; +import jj.tech.paolu.repository.jooq.tables.CurrentG24; +import jj.tech.paolu.repository.jooq.tables.HistoryG24; +import jj.tech.paolu.repository.jooq.tables.Idc9998AdminInfo; import jj.tech.paolu.repository.jooq.tables.SysAdmin; import jj.tech.paolu.repository.jooq.tables.SysAdminMenu; import jj.tech.paolu.repository.jooq.tables.SysAdminRole; @@ -37,6 +40,21 @@ public class Yx extends SchemaImpl { */ public static final Yx YX = new Yx(); + /** + * The table yx.current_g24. + */ + public final CurrentG24 CURRENT_G24 = CurrentG24.CURRENT_G24; + + /** + * The table yx.history_g24. + */ + public final HistoryG24 HISTORY_G24 = HistoryG24.HISTORY_G24; + + /** + * The table yx.idc9998_admin_info. + */ + public final Idc9998AdminInfo IDC9998_ADMIN_INFO = Idc9998AdminInfo.IDC9998_ADMIN_INFO; + /** * The table yx.sys_admin. */ @@ -108,6 +126,9 @@ public class Yx extends SchemaImpl { @Override public final List> getTables() { return Arrays.asList( + CurrentG24.CURRENT_G24, + HistoryG24.HISTORY_G24, + Idc9998AdminInfo.IDC9998_ADMIN_INFO, SysAdmin.SYS_ADMIN, SysAdminMenu.SYS_ADMIN_MENU, SysAdminRole.SYS_ADMIN_ROLE, diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/CurrentG24.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/CurrentG24.java new file mode 100644 index 0000000..149b65a --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/CurrentG24.java @@ -0,0 +1,205 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables; + + +import java.time.LocalDateTime; +import java.util.Arrays; +import java.util.List; +import java.util.function.Function; + +import jj.tech.paolu.repository.jooq.Keys; +import jj.tech.paolu.repository.jooq.Yx; +import jj.tech.paolu.repository.jooq.tables.records.CurrentG24Record; + +import org.jooq.Field; +import org.jooq.ForeignKey; +import org.jooq.Function8; +import org.jooq.Name; +import org.jooq.Record; +import org.jooq.Records; +import org.jooq.Row8; +import org.jooq.Schema; +import org.jooq.SelectField; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class CurrentG24 extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx.current_g24 + */ + public static final CurrentG24 CURRENT_G24 = new CurrentG24(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return CurrentG24Record.class; + } + + /** + * The column yx.current_g24.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.current_g24.newIssue. 当前期号 + */ + public final TableField NEWISSUE = createField(DSL.name("newIssue"), SQLDataType.VARCHAR(20).nullable(false), this, "当前期号"); + + /** + * The column yx.current_g24.issue. 下一期号 + */ + public final TableField ISSUE = createField(DSL.name("issue"), SQLDataType.VARCHAR(20).nullable(false), this, "下一期号"); + + /** + * The column yx.current_g24.ball. 开奖号码 + */ + public final TableField BALL = createField(DSL.name("ball"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "开奖号码"); + + /** + * The column yx.current_g24.closeTime. 关闭时间 + */ + public final TableField CLOSETIME = createField(DSL.name("closeTime"), SQLDataType.INTEGER.nullable(false), this, "关闭时间"); + + /** + * The column yx.current_g24.openTime. 开奖时间 + */ + public final TableField OPENTIME = createField(DSL.name("openTime"), SQLDataType.INTEGER.nullable(false), this, "开奖时间"); + + /** + * The column yx.current_g24.addTime. 提交时间 + */ + public final TableField ADDTIME = createField(DSL.name("addTime"), SQLDataType.LOCALDATETIME(0).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.LOCALDATETIME)), this, "提交时间"); + + /** + * The column yx.current_g24.gameID. 游戏ID + */ + public final TableField GAMEID = createField(DSL.name("gameID"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("'24'"), SQLDataType.VARCHAR)), this, "游戏ID"); + + private CurrentG24(Name alias, Table aliased) { + this(alias, aliased, null); + } + + private CurrentG24(Name alias, Table aliased, Field[] parameters) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + } + + /** + * Create an aliased yx.current_g24 table reference + */ + public CurrentG24(String alias) { + this(DSL.name(alias), CURRENT_G24); + } + + /** + * Create an aliased yx.current_g24 table reference + */ + public CurrentG24(Name alias) { + this(alias, CURRENT_G24); + } + + /** + * Create a yx.current_g24 table reference + */ + public CurrentG24() { + this(DSL.name("current_g24"), null); + } + + public CurrentG24(Table child, ForeignKey key) { + super(child, key, CURRENT_G24); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Yx.YX; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_CURRENT_G24_PRIMARY; + } + + @Override + public List> getUniqueKeys() { + return Arrays.asList(Keys.KEY_CURRENT_G24_NEWISSUE); + } + + @Override + public CurrentG24 as(String alias) { + return new CurrentG24(DSL.name(alias), this); + } + + @Override + public CurrentG24 as(Name alias) { + return new CurrentG24(alias, this); + } + + @Override + public CurrentG24 as(Table alias) { + return new CurrentG24(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public CurrentG24 rename(String name) { + return new CurrentG24(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public CurrentG24 rename(Name name) { + return new CurrentG24(name, null); + } + + /** + * Rename this table + */ + @Override + public CurrentG24 rename(Table name) { + return new CurrentG24(name.getQualifiedName(), null); + } + + // ------------------------------------------------------------------------- + // Row8 type methods + // ------------------------------------------------------------------------- + + @Override + public Row8 fieldsRow() { + return (Row8) super.fieldsRow(); + } + + /** + * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + */ + public SelectField mapping(Function8 from) { + return convertFrom(Records.mapping(from)); + } + + /** + * Convenience mapping calling {@link SelectField#convertFrom(Class, + * Function)}. + */ + public SelectField mapping(Class toType, Function8 from) { + return convertFrom(toType, Records.mapping(from)); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/HistoryG24.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/HistoryG24.java new file mode 100644 index 0000000..3877e06 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/HistoryG24.java @@ -0,0 +1,205 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables; + + +import java.time.LocalDateTime; +import java.util.Arrays; +import java.util.List; +import java.util.function.Function; + +import jj.tech.paolu.repository.jooq.Keys; +import jj.tech.paolu.repository.jooq.Yx; +import jj.tech.paolu.repository.jooq.tables.records.HistoryG24Record; + +import org.jooq.Field; +import org.jooq.ForeignKey; +import org.jooq.Function8; +import org.jooq.Name; +import org.jooq.Record; +import org.jooq.Records; +import org.jooq.Row8; +import org.jooq.Schema; +import org.jooq.SelectField; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class HistoryG24 extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx.history_g24 + */ + public static final HistoryG24 HISTORY_G24 = new HistoryG24(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return HistoryG24Record.class; + } + + /** + * The column yx.history_g24.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.history_g24.newIssue. 当前期号 + */ + public final TableField NEWISSUE = createField(DSL.name("newIssue"), SQLDataType.VARCHAR(20).nullable(false), this, "当前期号"); + + /** + * The column yx.history_g24.issue. 下一期号 + */ + public final TableField ISSUE = createField(DSL.name("issue"), SQLDataType.VARCHAR(20).nullable(false), this, "下一期号"); + + /** + * The column yx.history_g24.ball. 开奖号码 + */ + public final TableField BALL = createField(DSL.name("ball"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "开奖号码"); + + /** + * The column yx.history_g24.closeTime. 关闭时间 + */ + public final TableField CLOSETIME = createField(DSL.name("closeTime"), SQLDataType.INTEGER.nullable(false), this, "关闭时间"); + + /** + * The column yx.history_g24.openTime. 开奖时间 + */ + public final TableField OPENTIME = createField(DSL.name("openTime"), SQLDataType.INTEGER.nullable(false), this, "开奖时间"); + + /** + * The column yx.history_g24.addTime. 提交时间 + */ + public final TableField ADDTIME = createField(DSL.name("addTime"), SQLDataType.LOCALDATETIME(0).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.LOCALDATETIME)), this, "提交时间"); + + /** + * The column yx.history_g24.gameID. 游戏ID + */ + public final TableField GAMEID = createField(DSL.name("gameID"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("'24'"), SQLDataType.VARCHAR)), this, "游戏ID"); + + private HistoryG24(Name alias, Table aliased) { + this(alias, aliased, null); + } + + private HistoryG24(Name alias, Table aliased, Field[] parameters) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + } + + /** + * Create an aliased yx.history_g24 table reference + */ + public HistoryG24(String alias) { + this(DSL.name(alias), HISTORY_G24); + } + + /** + * Create an aliased yx.history_g24 table reference + */ + public HistoryG24(Name alias) { + this(alias, HISTORY_G24); + } + + /** + * Create a yx.history_g24 table reference + */ + public HistoryG24() { + this(DSL.name("history_g24"), null); + } + + public HistoryG24(Table child, ForeignKey key) { + super(child, key, HISTORY_G24); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Yx.YX; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_HISTORY_G24_PRIMARY; + } + + @Override + public List> getUniqueKeys() { + return Arrays.asList(Keys.KEY_HISTORY_G24_NEWISSUE); + } + + @Override + public HistoryG24 as(String alias) { + return new HistoryG24(DSL.name(alias), this); + } + + @Override + public HistoryG24 as(Name alias) { + return new HistoryG24(alias, this); + } + + @Override + public HistoryG24 as(Table alias) { + return new HistoryG24(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public HistoryG24 rename(String name) { + return new HistoryG24(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public HistoryG24 rename(Name name) { + return new HistoryG24(name, null); + } + + /** + * Rename this table + */ + @Override + public HistoryG24 rename(Table name) { + return new HistoryG24(name.getQualifiedName(), null); + } + + // ------------------------------------------------------------------------- + // Row8 type methods + // ------------------------------------------------------------------------- + + @Override + public Row8 fieldsRow() { + return (Row8) super.fieldsRow(); + } + + /** + * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + */ + public SelectField mapping(Function8 from) { + return convertFrom(Records.mapping(from)); + } + + /** + * Convenience mapping calling {@link SelectField#convertFrom(Class, + * Function)}. + */ + public SelectField mapping(Class toType, Function8 from) { + return convertFrom(toType, Records.mapping(from)); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/Idc9998AdminInfo.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/Idc9998AdminInfo.java new file mode 100644 index 0000000..72c887c --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/Idc9998AdminInfo.java @@ -0,0 +1,237 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables; + + +import java.util.function.Function; + +import jj.tech.paolu.repository.jooq.Keys; +import jj.tech.paolu.repository.jooq.Yx; +import jj.tech.paolu.repository.jooq.tables.records.Idc9998AdminInfoRecord; + +import org.jooq.Field; +import org.jooq.ForeignKey; +import org.jooq.Function16; +import org.jooq.Name; +import org.jooq.Record; +import org.jooq.Records; +import org.jooq.Row16; +import org.jooq.Schema; +import org.jooq.SelectField; +import org.jooq.Table; +import org.jooq.TableField; +import org.jooq.TableOptions; +import org.jooq.UniqueKey; +import org.jooq.impl.DSL; +import org.jooq.impl.SQLDataType; +import org.jooq.impl.TableImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class Idc9998AdminInfo extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of yx.idc9998_admin_info + */ + public static final Idc9998AdminInfo IDC9998_ADMIN_INFO = new Idc9998AdminInfo(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return Idc9998AdminInfoRecord.class; + } + + /** + * The column yx.idc9998_admin_info.id. + */ + public final TableField ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, ""); + + /** + * The column yx.idc9998_admin_info.status. 1启用,0禁用 + */ + public final TableField STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, "1启用,0禁用"); + + /** + * The column yx.idc9998_admin_info.manager_name. 采集管理员账号 + */ + public final TableField MANAGER_NAME = createField(DSL.name("manager_name"), SQLDataType.VARCHAR(30).nullable(false), this, "采集管理员账号"); + + /** + * The column yx.idc9998_admin_info.member_name. 采集会员账号 + */ + public final TableField MEMBER_NAME = createField(DSL.name("member_name"), SQLDataType.VARCHAR(30).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "采集会员账号"); + + /** + * The column yx.idc9998_admin_info.user_name. 采集用户账号 + */ + public final TableField USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(30).nullable(false), this, "采集用户账号"); + + /** + * The column yx.idc9998_admin_info.user_password. 采集用户密码 + */ + public final TableField USER_PASSWORD = createField(DSL.name("user_password"), SQLDataType.VARCHAR(30).nullable(false), this, "采集用户密码"); + + /** + * The column yx.idc9998_admin_info.domain. 网站域名或者IP,无须/ + */ + public final TableField DOMAIN = createField(DSL.name("domain"), SQLDataType.VARCHAR(100).nullable(false), this, "网站域名或者IP,无须/"); + + /** + * The column yx.idc9998_admin_info.is_default. 是否默认为默认采集号 + */ + public final TableField IS_DEFAULT = createField(DSL.name("is_default"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "是否默认为默认采集号"); + + /** + * The column yx.idc9998_admin_info.is_online. 1在线,0掉线 + */ + public final TableField IS_ONLINE = createField(DSL.name("is_online"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "1在线,0掉线"); + + /** + * The column yx.idc9998_admin_info.login_info. 最后一次登录cookie信息 + */ + public final TableField LOGIN_INFO = createField(DSL.name("login_info"), SQLDataType.VARCHAR(5000).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "最后一次登录cookie信息"); + + /** + * The column yx.idc9998_admin_info.g_24. 幸运飞艇 + */ + public final TableField G_24 = createField(DSL.name("g_24"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "幸运飞艇"); + + /** + * The column yx.idc9998_admin_info.g_29. 极速时时彩 + */ + public final TableField G_29 = createField(DSL.name("g_29"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "极速时时彩"); + + /** + * The column yx.idc9998_admin_info.g_30. 极速赛车 + */ + public final TableField G_30 = createField(DSL.name("g_30"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "极速赛车"); + + /** + * The column yx.idc9998_admin_info.g_31. 极速飞艇 + */ + public final TableField G_31 = createField(DSL.name("g_31"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "极速飞艇"); + + /** + * The column yx.idc9998_admin_info.g_35. 澳洲幸运5 + */ + public final TableField G_35 = createField(DSL.name("g_35"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "澳洲幸运5"); + + /** + * The column yx.idc9998_admin_info.g_37. 澳洲幸运10 + */ + public final TableField G_37 = createField(DSL.name("g_37"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "澳洲幸运10"); + + private Idc9998AdminInfo(Name alias, Table aliased) { + this(alias, aliased, null); + } + + private Idc9998AdminInfo(Name alias, Table aliased, Field[] parameters) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table()); + } + + /** + * Create an aliased yx.idc9998_admin_info table reference + */ + public Idc9998AdminInfo(String alias) { + this(DSL.name(alias), IDC9998_ADMIN_INFO); + } + + /** + * Create an aliased yx.idc9998_admin_info table reference + */ + public Idc9998AdminInfo(Name alias) { + this(alias, IDC9998_ADMIN_INFO); + } + + /** + * Create a yx.idc9998_admin_info table reference + */ + public Idc9998AdminInfo() { + this(DSL.name("idc9998_admin_info"), null); + } + + public Idc9998AdminInfo(Table child, ForeignKey key) { + super(child, key, IDC9998_ADMIN_INFO); + } + + @Override + public Schema getSchema() { + return aliased() ? null : Yx.YX; + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.KEY_IDC9998_ADMIN_INFO_PRIMARY; + } + + @Override + public Idc9998AdminInfo as(String alias) { + return new Idc9998AdminInfo(DSL.name(alias), this); + } + + @Override + public Idc9998AdminInfo as(Name alias) { + return new Idc9998AdminInfo(alias, this); + } + + @Override + public Idc9998AdminInfo as(Table alias) { + return new Idc9998AdminInfo(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public Idc9998AdminInfo rename(String name) { + return new Idc9998AdminInfo(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public Idc9998AdminInfo rename(Name name) { + return new Idc9998AdminInfo(name, null); + } + + /** + * Rename this table + */ + @Override + public Idc9998AdminInfo rename(Table name) { + return new Idc9998AdminInfo(name.getQualifiedName(), null); + } + + // ------------------------------------------------------------------------- + // Row16 type methods + // ------------------------------------------------------------------------- + + @Override + public Row16 fieldsRow() { + return (Row16) super.fieldsRow(); + } + + /** + * Convenience mapping calling {@link SelectField#convertFrom(Function)}. + */ + public SelectField mapping(Function16 from) { + return convertFrom(Records.mapping(from)); + } + + /** + * Convenience mapping calling {@link SelectField#convertFrom(Class, + * Function)}. + */ + public SelectField mapping(Class toType, Function16 from) { + return convertFrom(toType, Records.mapping(from)); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CurrentG24Dao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CurrentG24Dao.java new file mode 100644 index 0000000..45354b9 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/CurrentG24Dao.java @@ -0,0 +1,194 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.daos; + + +import java.time.LocalDateTime; +import java.util.List; +import java.util.Optional; + +import jj.tech.paolu.repository.jooq.tables.CurrentG24; +import jj.tech.paolu.repository.jooq.tables.records.CurrentG24Record; + +import org.jooq.Configuration; +import org.jooq.impl.DAOImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +@Repository +public class CurrentG24Dao extends DAOImpl { + + /** + * Create a new CurrentG24Dao without any configuration + */ + public CurrentG24Dao() { + super(CurrentG24.CURRENT_G24, jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24.class); + } + + /** + * Create a new CurrentG24Dao with an attached configuration + */ + @Autowired + public CurrentG24Dao(Configuration configuration) { + super(CurrentG24.CURRENT_G24, jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24.class, configuration); + } + + @Override + public String getId(jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24 object) { + return object.getId(); + } + + /** + * Fetch records that have id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have id IN (values) + */ + public List fetchById(String... values) { + return fetch(CurrentG24.CURRENT_G24.ID, values); + } + + /** + * Fetch a unique record that has id = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24 fetchOneById(String value) { + return fetchOne(CurrentG24.CURRENT_G24.ID, value); + } + + /** + * Fetch a unique record that has id = value + */ + public Optional fetchOptionalById(String value) { + return fetchOptional(CurrentG24.CURRENT_G24.ID, value); + } + + /** + * Fetch records that have newIssue BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfNewissue(String lowerInclusive, String upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.NEWISSUE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have newIssue IN (values) + */ + public List fetchByNewissue(String... values) { + return fetch(CurrentG24.CURRENT_G24.NEWISSUE, values); + } + + /** + * Fetch a unique record that has newIssue = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24 fetchOneByNewissue(String value) { + return fetchOne(CurrentG24.CURRENT_G24.NEWISSUE, value); + } + + /** + * Fetch a unique record that has newIssue = value + */ + public Optional fetchOptionalByNewissue(String value) { + return fetchOptional(CurrentG24.CURRENT_G24.NEWISSUE, value); + } + + /** + * Fetch records that have issue BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfIssue(String lowerInclusive, String upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.ISSUE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have issue IN (values) + */ + public List fetchByIssue(String... values) { + return fetch(CurrentG24.CURRENT_G24.ISSUE, values); + } + + /** + * Fetch records that have ball BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfBall(String lowerInclusive, String upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.BALL, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have ball IN (values) + */ + public List fetchByBall(String... values) { + return fetch(CurrentG24.CURRENT_G24.BALL, values); + } + + /** + * Fetch records that have closeTime BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfClosetime(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.CLOSETIME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have closeTime IN (values) + */ + public List fetchByClosetime(Integer... values) { + return fetch(CurrentG24.CURRENT_G24.CLOSETIME, values); + } + + /** + * Fetch records that have openTime BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfOpentime(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.OPENTIME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have openTime IN (values) + */ + public List fetchByOpentime(Integer... values) { + return fetch(CurrentG24.CURRENT_G24.OPENTIME, values); + } + + /** + * Fetch records that have addTime BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfAddtime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.ADDTIME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have addTime IN (values) + */ + public List fetchByAddtime(LocalDateTime... values) { + return fetch(CurrentG24.CURRENT_G24.ADDTIME, values); + } + + /** + * Fetch records that have gameID BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfGameid(String lowerInclusive, String upperInclusive) { + return fetchRange(CurrentG24.CURRENT_G24.GAMEID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have gameID IN (values) + */ + public List fetchByGameid(String... values) { + return fetch(CurrentG24.CURRENT_G24.GAMEID, values); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/HistoryG24Dao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/HistoryG24Dao.java new file mode 100644 index 0000000..ae54637 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/HistoryG24Dao.java @@ -0,0 +1,194 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.daos; + + +import java.time.LocalDateTime; +import java.util.List; +import java.util.Optional; + +import jj.tech.paolu.repository.jooq.tables.HistoryG24; +import jj.tech.paolu.repository.jooq.tables.records.HistoryG24Record; + +import org.jooq.Configuration; +import org.jooq.impl.DAOImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +@Repository +public class HistoryG24Dao extends DAOImpl { + + /** + * Create a new HistoryG24Dao without any configuration + */ + public HistoryG24Dao() { + super(HistoryG24.HISTORY_G24, jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24.class); + } + + /** + * Create a new HistoryG24Dao with an attached configuration + */ + @Autowired + public HistoryG24Dao(Configuration configuration) { + super(HistoryG24.HISTORY_G24, jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24.class, configuration); + } + + @Override + public String getId(jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24 object) { + return object.getId(); + } + + /** + * Fetch records that have id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have id IN (values) + */ + public List fetchById(String... values) { + return fetch(HistoryG24.HISTORY_G24.ID, values); + } + + /** + * Fetch a unique record that has id = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24 fetchOneById(String value) { + return fetchOne(HistoryG24.HISTORY_G24.ID, value); + } + + /** + * Fetch a unique record that has id = value + */ + public Optional fetchOptionalById(String value) { + return fetchOptional(HistoryG24.HISTORY_G24.ID, value); + } + + /** + * Fetch records that have newIssue BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfNewissue(String lowerInclusive, String upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.NEWISSUE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have newIssue IN (values) + */ + public List fetchByNewissue(String... values) { + return fetch(HistoryG24.HISTORY_G24.NEWISSUE, values); + } + + /** + * Fetch a unique record that has newIssue = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24 fetchOneByNewissue(String value) { + return fetchOne(HistoryG24.HISTORY_G24.NEWISSUE, value); + } + + /** + * Fetch a unique record that has newIssue = value + */ + public Optional fetchOptionalByNewissue(String value) { + return fetchOptional(HistoryG24.HISTORY_G24.NEWISSUE, value); + } + + /** + * Fetch records that have issue BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfIssue(String lowerInclusive, String upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.ISSUE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have issue IN (values) + */ + public List fetchByIssue(String... values) { + return fetch(HistoryG24.HISTORY_G24.ISSUE, values); + } + + /** + * Fetch records that have ball BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfBall(String lowerInclusive, String upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.BALL, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have ball IN (values) + */ + public List fetchByBall(String... values) { + return fetch(HistoryG24.HISTORY_G24.BALL, values); + } + + /** + * Fetch records that have closeTime BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfClosetime(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.CLOSETIME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have closeTime IN (values) + */ + public List fetchByClosetime(Integer... values) { + return fetch(HistoryG24.HISTORY_G24.CLOSETIME, values); + } + + /** + * Fetch records that have openTime BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfOpentime(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.OPENTIME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have openTime IN (values) + */ + public List fetchByOpentime(Integer... values) { + return fetch(HistoryG24.HISTORY_G24.OPENTIME, values); + } + + /** + * Fetch records that have addTime BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfAddtime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.ADDTIME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have addTime IN (values) + */ + public List fetchByAddtime(LocalDateTime... values) { + return fetch(HistoryG24.HISTORY_G24.ADDTIME, values); + } + + /** + * Fetch records that have gameID BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfGameid(String lowerInclusive, String upperInclusive) { + return fetchRange(HistoryG24.HISTORY_G24.GAMEID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have gameID IN (values) + */ + public List fetchByGameid(String... values) { + return fetch(HistoryG24.HISTORY_G24.GAMEID, values); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/Idc9998AdminInfoDao.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/Idc9998AdminInfoDao.java new file mode 100644 index 0000000..94c9e3f --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/daos/Idc9998AdminInfoDao.java @@ -0,0 +1,299 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.daos; + + +import java.util.List; +import java.util.Optional; + +import jj.tech.paolu.repository.jooq.tables.Idc9998AdminInfo; +import jj.tech.paolu.repository.jooq.tables.records.Idc9998AdminInfoRecord; + +import org.jooq.Configuration; +import org.jooq.impl.DAOImpl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Repository; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +@Repository +public class Idc9998AdminInfoDao extends DAOImpl { + + /** + * Create a new Idc9998AdminInfoDao without any configuration + */ + public Idc9998AdminInfoDao() { + super(Idc9998AdminInfo.IDC9998_ADMIN_INFO, jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo.class); + } + + /** + * Create a new Idc9998AdminInfoDao with an attached configuration + */ + @Autowired + public Idc9998AdminInfoDao(Configuration configuration) { + super(Idc9998AdminInfo.IDC9998_ADMIN_INFO, jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo.class, configuration); + } + + @Override + public String getId(jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo object) { + return object.getId(); + } + + /** + * Fetch records that have id BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfId(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have id IN (values) + */ + public List fetchById(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, values); + } + + /** + * Fetch a unique record that has id = value + */ + public jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo fetchOneById(String value) { + return fetchOne(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, value); + } + + /** + * Fetch a unique record that has id = value + */ + public Optional fetchOptionalById(String value) { + return fetchOptional(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, value); + } + + /** + * Fetch records that have status BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.STATUS, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have status IN (values) + */ + public List fetchByStatus(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.STATUS, values); + } + + /** + * Fetch records that have manager_name BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfManagerName(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MANAGER_NAME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have manager_name IN (values) + */ + public List fetchByManagerName(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MANAGER_NAME, values); + } + + /** + * Fetch records that have member_name BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfMemberName(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MEMBER_NAME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have member_name IN (values) + */ + public List fetchByMemberName(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MEMBER_NAME, values); + } + + /** + * Fetch records that have user_name BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfUserName(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_NAME, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have user_name IN (values) + */ + public List fetchByUserName(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_NAME, values); + } + + /** + * Fetch records that have user_password BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfUserPassword(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_PASSWORD, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have user_password IN (values) + */ + public List fetchByUserPassword(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_PASSWORD, values); + } + + /** + * Fetch records that have domain BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfDomain(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.DOMAIN, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have domain IN (values) + */ + public List fetchByDomain(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.DOMAIN, values); + } + + /** + * Fetch records that have is_default BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfIsDefault(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_DEFAULT, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have is_default IN (values) + */ + public List fetchByIsDefault(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_DEFAULT, values); + } + + /** + * Fetch records that have is_online BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfIsOnline(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_ONLINE, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have is_online IN (values) + */ + public List fetchByIsOnline(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_ONLINE, values); + } + + /** + * Fetch records that have login_info BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfLoginInfo(String lowerInclusive, String upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.LOGIN_INFO, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have login_info IN (values) + */ + public List fetchByLoginInfo(String... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.LOGIN_INFO, values); + } + + /** + * Fetch records that have g_24 BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfG_24(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_24, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have g_24 IN (values) + */ + public List fetchByG_24(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_24, values); + } + + /** + * Fetch records that have g_29 BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfG_29(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_29, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have g_29 IN (values) + */ + public List fetchByG_29(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_29, values); + } + + /** + * Fetch records that have g_30 BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfG_30(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_30, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have g_30 IN (values) + */ + public List fetchByG_30(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_30, values); + } + + /** + * Fetch records that have g_31 BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfG_31(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_31, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have g_31 IN (values) + */ + public List fetchByG_31(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_31, values); + } + + /** + * Fetch records that have g_35 BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfG_35(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_35, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have g_35 IN (values) + */ + public List fetchByG_35(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_35, values); + } + + /** + * Fetch records that have g_37 BETWEEN lowerInclusive AND + * upperInclusive + */ + public List fetchRangeOfG_37(Integer lowerInclusive, Integer upperInclusive) { + return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_37, lowerInclusive, upperInclusive); + } + + /** + * Fetch records that have g_37 IN (values) + */ + public List fetchByG_37(Integer... values) { + return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_37, values); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CurrentG24.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CurrentG24.java new file mode 100644 index 0000000..cf3e7f3 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/CurrentG24.java @@ -0,0 +1,264 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.pojos; + + +import java.io.Serializable; +import java.time.LocalDateTime; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class CurrentG24 implements Serializable { + + private static final long serialVersionUID = 1L; + + private String id; + private String newissue; + private String issue; + private String ball; + private Integer closetime; + private Integer opentime; + private LocalDateTime addtime; + private String gameid; + + public CurrentG24() {} + + public CurrentG24(CurrentG24 value) { + this.id = value.id; + this.newissue = value.newissue; + this.issue = value.issue; + this.ball = value.ball; + this.closetime = value.closetime; + this.opentime = value.opentime; + this.addtime = value.addtime; + this.gameid = value.gameid; + } + + public CurrentG24( + String id, + String newissue, + String issue, + String ball, + Integer closetime, + Integer opentime, + LocalDateTime addtime, + String gameid + ) { + this.id = id; + this.newissue = newissue; + this.issue = issue; + this.ball = ball; + this.closetime = closetime; + this.opentime = opentime; + this.addtime = addtime; + this.gameid = gameid; + } + + /** + * Getter for yx.current_g24.id. + */ + public String getId() { + return this.id; + } + + /** + * Setter for yx.current_g24.id. + */ + public void setId(String id) { + this.id = id; + } + + /** + * Getter for yx.current_g24.newIssue. 当前期号 + */ + public String getNewissue() { + return this.newissue; + } + + /** + * Setter for yx.current_g24.newIssue. 当前期号 + */ + public void setNewissue(String newissue) { + this.newissue = newissue; + } + + /** + * Getter for yx.current_g24.issue. 下一期号 + */ + public String getIssue() { + return this.issue; + } + + /** + * Setter for yx.current_g24.issue. 下一期号 + */ + public void setIssue(String issue) { + this.issue = issue; + } + + /** + * Getter for yx.current_g24.ball. 开奖号码 + */ + public String getBall() { + return this.ball; + } + + /** + * Setter for yx.current_g24.ball. 开奖号码 + */ + public void setBall(String ball) { + this.ball = ball; + } + + /** + * Getter for yx.current_g24.closeTime. 关闭时间 + */ + public Integer getClosetime() { + return this.closetime; + } + + /** + * Setter for yx.current_g24.closeTime. 关闭时间 + */ + public void setClosetime(Integer closetime) { + this.closetime = closetime; + } + + /** + * Getter for yx.current_g24.openTime. 开奖时间 + */ + public Integer getOpentime() { + return this.opentime; + } + + /** + * Setter for yx.current_g24.openTime. 开奖时间 + */ + public void setOpentime(Integer opentime) { + this.opentime = opentime; + } + + /** + * Getter for yx.current_g24.addTime. 提交时间 + */ + public LocalDateTime getAddtime() { + return this.addtime; + } + + /** + * Setter for yx.current_g24.addTime. 提交时间 + */ + public void setAddtime(LocalDateTime addtime) { + this.addtime = addtime; + } + + /** + * Getter for yx.current_g24.gameID. 游戏ID + */ + public String getGameid() { + return this.gameid; + } + + /** + * Setter for yx.current_g24.gameID. 游戏ID + */ + public void setGameid(String gameid) { + this.gameid = gameid; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + final CurrentG24 other = (CurrentG24) obj; + if (this.id == null) { + if (other.id != null) + return false; + } + else if (!this.id.equals(other.id)) + return false; + if (this.newissue == null) { + if (other.newissue != null) + return false; + } + else if (!this.newissue.equals(other.newissue)) + return false; + if (this.issue == null) { + if (other.issue != null) + return false; + } + else if (!this.issue.equals(other.issue)) + return false; + if (this.ball == null) { + if (other.ball != null) + return false; + } + else if (!this.ball.equals(other.ball)) + return false; + if (this.closetime == null) { + if (other.closetime != null) + return false; + } + else if (!this.closetime.equals(other.closetime)) + return false; + if (this.opentime == null) { + if (other.opentime != null) + return false; + } + else if (!this.opentime.equals(other.opentime)) + return false; + if (this.addtime == null) { + if (other.addtime != null) + return false; + } + else if (!this.addtime.equals(other.addtime)) + return false; + if (this.gameid == null) { + if (other.gameid != null) + return false; + } + else if (!this.gameid.equals(other.gameid)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); + result = prime * result + ((this.newissue == null) ? 0 : this.newissue.hashCode()); + result = prime * result + ((this.issue == null) ? 0 : this.issue.hashCode()); + result = prime * result + ((this.ball == null) ? 0 : this.ball.hashCode()); + result = prime * result + ((this.closetime == null) ? 0 : this.closetime.hashCode()); + result = prime * result + ((this.opentime == null) ? 0 : this.opentime.hashCode()); + result = prime * result + ((this.addtime == null) ? 0 : this.addtime.hashCode()); + result = prime * result + ((this.gameid == null) ? 0 : this.gameid.hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("CurrentG24 ("); + + sb.append(id); + sb.append(", ").append(newissue); + sb.append(", ").append(issue); + sb.append(", ").append(ball); + sb.append(", ").append(closetime); + sb.append(", ").append(opentime); + sb.append(", ").append(addtime); + sb.append(", ").append(gameid); + + sb.append(")"); + return sb.toString(); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/HistoryG24.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/HistoryG24.java new file mode 100644 index 0000000..71b3274 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/HistoryG24.java @@ -0,0 +1,264 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.pojos; + + +import java.io.Serializable; +import java.time.LocalDateTime; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class HistoryG24 implements Serializable { + + private static final long serialVersionUID = 1L; + + private String id; + private String newissue; + private String issue; + private String ball; + private Integer closetime; + private Integer opentime; + private LocalDateTime addtime; + private String gameid; + + public HistoryG24() {} + + public HistoryG24(HistoryG24 value) { + this.id = value.id; + this.newissue = value.newissue; + this.issue = value.issue; + this.ball = value.ball; + this.closetime = value.closetime; + this.opentime = value.opentime; + this.addtime = value.addtime; + this.gameid = value.gameid; + } + + public HistoryG24( + String id, + String newissue, + String issue, + String ball, + Integer closetime, + Integer opentime, + LocalDateTime addtime, + String gameid + ) { + this.id = id; + this.newissue = newissue; + this.issue = issue; + this.ball = ball; + this.closetime = closetime; + this.opentime = opentime; + this.addtime = addtime; + this.gameid = gameid; + } + + /** + * Getter for yx.history_g24.id. + */ + public String getId() { + return this.id; + } + + /** + * Setter for yx.history_g24.id. + */ + public void setId(String id) { + this.id = id; + } + + /** + * Getter for yx.history_g24.newIssue. 当前期号 + */ + public String getNewissue() { + return this.newissue; + } + + /** + * Setter for yx.history_g24.newIssue. 当前期号 + */ + public void setNewissue(String newissue) { + this.newissue = newissue; + } + + /** + * Getter for yx.history_g24.issue. 下一期号 + */ + public String getIssue() { + return this.issue; + } + + /** + * Setter for yx.history_g24.issue. 下一期号 + */ + public void setIssue(String issue) { + this.issue = issue; + } + + /** + * Getter for yx.history_g24.ball. 开奖号码 + */ + public String getBall() { + return this.ball; + } + + /** + * Setter for yx.history_g24.ball. 开奖号码 + */ + public void setBall(String ball) { + this.ball = ball; + } + + /** + * Getter for yx.history_g24.closeTime. 关闭时间 + */ + public Integer getClosetime() { + return this.closetime; + } + + /** + * Setter for yx.history_g24.closeTime. 关闭时间 + */ + public void setClosetime(Integer closetime) { + this.closetime = closetime; + } + + /** + * Getter for yx.history_g24.openTime. 开奖时间 + */ + public Integer getOpentime() { + return this.opentime; + } + + /** + * Setter for yx.history_g24.openTime. 开奖时间 + */ + public void setOpentime(Integer opentime) { + this.opentime = opentime; + } + + /** + * Getter for yx.history_g24.addTime. 提交时间 + */ + public LocalDateTime getAddtime() { + return this.addtime; + } + + /** + * Setter for yx.history_g24.addTime. 提交时间 + */ + public void setAddtime(LocalDateTime addtime) { + this.addtime = addtime; + } + + /** + * Getter for yx.history_g24.gameID. 游戏ID + */ + public String getGameid() { + return this.gameid; + } + + /** + * Setter for yx.history_g24.gameID. 游戏ID + */ + public void setGameid(String gameid) { + this.gameid = gameid; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + final HistoryG24 other = (HistoryG24) obj; + if (this.id == null) { + if (other.id != null) + return false; + } + else if (!this.id.equals(other.id)) + return false; + if (this.newissue == null) { + if (other.newissue != null) + return false; + } + else if (!this.newissue.equals(other.newissue)) + return false; + if (this.issue == null) { + if (other.issue != null) + return false; + } + else if (!this.issue.equals(other.issue)) + return false; + if (this.ball == null) { + if (other.ball != null) + return false; + } + else if (!this.ball.equals(other.ball)) + return false; + if (this.closetime == null) { + if (other.closetime != null) + return false; + } + else if (!this.closetime.equals(other.closetime)) + return false; + if (this.opentime == null) { + if (other.opentime != null) + return false; + } + else if (!this.opentime.equals(other.opentime)) + return false; + if (this.addtime == null) { + if (other.addtime != null) + return false; + } + else if (!this.addtime.equals(other.addtime)) + return false; + if (this.gameid == null) { + if (other.gameid != null) + return false; + } + else if (!this.gameid.equals(other.gameid)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); + result = prime * result + ((this.newissue == null) ? 0 : this.newissue.hashCode()); + result = prime * result + ((this.issue == null) ? 0 : this.issue.hashCode()); + result = prime * result + ((this.ball == null) ? 0 : this.ball.hashCode()); + result = prime * result + ((this.closetime == null) ? 0 : this.closetime.hashCode()); + result = prime * result + ((this.opentime == null) ? 0 : this.opentime.hashCode()); + result = prime * result + ((this.addtime == null) ? 0 : this.addtime.hashCode()); + result = prime * result + ((this.gameid == null) ? 0 : this.gameid.hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("HistoryG24 ("); + + sb.append(id); + sb.append(", ").append(newissue); + sb.append(", ").append(issue); + sb.append(", ").append(ball); + sb.append(", ").append(closetime); + sb.append(", ").append(opentime); + sb.append(", ").append(addtime); + sb.append(", ").append(gameid); + + sb.append(")"); + return sb.toString(); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Idc9998AdminInfo.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Idc9998AdminInfo.java new file mode 100644 index 0000000..238540d --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/pojos/Idc9998AdminInfo.java @@ -0,0 +1,471 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.pojos; + + +import java.io.Serializable; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class Idc9998AdminInfo implements Serializable { + + private static final long serialVersionUID = 1L; + + private String id; + private Integer status; + private String managerName; + private String memberName; + private String userName; + private String userPassword; + private String domain; + private Integer isDefault; + private Integer isOnline; + private String loginInfo; + private Integer g_24; + private Integer g_29; + private Integer g_30; + private Integer g_31; + private Integer g_35; + private Integer g_37; + + public Idc9998AdminInfo() {} + + public Idc9998AdminInfo(Idc9998AdminInfo value) { + this.id = value.id; + this.status = value.status; + this.managerName = value.managerName; + this.memberName = value.memberName; + this.userName = value.userName; + this.userPassword = value.userPassword; + this.domain = value.domain; + this.isDefault = value.isDefault; + this.isOnline = value.isOnline; + this.loginInfo = value.loginInfo; + this.g_24 = value.g_24; + this.g_29 = value.g_29; + this.g_30 = value.g_30; + this.g_31 = value.g_31; + this.g_35 = value.g_35; + this.g_37 = value.g_37; + } + + public Idc9998AdminInfo( + String id, + Integer status, + String managerName, + String memberName, + String userName, + String userPassword, + String domain, + Integer isDefault, + Integer isOnline, + String loginInfo, + Integer g_24, + Integer g_29, + Integer g_30, + Integer g_31, + Integer g_35, + Integer g_37 + ) { + this.id = id; + this.status = status; + this.managerName = managerName; + this.memberName = memberName; + this.userName = userName; + this.userPassword = userPassword; + this.domain = domain; + this.isDefault = isDefault; + this.isOnline = isOnline; + this.loginInfo = loginInfo; + this.g_24 = g_24; + this.g_29 = g_29; + this.g_30 = g_30; + this.g_31 = g_31; + this.g_35 = g_35; + this.g_37 = g_37; + } + + /** + * Getter for yx.idc9998_admin_info.id. + */ + public String getId() { + return this.id; + } + + /** + * Setter for yx.idc9998_admin_info.id. + */ + public void setId(String id) { + this.id = id; + } + + /** + * Getter for yx.idc9998_admin_info.status. 1启用,0禁用 + */ + public Integer getStatus() { + return this.status; + } + + /** + * Setter for yx.idc9998_admin_info.status. 1启用,0禁用 + */ + public void setStatus(Integer status) { + this.status = status; + } + + /** + * Getter for yx.idc9998_admin_info.manager_name. 采集管理员账号 + */ + public String getManagerName() { + return this.managerName; + } + + /** + * Setter for yx.idc9998_admin_info.manager_name. 采集管理员账号 + */ + public void setManagerName(String managerName) { + this.managerName = managerName; + } + + /** + * Getter for yx.idc9998_admin_info.member_name. 采集会员账号 + */ + public String getMemberName() { + return this.memberName; + } + + /** + * Setter for yx.idc9998_admin_info.member_name. 采集会员账号 + */ + public void setMemberName(String memberName) { + this.memberName = memberName; + } + + /** + * Getter for yx.idc9998_admin_info.user_name. 采集用户账号 + */ + public String getUserName() { + return this.userName; + } + + /** + * Setter for yx.idc9998_admin_info.user_name. 采集用户账号 + */ + public void setUserName(String userName) { + this.userName = userName; + } + + /** + * Getter for yx.idc9998_admin_info.user_password. 采集用户密码 + */ + public String getUserPassword() { + return this.userPassword; + } + + /** + * Setter for yx.idc9998_admin_info.user_password. 采集用户密码 + */ + public void setUserPassword(String userPassword) { + this.userPassword = userPassword; + } + + /** + * Getter for yx.idc9998_admin_info.domain. 网站域名或者IP,无须/ + */ + public String getDomain() { + return this.domain; + } + + /** + * Setter for yx.idc9998_admin_info.domain. 网站域名或者IP,无须/ + */ + public void setDomain(String domain) { + this.domain = domain; + } + + /** + * Getter for yx.idc9998_admin_info.is_default. 是否默认为默认采集号 + */ + public Integer getIsDefault() { + return this.isDefault; + } + + /** + * Setter for yx.idc9998_admin_info.is_default. 是否默认为默认采集号 + */ + public void setIsDefault(Integer isDefault) { + this.isDefault = isDefault; + } + + /** + * Getter for yx.idc9998_admin_info.is_online. 1在线,0掉线 + */ + public Integer getIsOnline() { + return this.isOnline; + } + + /** + * Setter for yx.idc9998_admin_info.is_online. 1在线,0掉线 + */ + public void setIsOnline(Integer isOnline) { + this.isOnline = isOnline; + } + + /** + * Getter for yx.idc9998_admin_info.login_info. 最后一次登录cookie信息 + */ + public String getLoginInfo() { + return this.loginInfo; + } + + /** + * Setter for yx.idc9998_admin_info.login_info. 最后一次登录cookie信息 + */ + public void setLoginInfo(String loginInfo) { + this.loginInfo = loginInfo; + } + + /** + * Getter for yx.idc9998_admin_info.g_24. 幸运飞艇 + */ + public Integer getG_24() { + return this.g_24; + } + + /** + * Setter for yx.idc9998_admin_info.g_24. 幸运飞艇 + */ + public void setG_24(Integer g_24) { + this.g_24 = g_24; + } + + /** + * Getter for yx.idc9998_admin_info.g_29. 极速时时彩 + */ + public Integer getG_29() { + return this.g_29; + } + + /** + * Setter for yx.idc9998_admin_info.g_29. 极速时时彩 + */ + public void setG_29(Integer g_29) { + this.g_29 = g_29; + } + + /** + * Getter for yx.idc9998_admin_info.g_30. 极速赛车 + */ + public Integer getG_30() { + return this.g_30; + } + + /** + * Setter for yx.idc9998_admin_info.g_30. 极速赛车 + */ + public void setG_30(Integer g_30) { + this.g_30 = g_30; + } + + /** + * Getter for yx.idc9998_admin_info.g_31. 极速飞艇 + */ + public Integer getG_31() { + return this.g_31; + } + + /** + * Setter for yx.idc9998_admin_info.g_31. 极速飞艇 + */ + public void setG_31(Integer g_31) { + this.g_31 = g_31; + } + + /** + * Getter for yx.idc9998_admin_info.g_35. 澳洲幸运5 + */ + public Integer getG_35() { + return this.g_35; + } + + /** + * Setter for yx.idc9998_admin_info.g_35. 澳洲幸运5 + */ + public void setG_35(Integer g_35) { + this.g_35 = g_35; + } + + /** + * Getter for yx.idc9998_admin_info.g_37. 澳洲幸运10 + */ + public Integer getG_37() { + return this.g_37; + } + + /** + * Setter for yx.idc9998_admin_info.g_37. 澳洲幸运10 + */ + public void setG_37(Integer g_37) { + this.g_37 = g_37; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + final Idc9998AdminInfo other = (Idc9998AdminInfo) obj; + if (this.id == null) { + if (other.id != null) + return false; + } + else if (!this.id.equals(other.id)) + return false; + if (this.status == null) { + if (other.status != null) + return false; + } + else if (!this.status.equals(other.status)) + return false; + if (this.managerName == null) { + if (other.managerName != null) + return false; + } + else if (!this.managerName.equals(other.managerName)) + return false; + if (this.memberName == null) { + if (other.memberName != null) + return false; + } + else if (!this.memberName.equals(other.memberName)) + return false; + if (this.userName == null) { + if (other.userName != null) + return false; + } + else if (!this.userName.equals(other.userName)) + return false; + if (this.userPassword == null) { + if (other.userPassword != null) + return false; + } + else if (!this.userPassword.equals(other.userPassword)) + return false; + if (this.domain == null) { + if (other.domain != null) + return false; + } + else if (!this.domain.equals(other.domain)) + return false; + if (this.isDefault == null) { + if (other.isDefault != null) + return false; + } + else if (!this.isDefault.equals(other.isDefault)) + return false; + if (this.isOnline == null) { + if (other.isOnline != null) + return false; + } + else if (!this.isOnline.equals(other.isOnline)) + return false; + if (this.loginInfo == null) { + if (other.loginInfo != null) + return false; + } + else if (!this.loginInfo.equals(other.loginInfo)) + return false; + if (this.g_24 == null) { + if (other.g_24 != null) + return false; + } + else if (!this.g_24.equals(other.g_24)) + return false; + if (this.g_29 == null) { + if (other.g_29 != null) + return false; + } + else if (!this.g_29.equals(other.g_29)) + return false; + if (this.g_30 == null) { + if (other.g_30 != null) + return false; + } + else if (!this.g_30.equals(other.g_30)) + return false; + if (this.g_31 == null) { + if (other.g_31 != null) + return false; + } + else if (!this.g_31.equals(other.g_31)) + return false; + if (this.g_35 == null) { + if (other.g_35 != null) + return false; + } + else if (!this.g_35.equals(other.g_35)) + return false; + if (this.g_37 == null) { + if (other.g_37 != null) + return false; + } + else if (!this.g_37.equals(other.g_37)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((this.id == null) ? 0 : this.id.hashCode()); + result = prime * result + ((this.status == null) ? 0 : this.status.hashCode()); + result = prime * result + ((this.managerName == null) ? 0 : this.managerName.hashCode()); + result = prime * result + ((this.memberName == null) ? 0 : this.memberName.hashCode()); + result = prime * result + ((this.userName == null) ? 0 : this.userName.hashCode()); + result = prime * result + ((this.userPassword == null) ? 0 : this.userPassword.hashCode()); + result = prime * result + ((this.domain == null) ? 0 : this.domain.hashCode()); + result = prime * result + ((this.isDefault == null) ? 0 : this.isDefault.hashCode()); + result = prime * result + ((this.isOnline == null) ? 0 : this.isOnline.hashCode()); + result = prime * result + ((this.loginInfo == null) ? 0 : this.loginInfo.hashCode()); + result = prime * result + ((this.g_24 == null) ? 0 : this.g_24.hashCode()); + result = prime * result + ((this.g_29 == null) ? 0 : this.g_29.hashCode()); + result = prime * result + ((this.g_30 == null) ? 0 : this.g_30.hashCode()); + result = prime * result + ((this.g_31 == null) ? 0 : this.g_31.hashCode()); + result = prime * result + ((this.g_35 == null) ? 0 : this.g_35.hashCode()); + result = prime * result + ((this.g_37 == null) ? 0 : this.g_37.hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("Idc9998AdminInfo ("); + + sb.append(id); + sb.append(", ").append(status); + sb.append(", ").append(managerName); + sb.append(", ").append(memberName); + sb.append(", ").append(userName); + sb.append(", ").append(userPassword); + sb.append(", ").append(domain); + sb.append(", ").append(isDefault); + sb.append(", ").append(isOnline); + sb.append(", ").append(loginInfo); + sb.append(", ").append(g_24); + sb.append(", ").append(g_29); + sb.append(", ").append(g_30); + sb.append(", ").append(g_31); + sb.append(", ").append(g_35); + sb.append(", ").append(g_37); + + sb.append(")"); + return sb.toString(); + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CurrentG24Record.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CurrentG24Record.java new file mode 100644 index 0000000..76d39bd --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/CurrentG24Record.java @@ -0,0 +1,388 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.records; + + +import java.time.LocalDateTime; + +import jj.tech.paolu.repository.jooq.tables.CurrentG24; + +import org.jooq.Field; +import org.jooq.Record1; +import org.jooq.Record8; +import org.jooq.Row8; +import org.jooq.impl.UpdatableRecordImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class CurrentG24Record extends UpdatableRecordImpl implements Record8 { + + private static final long serialVersionUID = 1L; + + /** + * Setter for yx.current_g24.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for yx.current_g24.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for yx.current_g24.newIssue. 当前期号 + */ + public void setNewissue(String value) { + set(1, value); + } + + /** + * Getter for yx.current_g24.newIssue. 当前期号 + */ + public String getNewissue() { + return (String) get(1); + } + + /** + * Setter for yx.current_g24.issue. 下一期号 + */ + public void setIssue(String value) { + set(2, value); + } + + /** + * Getter for yx.current_g24.issue. 下一期号 + */ + public String getIssue() { + return (String) get(2); + } + + /** + * Setter for yx.current_g24.ball. 开奖号码 + */ + public void setBall(String value) { + set(3, value); + } + + /** + * Getter for yx.current_g24.ball. 开奖号码 + */ + public String getBall() { + return (String) get(3); + } + + /** + * Setter for yx.current_g24.closeTime. 关闭时间 + */ + public void setClosetime(Integer value) { + set(4, value); + } + + /** + * Getter for yx.current_g24.closeTime. 关闭时间 + */ + public Integer getClosetime() { + return (Integer) get(4); + } + + /** + * Setter for yx.current_g24.openTime. 开奖时间 + */ + public void setOpentime(Integer value) { + set(5, value); + } + + /** + * Getter for yx.current_g24.openTime. 开奖时间 + */ + public Integer getOpentime() { + return (Integer) get(5); + } + + /** + * Setter for yx.current_g24.addTime. 提交时间 + */ + public void setAddtime(LocalDateTime value) { + set(6, value); + } + + /** + * Getter for yx.current_g24.addTime. 提交时间 + */ + public LocalDateTime getAddtime() { + return (LocalDateTime) get(6); + } + + /** + * Setter for yx.current_g24.gameID. 游戏ID + */ + public void setGameid(String value) { + set(7, value); + } + + /** + * Getter for yx.current_g24.gameID. 游戏ID + */ + public String getGameid() { + return (String) get(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record8 type implementation + // ------------------------------------------------------------------------- + + @Override + public Row8 fieldsRow() { + return (Row8) super.fieldsRow(); + } + + @Override + public Row8 valuesRow() { + return (Row8) super.valuesRow(); + } + + @Override + public Field field1() { + return CurrentG24.CURRENT_G24.ID; + } + + @Override + public Field field2() { + return CurrentG24.CURRENT_G24.NEWISSUE; + } + + @Override + public Field field3() { + return CurrentG24.CURRENT_G24.ISSUE; + } + + @Override + public Field field4() { + return CurrentG24.CURRENT_G24.BALL; + } + + @Override + public Field field5() { + return CurrentG24.CURRENT_G24.CLOSETIME; + } + + @Override + public Field field6() { + return CurrentG24.CURRENT_G24.OPENTIME; + } + + @Override + public Field field7() { + return CurrentG24.CURRENT_G24.ADDTIME; + } + + @Override + public Field field8() { + return CurrentG24.CURRENT_G24.GAMEID; + } + + @Override + public String component1() { + return getId(); + } + + @Override + public String component2() { + return getNewissue(); + } + + @Override + public String component3() { + return getIssue(); + } + + @Override + public String component4() { + return getBall(); + } + + @Override + public Integer component5() { + return getClosetime(); + } + + @Override + public Integer component6() { + return getOpentime(); + } + + @Override + public LocalDateTime component7() { + return getAddtime(); + } + + @Override + public String component8() { + return getGameid(); + } + + @Override + public String value1() { + return getId(); + } + + @Override + public String value2() { + return getNewissue(); + } + + @Override + public String value3() { + return getIssue(); + } + + @Override + public String value4() { + return getBall(); + } + + @Override + public Integer value5() { + return getClosetime(); + } + + @Override + public Integer value6() { + return getOpentime(); + } + + @Override + public LocalDateTime value7() { + return getAddtime(); + } + + @Override + public String value8() { + return getGameid(); + } + + @Override + public CurrentG24Record value1(String value) { + setId(value); + return this; + } + + @Override + public CurrentG24Record value2(String value) { + setNewissue(value); + return this; + } + + @Override + public CurrentG24Record value3(String value) { + setIssue(value); + return this; + } + + @Override + public CurrentG24Record value4(String value) { + setBall(value); + return this; + } + + @Override + public CurrentG24Record value5(Integer value) { + setClosetime(value); + return this; + } + + @Override + public CurrentG24Record value6(Integer value) { + setOpentime(value); + return this; + } + + @Override + public CurrentG24Record value7(LocalDateTime value) { + setAddtime(value); + return this; + } + + @Override + public CurrentG24Record value8(String value) { + setGameid(value); + return this; + } + + @Override + public CurrentG24Record values(String value1, String value2, String value3, String value4, Integer value5, Integer value6, LocalDateTime value7, String value8) { + value1(value1); + value2(value2); + value3(value3); + value4(value4); + value5(value5); + value6(value6); + value7(value7); + value8(value8); + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached CurrentG24Record + */ + public CurrentG24Record() { + super(CurrentG24.CURRENT_G24); + } + + /** + * Create a detached, initialised CurrentG24Record + */ + public CurrentG24Record(String id, String newissue, String issue, String ball, Integer closetime, Integer opentime, LocalDateTime addtime, String gameid) { + super(CurrentG24.CURRENT_G24); + + setId(id); + setNewissue(newissue); + setIssue(issue); + setBall(ball); + setClosetime(closetime); + setOpentime(opentime); + setAddtime(addtime); + setGameid(gameid); + resetChangedOnNotNull(); + } + + /** + * Create a detached, initialised CurrentG24Record + */ + public CurrentG24Record(jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24 value) { + super(CurrentG24.CURRENT_G24); + + if (value != null) { + setId(value.getId()); + setNewissue(value.getNewissue()); + setIssue(value.getIssue()); + setBall(value.getBall()); + setClosetime(value.getClosetime()); + setOpentime(value.getOpentime()); + setAddtime(value.getAddtime()); + setGameid(value.getGameid()); + resetChangedOnNotNull(); + } + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/HistoryG24Record.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/HistoryG24Record.java new file mode 100644 index 0000000..322154e --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/HistoryG24Record.java @@ -0,0 +1,388 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.records; + + +import java.time.LocalDateTime; + +import jj.tech.paolu.repository.jooq.tables.HistoryG24; + +import org.jooq.Field; +import org.jooq.Record1; +import org.jooq.Record8; +import org.jooq.Row8; +import org.jooq.impl.UpdatableRecordImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class HistoryG24Record extends UpdatableRecordImpl implements Record8 { + + private static final long serialVersionUID = 1L; + + /** + * Setter for yx.history_g24.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for yx.history_g24.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for yx.history_g24.newIssue. 当前期号 + */ + public void setNewissue(String value) { + set(1, value); + } + + /** + * Getter for yx.history_g24.newIssue. 当前期号 + */ + public String getNewissue() { + return (String) get(1); + } + + /** + * Setter for yx.history_g24.issue. 下一期号 + */ + public void setIssue(String value) { + set(2, value); + } + + /** + * Getter for yx.history_g24.issue. 下一期号 + */ + public String getIssue() { + return (String) get(2); + } + + /** + * Setter for yx.history_g24.ball. 开奖号码 + */ + public void setBall(String value) { + set(3, value); + } + + /** + * Getter for yx.history_g24.ball. 开奖号码 + */ + public String getBall() { + return (String) get(3); + } + + /** + * Setter for yx.history_g24.closeTime. 关闭时间 + */ + public void setClosetime(Integer value) { + set(4, value); + } + + /** + * Getter for yx.history_g24.closeTime. 关闭时间 + */ + public Integer getClosetime() { + return (Integer) get(4); + } + + /** + * Setter for yx.history_g24.openTime. 开奖时间 + */ + public void setOpentime(Integer value) { + set(5, value); + } + + /** + * Getter for yx.history_g24.openTime. 开奖时间 + */ + public Integer getOpentime() { + return (Integer) get(5); + } + + /** + * Setter for yx.history_g24.addTime. 提交时间 + */ + public void setAddtime(LocalDateTime value) { + set(6, value); + } + + /** + * Getter for yx.history_g24.addTime. 提交时间 + */ + public LocalDateTime getAddtime() { + return (LocalDateTime) get(6); + } + + /** + * Setter for yx.history_g24.gameID. 游戏ID + */ + public void setGameid(String value) { + set(7, value); + } + + /** + * Getter for yx.history_g24.gameID. 游戏ID + */ + public String getGameid() { + return (String) get(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record8 type implementation + // ------------------------------------------------------------------------- + + @Override + public Row8 fieldsRow() { + return (Row8) super.fieldsRow(); + } + + @Override + public Row8 valuesRow() { + return (Row8) super.valuesRow(); + } + + @Override + public Field field1() { + return HistoryG24.HISTORY_G24.ID; + } + + @Override + public Field field2() { + return HistoryG24.HISTORY_G24.NEWISSUE; + } + + @Override + public Field field3() { + return HistoryG24.HISTORY_G24.ISSUE; + } + + @Override + public Field field4() { + return HistoryG24.HISTORY_G24.BALL; + } + + @Override + public Field field5() { + return HistoryG24.HISTORY_G24.CLOSETIME; + } + + @Override + public Field field6() { + return HistoryG24.HISTORY_G24.OPENTIME; + } + + @Override + public Field field7() { + return HistoryG24.HISTORY_G24.ADDTIME; + } + + @Override + public Field field8() { + return HistoryG24.HISTORY_G24.GAMEID; + } + + @Override + public String component1() { + return getId(); + } + + @Override + public String component2() { + return getNewissue(); + } + + @Override + public String component3() { + return getIssue(); + } + + @Override + public String component4() { + return getBall(); + } + + @Override + public Integer component5() { + return getClosetime(); + } + + @Override + public Integer component6() { + return getOpentime(); + } + + @Override + public LocalDateTime component7() { + return getAddtime(); + } + + @Override + public String component8() { + return getGameid(); + } + + @Override + public String value1() { + return getId(); + } + + @Override + public String value2() { + return getNewissue(); + } + + @Override + public String value3() { + return getIssue(); + } + + @Override + public String value4() { + return getBall(); + } + + @Override + public Integer value5() { + return getClosetime(); + } + + @Override + public Integer value6() { + return getOpentime(); + } + + @Override + public LocalDateTime value7() { + return getAddtime(); + } + + @Override + public String value8() { + return getGameid(); + } + + @Override + public HistoryG24Record value1(String value) { + setId(value); + return this; + } + + @Override + public HistoryG24Record value2(String value) { + setNewissue(value); + return this; + } + + @Override + public HistoryG24Record value3(String value) { + setIssue(value); + return this; + } + + @Override + public HistoryG24Record value4(String value) { + setBall(value); + return this; + } + + @Override + public HistoryG24Record value5(Integer value) { + setClosetime(value); + return this; + } + + @Override + public HistoryG24Record value6(Integer value) { + setOpentime(value); + return this; + } + + @Override + public HistoryG24Record value7(LocalDateTime value) { + setAddtime(value); + return this; + } + + @Override + public HistoryG24Record value8(String value) { + setGameid(value); + return this; + } + + @Override + public HistoryG24Record values(String value1, String value2, String value3, String value4, Integer value5, Integer value6, LocalDateTime value7, String value8) { + value1(value1); + value2(value2); + value3(value3); + value4(value4); + value5(value5); + value6(value6); + value7(value7); + value8(value8); + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached HistoryG24Record + */ + public HistoryG24Record() { + super(HistoryG24.HISTORY_G24); + } + + /** + * Create a detached, initialised HistoryG24Record + */ + public HistoryG24Record(String id, String newissue, String issue, String ball, Integer closetime, Integer opentime, LocalDateTime addtime, String gameid) { + super(HistoryG24.HISTORY_G24); + + setId(id); + setNewissue(newissue); + setIssue(issue); + setBall(ball); + setClosetime(closetime); + setOpentime(opentime); + setAddtime(addtime); + setGameid(gameid); + resetChangedOnNotNull(); + } + + /** + * Create a detached, initialised HistoryG24Record + */ + public HistoryG24Record(jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24 value) { + super(HistoryG24.HISTORY_G24); + + if (value != null) { + setId(value.getId()); + setNewissue(value.getNewissue()); + setIssue(value.getIssue()); + setBall(value.getBall()); + setClosetime(value.getClosetime()); + setOpentime(value.getOpentime()); + setAddtime(value.getAddtime()); + setGameid(value.getGameid()); + resetChangedOnNotNull(); + } + } +} diff --git a/src/main/java/jj/tech/paolu/repository/jooq/tables/records/Idc9998AdminInfoRecord.java b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/Idc9998AdminInfoRecord.java new file mode 100644 index 0000000..3330443 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/jooq/tables/records/Idc9998AdminInfoRecord.java @@ -0,0 +1,690 @@ +/* + * This file is generated by jOOQ. + */ +package jj.tech.paolu.repository.jooq.tables.records; + + +import jj.tech.paolu.repository.jooq.tables.Idc9998AdminInfo; + +import org.jooq.Field; +import org.jooq.Record1; +import org.jooq.Record16; +import org.jooq.Row16; +import org.jooq.impl.UpdatableRecordImpl; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes", "this-escape" }) +public class Idc9998AdminInfoRecord extends UpdatableRecordImpl implements Record16 { + + private static final long serialVersionUID = 1L; + + /** + * Setter for yx.idc9998_admin_info.id. + */ + public void setId(String value) { + set(0, value); + } + + /** + * Getter for yx.idc9998_admin_info.id. + */ + public String getId() { + return (String) get(0); + } + + /** + * Setter for yx.idc9998_admin_info.status. 1启用,0禁用 + */ + public void setStatus(Integer value) { + set(1, value); + } + + /** + * Getter for yx.idc9998_admin_info.status. 1启用,0禁用 + */ + public Integer getStatus() { + return (Integer) get(1); + } + + /** + * Setter for yx.idc9998_admin_info.manager_name. 采集管理员账号 + */ + public void setManagerName(String value) { + set(2, value); + } + + /** + * Getter for yx.idc9998_admin_info.manager_name. 采集管理员账号 + */ + public String getManagerName() { + return (String) get(2); + } + + /** + * Setter for yx.idc9998_admin_info.member_name. 采集会员账号 + */ + public void setMemberName(String value) { + set(3, value); + } + + /** + * Getter for yx.idc9998_admin_info.member_name. 采集会员账号 + */ + public String getMemberName() { + return (String) get(3); + } + + /** + * Setter for yx.idc9998_admin_info.user_name. 采集用户账号 + */ + public void setUserName(String value) { + set(4, value); + } + + /** + * Getter for yx.idc9998_admin_info.user_name. 采集用户账号 + */ + public String getUserName() { + return (String) get(4); + } + + /** + * Setter for yx.idc9998_admin_info.user_password. 采集用户密码 + */ + public void setUserPassword(String value) { + set(5, value); + } + + /** + * Getter for yx.idc9998_admin_info.user_password. 采集用户密码 + */ + public String getUserPassword() { + return (String) get(5); + } + + /** + * Setter for yx.idc9998_admin_info.domain. 网站域名或者IP,无须/ + */ + public void setDomain(String value) { + set(6, value); + } + + /** + * Getter for yx.idc9998_admin_info.domain. 网站域名或者IP,无须/ + */ + public String getDomain() { + return (String) get(6); + } + + /** + * Setter for yx.idc9998_admin_info.is_default. 是否默认为默认采集号 + */ + public void setIsDefault(Integer value) { + set(7, value); + } + + /** + * Getter for yx.idc9998_admin_info.is_default. 是否默认为默认采集号 + */ + public Integer getIsDefault() { + return (Integer) get(7); + } + + /** + * Setter for yx.idc9998_admin_info.is_online. 1在线,0掉线 + */ + public void setIsOnline(Integer value) { + set(8, value); + } + + /** + * Getter for yx.idc9998_admin_info.is_online. 1在线,0掉线 + */ + public Integer getIsOnline() { + return (Integer) get(8); + } + + /** + * Setter for yx.idc9998_admin_info.login_info. 最后一次登录cookie信息 + */ + public void setLoginInfo(String value) { + set(9, value); + } + + /** + * Getter for yx.idc9998_admin_info.login_info. 最后一次登录cookie信息 + */ + public String getLoginInfo() { + return (String) get(9); + } + + /** + * Setter for yx.idc9998_admin_info.g_24. 幸运飞艇 + */ + public void setG_24(Integer value) { + set(10, value); + } + + /** + * Getter for yx.idc9998_admin_info.g_24. 幸运飞艇 + */ + public Integer getG_24() { + return (Integer) get(10); + } + + /** + * Setter for yx.idc9998_admin_info.g_29. 极速时时彩 + */ + public void setG_29(Integer value) { + set(11, value); + } + + /** + * Getter for yx.idc9998_admin_info.g_29. 极速时时彩 + */ + public Integer getG_29() { + return (Integer) get(11); + } + + /** + * Setter for yx.idc9998_admin_info.g_30. 极速赛车 + */ + public void setG_30(Integer value) { + set(12, value); + } + + /** + * Getter for yx.idc9998_admin_info.g_30. 极速赛车 + */ + public Integer getG_30() { + return (Integer) get(12); + } + + /** + * Setter for yx.idc9998_admin_info.g_31. 极速飞艇 + */ + public void setG_31(Integer value) { + set(13, value); + } + + /** + * Getter for yx.idc9998_admin_info.g_31. 极速飞艇 + */ + public Integer getG_31() { + return (Integer) get(13); + } + + /** + * Setter for yx.idc9998_admin_info.g_35. 澳洲幸运5 + */ + public void setG_35(Integer value) { + set(14, value); + } + + /** + * Getter for yx.idc9998_admin_info.g_35. 澳洲幸运5 + */ + public Integer getG_35() { + return (Integer) get(14); + } + + /** + * Setter for yx.idc9998_admin_info.g_37. 澳洲幸运10 + */ + public void setG_37(Integer value) { + set(15, value); + } + + /** + * Getter for yx.idc9998_admin_info.g_37. 澳洲幸运10 + */ + public Integer getG_37() { + return (Integer) get(15); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Record16 type implementation + // ------------------------------------------------------------------------- + + @Override + public Row16 fieldsRow() { + return (Row16) super.fieldsRow(); + } + + @Override + public Row16 valuesRow() { + return (Row16) super.valuesRow(); + } + + @Override + public Field field1() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID; + } + + @Override + public Field field2() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.STATUS; + } + + @Override + public Field field3() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.MANAGER_NAME; + } + + @Override + public Field field4() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.MEMBER_NAME; + } + + @Override + public Field field5() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_NAME; + } + + @Override + public Field field6() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_PASSWORD; + } + + @Override + public Field field7() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.DOMAIN; + } + + @Override + public Field field8() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_DEFAULT; + } + + @Override + public Field field9() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_ONLINE; + } + + @Override + public Field field10() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.LOGIN_INFO; + } + + @Override + public Field field11() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_24; + } + + @Override + public Field field12() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_29; + } + + @Override + public Field field13() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_30; + } + + @Override + public Field field14() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_31; + } + + @Override + public Field field15() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_35; + } + + @Override + public Field field16() { + return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_37; + } + + @Override + public String component1() { + return getId(); + } + + @Override + public Integer component2() { + return getStatus(); + } + + @Override + public String component3() { + return getManagerName(); + } + + @Override + public String component4() { + return getMemberName(); + } + + @Override + public String component5() { + return getUserName(); + } + + @Override + public String component6() { + return getUserPassword(); + } + + @Override + public String component7() { + return getDomain(); + } + + @Override + public Integer component8() { + return getIsDefault(); + } + + @Override + public Integer component9() { + return getIsOnline(); + } + + @Override + public String component10() { + return getLoginInfo(); + } + + @Override + public Integer component11() { + return getG_24(); + } + + @Override + public Integer component12() { + return getG_29(); + } + + @Override + public Integer component13() { + return getG_30(); + } + + @Override + public Integer component14() { + return getG_31(); + } + + @Override + public Integer component15() { + return getG_35(); + } + + @Override + public Integer component16() { + return getG_37(); + } + + @Override + public String value1() { + return getId(); + } + + @Override + public Integer value2() { + return getStatus(); + } + + @Override + public String value3() { + return getManagerName(); + } + + @Override + public String value4() { + return getMemberName(); + } + + @Override + public String value5() { + return getUserName(); + } + + @Override + public String value6() { + return getUserPassword(); + } + + @Override + public String value7() { + return getDomain(); + } + + @Override + public Integer value8() { + return getIsDefault(); + } + + @Override + public Integer value9() { + return getIsOnline(); + } + + @Override + public String value10() { + return getLoginInfo(); + } + + @Override + public Integer value11() { + return getG_24(); + } + + @Override + public Integer value12() { + return getG_29(); + } + + @Override + public Integer value13() { + return getG_30(); + } + + @Override + public Integer value14() { + return getG_31(); + } + + @Override + public Integer value15() { + return getG_35(); + } + + @Override + public Integer value16() { + return getG_37(); + } + + @Override + public Idc9998AdminInfoRecord value1(String value) { + setId(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value2(Integer value) { + setStatus(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value3(String value) { + setManagerName(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value4(String value) { + setMemberName(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value5(String value) { + setUserName(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value6(String value) { + setUserPassword(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value7(String value) { + setDomain(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value8(Integer value) { + setIsDefault(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value9(Integer value) { + setIsOnline(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value10(String value) { + setLoginInfo(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value11(Integer value) { + setG_24(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value12(Integer value) { + setG_29(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value13(Integer value) { + setG_30(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value14(Integer value) { + setG_31(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value15(Integer value) { + setG_35(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord value16(Integer value) { + setG_37(value); + return this; + } + + @Override + public Idc9998AdminInfoRecord values(String value1, Integer value2, String value3, String value4, String value5, String value6, String value7, Integer value8, Integer value9, String value10, Integer value11, Integer value12, Integer value13, Integer value14, Integer value15, Integer value16) { + value1(value1); + value2(value2); + value3(value3); + value4(value4); + value5(value5); + value6(value6); + value7(value7); + value8(value8); + value9(value9); + value10(value10); + value11(value11); + value12(value12); + value13(value13); + value14(value14); + value15(value15); + value16(value16); + return this; + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached Idc9998AdminInfoRecord + */ + public Idc9998AdminInfoRecord() { + super(Idc9998AdminInfo.IDC9998_ADMIN_INFO); + } + + /** + * Create a detached, initialised Idc9998AdminInfoRecord + */ + public Idc9998AdminInfoRecord(String id, Integer status, String managerName, String memberName, String userName, String userPassword, String domain, Integer isDefault, Integer isOnline, String loginInfo, Integer g_24, Integer g_29, Integer g_30, Integer g_31, Integer g_35, Integer g_37) { + super(Idc9998AdminInfo.IDC9998_ADMIN_INFO); + + setId(id); + setStatus(status); + setManagerName(managerName); + setMemberName(memberName); + setUserName(userName); + setUserPassword(userPassword); + setDomain(domain); + setIsDefault(isDefault); + setIsOnline(isOnline); + setLoginInfo(loginInfo); + setG_24(g_24); + setG_29(g_29); + setG_30(g_30); + setG_31(g_31); + setG_35(g_35); + setG_37(g_37); + resetChangedOnNotNull(); + } + + /** + * Create a detached, initialised Idc9998AdminInfoRecord + */ + public Idc9998AdminInfoRecord(jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo value) { + super(Idc9998AdminInfo.IDC9998_ADMIN_INFO); + + if (value != null) { + setId(value.getId()); + setStatus(value.getStatus()); + setManagerName(value.getManagerName()); + setMemberName(value.getMemberName()); + setUserName(value.getUserName()); + setUserPassword(value.getUserPassword()); + setDomain(value.getDomain()); + setIsDefault(value.getIsDefault()); + setIsOnline(value.getIsOnline()); + setLoginInfo(value.getLoginInfo()); + setG_24(value.getG_24()); + setG_29(value.getG_29()); + setG_30(value.getG_30()); + setG_31(value.getG_31()); + setG_35(value.getG_35()); + setG_37(value.getG_37()); + resetChangedOnNotNull(); + } + } +} diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/CurrentG24Controller.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/CurrentG24Controller.java new file mode 100644 index 0000000..e06c0bb --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/CurrentG24Controller.java @@ -0,0 +1,37 @@ +package jj.tech.paolu.repository.mybatis.control; + +import jj.tech.paolu.repository.mybatis.dao.CurrentG24Mapper; +import jj.tech.paolu.repository.mybatis.entity.CurrentG24; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("mybatis/currentG24") +public class CurrentG24Controller { + + @Autowired + public CurrentG24Mapper currentG24Mapper; + + @PostMapping("findById/{id}") + public Object findById(@PathVariable("id") String id) { + return R.SUCCESS(currentG24Mapper.selectByPrimaryKey(id).orElse(null)); + } + + @PostMapping("delete/{id}") + public Object delete(@PathVariable("id") String id) { + return R.SUCCESS(currentG24Mapper.deleteByPrimaryKey(id)); + } + + @PostMapping("save") + public Object save(@RequestBody CurrentG24 record) { + record.setId(IDHelp.getInstance().nextId()); + return R.SUCCESS(currentG24Mapper.insertSelective(record)); + } + + @PostMapping("update") + public Object update(@RequestBody CurrentG24 record) { + return R.SUCCESS(currentG24Mapper.updateByPrimaryKeySelective(record)); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/HistoryG24Controller.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/HistoryG24Controller.java new file mode 100644 index 0000000..d80d6bf --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/HistoryG24Controller.java @@ -0,0 +1,37 @@ +package jj.tech.paolu.repository.mybatis.control; + +import jj.tech.paolu.repository.mybatis.dao.HistoryG24Mapper; +import jj.tech.paolu.repository.mybatis.entity.HistoryG24; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("mybatis/historyG24") +public class HistoryG24Controller { + + @Autowired + public HistoryG24Mapper historyG24Mapper; + + @PostMapping("findById/{id}") + public Object findById(@PathVariable("id") String id) { + return R.SUCCESS(historyG24Mapper.selectByPrimaryKey(id).orElse(null)); + } + + @PostMapping("delete/{id}") + public Object delete(@PathVariable("id") String id) { + return R.SUCCESS(historyG24Mapper.deleteByPrimaryKey(id)); + } + + @PostMapping("save") + public Object save(@RequestBody HistoryG24 record) { + record.setId(IDHelp.getInstance().nextId()); + return R.SUCCESS(historyG24Mapper.insertSelective(record)); + } + + @PostMapping("update") + public Object update(@RequestBody HistoryG24 record) { + return R.SUCCESS(historyG24Mapper.updateByPrimaryKeySelective(record)); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/control/Idc9998AdminInfoController.java b/src/main/java/jj/tech/paolu/repository/mybatis/control/Idc9998AdminInfoController.java new file mode 100644 index 0000000..f342fe7 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/control/Idc9998AdminInfoController.java @@ -0,0 +1,37 @@ +package jj.tech.paolu.repository.mybatis.control; + +import jj.tech.paolu.repository.mybatis.dao.Idc9998AdminInfoMapper; +import jj.tech.paolu.repository.mybatis.entity.Idc9998AdminInfo; +import jj.tech.paolu.utils.IDHelp; +import jj.tech.paolu.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("mybatis/idc9998AdminInfo") +public class Idc9998AdminInfoController { + + @Autowired + public Idc9998AdminInfoMapper idc9998AdminInfoMapper; + + @PostMapping("findById/{id}") + public Object findById(@PathVariable("id") String id) { + return R.SUCCESS(idc9998AdminInfoMapper.selectByPrimaryKey(id).orElse(null)); + } + + @PostMapping("delete/{id}") + public Object delete(@PathVariable("id") String id) { + return R.SUCCESS(idc9998AdminInfoMapper.deleteByPrimaryKey(id)); + } + + @PostMapping("save") + public Object save(@RequestBody Idc9998AdminInfo record) { + record.setId(IDHelp.getInstance().nextId()); + return R.SUCCESS(idc9998AdminInfoMapper.insertSelective(record)); + } + + @PostMapping("update") + public Object update(@RequestBody Idc9998AdminInfo record) { + return R.SUCCESS(idc9998AdminInfoMapper.updateByPrimaryKeySelective(record)); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/CurrentG24Mapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/CurrentG24Mapper.java new file mode 100644 index 0000000..b9a9f85 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/CurrentG24Mapper.java @@ -0,0 +1,193 @@ +package jj.tech.paolu.repository.mybatis.dao; + +import static jj.tech.paolu.repository.mybatis.dao.support.CurrentG24DynamicSqlSupport.*; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import jakarta.annotation.Generated; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import jj.tech.paolu.repository.mybatis.entity.CurrentG24; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.ResultMap; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.type.JdbcType; +import org.mybatis.dynamic.sql.BasicColumn; +import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; +import org.mybatis.dynamic.sql.select.CountDSLCompleter; +import org.mybatis.dynamic.sql.select.SelectDSLCompleter; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.update.UpdateDSL; +import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; +import org.mybatis.dynamic.sql.update.UpdateModel; +import org.mybatis.dynamic.sql.util.SqlProviderAdapter; +import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; +import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; + +@Mapper +public interface CurrentG24Mapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + BasicColumn[] selectList = BasicColumn.columnList(id, newIssue, issue, ball, closeTime, openTime, addTime, gameID); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source Table: yx..current_g24") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @Results(id="CurrentG24Result", value = { + @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="newIssue", property="newIssue", jdbcType=JdbcType.VARCHAR), + @Result(column="issue", property="issue", jdbcType=JdbcType.VARCHAR), + @Result(column="ball", property="ball", jdbcType=JdbcType.VARCHAR), + @Result(column="closeTime", property="closeTime", jdbcType=JdbcType.INTEGER), + @Result(column="openTime", property="openTime", jdbcType=JdbcType.INTEGER), + @Result(column="addTime", property="addTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="gameID", property="gameID", jdbcType=JdbcType.VARCHAR) + }) + List selectMany(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source Table: yx..current_g24") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @ResultMap("CurrentG24Result") + Optional selectOne(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source Table: yx..current_g24") + default long count(CountDSLCompleter completer) { + return MyBatis3Utils.countFrom(this::count, currentG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source Table: yx..current_g24") + default int delete(DeleteDSLCompleter completer) { + return MyBatis3Utils.deleteFrom(this::delete, currentG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default int deleteByPrimaryKey(String id_) { + return delete(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default int insert(CurrentG24 row) { + return MyBatis3Utils.insert(this::insert, row, currentG24, c -> + c.map(id).toProperty("id") + .map(newIssue).toProperty("newIssue") + .map(issue).toProperty("issue") + .map(ball).toProperty("ball") + .map(closeTime).toProperty("closeTime") + .map(openTime).toProperty("openTime") + .map(addTime).toProperty("addTime") + .map(gameID).toProperty("gameID") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default int insertMultiple(Collection records) { + return MyBatis3Utils.insertMultiple(this::insertMultiple, records, currentG24, c -> + c.map(id).toProperty("id") + .map(newIssue).toProperty("newIssue") + .map(issue).toProperty("issue") + .map(ball).toProperty("ball") + .map(closeTime).toProperty("closeTime") + .map(openTime).toProperty("openTime") + .map(addTime).toProperty("addTime") + .map(gameID).toProperty("gameID") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default int insertSelective(CurrentG24 row) { + return MyBatis3Utils.insert(this::insert, row, currentG24, c -> + c.map(id).toPropertyWhenPresent("id", row::getId) + .map(newIssue).toPropertyWhenPresent("newIssue", row::getNewIssue) + .map(issue).toPropertyWhenPresent("issue", row::getIssue) + .map(ball).toPropertyWhenPresent("ball", row::getBall) + .map(closeTime).toPropertyWhenPresent("closeTime", row::getCloseTime) + .map(openTime).toPropertyWhenPresent("openTime", row::getOpenTime) + .map(addTime).toPropertyWhenPresent("addTime", row::getAddTime) + .map(gameID).toPropertyWhenPresent("gameID", row::getGameID) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default Optional selectOne(SelectDSLCompleter completer) { + return MyBatis3Utils.selectOne(this::selectOne, selectList, currentG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default List select(SelectDSLCompleter completer) { + return MyBatis3Utils.selectList(this::selectMany, selectList, currentG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default List selectDistinct(SelectDSLCompleter completer) { + return MyBatis3Utils.selectDistinct(this::selectMany, selectList, currentG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default Optional selectByPrimaryKey(String id_) { + return selectOne(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default int update(UpdateDSLCompleter completer) { + return MyBatis3Utils.update(this::update, currentG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + static UpdateDSL updateAllColumns(CurrentG24 row, UpdateDSL dsl) { + return dsl.set(id).equalTo(row::getId) + .set(newIssue).equalTo(row::getNewIssue) + .set(issue).equalTo(row::getIssue) + .set(ball).equalTo(row::getBall) + .set(closeTime).equalTo(row::getCloseTime) + .set(openTime).equalTo(row::getOpenTime) + .set(addTime).equalTo(row::getAddTime) + .set(gameID).equalTo(row::getGameID); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + static UpdateDSL updateSelectiveColumns(CurrentG24 row, UpdateDSL dsl) { + return dsl.set(id).equalToWhenPresent(row::getId) + .set(newIssue).equalToWhenPresent(row::getNewIssue) + .set(issue).equalToWhenPresent(row::getIssue) + .set(ball).equalToWhenPresent(row::getBall) + .set(closeTime).equalToWhenPresent(row::getCloseTime) + .set(openTime).equalToWhenPresent(row::getOpenTime) + .set(addTime).equalToWhenPresent(row::getAddTime) + .set(gameID).equalToWhenPresent(row::getGameID); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7001825+08:00", comments="Source Table: yx..current_g24") + default int updateByPrimaryKey(CurrentG24 row) { + return update(c -> + c.set(newIssue).equalTo(row::getNewIssue) + .set(issue).equalTo(row::getIssue) + .set(ball).equalTo(row::getBall) + .set(closeTime).equalTo(row::getCloseTime) + .set(openTime).equalTo(row::getOpenTime) + .set(addTime).equalTo(row::getAddTime) + .set(gameID).equalTo(row::getGameID) + .where(id, isEqualTo(row::getId)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7011827+08:00", comments="Source Table: yx..current_g24") + default int updateByPrimaryKeySelective(CurrentG24 row) { + return update(c -> + c.set(newIssue).equalToWhenPresent(row::getNewIssue) + .set(issue).equalToWhenPresent(row::getIssue) + .set(ball).equalToWhenPresent(row::getBall) + .set(closeTime).equalToWhenPresent(row::getCloseTime) + .set(openTime).equalToWhenPresent(row::getOpenTime) + .set(addTime).equalToWhenPresent(row::getAddTime) + .set(gameID).equalToWhenPresent(row::getGameID) + .where(id, isEqualTo(row::getId)) + ); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/HistoryG24Mapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/HistoryG24Mapper.java new file mode 100644 index 0000000..812d593 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/HistoryG24Mapper.java @@ -0,0 +1,193 @@ +package jj.tech.paolu.repository.mybatis.dao; + +import static jj.tech.paolu.repository.mybatis.dao.support.HistoryG24DynamicSqlSupport.*; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import jakarta.annotation.Generated; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import jj.tech.paolu.repository.mybatis.entity.HistoryG24; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.ResultMap; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.type.JdbcType; +import org.mybatis.dynamic.sql.BasicColumn; +import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; +import org.mybatis.dynamic.sql.select.CountDSLCompleter; +import org.mybatis.dynamic.sql.select.SelectDSLCompleter; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.update.UpdateDSL; +import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; +import org.mybatis.dynamic.sql.update.UpdateModel; +import org.mybatis.dynamic.sql.util.SqlProviderAdapter; +import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; +import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; + +@Mapper +public interface HistoryG24Mapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + BasicColumn[] selectList = BasicColumn.columnList(id, newIssue, issue, ball, closeTime, openTime, addTime, gameID); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @Results(id="HistoryG24Result", value = { + @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="newIssue", property="newIssue", jdbcType=JdbcType.VARCHAR), + @Result(column="issue", property="issue", jdbcType=JdbcType.VARCHAR), + @Result(column="ball", property="ball", jdbcType=JdbcType.VARCHAR), + @Result(column="closeTime", property="closeTime", jdbcType=JdbcType.INTEGER), + @Result(column="openTime", property="openTime", jdbcType=JdbcType.INTEGER), + @Result(column="addTime", property="addTime", jdbcType=JdbcType.TIMESTAMP), + @Result(column="gameID", property="gameID", jdbcType=JdbcType.VARCHAR) + }) + List selectMany(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @ResultMap("HistoryG24Result") + Optional selectOne(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + default long count(CountDSLCompleter completer) { + return MyBatis3Utils.countFrom(this::count, historyG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + default int delete(DeleteDSLCompleter completer) { + return MyBatis3Utils.deleteFrom(this::delete, historyG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + default int deleteByPrimaryKey(String id_) { + return delete(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + default int insert(HistoryG24 row) { + return MyBatis3Utils.insert(this::insert, row, historyG24, c -> + c.map(id).toProperty("id") + .map(newIssue).toProperty("newIssue") + .map(issue).toProperty("issue") + .map(ball).toProperty("ball") + .map(closeTime).toProperty("closeTime") + .map(openTime).toProperty("openTime") + .map(addTime).toProperty("addTime") + .map(gameID).toProperty("gameID") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + default int insertMultiple(Collection records) { + return MyBatis3Utils.insertMultiple(this::insertMultiple, records, historyG24, c -> + c.map(id).toProperty("id") + .map(newIssue).toProperty("newIssue") + .map(issue).toProperty("issue") + .map(ball).toProperty("ball") + .map(closeTime).toProperty("closeTime") + .map(openTime).toProperty("openTime") + .map(addTime).toProperty("addTime") + .map(gameID).toProperty("gameID") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default int insertSelective(HistoryG24 row) { + return MyBatis3Utils.insert(this::insert, row, historyG24, c -> + c.map(id).toPropertyWhenPresent("id", row::getId) + .map(newIssue).toPropertyWhenPresent("newIssue", row::getNewIssue) + .map(issue).toPropertyWhenPresent("issue", row::getIssue) + .map(ball).toPropertyWhenPresent("ball", row::getBall) + .map(closeTime).toPropertyWhenPresent("closeTime", row::getCloseTime) + .map(openTime).toPropertyWhenPresent("openTime", row::getOpenTime) + .map(addTime).toPropertyWhenPresent("addTime", row::getAddTime) + .map(gameID).toPropertyWhenPresent("gameID", row::getGameID) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default Optional selectOne(SelectDSLCompleter completer) { + return MyBatis3Utils.selectOne(this::selectOne, selectList, historyG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default List select(SelectDSLCompleter completer) { + return MyBatis3Utils.selectList(this::selectMany, selectList, historyG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default List selectDistinct(SelectDSLCompleter completer) { + return MyBatis3Utils.selectDistinct(this::selectMany, selectList, historyG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default Optional selectByPrimaryKey(String id_) { + return selectOne(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default int update(UpdateDSLCompleter completer) { + return MyBatis3Utils.update(this::update, historyG24, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + static UpdateDSL updateAllColumns(HistoryG24 row, UpdateDSL dsl) { + return dsl.set(id).equalTo(row::getId) + .set(newIssue).equalTo(row::getNewIssue) + .set(issue).equalTo(row::getIssue) + .set(ball).equalTo(row::getBall) + .set(closeTime).equalTo(row::getCloseTime) + .set(openTime).equalTo(row::getOpenTime) + .set(addTime).equalTo(row::getAddTime) + .set(gameID).equalTo(row::getGameID); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + static UpdateDSL updateSelectiveColumns(HistoryG24 row, UpdateDSL dsl) { + return dsl.set(id).equalToWhenPresent(row::getId) + .set(newIssue).equalToWhenPresent(row::getNewIssue) + .set(issue).equalToWhenPresent(row::getIssue) + .set(ball).equalToWhenPresent(row::getBall) + .set(closeTime).equalToWhenPresent(row::getCloseTime) + .set(openTime).equalToWhenPresent(row::getOpenTime) + .set(addTime).equalToWhenPresent(row::getAddTime) + .set(gameID).equalToWhenPresent(row::getGameID); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default int updateByPrimaryKey(HistoryG24 row) { + return update(c -> + c.set(newIssue).equalTo(row::getNewIssue) + .set(issue).equalTo(row::getIssue) + .set(ball).equalTo(row::getBall) + .set(closeTime).equalTo(row::getCloseTime) + .set(openTime).equalTo(row::getOpenTime) + .set(addTime).equalTo(row::getAddTime) + .set(gameID).equalTo(row::getGameID) + .where(id, isEqualTo(row::getId)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7121816+08:00", comments="Source Table: yx..history_g24") + default int updateByPrimaryKeySelective(HistoryG24 row) { + return update(c -> + c.set(newIssue).equalToWhenPresent(row::getNewIssue) + .set(issue).equalToWhenPresent(row::getIssue) + .set(ball).equalToWhenPresent(row::getBall) + .set(closeTime).equalToWhenPresent(row::getCloseTime) + .set(openTime).equalToWhenPresent(row::getOpenTime) + .set(addTime).equalToWhenPresent(row::getAddTime) + .set(gameID).equalToWhenPresent(row::getGameID) + .where(id, isEqualTo(row::getId)) + ); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/Idc9998AdminInfoMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/Idc9998AdminInfoMapper.java new file mode 100644 index 0000000..39bfff1 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/Idc9998AdminInfoMapper.java @@ -0,0 +1,257 @@ +package jj.tech.paolu.repository.mybatis.dao; + +import static jj.tech.paolu.repository.mybatis.dao.support.Idc9998AdminInfoDynamicSqlSupport.*; +import static org.mybatis.dynamic.sql.SqlBuilder.isEqualTo; + +import jakarta.annotation.Generated; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import jj.tech.paolu.repository.mybatis.entity.Idc9998AdminInfo; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.ResultMap; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.type.JdbcType; +import org.mybatis.dynamic.sql.BasicColumn; +import org.mybatis.dynamic.sql.delete.DeleteDSLCompleter; +import org.mybatis.dynamic.sql.select.CountDSLCompleter; +import org.mybatis.dynamic.sql.select.SelectDSLCompleter; +import org.mybatis.dynamic.sql.select.render.SelectStatementProvider; +import org.mybatis.dynamic.sql.update.UpdateDSL; +import org.mybatis.dynamic.sql.update.UpdateDSLCompleter; +import org.mybatis.dynamic.sql.update.UpdateModel; +import org.mybatis.dynamic.sql.util.SqlProviderAdapter; +import org.mybatis.dynamic.sql.util.mybatis3.CommonCountMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonDeleteMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonInsertMapper; +import org.mybatis.dynamic.sql.util.mybatis3.CommonUpdateMapper; +import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; + +@Mapper +public interface Idc9998AdminInfoMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6651851+08:00", comments="Source Table: yx..idc9998_admin_info") + BasicColumn[] selectList = BasicColumn.columnList(id, status, manager_name, member_name, user_name, user_password, domain, is_default, is_online, login_info, g_24, g_29, g_30, g_31, g_35, g_37); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6551804+08:00", comments="Source Table: yx..idc9998_admin_info") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @Results(id="Idc9998AdminInfoResult", value = { + @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), + @Result(column="status", property="status", jdbcType=JdbcType.INTEGER), + @Result(column="manager_name", property="manager_name", jdbcType=JdbcType.VARCHAR), + @Result(column="member_name", property="member_name", jdbcType=JdbcType.VARCHAR), + @Result(column="user_name", property="user_name", jdbcType=JdbcType.VARCHAR), + @Result(column="user_password", property="user_password", jdbcType=JdbcType.VARCHAR), + @Result(column="domain", property="domain", jdbcType=JdbcType.VARCHAR), + @Result(column="is_default", property="is_default", jdbcType=JdbcType.INTEGER), + @Result(column="is_online", property="is_online", jdbcType=JdbcType.INTEGER), + @Result(column="login_info", property="login_info", jdbcType=JdbcType.VARCHAR), + @Result(column="g_24", property="g_24", jdbcType=JdbcType.INTEGER), + @Result(column="g_29", property="g_29", jdbcType=JdbcType.INTEGER), + @Result(column="g_30", property="g_30", jdbcType=JdbcType.INTEGER), + @Result(column="g_31", property="g_31", jdbcType=JdbcType.INTEGER), + @Result(column="g_35", property="g_35", jdbcType=JdbcType.INTEGER), + @Result(column="g_37", property="g_37", jdbcType=JdbcType.INTEGER) + }) + List selectMany(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.658183+08:00", comments="Source Table: yx..idc9998_admin_info") + @SelectProvider(type=SqlProviderAdapter.class, method="select") + @ResultMap("Idc9998AdminInfoResult") + Optional selectOne(SelectStatementProvider selectStatement); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.658183+08:00", comments="Source Table: yx..idc9998_admin_info") + default long count(CountDSLCompleter completer) { + return MyBatis3Utils.countFrom(this::count, idc9998AdminInfo, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6591831+08:00", comments="Source Table: yx..idc9998_admin_info") + default int delete(DeleteDSLCompleter completer) { + return MyBatis3Utils.deleteFrom(this::delete, idc9998AdminInfo, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6591831+08:00", comments="Source Table: yx..idc9998_admin_info") + default int deleteByPrimaryKey(String id_) { + return delete(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6601834+08:00", comments="Source Table: yx..idc9998_admin_info") + default int insert(Idc9998AdminInfo row) { + return MyBatis3Utils.insert(this::insert, row, idc9998AdminInfo, c -> + c.map(id).toProperty("id") + .map(status).toProperty("status") + .map(manager_name).toProperty("manager_name") + .map(member_name).toProperty("member_name") + .map(user_name).toProperty("user_name") + .map(user_password).toProperty("user_password") + .map(domain).toProperty("domain") + .map(is_default).toProperty("is_default") + .map(is_online).toProperty("is_online") + .map(login_info).toProperty("login_info") + .map(g_24).toProperty("g_24") + .map(g_29).toProperty("g_29") + .map(g_30).toProperty("g_30") + .map(g_31).toProperty("g_31") + .map(g_35).toProperty("g_35") + .map(g_37).toProperty("g_37") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6631839+08:00", comments="Source Table: yx..idc9998_admin_info") + default int insertMultiple(Collection records) { + return MyBatis3Utils.insertMultiple(this::insertMultiple, records, idc9998AdminInfo, c -> + c.map(id).toProperty("id") + .map(status).toProperty("status") + .map(manager_name).toProperty("manager_name") + .map(member_name).toProperty("member_name") + .map(user_name).toProperty("user_name") + .map(user_password).toProperty("user_password") + .map(domain).toProperty("domain") + .map(is_default).toProperty("is_default") + .map(is_online).toProperty("is_online") + .map(login_info).toProperty("login_info") + .map(g_24).toProperty("g_24") + .map(g_29).toProperty("g_29") + .map(g_30).toProperty("g_30") + .map(g_31).toProperty("g_31") + .map(g_35).toProperty("g_35") + .map(g_37).toProperty("g_37") + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6641841+08:00", comments="Source Table: yx..idc9998_admin_info") + default int insertSelective(Idc9998AdminInfo row) { + return MyBatis3Utils.insert(this::insert, row, idc9998AdminInfo, c -> + c.map(id).toPropertyWhenPresent("id", row::getId) + .map(status).toPropertyWhenPresent("status", row::getStatus) + .map(manager_name).toPropertyWhenPresent("manager_name", row::getManager_name) + .map(member_name).toPropertyWhenPresent("member_name", row::getMember_name) + .map(user_name).toPropertyWhenPresent("user_name", row::getUser_name) + .map(user_password).toPropertyWhenPresent("user_password", row::getUser_password) + .map(domain).toPropertyWhenPresent("domain", row::getDomain) + .map(is_default).toPropertyWhenPresent("is_default", row::getIs_default) + .map(is_online).toPropertyWhenPresent("is_online", row::getIs_online) + .map(login_info).toPropertyWhenPresent("login_info", row::getLogin_info) + .map(g_24).toPropertyWhenPresent("g_24", row::getG_24) + .map(g_29).toPropertyWhenPresent("g_29", row::getG_29) + .map(g_30).toPropertyWhenPresent("g_30", row::getG_30) + .map(g_31).toPropertyWhenPresent("g_31", row::getG_31) + .map(g_35).toPropertyWhenPresent("g_35", row::getG_35) + .map(g_37).toPropertyWhenPresent("g_37", row::getG_37) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6661857+08:00", comments="Source Table: yx..idc9998_admin_info") + default Optional selectOne(SelectDSLCompleter completer) { + return MyBatis3Utils.selectOne(this::selectOne, selectList, idc9998AdminInfo, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6661857+08:00", comments="Source Table: yx..idc9998_admin_info") + default List select(SelectDSLCompleter completer) { + return MyBatis3Utils.selectList(this::selectMany, selectList, idc9998AdminInfo, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6671844+08:00", comments="Source Table: yx..idc9998_admin_info") + default List selectDistinct(SelectDSLCompleter completer) { + return MyBatis3Utils.selectDistinct(this::selectMany, selectList, idc9998AdminInfo, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6671844+08:00", comments="Source Table: yx..idc9998_admin_info") + default Optional selectByPrimaryKey(String id_) { + return selectOne(c -> + c.where(id, isEqualTo(id_)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6681829+08:00", comments="Source Table: yx..idc9998_admin_info") + default int update(UpdateDSLCompleter completer) { + return MyBatis3Utils.update(this::update, idc9998AdminInfo, completer); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6681829+08:00", comments="Source Table: yx..idc9998_admin_info") + static UpdateDSL updateAllColumns(Idc9998AdminInfo row, UpdateDSL dsl) { + return dsl.set(id).equalTo(row::getId) + .set(status).equalTo(row::getStatus) + .set(manager_name).equalTo(row::getManager_name) + .set(member_name).equalTo(row::getMember_name) + .set(user_name).equalTo(row::getUser_name) + .set(user_password).equalTo(row::getUser_password) + .set(domain).equalTo(row::getDomain) + .set(is_default).equalTo(row::getIs_default) + .set(is_online).equalTo(row::getIs_online) + .set(login_info).equalTo(row::getLogin_info) + .set(g_24).equalTo(row::getG_24) + .set(g_29).equalTo(row::getG_29) + .set(g_30).equalTo(row::getG_30) + .set(g_31).equalTo(row::getG_31) + .set(g_35).equalTo(row::getG_35) + .set(g_37).equalTo(row::getG_37); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6691836+08:00", comments="Source Table: yx..idc9998_admin_info") + static UpdateDSL updateSelectiveColumns(Idc9998AdminInfo row, UpdateDSL dsl) { + return dsl.set(id).equalToWhenPresent(row::getId) + .set(status).equalToWhenPresent(row::getStatus) + .set(manager_name).equalToWhenPresent(row::getManager_name) + .set(member_name).equalToWhenPresent(row::getMember_name) + .set(user_name).equalToWhenPresent(row::getUser_name) + .set(user_password).equalToWhenPresent(row::getUser_password) + .set(domain).equalToWhenPresent(row::getDomain) + .set(is_default).equalToWhenPresent(row::getIs_default) + .set(is_online).equalToWhenPresent(row::getIs_online) + .set(login_info).equalToWhenPresent(row::getLogin_info) + .set(g_24).equalToWhenPresent(row::getG_24) + .set(g_29).equalToWhenPresent(row::getG_29) + .set(g_30).equalToWhenPresent(row::getG_30) + .set(g_31).equalToWhenPresent(row::getG_31) + .set(g_35).equalToWhenPresent(row::getG_35) + .set(g_37).equalToWhenPresent(row::getG_37); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6701847+08:00", comments="Source Table: yx..idc9998_admin_info") + default int updateByPrimaryKey(Idc9998AdminInfo row) { + return update(c -> + c.set(status).equalTo(row::getStatus) + .set(manager_name).equalTo(row::getManager_name) + .set(member_name).equalTo(row::getMember_name) + .set(user_name).equalTo(row::getUser_name) + .set(user_password).equalTo(row::getUser_password) + .set(domain).equalTo(row::getDomain) + .set(is_default).equalTo(row::getIs_default) + .set(is_online).equalTo(row::getIs_online) + .set(login_info).equalTo(row::getLogin_info) + .set(g_24).equalTo(row::getG_24) + .set(g_29).equalTo(row::getG_29) + .set(g_30).equalTo(row::getG_30) + .set(g_31).equalTo(row::getG_31) + .set(g_35).equalTo(row::getG_35) + .set(g_37).equalTo(row::getG_37) + .where(id, isEqualTo(row::getId)) + ); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6701847+08:00", comments="Source Table: yx..idc9998_admin_info") + default int updateByPrimaryKeySelective(Idc9998AdminInfo row) { + return update(c -> + c.set(status).equalToWhenPresent(row::getStatus) + .set(manager_name).equalToWhenPresent(row::getManager_name) + .set(member_name).equalToWhenPresent(row::getMember_name) + .set(user_name).equalToWhenPresent(row::getUser_name) + .set(user_password).equalToWhenPresent(row::getUser_password) + .set(domain).equalToWhenPresent(row::getDomain) + .set(is_default).equalToWhenPresent(row::getIs_default) + .set(is_online).equalToWhenPresent(row::getIs_online) + .set(login_info).equalToWhenPresent(row::getLogin_info) + .set(g_24).equalToWhenPresent(row::getG_24) + .set(g_29).equalToWhenPresent(row::getG_29) + .set(g_30).equalToWhenPresent(row::getG_30) + .set(g_31).equalToWhenPresent(row::getG_31) + .set(g_35).equalToWhenPresent(row::getG_35) + .set(g_37).equalToWhenPresent(row::getG_37) + .where(id, isEqualTo(row::getId)) + ); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java index 3807bd2..4f1fd22 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") BasicColumn[] selectList = BasicColumn.columnList(id, org_id, type, realname, username, password, islock); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysAdminResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -47,29 +47,29 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysAdminResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") default int insert(SysAdmin row) { return MyBatis3Utils.insert(this::insert, row, sysAdmin, c -> c.map(id).toProperty("id") @@ -82,7 +82,7 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdmin, c -> c.map(id).toProperty("id") @@ -95,7 +95,7 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source Table: yx..sys_admin") default int insertSelective(SysAdmin row) { return MyBatis3Utils.insert(this::insert, row, sysAdmin, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -108,34 +108,34 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysAdmin, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") static UpdateDSL updateAllColumns(SysAdmin row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(org_id).equalTo(row::getOrg_id) @@ -146,7 +146,7 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C .set(islock).equalTo(row::getIslock); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5311723+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") static UpdateDSL updateSelectiveColumns(SysAdmin row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(org_id).equalToWhenPresent(row::getOrg_id) @@ -157,7 +157,7 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C .set(islock).equalToWhenPresent(row::getIslock); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default int updateByPrimaryKey(SysAdmin row) { return update(c -> c.set(org_id).equalTo(row::getOrg_id) @@ -170,7 +170,7 @@ public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, C ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6891846+08:00", comments="Source Table: yx..sys_admin") default int updateByPrimaryKeySelective(SysAdmin row) { return update(c -> c.set(org_id).equalToWhenPresent(row::getOrg_id) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java index 2c2851f..471fad7 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminMenuMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") BasicColumn[] selectList = BasicColumn.columnList(id, adminid, memuid); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysAdminMenuResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -43,29 +43,29 @@ public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMappe }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysAdminMenuResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysAdminMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysAdminMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default int insert(SysAdminMenu row) { return MyBatis3Utils.insert(this::insert, row, sysAdminMenu, c -> c.map(id).toProperty("id") @@ -74,7 +74,7 @@ public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdminMenu, c -> c.map(id).toProperty("id") @@ -83,7 +83,7 @@ public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default int insertSelective(SysAdminMenu row) { return MyBatis3Utils.insert(this::insert, row, sysAdminMenu, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -92,48 +92,48 @@ public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source Table: yx..sys_admin_menu") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdminMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdminMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdminMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysAdminMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") static UpdateDSL updateAllColumns(SysAdminMenu row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(adminid).equalTo(row::getAdminid) .set(memuid).equalTo(row::getMemuid); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") static UpdateDSL updateSelectiveColumns(SysAdminMenu row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(adminid).equalToWhenPresent(row::getAdminid) .set(memuid).equalToWhenPresent(row::getMemuid); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") default int updateByPrimaryKey(SysAdminMenu row) { return update(c -> c.set(adminid).equalTo(row::getAdminid) @@ -142,7 +142,7 @@ public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5161704+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6971916+08:00", comments="Source Table: yx..sys_admin_menu") default int updateByPrimaryKeySelective(SysAdminMenu row) { return update(c -> c.set(adminid).equalToWhenPresent(row::getAdminid) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java index fab49b3..54879fc 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysAdminRoleMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4982456+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") BasicColumn[] selectList = BasicColumn.columnList(id, admin_id, role_id); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.483235+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysAdminRoleResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -43,29 +43,29 @@ public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMappe }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4892512+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysAdminRoleResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.490254+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4922529+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.493245+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.493245+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") default int insert(SysAdminRole row) { return MyBatis3Utils.insert(this::insert, row, sysAdminRole, c -> c.map(id).toProperty("id") @@ -74,7 +74,7 @@ public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4962456+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysAdminRole, c -> c.map(id).toProperty("id") @@ -83,7 +83,7 @@ public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4972455+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source Table: yx..sys_admin_role") default int insertSelective(SysAdminRole row) { return MyBatis3Utils.insert(this::insert, row, sysAdminRole, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -92,48 +92,48 @@ public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4992445+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5002446+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5012455+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5023356+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5049039+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysAdminRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5059094+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") static UpdateDSL updateAllColumns(SysAdminRole row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(admin_id).equalTo(row::getAdmin_id) .set(role_id).equalTo(row::getRole_id); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5078731+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") static UpdateDSL updateSelectiveColumns(SysAdminRole row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(admin_id).equalToWhenPresent(row::getAdmin_id) .set(role_id).equalToWhenPresent(row::getRole_id); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5088551+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default int updateByPrimaryKey(SysAdminRole row) { return update(c -> c.set(admin_id).equalTo(row::getAdmin_id) @@ -142,7 +142,7 @@ public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMappe ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5098552+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source Table: yx..sys_admin_role") default int updateByPrimaryKeySelective(SysAdminRole row) { return update(c -> c.set(admin_id).equalToWhenPresent(row::getAdmin_id) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java index 0b0533f..e676189 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysConfigMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") BasicColumn[] selectList = BasicColumn.columnList(id, subgroup, k, val, admin_id, adminname, edittime); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysConfigResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -47,29 +47,29 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysConfigResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") default int insert(SysConfig row) { return MyBatis3Utils.insert(this::insert, row, sysConfig, c -> c.map(id).toProperty("id") @@ -82,7 +82,7 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5191747+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysConfig, c -> c.map(id).toProperty("id") @@ -95,7 +95,7 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source Table: yx..sys_config") default int insertSelective(SysConfig row) { return MyBatis3Utils.insert(this::insert, row, sysConfig, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -108,34 +108,34 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5201975+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysConfig, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") static UpdateDSL updateAllColumns(SysConfig row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(subgroup).equalTo(row::getSubgroup) @@ -146,7 +146,7 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, .set(edittime).equalTo(row::getEdittime); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") static UpdateDSL updateSelectiveColumns(SysConfig row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(subgroup).equalToWhenPresent(row::getSubgroup) @@ -157,7 +157,7 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, .set(edittime).equalToWhenPresent(row::getEdittime); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5211734+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default int updateByPrimaryKey(SysConfig row) { return update(c -> c.set(subgroup).equalTo(row::getSubgroup) @@ -170,7 +170,7 @@ public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6801823+08:00", comments="Source Table: yx..sys_config") default int updateByPrimaryKeySelective(SysConfig row) { return update(c -> c.set(subgroup).equalToWhenPresent(row::getSubgroup) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java index 8bb7df1..178005b 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysMenuMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") BasicColumn[] selectList = BasicColumn.columnList(id, parent_id, level, name, types, url, icon, is_open, description, sort); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysMenuResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -50,29 +50,29 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysMenuResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") default int insert(SysMenu row) { return MyBatis3Utils.insert(this::insert, row, sysMenu, c -> c.map(id).toProperty("id") @@ -88,7 +88,7 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysMenu, c -> c.map(id).toProperty("id") @@ -104,7 +104,7 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default int insertSelective(SysMenu row) { return MyBatis3Utils.insert(this::insert, row, sysMenu, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -120,34 +120,34 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5491711+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysMenu, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") static UpdateDSL updateAllColumns(SysMenu row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(parent_id).equalTo(row::getParent_id) @@ -161,7 +161,7 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(sort).equalTo(row::getSort); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") static UpdateDSL updateSelectiveColumns(SysMenu row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(parent_id).equalToWhenPresent(row::getParent_id) @@ -175,7 +175,7 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(sort).equalToWhenPresent(row::getSort); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default int updateByPrimaryKey(SysMenu row) { return update(c -> c.set(parent_id).equalTo(row::getParent_id) @@ -191,7 +191,7 @@ public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5501719+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.709184+08:00", comments="Source Table: yx..sys_menu") default int updateByPrimaryKeySelective(SysMenu row) { return update(c -> c.set(parent_id).equalToWhenPresent(row::getParent_id) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java index 09c5f24..fd05934 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysOrgMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") BasicColumn[] selectList = BasicColumn.columnList(id, pid, status, org_type); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source Table: yx..sys_org") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysOrgResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -44,29 +44,29 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysOrgResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default int insert(SysOrg row) { return MyBatis3Utils.insert(this::insert, row, sysOrg, c -> c.map(id).toProperty("id") @@ -76,7 +76,7 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysOrg, c -> c.map(id).toProperty("id") @@ -86,7 +86,7 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default int insertSelective(SysOrg row) { return MyBatis3Utils.insert(this::insert, row, sysOrg, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -96,34 +96,34 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.70618+08:00", comments="Source Table: yx..sys_org") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysOrg, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source Table: yx..sys_org") static UpdateDSL updateAllColumns(SysOrg row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(pid).equalTo(row::getPid) @@ -131,7 +131,7 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com .set(org_type).equalTo(row::getOrg_type); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source Table: yx..sys_org") static UpdateDSL updateSelectiveColumns(SysOrg row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(pid).equalToWhenPresent(row::getPid) @@ -139,7 +139,7 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com .set(org_type).equalToWhenPresent(row::getOrg_type); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source Table: yx..sys_org") default int updateByPrimaryKey(SysOrg row) { return update(c -> c.set(pid).equalTo(row::getPid) @@ -149,7 +149,7 @@ public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, Com ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source Table: yx..sys_org") default int updateByPrimaryKeySelective(SysOrg row) { return update(c -> c.set(pid).equalToWhenPresent(row::getPid) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java index 13fca20..d4186d6 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysResourceMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") BasicColumn[] selectList = BasicColumn.columnList(id, parent_id, level, name, types, url, icon, ishide, description); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysResourceResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -49,29 +49,29 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysResourceResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5381855+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5381855+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5381855+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") default int insert(SysResource row) { return MyBatis3Utils.insert(this::insert, row, sysResource, c -> c.map(id).toProperty("id") @@ -86,7 +86,7 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysResource, c -> c.map(id).toProperty("id") @@ -101,7 +101,7 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default int insertSelective(SysResource row) { return MyBatis3Utils.insert(this::insert, row, sysResource, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -116,34 +116,34 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5391786+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") static UpdateDSL updateAllColumns(SysResource row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(parent_id).equalTo(row::getParent_id) @@ -156,7 +156,7 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper .set(description).equalTo(row::getDescription); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") static UpdateDSL updateSelectiveColumns(SysResource row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(parent_id).equalToWhenPresent(row::getParent_id) @@ -169,7 +169,7 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper .set(description).equalToWhenPresent(row::getDescription); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default int updateByPrimaryKey(SysResource row) { return update(c -> c.set(parent_id).equalTo(row::getParent_id) @@ -184,7 +184,7 @@ public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5402136+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7041797+08:00", comments="Source Table: yx..sys_resource") default int updateByPrimaryKeySelective(SysResource row) { return update(c -> c.set(parent_id).equalToWhenPresent(row::getParent_id) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java index 2100aab..7513a31 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") BasicColumn[] selectList = BasicColumn.columnList(id, rolename, department); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysRoleResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -43,29 +43,29 @@ public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, Co }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysRoleResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default int insert(SysRole row) { return MyBatis3Utils.insert(this::insert, row, sysRole, c -> c.map(id).toProperty("id") @@ -74,7 +74,7 @@ public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRole, c -> c.map(id).toProperty("id") @@ -83,7 +83,7 @@ public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default int insertSelective(SysRole row) { return MyBatis3Utils.insert(this::insert, row, sysRole, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -92,48 +92,48 @@ public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6911844+08:00", comments="Source Table: yx..sys_role") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source Table: yx..sys_role") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysRole, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source Table: yx..sys_role") static UpdateDSL updateAllColumns(SysRole row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(rolename).equalTo(row::getRolename) .set(department).equalTo(row::getDepartment); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source Table: yx..sys_role") static UpdateDSL updateSelectiveColumns(SysRole row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(rolename).equalToWhenPresent(row::getRolename) .set(department).equalToWhenPresent(row::getDepartment); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source Table: yx..sys_role") default int updateByPrimaryKey(SysRole row) { return update(c -> c.set(rolename).equalTo(row::getRolename) @@ -142,7 +142,7 @@ public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source Table: yx..sys_role") default int updateByPrimaryKeySelective(SysRole row) { return update(c -> c.set(rolename).equalToWhenPresent(row::getRolename) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java index 6747b34..bbb3a21 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleResourceMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") BasicColumn[] selectList = BasicColumn.columnList(roleid, resid, id); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysRoleResourceResult", value = { @Result(column="roleid", property="roleid", jdbcType=JdbcType.VARCHAR, id=true), @@ -43,22 +43,22 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysRoleResourceResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysRoleResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysRoleResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") default int deleteByPrimaryKey(String roleid_, String resid_) { return delete(c -> c.where(roleid, isEqualTo(roleid_)) @@ -66,7 +66,7 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") default int insert(SysRoleResource row) { return MyBatis3Utils.insert(this::insert, row, sysRoleResource, c -> c.map(roleid).toProperty("roleid") @@ -75,7 +75,7 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRoleResource, c -> c.map(roleid).toProperty("roleid") @@ -84,7 +84,7 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source Table: yx..sys_role_resource") default int insertSelective(SysRoleResource row) { return MyBatis3Utils.insert(this::insert, row, sysRoleResource, c -> c.map(roleid).toPropertyWhenPresent("roleid", row::getRoleid) @@ -93,22 +93,22 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRoleResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysRoleResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRoleResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default Optional selectByPrimaryKey(String roleid_, String resid_) { return selectOne(c -> c.where(roleid, isEqualTo(roleid_)) @@ -116,26 +116,26 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysRoleResource, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") static UpdateDSL updateAllColumns(SysRoleResource row, UpdateDSL dsl) { return dsl.set(roleid).equalTo(row::getRoleid) .set(resid).equalTo(row::getResid) .set(id).equalTo(row::getId); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") static UpdateDSL updateSelectiveColumns(SysRoleResource row, UpdateDSL dsl) { return dsl.set(roleid).equalToWhenPresent(row::getRoleid) .set(resid).equalToWhenPresent(row::getResid) .set(id).equalToWhenPresent(row::getId); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default int updateByPrimaryKey(SysRoleResource row) { return update(c -> c.set(id).equalTo(row::getId) @@ -144,7 +144,7 @@ public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMa ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5281718+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6861845+08:00", comments="Source Table: yx..sys_role_resource") default int updateByPrimaryKeySelective(SysRoleResource row) { return update(c -> c.set(id).equalToWhenPresent(row::getId) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java index d4a4d35..2b01902 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysRoleUrlMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") BasicColumn[] selectList = BasicColumn.columnList(id, roleid, url, urltypes); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source Table: yx..sys_role_url") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysRoleUrlResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -44,29 +44,29 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source Table: yx..sys_role_url") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysRoleUrlResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source Table: yx..sys_role_url") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source Table: yx..sys_role_url") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default int insert(SysRoleUrl row) { return MyBatis3Utils.insert(this::insert, row, sysRoleUrl, c -> c.map(id).toProperty("id") @@ -76,7 +76,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysRoleUrl, c -> c.map(id).toProperty("id") @@ -86,7 +86,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default int insertSelective(SysRoleUrl row) { return MyBatis3Utils.insert(this::insert, row, sysRoleUrl, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -96,34 +96,34 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysRoleUrl, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") static UpdateDSL updateAllColumns(SysRoleUrl row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(roleid).equalTo(row::getRoleid) @@ -131,7 +131,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, .set(urltypes).equalTo(row::getUrltypes); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6941864+08:00", comments="Source Table: yx..sys_role_url") static UpdateDSL updateSelectiveColumns(SysRoleUrl row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(roleid).equalToWhenPresent(row::getRoleid) @@ -139,7 +139,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, .set(urltypes).equalToWhenPresent(row::getUrltypes); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.544177+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source Table: yx..sys_role_url") default int updateByPrimaryKey(SysRoleUrl row) { return update(c -> c.set(roleid).equalTo(row::getRoleid) @@ -149,7 +149,7 @@ public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source Table: yx..sys_role_url") default int updateByPrimaryKeySelective(SysRoleUrl row) { return update(c -> c.set(roleid).equalToWhenPresent(row::getRoleid) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java index 1798098..c4c5540 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/SysUrlsMapper.java @@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils; @Mapper public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper, CommonUpdateMapper { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") BasicColumn[] selectList = BasicColumn.columnList(id, pid, types, level, url, name, method); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") @SelectProvider(type=SqlProviderAdapter.class, method="select") @Results(id="SysUrlsResult", value = { @Result(column="id", property="id", jdbcType=JdbcType.VARCHAR, id=true), @@ -47,29 +47,29 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co }) List selectMany(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") @SelectProvider(type=SqlProviderAdapter.class, method="select") @ResultMap("SysUrlsResult") Optional selectOne(SelectStatementProvider selectStatement); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") default long count(CountDSLCompleter completer) { return MyBatis3Utils.countFrom(this::count, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") default int delete(DeleteDSLCompleter completer) { return MyBatis3Utils.deleteFrom(this::delete, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") default int deleteByPrimaryKey(String id_) { return delete(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") default int insert(SysUrls row) { return MyBatis3Utils.insert(this::insert, row, sysUrls, c -> c.map(id).toProperty("id") @@ -82,7 +82,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source Table: yx..sys_urls") default int insertMultiple(Collection records) { return MyBatis3Utils.insertMultiple(this::insertMultiple, records, sysUrls, c -> c.map(id).toProperty("id") @@ -95,7 +95,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default int insertSelective(SysUrls row) { return MyBatis3Utils.insert(this::insert, row, sysUrls, c -> c.map(id).toPropertyWhenPresent("id", row::getId) @@ -108,34 +108,34 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default Optional selectOne(SelectDSLCompleter completer) { return MyBatis3Utils.selectOne(this::selectOne, selectList, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5251746+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default List select(SelectDSLCompleter completer) { return MyBatis3Utils.selectList(this::selectMany, selectList, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default List selectDistinct(SelectDSLCompleter completer) { return MyBatis3Utils.selectDistinct(this::selectMany, selectList, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default Optional selectByPrimaryKey(String id_) { return selectOne(c -> c.where(id, isEqualTo(id_)) ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default int update(UpdateDSLCompleter completer) { return MyBatis3Utils.update(this::update, sysUrls, completer); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") static UpdateDSL updateAllColumns(SysUrls row, UpdateDSL dsl) { return dsl.set(id).equalTo(row::getId) .set(pid).equalTo(row::getPid) @@ -146,7 +146,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(method).equalTo(row::getMethod); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") static UpdateDSL updateSelectiveColumns(SysUrls row, UpdateDSL dsl) { return dsl.set(id).equalToWhenPresent(row::getId) .set(pid).equalToWhenPresent(row::getPid) @@ -157,7 +157,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co .set(method).equalToWhenPresent(row::getMethod); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6831838+08:00", comments="Source Table: yx..sys_urls") default int updateByPrimaryKey(SysUrls row) { return update(c -> c.set(pid).equalTo(row::getPid) @@ -170,7 +170,7 @@ public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, Co ); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source Table: yx..sys_urls") default int updateByPrimaryKeySelective(SysUrls row) { return update(c -> c.set(pid).equalToWhenPresent(row::getPid) diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CurrentG24DynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CurrentG24DynamicSqlSupport.java new file mode 100644 index 0000000..1e3ea0f --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/CurrentG24DynamicSqlSupport.java @@ -0,0 +1,87 @@ +package jj.tech.paolu.repository.mybatis.dao.support; + +import jakarta.annotation.Generated; +import java.sql.JDBCType; +import java.time.LocalDateTime; +import org.mybatis.dynamic.sql.AliasableSqlTable; +import org.mybatis.dynamic.sql.SqlColumn; + +public final class CurrentG24DynamicSqlSupport { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source Table: yx..current_g24") + public static final CurrentG24 currentG24 = new CurrentG24(); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.id") + public static final SqlColumn id = currentG24.id; + + /** + * Database Column Remarks: + * 当前期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.newIssue") + public static final SqlColumn newIssue = currentG24.newIssue; + + /** + * Database Column Remarks: + * 下一期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.issue") + public static final SqlColumn issue = currentG24.issue; + + /** + * Database Column Remarks: + * 开奖号码 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.ball") + public static final SqlColumn ball = currentG24.ball; + + /** + * Database Column Remarks: + * 关闭时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.closeTime") + public static final SqlColumn closeTime = currentG24.closeTime; + + /** + * Database Column Remarks: + * 开奖时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.openTime") + public static final SqlColumn openTime = currentG24.openTime; + + /** + * Database Column Remarks: + * 提交时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.addTime") + public static final SqlColumn addTime = currentG24.addTime; + + /** + * Database Column Remarks: + * 游戏ID + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.gameID") + public static final SqlColumn gameID = currentG24.gameID; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source Table: yx..current_g24") + public static final class CurrentG24 extends AliasableSqlTable { + public final SqlColumn id = column("id", JDBCType.VARCHAR); + + public final SqlColumn newIssue = column("newIssue", JDBCType.VARCHAR); + + public final SqlColumn issue = column("issue", JDBCType.VARCHAR); + + public final SqlColumn ball = column("ball", JDBCType.VARCHAR); + + public final SqlColumn closeTime = column("closeTime", JDBCType.INTEGER); + + public final SqlColumn openTime = column("openTime", JDBCType.INTEGER); + + public final SqlColumn addTime = column("addTime", JDBCType.TIMESTAMP); + + public final SqlColumn gameID = column("gameID", JDBCType.VARCHAR); + + public CurrentG24() { + super("current_g24", CurrentG24::new); + } + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/HistoryG24DynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/HistoryG24DynamicSqlSupport.java new file mode 100644 index 0000000..a9b170d --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/HistoryG24DynamicSqlSupport.java @@ -0,0 +1,87 @@ +package jj.tech.paolu.repository.mybatis.dao.support; + +import jakarta.annotation.Generated; +import java.sql.JDBCType; +import java.time.LocalDateTime; +import org.mybatis.dynamic.sql.AliasableSqlTable; +import org.mybatis.dynamic.sql.SqlColumn; + +public final class HistoryG24DynamicSqlSupport { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source Table: yx..history_g24") + public static final HistoryG24 historyG24 = new HistoryG24(); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.id") + public static final SqlColumn id = historyG24.id; + + /** + * Database Column Remarks: + * 当前期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.newIssue") + public static final SqlColumn newIssue = historyG24.newIssue; + + /** + * Database Column Remarks: + * 下一期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.issue") + public static final SqlColumn issue = historyG24.issue; + + /** + * Database Column Remarks: + * 开奖号码 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.ball") + public static final SqlColumn ball = historyG24.ball; + + /** + * Database Column Remarks: + * 关闭时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.closeTime") + public static final SqlColumn closeTime = historyG24.closeTime; + + /** + * Database Column Remarks: + * 开奖时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.openTime") + public static final SqlColumn openTime = historyG24.openTime; + + /** + * Database Column Remarks: + * 提交时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.addTime") + public static final SqlColumn addTime = historyG24.addTime; + + /** + * Database Column Remarks: + * 游戏ID + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source field: yx..history_g24.gameID") + public static final SqlColumn gameID = historyG24.gameID; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7111806+08:00", comments="Source Table: yx..history_g24") + public static final class HistoryG24 extends AliasableSqlTable { + public final SqlColumn id = column("id", JDBCType.VARCHAR); + + public final SqlColumn newIssue = column("newIssue", JDBCType.VARCHAR); + + public final SqlColumn issue = column("issue", JDBCType.VARCHAR); + + public final SqlColumn ball = column("ball", JDBCType.VARCHAR); + + public final SqlColumn closeTime = column("closeTime", JDBCType.INTEGER); + + public final SqlColumn openTime = column("openTime", JDBCType.INTEGER); + + public final SqlColumn addTime = column("addTime", JDBCType.TIMESTAMP); + + public final SqlColumn gameID = column("gameID", JDBCType.VARCHAR); + + public HistoryG24() { + super("history_g24", HistoryG24::new); + } + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Idc9998AdminInfoDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Idc9998AdminInfoDynamicSqlSupport.java new file mode 100644 index 0000000..706b10c --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/Idc9998AdminInfoDynamicSqlSupport.java @@ -0,0 +1,158 @@ +package jj.tech.paolu.repository.mybatis.dao.support; + +import jakarta.annotation.Generated; +import java.sql.JDBCType; +import org.mybatis.dynamic.sql.AliasableSqlTable; +import org.mybatis.dynamic.sql.SqlColumn; + +public final class Idc9998AdminInfoDynamicSqlSupport { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6511812+08:00", comments="Source Table: yx..idc9998_admin_info") + public static final Idc9998AdminInfo idc9998AdminInfo = new Idc9998AdminInfo(); + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6531812+08:00", comments="Source field: yx..idc9998_admin_info.id") + public static final SqlColumn id = idc9998AdminInfo.id; + + /** + * Database Column Remarks: + * 1启用,0禁用 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6531812+08:00", comments="Source field: yx..idc9998_admin_info.status") + public static final SqlColumn status = idc9998AdminInfo.status; + + /** + * Database Column Remarks: + * 采集管理员账号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6531812+08:00", comments="Source field: yx..idc9998_admin_info.manager_name") + public static final SqlColumn manager_name = idc9998AdminInfo.manager_name; + + /** + * Database Column Remarks: + * 采集会员账号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6531812+08:00", comments="Source field: yx..idc9998_admin_info.member_name") + public static final SqlColumn member_name = idc9998AdminInfo.member_name; + + /** + * Database Column Remarks: + * 采集用户账号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.user_name") + public static final SqlColumn user_name = idc9998AdminInfo.user_name; + + /** + * Database Column Remarks: + * 采集用户密码 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.user_password") + public static final SqlColumn user_password = idc9998AdminInfo.user_password; + + /** + * Database Column Remarks: + * 网站域名或者IP,无须/ + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.domain") + public static final SqlColumn domain = idc9998AdminInfo.domain; + + /** + * Database Column Remarks: + * 是否默认为默认采集号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.is_default") + public static final SqlColumn is_default = idc9998AdminInfo.is_default; + + /** + * Database Column Remarks: + * 1在线,0掉线 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.is_online") + public static final SqlColumn is_online = idc9998AdminInfo.is_online; + + /** + * Database Column Remarks: + * 最后一次登录cookie信息 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.login_info") + public static final SqlColumn login_info = idc9998AdminInfo.login_info; + + /** + * Database Column Remarks: + * 幸运飞艇 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.g_24") + public static final SqlColumn g_24 = idc9998AdminInfo.g_24; + + /** + * Database Column Remarks: + * 极速时时彩 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.g_29") + public static final SqlColumn g_29 = idc9998AdminInfo.g_29; + + /** + * Database Column Remarks: + * 极速赛车 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.g_30") + public static final SqlColumn g_30 = idc9998AdminInfo.g_30; + + /** + * Database Column Remarks: + * 极速飞艇 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.g_31") + public static final SqlColumn g_31 = idc9998AdminInfo.g_31; + + /** + * Database Column Remarks: + * 澳洲幸运5 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6541808+08:00", comments="Source field: yx..idc9998_admin_info.g_35") + public static final SqlColumn g_35 = idc9998AdminInfo.g_35; + + /** + * Database Column Remarks: + * 澳洲幸运10 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6551804+08:00", comments="Source field: yx..idc9998_admin_info.g_37") + public static final SqlColumn g_37 = idc9998AdminInfo.g_37; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6521812+08:00", comments="Source Table: yx..idc9998_admin_info") + public static final class Idc9998AdminInfo extends AliasableSqlTable { + public final SqlColumn id = column("id", JDBCType.VARCHAR); + + public final SqlColumn status = column("status", JDBCType.INTEGER); + + public final SqlColumn manager_name = column("manager_name", JDBCType.VARCHAR); + + public final SqlColumn member_name = column("member_name", JDBCType.VARCHAR); + + public final SqlColumn user_name = column("user_name", JDBCType.VARCHAR); + + public final SqlColumn user_password = column("user_password", JDBCType.VARCHAR); + + public final SqlColumn domain = column("domain", JDBCType.VARCHAR); + + public final SqlColumn is_default = column("is_default", JDBCType.INTEGER); + + public final SqlColumn is_online = column("is_online", JDBCType.INTEGER); + + public final SqlColumn login_info = column("login_info", JDBCType.VARCHAR); + + public final SqlColumn g_24 = column("g_24", JDBCType.INTEGER); + + public final SqlColumn g_29 = column("g_29", JDBCType.INTEGER); + + public final SqlColumn g_30 = column("g_30", JDBCType.INTEGER); + + public final SqlColumn g_31 = column("g_31", JDBCType.INTEGER); + + public final SqlColumn g_35 = column("g_35", JDBCType.INTEGER); + + public final SqlColumn g_37 = column("g_37", JDBCType.INTEGER); + + public Idc9998AdminInfo() { + super("idc9998_admin_info", Idc9998AdminInfo::new); + } + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java index 8ab7df2..ccc4891 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminDynamicSqlSupport.java @@ -6,43 +6,43 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysAdminDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source Table: yx..sys_admin") public static final SysAdmin sysAdmin = new SysAdmin(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id") public static final SqlColumn id = sysAdmin.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id") public static final SqlColumn org_id = sysAdmin.org_id; /** * Database Column Remarks: * 0管理员,1普通用户 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type") public static final SqlColumn type = sysAdmin.type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.realname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.realname") public static final SqlColumn realname = sysAdmin.realname; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.username") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.username") public static final SqlColumn username = sysAdmin.username; /** * Database Column Remarks: * sha3_256hex */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.password") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.password") public static final SqlColumn password = sysAdmin.password; /** * Database Column Remarks: * 0正常,1锁定 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.islock") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.islock") public static final SqlColumn islock = sysAdmin.islock; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source Table: yx..sys_admin") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source Table: yx..sys_admin") public static final class SysAdmin extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java index 581a702..e48d0f4 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminMenuDynamicSqlSupport.java @@ -6,19 +6,19 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysAdminMenuDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source Table: yx..sys_admin_menu") public static final SysAdminMenu sysAdminMenu = new SysAdminMenu(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.id") public static final SqlColumn id = sysAdminMenu.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.adminid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source field: yx..sys_admin_menu.adminid") public static final SqlColumn adminid = sysAdminMenu.adminid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.memuid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.696184+08:00", comments="Source field: yx..sys_admin_menu.memuid") public static final SqlColumn memuid = sysAdminMenu.memuid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source Table: yx..sys_admin_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source Table: yx..sys_admin_menu") public static final class SysAdminMenu extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java index bf53cb0..08a6841 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysAdminRoleDynamicSqlSupport.java @@ -6,19 +6,19 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysAdminRoleDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4806404+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source Table: yx..sys_admin_role") public static final SysAdminRole sysAdminRole = new SysAdminRole(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source field: yx..sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source field: yx..sys_admin_role.id") public static final SqlColumn id = sysAdminRole.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source field: yx..sys_admin_role.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source field: yx..sys_admin_role.admin_id") public static final SqlColumn admin_id = sysAdminRole.admin_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source field: yx..sys_admin_role.role_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6761835+08:00", comments="Source field: yx..sys_admin_role.role_id") public static final SqlColumn role_id = sysAdminRole.role_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.481639+08:00", comments="Source Table: yx..sys_admin_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source Table: yx..sys_admin_role") public static final class SysAdminRole extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java index fcd036b..9bab1af 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysConfigDynamicSqlSupport.java @@ -7,55 +7,55 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysConfigDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source Table: yx..sys_config") public static final SysConfig sysConfig = new SysConfig(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.id") public static final SqlColumn id = sysConfig.id; /** * Database Column Remarks: * 分组 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.subgroup") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.subgroup") public static final SqlColumn subgroup = sysConfig.subgroup; /** * Database Column Remarks: * 键 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.k") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.k") public static final SqlColumn k = sysConfig.k; /** * Database Column Remarks: * 值 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.val") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source field: yx..sys_config.val") public static final SqlColumn val = sysConfig.val; /** * Database Column Remarks: * 管理员id */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source field: yx..sys_config.admin_id") public static final SqlColumn admin_id = sysConfig.admin_id; /** * Database Column Remarks: * 管理员名称 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.adminname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source field: yx..sys_config.adminname") public static final SqlColumn adminname = sysConfig.adminname; /** * Database Column Remarks: * 最后编辑时间 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6791817+08:00", comments="Source field: yx..sys_config.edittime") public static final SqlColumn edittime = sysConfig.edittime; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source Table: yx..sys_config") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source Table: yx..sys_config") public static final class SysConfig extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java index 378e4a7..9fcd0d6 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysMenuDynamicSqlSupport.java @@ -6,44 +6,44 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysMenuDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") public static final SysMenu sysMenu = new SysMenu(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.id") public static final SqlColumn id = sysMenu.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.parent_id") public static final SqlColumn parent_id = sysMenu.parent_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.level") public static final SqlColumn level = sysMenu.level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.name") public static final SqlColumn name = sysMenu.name; /** * Database Column Remarks: * menu,url */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.types") public static final SqlColumn types = sysMenu.types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.url") public static final SqlColumn url = sysMenu.url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.icon") public static final SqlColumn icon = sysMenu.icon; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.is_open") public static final SqlColumn is_open = sysMenu.is_open; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.description") public static final SqlColumn description = sysMenu.description; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.sort") public static final SqlColumn sort = sysMenu.sort; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source Table: yx..sys_menu") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source Table: yx..sys_menu") public static final class SysMenu extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java index 69156b9..e5bab69 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysOrgDynamicSqlSupport.java @@ -6,22 +6,22 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysOrgDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source Table: yx..sys_org") public static final SysOrg sysOrg = new SysOrg(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.id") public static final SqlColumn id = sysOrg.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source field: yx..sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.pid") public static final SqlColumn pid = sysOrg.pid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source field: yx..sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.status") public static final SqlColumn status = sysOrg.status; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5461743+08:00", comments="Source field: yx..sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.org_type") public static final SqlColumn org_type = sysOrg.org_type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source Table: yx..sys_org") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source Table: yx..sys_org") public static final class SysOrg extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java index 00e6ebe..6c8b7db 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysResourceDynamicSqlSupport.java @@ -6,53 +6,53 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysResourceDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source Table: yx..sys_resource") public static final SysResource sysResource = new SysResource(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.id") public static final SqlColumn id = sysResource.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.parent_id") public static final SqlColumn parent_id = sysResource.parent_id; /** * Database Column Remarks: * 菜单排列顺序 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.level") public static final SqlColumn level = sysResource.level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.name") public static final SqlColumn name = sysResource.name; /** * Database Column Remarks: * 资源类型 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.types") public static final SqlColumn types = sysResource.types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.url") public static final SqlColumn url = sysResource.url; /** * Database Column Remarks: * 菜单图标 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5361827+08:00", comments="Source field: yx..sys_resource.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.icon") public static final SqlColumn icon = sysResource.icon; /** * Database Column Remarks: * 是否折叠隐藏 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source field: yx..sys_resource.ishide") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.ishide") public static final SqlColumn ishide = sysResource.ishide; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5371817+08:00", comments="Source field: yx..sys_resource.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.description") public static final SqlColumn description = sysResource.description; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source Table: yx..sys_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source Table: yx..sys_resource") public static final class SysResource extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java index a31c7f7..c934117 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleDynamicSqlSupport.java @@ -6,19 +6,19 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysRoleDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source Table: yx..sys_role") public static final SysRole sysRole = new SysRole(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id") public static final SqlColumn id = sysRole.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source field: yx..sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename") public static final SqlColumn rolename = sysRole.rolename; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5331711+08:00", comments="Source field: yx..sys_role.department") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department") public static final SqlColumn department = sysRole.department; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source Table: yx..sys_role") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source Table: yx..sys_role") public static final class SysRole extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java index e5f582a..87e20ca 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleResourceDynamicSqlSupport.java @@ -6,19 +6,19 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysRoleResourceDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source Table: yx..sys_role_resource") public static final SysRoleResource sysRoleResource = new SysRoleResource(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source field: yx..sys_role_resource.roleid") public static final SqlColumn roleid = sysRoleResource.roleid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source field: yx..sys_role_resource.resid") public static final SqlColumn resid = sysRoleResource.resid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6851854+08:00", comments="Source field: yx..sys_role_resource.id") public static final SqlColumn id = sysRoleResource.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source Table: yx..sys_role_resource") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source Table: yx..sys_role_resource") public static final class SysRoleResource extends AliasableSqlTable { public final SqlColumn roleid = column("roleid", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java index 2e8d5e7..ffc58b3 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysRoleUrlDynamicSqlSupport.java @@ -6,30 +6,30 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysRoleUrlDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source Table: yx..sys_role_url") public static final SysRoleUrl sysRoleUrl = new SysRoleUrl(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.id") public static final SqlColumn id = sysRoleUrl.id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.roleid") public static final SqlColumn roleid = sysRoleUrl.roleid; /** * Database Column Remarks: * 对应sys_urls的url */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.url") public static final SqlColumn url = sysRoleUrl.url; /** * Database Column Remarks: * 1:url,2:菜单 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.urltypes") public static final SqlColumn urltypes = sysRoleUrl.urltypes; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source Table: yx..sys_role_url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source Table: yx..sys_role_url") public static final class SysRoleUrl extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java index 7636009..3e8a11f 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/dao/support/SysUrlsDynamicSqlSupport.java @@ -6,43 +6,43 @@ import org.mybatis.dynamic.sql.AliasableSqlTable; import org.mybatis.dynamic.sql.SqlColumn; public final class SysUrlsDynamicSqlSupport { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source Table: yx..sys_urls") public static final SysUrls sysUrls = new SysUrls(); - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.id") public static final SqlColumn id = sysUrls.id; /** * Database Column Remarks: * 父类id */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.pid") public static final SqlColumn pid = sysUrls.pid; /** * Database Column Remarks: * 1:url,2:菜单 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.types") public static final SqlColumn types = sysUrls.types; /** * Database Column Remarks: * 0:url,1:一级菜单, 2:二级菜单 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.level") public static final SqlColumn level = sysUrls.level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.url") public static final SqlColumn url = sysUrls.url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.name") public static final SqlColumn name = sysUrls.name; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5241787+08:00", comments="Source field: yx..sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6821828+08:00", comments="Source field: yx..sys_urls.method") public static final SqlColumn method = sysUrls.method; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source Table: yx..sys_urls") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source Table: yx..sys_urls") public static final class SysUrls extends AliasableSqlTable { public final SqlColumn id = column("id", JDBCType.VARCHAR); diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/CurrentG24.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/CurrentG24.java new file mode 100644 index 0000000..2afc755 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/CurrentG24.java @@ -0,0 +1,143 @@ +package jj.tech.paolu.repository.mybatis.entity; + +import jakarta.annotation.Generated; +import java.time.LocalDateTime; + +/** + * + * This class was generated by MyBatis Generator. + * This class corresponds to the database table yx..current_g24 + */ +public class CurrentG24 { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.id") + private String id; + + /** + * Database Column Remarks: + * 当前期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.newIssue") + private String newIssue; + + /** + * Database Column Remarks: + * 下一期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.issue") + private String issue; + + /** + * Database Column Remarks: + * 开奖号码 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.ball") + private String ball; + + /** + * Database Column Remarks: + * 关闭时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.closeTime") + private Integer closeTime; + + /** + * Database Column Remarks: + * 开奖时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.openTime") + private Integer openTime; + + /** + * Database Column Remarks: + * 提交时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.addTime") + private LocalDateTime addTime; + + /** + * Database Column Remarks: + * 游戏ID + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.gameID") + private String gameID; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.id") + public String getId() { + return id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.id") + public void setId(String id) { + this.id = id == null ? null : id.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.newIssue") + public String getNewIssue() { + return newIssue; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.newIssue") + public void setNewIssue(String newIssue) { + this.newIssue = newIssue == null ? null : newIssue.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.issue") + public String getIssue() { + return issue; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.issue") + public void setIssue(String issue) { + this.issue = issue == null ? null : issue.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.ball") + public String getBall() { + return ball; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.ball") + public void setBall(String ball) { + this.ball = ball == null ? null : ball.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.closeTime") + public Integer getCloseTime() { + return closeTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.closeTime") + public void setCloseTime(Integer closeTime) { + this.closeTime = closeTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.openTime") + public Integer getOpenTime() { + return openTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.openTime") + public void setOpenTime(Integer openTime) { + this.openTime = openTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.addTime") + public LocalDateTime getAddTime() { + return addTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.addTime") + public void setAddTime(LocalDateTime addTime) { + this.addTime = addTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6981817+08:00", comments="Source field: yx..current_g24.gameID") + public String getGameID() { + return gameID; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6991843+08:00", comments="Source field: yx..current_g24.gameID") + public void setGameID(String gameID) { + this.gameID = gameID == null ? null : gameID.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/HistoryG24.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/HistoryG24.java new file mode 100644 index 0000000..9bf1ec1 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/HistoryG24.java @@ -0,0 +1,143 @@ +package jj.tech.paolu.repository.mybatis.entity; + +import jakarta.annotation.Generated; +import java.time.LocalDateTime; + +/** + * + * This class was generated by MyBatis Generator. + * This class corresponds to the database table yx..history_g24 + */ +public class HistoryG24 { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.id") + private String id; + + /** + * Database Column Remarks: + * 当前期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.newIssue") + private String newIssue; + + /** + * Database Column Remarks: + * 下一期号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.issue") + private String issue; + + /** + * Database Column Remarks: + * 开奖号码 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.ball") + private String ball; + + /** + * Database Column Remarks: + * 关闭时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.closeTime") + private Integer closeTime; + + /** + * Database Column Remarks: + * 开奖时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.openTime") + private Integer openTime; + + /** + * Database Column Remarks: + * 提交时间 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.addTime") + private LocalDateTime addTime; + + /** + * Database Column Remarks: + * 游戏ID + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.gameID") + private String gameID; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.id") + public String getId() { + return id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.id") + public void setId(String id) { + this.id = id == null ? null : id.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.newIssue") + public String getNewIssue() { + return newIssue; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.newIssue") + public void setNewIssue(String newIssue) { + this.newIssue = newIssue == null ? null : newIssue.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.issue") + public String getIssue() { + return issue; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.issue") + public void setIssue(String issue) { + this.issue = issue == null ? null : issue.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.ball") + public String getBall() { + return ball; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.ball") + public void setBall(String ball) { + this.ball = ball == null ? null : ball.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.closeTime") + public Integer getCloseTime() { + return closeTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.closeTime") + public void setCloseTime(Integer closeTime) { + this.closeTime = closeTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.openTime") + public Integer getOpenTime() { + return openTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.openTime") + public void setOpenTime(Integer openTime) { + this.openTime = openTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.addTime") + public LocalDateTime getAddTime() { + return addTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.addTime") + public void setAddTime(LocalDateTime addTime) { + this.addTime = addTime; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.gameID") + public String getGameID() { + return gameID; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7101854+08:00", comments="Source field: yx..history_g24.gameID") + public void setGameID(String gameID) { + this.gameID = gameID == null ? null : gameID.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/Idc9998AdminInfo.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/Idc9998AdminInfo.java new file mode 100644 index 0000000..92ce6a5 --- /dev/null +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/Idc9998AdminInfo.java @@ -0,0 +1,278 @@ +package jj.tech.paolu.repository.mybatis.entity; + +import jakarta.annotation.Generated; + +/** + * + * This class was generated by MyBatis Generator. + * This class corresponds to the database table yx..idc9998_admin_info + */ +public class Idc9998AdminInfo { + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6421812+08:00", comments="Source field: yx..idc9998_admin_info.id") + private String id; + + /** + * Database Column Remarks: + * 1启用,0禁用 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6431805+08:00", comments="Source field: yx..idc9998_admin_info.status") + private Integer status; + + /** + * Database Column Remarks: + * 采集管理员账号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.manager_name") + private String manager_name; + + /** + * Database Column Remarks: + * 采集会员账号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.member_name") + private String member_name; + + /** + * Database Column Remarks: + * 采集用户账号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.user_name") + private String user_name; + + /** + * Database Column Remarks: + * 采集用户密码 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.user_password") + private String user_password; + + /** + * Database Column Remarks: + * 网站域名或者IP,无须/ + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.domain") + private String domain; + + /** + * Database Column Remarks: + * 是否默认为默认采集号 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.is_default") + private Integer is_default; + + /** + * Database Column Remarks: + * 1在线,0掉线 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.is_online") + private Integer is_online; + + /** + * Database Column Remarks: + * 最后一次登录cookie信息 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.login_info") + private String login_info; + + /** + * Database Column Remarks: + * 幸运飞艇 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_24") + private Integer g_24; + + /** + * Database Column Remarks: + * 极速时时彩 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_29") + private Integer g_29; + + /** + * Database Column Remarks: + * 极速赛车 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_30") + private Integer g_30; + + /** + * Database Column Remarks: + * 极速飞艇 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_31") + private Integer g_31; + + /** + * Database Column Remarks: + * 澳洲幸运5 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_35") + private Integer g_35; + + /** + * Database Column Remarks: + * 澳洲幸运10 + */ + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_37") + private Integer g_37; + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6431805+08:00", comments="Source field: yx..idc9998_admin_info.id") + public String getId() { + return id; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6431805+08:00", comments="Source field: yx..idc9998_admin_info.id") + public void setId(String id) { + this.id = id == null ? null : id.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.status") + public Integer getStatus() { + return status; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.status") + public void setStatus(Integer status) { + this.status = status; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.manager_name") + public String getManager_name() { + return manager_name; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.manager_name") + public void setManager_name(String manager_name) { + this.manager_name = manager_name == null ? null : manager_name.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.member_name") + public String getMember_name() { + return member_name; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.member_name") + public void setMember_name(String member_name) { + this.member_name = member_name == null ? null : member_name.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.user_name") + public String getUser_name() { + return user_name; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.user_name") + public void setUser_name(String user_name) { + this.user_name = user_name == null ? null : user_name.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.user_password") + public String getUser_password() { + return user_password; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.user_password") + public void setUser_password(String user_password) { + this.user_password = user_password == null ? null : user_password.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.domain") + public String getDomain() { + return domain; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6441826+08:00", comments="Source field: yx..idc9998_admin_info.domain") + public void setDomain(String domain) { + this.domain = domain == null ? null : domain.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.is_default") + public Integer getIs_default() { + return is_default; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.is_default") + public void setIs_default(Integer is_default) { + this.is_default = is_default; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.is_online") + public Integer getIs_online() { + return is_online; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.is_online") + public void setIs_online(Integer is_online) { + this.is_online = is_online; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.login_info") + public String getLogin_info() { + return login_info; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.login_info") + public void setLogin_info(String login_info) { + this.login_info = login_info == null ? null : login_info.trim(); + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_24") + public Integer getG_24() { + return g_24; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_24") + public void setG_24(Integer g_24) { + this.g_24 = g_24; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_29") + public Integer getG_29() { + return g_29; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_29") + public void setG_29(Integer g_29) { + this.g_29 = g_29; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_30") + public Integer getG_30() { + return g_30; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_30") + public void setG_30(Integer g_30) { + this.g_30 = g_30; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6451805+08:00", comments="Source field: yx..idc9998_admin_info.g_31") + public Integer getG_31() { + return g_31; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_31") + public void setG_31(Integer g_31) { + this.g_31 = g_31; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_35") + public Integer getG_35() { + return g_35; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_35") + public void setG_35(Integer g_35) { + this.g_35 = g_35; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_37") + public Integer getG_37() { + return g_37; + } + + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6461792+08:00", comments="Source field: yx..idc9998_admin_info.g_37") + public void setG_37(Integer g_37) { + this.g_37 = g_37; + } +} \ No newline at end of file diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java index 32ac5a1..126b010 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdmin.java @@ -8,105 +8,105 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_admin */ public class SysAdmin { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id") private String org_id; /** * Database Column Remarks: * 0管理员,1普通用户 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type") private Integer type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.realname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.realname") private String realname; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.username") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.username") private String username; /** * Database Column Remarks: * sha3_256hex */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.password") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.password") private String password; /** * Database Column Remarks: * 0正常,1锁定 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.islock") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.islock") private Integer islock; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id") public String getOrg_id() { return org_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.org_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id") public void setOrg_id(String org_id) { this.org_id = org_id == null ? null : org_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type") public Integer getType() { return type; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type") public void setType(Integer type) { this.type = type; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.realname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.realname") public String getRealname() { return realname; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.realname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.realname") public void setRealname(String realname) { this.realname = realname == null ? null : realname.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.username") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.username") public String getUsername() { return username; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.username") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.username") public void setUsername(String username) { this.username = username == null ? null : username.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.password") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.password") public String getPassword() { return password; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5291707+08:00", comments="Source field: yx..sys_admin.password") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.password") public void setPassword(String password) { this.password = password == null ? null : password.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.islock") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.islock") public Integer getIslock() { return islock; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5301721+08:00", comments="Source field: yx..sys_admin.islock") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.islock") public void setIslock(Integer islock) { this.islock = islock; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java index d71f322..6351999 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminMenu.java @@ -8,41 +8,41 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_admin_menu */ public class SysAdminMenu { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.adminid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.adminid") private String adminid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.memuid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.memuid") private String memuid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.adminid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.adminid") public String getAdminid() { return adminid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.adminid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.adminid") public void setAdminid(String adminid) { this.adminid = adminid == null ? null : adminid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5141757+08:00", comments="Source field: yx..sys_admin_menu.memuid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.memuid") public String getMemuid() { return memuid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5151708+08:00", comments="Source field: yx..sys_admin_menu.memuid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6951891+08:00", comments="Source field: yx..sys_admin_menu.memuid") public void setMemuid(String memuid) { this.memuid = memuid == null ? null : memuid.trim(); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java index 4fcd0c7..527967e 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysAdminRole.java @@ -8,41 +8,41 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_admin_role */ public class SysAdminRole { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4746442+08:00", comments="Source field: yx..sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.admin_id") private String admin_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.role_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.role_id") private Integer role_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.admin_id") public String getAdmin_id() { return admin_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.admin_id") public void setAdmin_id(String admin_id) { this.admin_id = admin_id == null ? null : admin_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.role_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.role_id") public Integer getRole_id() { return role_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.4766724+08:00", comments="Source field: yx..sys_admin_role.role_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.675184+08:00", comments="Source field: yx..sys_admin_role.role_id") public void setRole_id(Integer role_id) { this.role_id = role_id; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java index ee3719f..6950453 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysConfig.java @@ -9,117 +9,117 @@ import java.time.LocalDateTime; * This class corresponds to the database table yx..sys_config */ public class SysConfig { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source field: yx..sys_config.id") private String id; /** * Database Column Remarks: * 分组 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.subgroup") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.subgroup") private String subgroup; /** * Database Column Remarks: * 键 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.k") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.k") private String k; /** * Database Column Remarks: * 值 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.val") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.val") private String val; /** * Database Column Remarks: * 管理员id */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.admin_id") private String admin_id; /** * Database Column Remarks: * 管理员名称 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.adminname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.adminname") private String adminname; /** * Database Column Remarks: * 最后编辑时间 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.edittime") private LocalDateTime edittime; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6771824+08:00", comments="Source field: yx..sys_config.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.subgroup") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.subgroup") public String getSubgroup() { return subgroup; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.subgroup") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.subgroup") public void setSubgroup(String subgroup) { this.subgroup = subgroup == null ? null : subgroup.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.k") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.k") public String getK() { return k; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.k") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.k") public void setK(String k) { this.k = k == null ? null : k.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.val") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.val") public String getVal() { return val; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.val") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.val") public void setVal(String val) { this.val = val == null ? null : val.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.admin_id") public String getAdmin_id() { return admin_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.admin_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.admin_id") public void setAdmin_id(String admin_id) { this.admin_id = admin_id == null ? null : admin_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5171705+08:00", comments="Source field: yx..sys_config.adminname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.adminname") public String getAdminname() { return adminname; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.adminname") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.adminname") public void setAdminname(String adminname) { this.adminname = adminname == null ? null : adminname.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.edittime") public LocalDateTime getEdittime() { return edittime; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5181721+08:00", comments="Source field: yx..sys_config.edittime") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6781819+08:00", comments="Source field: yx..sys_config.edittime") public void setEdittime(LocalDateTime edittime) { this.edittime = edittime; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java index 320e977..67fb466 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysMenu.java @@ -8,136 +8,136 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_menu */ public class SysMenu { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.parent_id") private String parent_id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.level") private Integer level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.name") private String name; /** * Database Column Remarks: * menu,url */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.types") private String types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.url") private String url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.icon") private String icon; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.is_open") private Integer is_open; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.description") private String description; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.sort") private Integer sort; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.parent_id") public String getParent_id() { return parent_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.parent_id") public void setParent_id(String parent_id) { this.parent_id = parent_id == null ? null : parent_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.level") public Integer getLevel() { return level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.level") public void setLevel(Integer level) { this.level = level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.name") public String getName() { return name; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.name") public void setName(String name) { this.name = name == null ? null : name.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5471708+08:00", comments="Source field: yx..sys_menu.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.types") public String getTypes() { return types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.types") public void setTypes(String types) { this.types = types == null ? null : types.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.icon") public String getIcon() { return icon; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.icon") public void setIcon(String icon) { this.icon = icon == null ? null : icon.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.is_open") public Integer getIs_open() { return is_open; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.is_open") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.is_open") public void setIs_open(Integer is_open) { this.is_open = is_open; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.description") public String getDescription() { return description; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.description") public void setDescription(String description) { this.description = description == null ? null : description.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.sort") public Integer getSort() { return sort; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5481722+08:00", comments="Source field: yx..sys_menu.sort") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.sort") public void setSort(Integer sort) { this.sort = sort; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java index fd21117..ee92f2f 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysOrg.java @@ -8,54 +8,54 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_org */ public class SysOrg { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.pid") private String pid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.status") private Integer status; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.org_type") private String org_type; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.pid") public String getPid() { return pid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.pid") public void setPid(String pid) { this.pid = pid == null ? null : pid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.status") public Integer getStatus() { return status; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.status") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.status") public void setStatus(Integer status) { this.status = status; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.org_type") public String getOrg_type() { return org_type; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5451725+08:00", comments="Source field: yx..sys_org.org_type") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7051823+08:00", comments="Source field: yx..sys_org.org_type") public void setOrg_type(String org_type) { this.org_type = org_type == null ? null : org_type.trim(); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java index 0a2cf0c..7919e54 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysResource.java @@ -8,135 +8,135 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_resource */ public class SysResource { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7011827+08:00", comments="Source field: yx..sys_resource.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.parent_id") private String parent_id; /** * Database Column Remarks: * 菜单排列顺序 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.level") private Short level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.name") private String name; /** * Database Column Remarks: * 资源类型 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.types") private String types; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.url") private String url; /** * Database Column Remarks: * 菜单图标 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.icon") private String icon; /** * Database Column Remarks: * 是否折叠隐藏 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.ishide") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.ishide") private Byte ishide; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.description") private String description; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5341751+08:00", comments="Source field: yx..sys_resource.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.parent_id") public String getParent_id() { return parent_id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.parent_id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.parent_id") public void setParent_id(String parent_id) { this.parent_id = parent_id == null ? null : parent_id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.level") public Short getLevel() { return level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.level") public void setLevel(Short level) { this.level = level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.name") public String getName() { return name; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.name") public void setName(String name) { this.name = name == null ? null : name.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.types") public String getTypes() { return types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.types") public void setTypes(String types) { this.types = types == null ? null : types.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.icon") public String getIcon() { return icon; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.icon") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.icon") public void setIcon(String icon) { this.icon = icon == null ? null : icon.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.ishide") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.ishide") public Byte getIshide() { return ishide; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.ishide") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.ishide") public void setIshide(Byte ishide) { this.ishide = ishide; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.description") public String getDescription() { return description; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5351758+08:00", comments="Source field: yx..sys_resource.description") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.description") public void setDescription(String description) { this.description = description == null ? null : description.trim(); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java index 9fecd16..661d9a0 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRole.java @@ -8,41 +8,41 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_role */ public class SysRole { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename") private String rolename; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.department") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department") private String department; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename") public String getRolename() { return rolename; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.rolename") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.rolename") public void setRolename(String rolename) { this.rolename = rolename == null ? null : rolename.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.department") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department") public String getDepartment() { return department; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5321709+08:00", comments="Source field: yx..sys_role.department") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6901801+08:00", comments="Source field: yx..sys_role.department") public void setDepartment(String department) { this.department = department == null ? null : department.trim(); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java index e46012b..af83aad 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleResource.java @@ -8,41 +8,41 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_role_resource */ public class SysRoleResource { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5261719+08:00", comments="Source field: yx..sys_role_resource.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.roleid") private String roleid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.resid") private String resid; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.roleid") public String getRoleid() { return roleid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.roleid") public void setRoleid(String roleid) { this.roleid = roleid == null ? null : roleid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.resid") public String getResid() { return resid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.resid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.resid") public void setResid(String resid) { this.resid = resid == null ? null : resid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5271724+08:00", comments="Source field: yx..sys_role_resource.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.684182+08:00", comments="Source field: yx..sys_role_resource.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java index 66541a8..f2ae3f4 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysRoleUrl.java @@ -8,62 +8,62 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_role_url */ public class SysRoleUrl { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5411897+08:00", comments="Source field: yx..sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.id") private String id; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.roleid") private String roleid; /** * Database Column Remarks: * 对应sys_urls的url */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.url") private String url; /** * Database Column Remarks: * 1:url,2:菜单 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.urltypes") private Integer urltypes; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.roleid") public String getRoleid() { return roleid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.roleid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.roleid") public void setRoleid(String roleid) { this.roleid = roleid == null ? null : roleid.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.542189+08:00", comments="Source field: yx..sys_role_url.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.urltypes") public Integer getUrltypes() { return urltypes; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5431731+08:00", comments="Source field: yx..sys_role_url.urltypes") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6931951+08:00", comments="Source field: yx..sys_role_url.urltypes") public void setUrltypes(Integer urltypes) { this.urltypes = urltypes; } diff --git a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java index fee486f..316dffc 100644 --- a/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java +++ b/src/main/java/jj/tech/paolu/repository/mybatis/entity/SysUrls.java @@ -8,105 +8,105 @@ import jakarta.annotation.Generated; * This class corresponds to the database table yx..sys_urls */ public class SysUrls { - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.id") private String id; /** * Database Column Remarks: * 父类id */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.pid") private Integer pid; /** * Database Column Remarks: * 1:url,2:菜单 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.types") private Integer types; /** * Database Column Remarks: * 0:url,1:一级菜单, 2:二级菜单 */ - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.level") private Integer level; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.url") private String url; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.name") private String name; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.method") private String method; - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.id") public String getId() { return id; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.id") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.id") public void setId(String id) { this.id = id == null ? null : id.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.pid") public Integer getPid() { return pid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5221782+08:00", comments="Source field: yx..sys_urls.pid") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.pid") public void setPid(Integer pid) { this.pid = pid; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.types") public Integer getTypes() { return types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.types") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.types") public void setTypes(Integer types) { this.types = types; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.level") public Integer getLevel() { return level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.level") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.level") public void setLevel(Integer level) { this.level = level; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.url") public String getUrl() { return url; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.url") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.url") public void setUrl(String url) { this.url = url == null ? null : url.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.name") public String getName() { return name; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.name") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.name") public void setName(String name) { this.name = name == null ? null : name.trim(); } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.method") public String getMethod() { return method; } - @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-14T01:17:35.5231806+08:00", comments="Source field: yx..sys_urls.method") + @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.method") public void setMethod(String method) { this.method = method == null ? null : method.trim(); } diff --git a/src/main/java/jj/tech/paolu/task/Hgt8Timer.java b/src/main/java/jj/tech/paolu/task/Hgt8Timer.java new file mode 100644 index 0000000..6a1ffe8 --- /dev/null +++ b/src/main/java/jj/tech/paolu/task/Hgt8Timer.java @@ -0,0 +1,58 @@ +//package jj.tech.paolu.task; +// +//import java.time.LocalDate; +//import java.time.format.DateTimeFormatter; +// +//import org.slf4j.Logger; +//import org.slf4j.LoggerFactory; +//import org.springframework.beans.factory.annotation.Autowired; +//import org.springframework.scheduling.annotation.Scheduled; +//import org.springframework.stereotype.Component; +// +//import jj.tech.paolu.biz.webadmin.component.Hgt8Component; +//import jj.tech.paolu.biz.webadmin.service.Idc9998Sevice; +//import jj.tech.paolu.repository.mybatis.dao.Idc9998AdminInfoMapper; +//import jj.tech.paolu.repository.mybatis.entity.Idc9998AdminInfo; +// +//@Component +//public class Hgt8Timer { +// private static Logger logger = LoggerFactory.getLogger(Hgt8Timer.class); +// +// @Autowired Idc9998Sevice idc9998Sevice; +// @Autowired Idc9998AdminInfoMapper idc9998AdminInfoMapper; +// @Autowired Hgt8Component hgt8Component; +// +// @Scheduled(cron = "0/180 * * * * ?")//60s +// public void login() { +// Idc9998AdminInfo admin = +// idc9998Sevice.getByUserName("bk7897"); +// if(admin != null && admin.getIs_online() != 1) { +// +// hgt8Component.addInstance(admin.getUser_name()) +// .forceLogin(); +// +// }else { +// hgt8Component.addInstance(admin.getUser_name()); +// } +// } +// +// @Scheduled(cron = "0/20 * * * * ?")//5秒 +// public void get_g21() { +// try { +// +// Hgt8Component bk = hgt8Component.getInstance("bk7897"); +// if(bk != null) { +// bk.G_24_His(1, "", LocalDate.now().minusDays(1)); +// } +// +// } catch (Exception e) { +// logger.info(e.getMessage()); +// idc9998Sevice.updateIsOnline("bk7897", 0); +// // TODO: handle exception +// } +// +// } +// +// +// +//} diff --git a/src/main/java/jj/tech/paolu/utils/playwright/Hgt8.java b/src/main/java/jj/tech/paolu/utils/playwright/Hgt8.java index eff4a4f..25f9b86 100644 --- a/src/main/java/jj/tech/paolu/utils/playwright/Hgt8.java +++ b/src/main/java/jj/tech/paolu/utils/playwright/Hgt8.java @@ -1,80 +1,222 @@ //package jj.tech.paolu.utils.playwright; // -//import static com.microsoft.playwright.assertions.PlaywrightAssertions.assertThat; +//import java.util.HashMap; // -//import org.springframework.stereotype.Component; +//import org.apache.commons.codec.binary.Base64; // +//import com.fasterxml.jackson.databind.JsonNode; +//import com.microsoft.playwright.APIRequestContext; +//import com.microsoft.playwright.APIResponse; //import com.microsoft.playwright.Browser; +//import com.microsoft.playwright.BrowserContext; //import com.microsoft.playwright.BrowserType; -//import com.microsoft.playwright.Locator; +//import com.microsoft.playwright.FrameLocator; //import com.microsoft.playwright.Page; //import com.microsoft.playwright.Playwright; -//import com.microsoft.playwright.options.AriaRole; +//import com.microsoft.playwright.Response; +//import com.microsoft.playwright.options.RequestOptions; +// +//import jj.tech.paolu.utils.YMHttp; +// // -//import jakarta.annotation.PostConstruct; -//import jakarta.annotation.PreDestroy; -//@Component //public class Hgt8 { -// public Playwright playwright; -// public Browser browser; +// +// public static Playwright playwright; +// public static Browser browser; +// public static HashMap instances = new HashMap(); +// +// public static void start() { +// playwright = Playwright.create(); +// playwright.selectors().setTestIdAttribute("id"); +// //设置有是否UI,每个操作减慢执行200毫秒 +// browser = playwright.chromium().launch( +// new BrowserType.LaunchOptions() +// .setHeadless(false) +// .setSlowMo(200) +// ); +// } +// +// public BrowserContext browserContext; +// public APIRequestContext aPIRequestContext; // public Page page; -// -// @PostConstruct -// public void start() throws Exception { -// this.playwright = Playwright.create(); -// this.browser = playwright.chromium().launch( -// new BrowserType.LaunchOptions().setHeadless(false) -// ); -// page = browser.newPage(); -// } -// -// @PreDestroy -// public void stop() { -// page.close(); -// browser.close(); -// playwright.close(); -// System.out.println("Hgt8 is close"); -// } +// //用户是否登录 +// public Boolean isOnLine = false; +// public Long defaultTimeout = 6000L; // // -// public static void main(String[] args) { -// try { -// Playwright playwright = Playwright.create(); -// Browser browser = playwright.chromium().launch( -// new BrowserType.LaunchOptions().setHeadless(false) -// ); -// Page page = browser.newPage(); -//// page.navigate("https://sse8.idc9998.com"); -// page.navigate("https://sol8.idc9998.com"); -// +// +// public static void closePlaywright() { +// browser.close(); +// playwright.close(); +// } // -// // Expect a title "to contain" a substring. -// -// -// // create a locator -// Locator getStarted = page.getByRole(AriaRole.LINK, new Page.GetByRoleOptions().setName("Get Started")); -// -// // Expect an attribute "to be strictly equal" to the value. -//// assertThat(getStarted).hasAttribute("href", "/docs/intro"); -// -// // Click the get started link. -//// getStarted.click(); -// -//// assertThat(browser.close()).hasAttribute("href", "/docs/intro"); -// -//// page.pause(); -// -// // Expects page to have a heading with the name of Installation. -//// assertThat(page.getByRole(AriaRole.HEADING, -//// new Page.GetByRoleOptions().setName("Installation"))).isVisible(); -// page.close(); -// browser.close(); -// playwright.close(); -// -// -// }catch (Exception e) { -// // TODO: handle exception +// public static Hgt8 addInstance(String name) { +// Hgt8 instance = instances.get(name); +// if(instance == null) { +// Hgt8 inst = new Hgt8(); +// instances.put(name, inst); +// return inst; +// }else { +// return instance; // } -// } +// } +// public static Hgt8 getInstance(String name) { +// return instances.get(name); +// } +// +// public static void deleteInstance(String name) { +// instances.get(name).close(); +// instances.remove(name); +// } +// +// public static void updateInstance(String name) { +// if(instances.get(name) != null) { +// instances.get(name).close(); +// instances.remove(name); +// instances.put(name, new Hgt8()); +// } +// } +// +// +// +// +// +// +// private Hgt8() { +// this.browserContext = browser.newContext(); +// this.browserContext.setDefaultNavigationTimeout(this.defaultTimeout); +// this.aPIRequestContext = browserContext.request(); +// this.page = browserContext.newPage(); +// this.page.setDefaultTimeout(this.defaultTimeout); +// } +// +// public void close() { +// this.page.close(); +// this.browserContext.close(); +// } +// +// +// public Boolean login(String url, String manageName, String user, String passworld) { +// try { +// if(this.isOnLine == false) { +// this.page.navigate(url+ "/search.aspx"); +// FrameLocator ifr_main = this.page.frameLocator("#ifr_main"); +// +// //管理员账号 +// ifr_main.getByTestId("lineCode") +// .fill(manageName); +// ifr_main.locator("xpath=//input[@class='btn']") +// .click(); +// +// //login +// Response response = this.page.waitForResponse("**/captcha_image/2*", () -> { +// }); +// byte[] image_bytes = response.body(); +// JsonNode root = +// YMHttp.customApi(Base64.encodeBase64String(image_bytes)); +// JsonNode code_num = root.get("data").get("data"); +// ifr_main.getByTestId("userName").fill(user); +// ifr_main.getByTestId("password").fill(passworld); +// ifr_main.getByTestId("code").fill(code_num.asText()); +// this.page.waitForTimeout(2_500); +// System.out.println("wait 2500"); +// ifr_main.getByTestId("btnSubmit").click(); +// +// +// //同意 +// this.page.frameLocator("#ifr_main") +// .locator("xpath=//input[@class='protocol-btn-y']") +// .click(); +// +// +// String storageState = +// aPIRequestContext.storageState(); +// System.err.println(storageState); +// +// +// +// +// //关闭弹窗 +// //ifr_main.getByTestId("tc_Close") +// //.click(); +// +// this.isOnLine = true; +// } +// return true; +// }catch (Exception e) { +// e.printStackTrace(); +// return false; +// } +// +// } +// +// public void G_24_His(String url, String page, String issuet) { +// +// HashMap pram = new HashMap(); +// pram.put("gameID", "G_24"); +// pram.put("currtentPage","1"); +// pram.put("asDate","2024-09-23"); +// pram.put("issuet", ""); +// +// RequestOptions requestOptions = +// RequestOptions.create().setHeader("Content-Type", "application/json") +// .setData(pram); +// +// APIResponse addNewPet = +// this.aPIRequestContext.post(url+"/wb2/jg0001/s001s", requestOptions); +// +// System.err.println(addNewPet.text()); +// +// } +// +// +//// public static void main(String[] args) { +//// Hgt8.addInstance("a"); +//// Hgt8.addInstance("b"); +//// Hgt8.deleteInstance("a"); +//// +//// } +// +// +// +//// public static void main(String[] args) { +//// try { +//// Playwright playwright = Playwright.create(); +//// Browser browser = playwright.chromium().launch( +//// new BrowserType.LaunchOptions().setHeadless(false) +//// ); +//// Page page = browser.newPage(); +////// page.navigate("https://sse8.idc9998.com"); +//// page.navigate("https://sol8.idc9998.com"); +//// +//// +//// // Expect a title "to contain" a substring. +//// +//// +//// // create a locator +//// Locator getStarted = page.getByRole(AriaRole.LINK, new Page.GetByRoleOptions().setName("Get Started")); +//// +//// // Expect an attribute "to be strictly equal" to the value. +////// assertThat(getStarted).hasAttribute("href", "/docs/intro"); +//// +//// // Click the get started link. +////// getStarted.click(); +//// +////// assertThat(browser.close()).hasAttribute("href", "/docs/intro"); +//// +////// page.pause(); +//// +//// // Expects page to have a heading with the name of Installation. +////// assertThat(page.getByRole(AriaRole.HEADING, +////// new Page.GetByRoleOptions().setName("Installation"))).isVisible(); +//// page.close(); +//// browser.close(); +//// playwright.close(); +//// +//// +//// }catch (Exception e) { +//// // TODO: handle exception +//// } +//// } // //} diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index dd13ae2..7f5c078 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -90,12 +90,15 @@ mybatis: call-setters-on-nulls: true map-underscore-to-camel-case: false +idc9998: + headless: false + + logging: level: root: info org.jooq: info org.springframework.amqp: info - org.mybatis: info + org.mybatis: debug org.mybatis.dynamic.sql: debug - jj.tech.paolu: info - org.fisco.bcos.sdk: error \ No newline at end of file + jj.tech.paolu: debug \ No newline at end of file diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index b498872..71759be 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -87,6 +87,9 @@ mybatis: call-setters-on-nulls: true map-underscore-to-camel-case: false +idc9998: + headless: true + logging: level: root: info diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index e290812..e6e2628 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -34,16 +34,6 @@ %d{yyyy-MM-dd HH-mm-ss.SSSXXX} [%thread] %-5level %logger{36} -%kvp- %msg%n --> - - - - - - - - - - diff --git a/src/main/resources/sql/data-h2.sql b/src/main/resources/sql/data-h2.sql index eaa336c..81a6ed1 100644 --- a/src/main/resources/sql/data-h2.sql +++ b/src/main/resources/sql/data-h2.sql @@ -85,3 +85,14 @@ values (1, '葫芦娃1', '', 'admin', 'fe9bdf42857f0fdfba26b120a42e04a0f331c7118 insert into user_info_type values (1, '本科', '1', 1); + + + + + +INSERT INTO `idc9998_admin_info` +(`id`, `status`, `is_default`, `manager_name`, `member_name`, `user_name`, +`domain`, `login_info`, `g_24`, `g_29`, `g_30`, `g_31`, `g_35`, `g_37`) +VALUES ('1', 1, 1, 'bt332', 'ks965', 'bk7897', 'https://bmq2.idc9998.com', NULL, +0, 0, 0, 0, 0, 0); + diff --git a/src/main/resources/sql/schema-h2.sql b/src/main/resources/sql/schema-h2.sql index cb2a0ca..4496d98 100644 --- a/src/main/resources/sql/schema-h2.sql +++ b/src/main/resources/sql/schema-h2.sql @@ -127,3 +127,57 @@ create table sys_org ( org_type varchar(20) default null, primary key (id) ); + + + +drop table if exists idc9998_admin_info; +create table idc9998_admin_info ( + id varchar(20) not null, + status integer null default 1 comment '1启用,0禁用', + manager_name varchar(30) not null comment '采集管理员账号', + member_name varchar(30) comment '采集会员账号', + user_name varchar(30) not null comment '采集用户账号', + user_password varchar(30) not null comment '采集用户密码', + domain varchar(100) not null comment '网站域名或者IP,无须/', + is_default integer not null default 0 comment '是否默认为默认采集号', + is_online integer null default 0 comment '1在线,0掉线', + login_info varchar(5000) comment '最后一次登录cookie信息', + g_24 integer default 0 not null comment '幸运飞艇', + g_29 integer default 0 not null comment '极速时时彩', + g_30 integer default 0 not null comment '极速赛车', + g_31 integer default 0 not null comment '极速飞艇', + g_35 integer default 0 not null comment '澳洲幸运5', + g_37 integer default 0 not null comment '澳洲幸运10', + primary key (id) +); + + + +drop table if exists current_g24; +create table current_g24 ( + id varchar(20) not null, + newIssue varchar(20) not null comment '当前期号', + issue varchar(20) not null comment '下一期号', + ball varchar(100) comment '开奖号码', + closeTime integer not null comment '关闭时间', + openTime integer not null comment '开奖时间', + addTime datetime comment '提交时间', + gameID varchar(20) default 24 comment '游戏ID', + primary key (id), + unique (newIssue) +); + +drop table if exists history_g24; +create table history_g24 ( + id varchar(20) not null, + newIssue varchar(20) not null comment '当前期号', + issue varchar(20) not null comment '下一期号', + ball varchar(100) comment '开奖号码', + closeTime integer not null comment '关闭时间', + openTime integer not null comment '开奖时间', + addTime datetime comment '提交时间', + gameID varchar(20) default 24 comment '游戏ID', + primary key (id), + unique (newIssue) +); +