xpath
All checks were successful
/ build-image (push) Successful in 1m11s

This commit is contained in:
mmm8955405 2024-09-27 19:14:52 +08:00
parent 76d38bee7f
commit d0f2f7a9e2
78 changed files with 7084 additions and 735 deletions

View File

@ -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)

View File

@ -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<String, Hgt8Component> instances = new HashMap<String, Hgt8Component>();
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<String, String> pram = new HashMap<String, String>();
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());
}
}
}

View File

@ -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<String, String> pram = new HashMap<String, String>();
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");
}
}

View File

@ -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.FromGatherer<SelectModel>, QueryExpressionDSL<SelectModel>> 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<String,Object> r = new HashMap<String,Object>();
r.put("g24", g24);
return R.SUCCESS(r);
}
}

View File

@ -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);
}
}
}

View File

@ -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)
// );
// }
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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();
// }
//
//}

View File

@ -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<CurrentG24Record> 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<CurrentG24Record> 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<HistoryG24Record> 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<HistoryG24Record> 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<Idc9998AdminInfoRecord> 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<SysAdminRecord> 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<SysAdminRecord> 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<SysAdminMenuRecord> 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);

View File

@ -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 <code>yx.current_g24</code>.
*/
public static final CurrentG24 CURRENT_G24 = CurrentG24.CURRENT_G24;
/**
* The table <code>yx.history_g24</code>.
*/
public static final HistoryG24 HISTORY_G24 = HistoryG24.HISTORY_G24;
/**
* The table <code>yx.idc9998_admin_info</code>.
*/
public static final Idc9998AdminInfo IDC9998_ADMIN_INFO = Idc9998AdminInfo.IDC9998_ADMIN_INFO;
/**
* The table <code>yx.sys_admin</code>.
*/

View File

@ -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 <code>yx.current_g24</code>.
*/
public final CurrentG24 CURRENT_G24 = CurrentG24.CURRENT_G24;
/**
* The table <code>yx.history_g24</code>.
*/
public final HistoryG24 HISTORY_G24 = HistoryG24.HISTORY_G24;
/**
* The table <code>yx.idc9998_admin_info</code>.
*/
public final Idc9998AdminInfo IDC9998_ADMIN_INFO = Idc9998AdminInfo.IDC9998_ADMIN_INFO;
/**
* The table <code>yx.sys_admin</code>.
*/
@ -108,6 +126,9 @@ public class Yx extends SchemaImpl {
@Override
public final List<Table<?>> 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,

View File

@ -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<CurrentG24Record> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>yx.current_g24</code>
*/
public static final CurrentG24 CURRENT_G24 = new CurrentG24();
/**
* The class holding records for this type
*/
@Override
public Class<CurrentG24Record> getRecordType() {
return CurrentG24Record.class;
}
/**
* The column <code>yx.current_g24.id</code>.
*/
public final TableField<CurrentG24Record, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, "");
/**
* The column <code>yx.current_g24.newIssue</code>. 当前期号
*/
public final TableField<CurrentG24Record, String> NEWISSUE = createField(DSL.name("newIssue"), SQLDataType.VARCHAR(20).nullable(false), this, "当前期号");
/**
* The column <code>yx.current_g24.issue</code>. 下一期号
*/
public final TableField<CurrentG24Record, String> ISSUE = createField(DSL.name("issue"), SQLDataType.VARCHAR(20).nullable(false), this, "下一期号");
/**
* The column <code>yx.current_g24.ball</code>. 开奖号码
*/
public final TableField<CurrentG24Record, String> BALL = createField(DSL.name("ball"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "开奖号码");
/**
* The column <code>yx.current_g24.closeTime</code>. 关闭时间
*/
public final TableField<CurrentG24Record, Integer> CLOSETIME = createField(DSL.name("closeTime"), SQLDataType.INTEGER.nullable(false), this, "关闭时间");
/**
* The column <code>yx.current_g24.openTime</code>. 开奖时间
*/
public final TableField<CurrentG24Record, Integer> OPENTIME = createField(DSL.name("openTime"), SQLDataType.INTEGER.nullable(false), this, "开奖时间");
/**
* The column <code>yx.current_g24.addTime</code>. 提交时间
*/
public final TableField<CurrentG24Record, LocalDateTime> ADDTIME = createField(DSL.name("addTime"), SQLDataType.LOCALDATETIME(0).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.LOCALDATETIME)), this, "提交时间");
/**
* The column <code>yx.current_g24.gameID</code>. 游戏ID
*/
public final TableField<CurrentG24Record, String> GAMEID = createField(DSL.name("gameID"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("'24'"), SQLDataType.VARCHAR)), this, "游戏ID");
private CurrentG24(Name alias, Table<CurrentG24Record> aliased) {
this(alias, aliased, null);
}
private CurrentG24(Name alias, Table<CurrentG24Record> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>yx.current_g24</code> table reference
*/
public CurrentG24(String alias) {
this(DSL.name(alias), CURRENT_G24);
}
/**
* Create an aliased <code>yx.current_g24</code> table reference
*/
public CurrentG24(Name alias) {
this(alias, CURRENT_G24);
}
/**
* Create a <code>yx.current_g24</code> table reference
*/
public CurrentG24() {
this(DSL.name("current_g24"), null);
}
public <O extends Record> CurrentG24(Table<O> child, ForeignKey<O, CurrentG24Record> key) {
super(child, key, CURRENT_G24);
}
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
}
@Override
public UniqueKey<CurrentG24Record> getPrimaryKey() {
return Keys.KEY_CURRENT_G24_PRIMARY;
}
@Override
public List<UniqueKey<CurrentG24Record>> 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<String, String, String, String, Integer, Integer, LocalDateTime, String> fieldsRow() {
return (Row8) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
public <U> SelectField<U> mapping(Function8<? super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super LocalDateTime, ? super String, ? extends U> from) {
return convertFrom(Records.mapping(from));
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
public <U> SelectField<U> mapping(Class<U> toType, Function8<? super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super LocalDateTime, ? super String, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}

View File

@ -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<HistoryG24Record> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>yx.history_g24</code>
*/
public static final HistoryG24 HISTORY_G24 = new HistoryG24();
/**
* The class holding records for this type
*/
@Override
public Class<HistoryG24Record> getRecordType() {
return HistoryG24Record.class;
}
/**
* The column <code>yx.history_g24.id</code>.
*/
public final TableField<HistoryG24Record, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, "");
/**
* The column <code>yx.history_g24.newIssue</code>. 当前期号
*/
public final TableField<HistoryG24Record, String> NEWISSUE = createField(DSL.name("newIssue"), SQLDataType.VARCHAR(20).nullable(false), this, "当前期号");
/**
* The column <code>yx.history_g24.issue</code>. 下一期号
*/
public final TableField<HistoryG24Record, String> ISSUE = createField(DSL.name("issue"), SQLDataType.VARCHAR(20).nullable(false), this, "下一期号");
/**
* The column <code>yx.history_g24.ball</code>. 开奖号码
*/
public final TableField<HistoryG24Record, String> BALL = createField(DSL.name("ball"), SQLDataType.VARCHAR(100).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "开奖号码");
/**
* The column <code>yx.history_g24.closeTime</code>. 关闭时间
*/
public final TableField<HistoryG24Record, Integer> CLOSETIME = createField(DSL.name("closeTime"), SQLDataType.INTEGER.nullable(false), this, "关闭时间");
/**
* The column <code>yx.history_g24.openTime</code>. 开奖时间
*/
public final TableField<HistoryG24Record, Integer> OPENTIME = createField(DSL.name("openTime"), SQLDataType.INTEGER.nullable(false), this, "开奖时间");
/**
* The column <code>yx.history_g24.addTime</code>. 提交时间
*/
public final TableField<HistoryG24Record, LocalDateTime> ADDTIME = createField(DSL.name("addTime"), SQLDataType.LOCALDATETIME(0).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.LOCALDATETIME)), this, "提交时间");
/**
* The column <code>yx.history_g24.gameID</code>. 游戏ID
*/
public final TableField<HistoryG24Record, String> GAMEID = createField(DSL.name("gameID"), SQLDataType.VARCHAR(20).defaultValue(DSL.field(DSL.raw("'24'"), SQLDataType.VARCHAR)), this, "游戏ID");
private HistoryG24(Name alias, Table<HistoryG24Record> aliased) {
this(alias, aliased, null);
}
private HistoryG24(Name alias, Table<HistoryG24Record> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>yx.history_g24</code> table reference
*/
public HistoryG24(String alias) {
this(DSL.name(alias), HISTORY_G24);
}
/**
* Create an aliased <code>yx.history_g24</code> table reference
*/
public HistoryG24(Name alias) {
this(alias, HISTORY_G24);
}
/**
* Create a <code>yx.history_g24</code> table reference
*/
public HistoryG24() {
this(DSL.name("history_g24"), null);
}
public <O extends Record> HistoryG24(Table<O> child, ForeignKey<O, HistoryG24Record> key) {
super(child, key, HISTORY_G24);
}
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
}
@Override
public UniqueKey<HistoryG24Record> getPrimaryKey() {
return Keys.KEY_HISTORY_G24_PRIMARY;
}
@Override
public List<UniqueKey<HistoryG24Record>> 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<String, String, String, String, Integer, Integer, LocalDateTime, String> fieldsRow() {
return (Row8) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
public <U> SelectField<U> mapping(Function8<? super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super LocalDateTime, ? super String, ? extends U> from) {
return convertFrom(Records.mapping(from));
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
public <U> SelectField<U> mapping(Class<U> toType, Function8<? super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super LocalDateTime, ? super String, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}

View File

@ -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<Idc9998AdminInfoRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of <code>yx.idc9998_admin_info</code>
*/
public static final Idc9998AdminInfo IDC9998_ADMIN_INFO = new Idc9998AdminInfo();
/**
* The class holding records for this type
*/
@Override
public Class<Idc9998AdminInfoRecord> getRecordType() {
return Idc9998AdminInfoRecord.class;
}
/**
* The column <code>yx.idc9998_admin_info.id</code>.
*/
public final TableField<Idc9998AdminInfoRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(20).nullable(false), this, "");
/**
* The column <code>yx.idc9998_admin_info.status</code>. 1启用,0禁用
*/
public final TableField<Idc9998AdminInfoRecord, Integer> STATUS = createField(DSL.name("status"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("1"), SQLDataType.INTEGER)), this, "1启用,0禁用");
/**
* The column <code>yx.idc9998_admin_info.manager_name</code>. 采集管理员账号
*/
public final TableField<Idc9998AdminInfoRecord, String> MANAGER_NAME = createField(DSL.name("manager_name"), SQLDataType.VARCHAR(30).nullable(false), this, "采集管理员账号");
/**
* The column <code>yx.idc9998_admin_info.member_name</code>. 采集会员账号
*/
public final TableField<Idc9998AdminInfoRecord, String> MEMBER_NAME = createField(DSL.name("member_name"), SQLDataType.VARCHAR(30).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "采集会员账号");
/**
* The column <code>yx.idc9998_admin_info.user_name</code>. 采集用户账号
*/
public final TableField<Idc9998AdminInfoRecord, String> USER_NAME = createField(DSL.name("user_name"), SQLDataType.VARCHAR(30).nullable(false), this, "采集用户账号");
/**
* The column <code>yx.idc9998_admin_info.user_password</code>. 采集用户密码
*/
public final TableField<Idc9998AdminInfoRecord, String> USER_PASSWORD = createField(DSL.name("user_password"), SQLDataType.VARCHAR(30).nullable(false), this, "采集用户密码");
/**
* The column <code>yx.idc9998_admin_info.domain</code>. 网站域名或者IP,无须/
*/
public final TableField<Idc9998AdminInfoRecord, String> DOMAIN = createField(DSL.name("domain"), SQLDataType.VARCHAR(100).nullable(false), this, "网站域名或者IP,无须/");
/**
* The column <code>yx.idc9998_admin_info.is_default</code>. 是否默认为默认采集号
*/
public final TableField<Idc9998AdminInfoRecord, Integer> IS_DEFAULT = createField(DSL.name("is_default"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "是否默认为默认采集号");
/**
* The column <code>yx.idc9998_admin_info.is_online</code>. 1在线,0掉线
*/
public final TableField<Idc9998AdminInfoRecord, Integer> IS_ONLINE = createField(DSL.name("is_online"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "1在线,0掉线");
/**
* The column <code>yx.idc9998_admin_info.login_info</code>. 最后一次登录cookie信息
*/
public final TableField<Idc9998AdminInfoRecord, String> LOGIN_INFO = createField(DSL.name("login_info"), SQLDataType.VARCHAR(5000).defaultValue(DSL.field(DSL.raw("NULL"), SQLDataType.VARCHAR)), this, "最后一次登录cookie信息");
/**
* The column <code>yx.idc9998_admin_info.g_24</code>. 幸运飞艇
*/
public final TableField<Idc9998AdminInfoRecord, Integer> G_24 = createField(DSL.name("g_24"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "幸运飞艇");
/**
* The column <code>yx.idc9998_admin_info.g_29</code>. 极速时时彩
*/
public final TableField<Idc9998AdminInfoRecord, Integer> G_29 = createField(DSL.name("g_29"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "极速时时彩");
/**
* The column <code>yx.idc9998_admin_info.g_30</code>. 极速赛车
*/
public final TableField<Idc9998AdminInfoRecord, Integer> G_30 = createField(DSL.name("g_30"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "极速赛车");
/**
* The column <code>yx.idc9998_admin_info.g_31</code>. 极速飞艇
*/
public final TableField<Idc9998AdminInfoRecord, Integer> G_31 = createField(DSL.name("g_31"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "极速飞艇");
/**
* The column <code>yx.idc9998_admin_info.g_35</code>. 澳洲幸运5
*/
public final TableField<Idc9998AdminInfoRecord, Integer> G_35 = createField(DSL.name("g_35"), SQLDataType.INTEGER.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "澳洲幸运5");
/**
* The column <code>yx.idc9998_admin_info.g_37</code>. 澳洲幸运10
*/
public final TableField<Idc9998AdminInfoRecord, Integer> 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<Idc9998AdminInfoRecord> aliased) {
this(alias, aliased, null);
}
private Idc9998AdminInfo(Name alias, Table<Idc9998AdminInfoRecord> aliased, Field<?>[] parameters) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table());
}
/**
* Create an aliased <code>yx.idc9998_admin_info</code> table reference
*/
public Idc9998AdminInfo(String alias) {
this(DSL.name(alias), IDC9998_ADMIN_INFO);
}
/**
* Create an aliased <code>yx.idc9998_admin_info</code> table reference
*/
public Idc9998AdminInfo(Name alias) {
this(alias, IDC9998_ADMIN_INFO);
}
/**
* Create a <code>yx.idc9998_admin_info</code> table reference
*/
public Idc9998AdminInfo() {
this(DSL.name("idc9998_admin_info"), null);
}
public <O extends Record> Idc9998AdminInfo(Table<O> child, ForeignKey<O, Idc9998AdminInfoRecord> key) {
super(child, key, IDC9998_ADMIN_INFO);
}
@Override
public Schema getSchema() {
return aliased() ? null : Yx.YX;
}
@Override
public UniqueKey<Idc9998AdminInfoRecord> 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<String, Integer, String, String, String, String, String, Integer, Integer, String, Integer, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
return (Row16) super.fieldsRow();
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Function)}.
*/
public <U> SelectField<U> mapping(Function16<? super String, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super String, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
return convertFrom(Records.mapping(from));
}
/**
* Convenience mapping calling {@link SelectField#convertFrom(Class,
* Function)}.
*/
public <U> SelectField<U> mapping(Class<U> toType, Function16<? super String, ? super Integer, ? super String, ? super String, ? super String, ? super String, ? super String, ? super Integer, ? super Integer, ? super String, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends U> from) {
return convertFrom(toType, Records.mapping(from));
}
}

View File

@ -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<CurrentG24Record, jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24, String> {
/**
* 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 <code>id BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfId(String lowerInclusive, String upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.ID, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>id IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchById(String... values) {
return fetch(CurrentG24.CURRENT_G24.ID, values);
}
/**
* Fetch a unique record that has <code>id = value</code>
*/
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 <code>id = value</code>
*/
public Optional<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchOptionalById(String value) {
return fetchOptional(CurrentG24.CURRENT_G24.ID, value);
}
/**
* Fetch records that have <code>newIssue BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfNewissue(String lowerInclusive, String upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.NEWISSUE, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>newIssue IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByNewissue(String... values) {
return fetch(CurrentG24.CURRENT_G24.NEWISSUE, values);
}
/**
* Fetch a unique record that has <code>newIssue = value</code>
*/
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 <code>newIssue = value</code>
*/
public Optional<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchOptionalByNewissue(String value) {
return fetchOptional(CurrentG24.CURRENT_G24.NEWISSUE, value);
}
/**
* Fetch records that have <code>issue BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfIssue(String lowerInclusive, String upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.ISSUE, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>issue IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByIssue(String... values) {
return fetch(CurrentG24.CURRENT_G24.ISSUE, values);
}
/**
* Fetch records that have <code>ball BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfBall(String lowerInclusive, String upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.BALL, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>ball IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByBall(String... values) {
return fetch(CurrentG24.CURRENT_G24.BALL, values);
}
/**
* Fetch records that have <code>closeTime BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfClosetime(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.CLOSETIME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>closeTime IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByClosetime(Integer... values) {
return fetch(CurrentG24.CURRENT_G24.CLOSETIME, values);
}
/**
* Fetch records that have <code>openTime BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfOpentime(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.OPENTIME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>openTime IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByOpentime(Integer... values) {
return fetch(CurrentG24.CURRENT_G24.OPENTIME, values);
}
/**
* Fetch records that have <code>addTime BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfAddtime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.ADDTIME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>addTime IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByAddtime(LocalDateTime... values) {
return fetch(CurrentG24.CURRENT_G24.ADDTIME, values);
}
/**
* Fetch records that have <code>gameID BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchRangeOfGameid(String lowerInclusive, String upperInclusive) {
return fetchRange(CurrentG24.CURRENT_G24.GAMEID, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>gameID IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.CurrentG24> fetchByGameid(String... values) {
return fetch(CurrentG24.CURRENT_G24.GAMEID, values);
}
}

View File

@ -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<HistoryG24Record, jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24, String> {
/**
* 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 <code>id BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfId(String lowerInclusive, String upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.ID, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>id IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchById(String... values) {
return fetch(HistoryG24.HISTORY_G24.ID, values);
}
/**
* Fetch a unique record that has <code>id = value</code>
*/
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 <code>id = value</code>
*/
public Optional<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchOptionalById(String value) {
return fetchOptional(HistoryG24.HISTORY_G24.ID, value);
}
/**
* Fetch records that have <code>newIssue BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfNewissue(String lowerInclusive, String upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.NEWISSUE, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>newIssue IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByNewissue(String... values) {
return fetch(HistoryG24.HISTORY_G24.NEWISSUE, values);
}
/**
* Fetch a unique record that has <code>newIssue = value</code>
*/
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 <code>newIssue = value</code>
*/
public Optional<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchOptionalByNewissue(String value) {
return fetchOptional(HistoryG24.HISTORY_G24.NEWISSUE, value);
}
/**
* Fetch records that have <code>issue BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfIssue(String lowerInclusive, String upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.ISSUE, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>issue IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByIssue(String... values) {
return fetch(HistoryG24.HISTORY_G24.ISSUE, values);
}
/**
* Fetch records that have <code>ball BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfBall(String lowerInclusive, String upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.BALL, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>ball IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByBall(String... values) {
return fetch(HistoryG24.HISTORY_G24.BALL, values);
}
/**
* Fetch records that have <code>closeTime BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfClosetime(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.CLOSETIME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>closeTime IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByClosetime(Integer... values) {
return fetch(HistoryG24.HISTORY_G24.CLOSETIME, values);
}
/**
* Fetch records that have <code>openTime BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfOpentime(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.OPENTIME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>openTime IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByOpentime(Integer... values) {
return fetch(HistoryG24.HISTORY_G24.OPENTIME, values);
}
/**
* Fetch records that have <code>addTime BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfAddtime(LocalDateTime lowerInclusive, LocalDateTime upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.ADDTIME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>addTime IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByAddtime(LocalDateTime... values) {
return fetch(HistoryG24.HISTORY_G24.ADDTIME, values);
}
/**
* Fetch records that have <code>gameID BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchRangeOfGameid(String lowerInclusive, String upperInclusive) {
return fetchRange(HistoryG24.HISTORY_G24.GAMEID, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>gameID IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.HistoryG24> fetchByGameid(String... values) {
return fetch(HistoryG24.HISTORY_G24.GAMEID, values);
}
}

View File

@ -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<Idc9998AdminInfoRecord, jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo, String> {
/**
* 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 <code>id BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfId(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>id IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchById(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, values);
}
/**
* Fetch a unique record that has <code>id = value</code>
*/
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 <code>id = value</code>
*/
public Optional<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchOptionalById(String value) {
return fetchOptional(Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID, value);
}
/**
* Fetch records that have <code>status BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfStatus(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.STATUS, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>status IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByStatus(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.STATUS, values);
}
/**
* Fetch records that have <code>manager_name BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfManagerName(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MANAGER_NAME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>manager_name IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByManagerName(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MANAGER_NAME, values);
}
/**
* Fetch records that have <code>member_name BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfMemberName(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MEMBER_NAME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>member_name IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByMemberName(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.MEMBER_NAME, values);
}
/**
* Fetch records that have <code>user_name BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfUserName(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_NAME, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>user_name IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByUserName(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_NAME, values);
}
/**
* Fetch records that have <code>user_password BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfUserPassword(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_PASSWORD, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>user_password IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByUserPassword(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_PASSWORD, values);
}
/**
* Fetch records that have <code>domain BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfDomain(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.DOMAIN, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>domain IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByDomain(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.DOMAIN, values);
}
/**
* Fetch records that have <code>is_default BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfIsDefault(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_DEFAULT, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>is_default IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByIsDefault(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_DEFAULT, values);
}
/**
* Fetch records that have <code>is_online BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfIsOnline(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_ONLINE, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>is_online IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByIsOnline(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_ONLINE, values);
}
/**
* Fetch records that have <code>login_info BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfLoginInfo(String lowerInclusive, String upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.LOGIN_INFO, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>login_info IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByLoginInfo(String... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.LOGIN_INFO, values);
}
/**
* Fetch records that have <code>g_24 BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfG_24(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_24, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>g_24 IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByG_24(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_24, values);
}
/**
* Fetch records that have <code>g_29 BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfG_29(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_29, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>g_29 IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByG_29(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_29, values);
}
/**
* Fetch records that have <code>g_30 BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfG_30(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_30, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>g_30 IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByG_30(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_30, values);
}
/**
* Fetch records that have <code>g_31 BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfG_31(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_31, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>g_31 IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByG_31(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_31, values);
}
/**
* Fetch records that have <code>g_35 BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfG_35(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_35, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>g_35 IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByG_35(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_35, values);
}
/**
* Fetch records that have <code>g_37 BETWEEN lowerInclusive AND
* upperInclusive</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchRangeOfG_37(Integer lowerInclusive, Integer upperInclusive) {
return fetchRange(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_37, lowerInclusive, upperInclusive);
}
/**
* Fetch records that have <code>g_37 IN (values)</code>
*/
public List<jj.tech.paolu.repository.jooq.tables.pojos.Idc9998AdminInfo> fetchByG_37(Integer... values) {
return fetch(Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_37, values);
}
}

View File

@ -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 <code>yx.current_g24.id</code>.
*/
public String getId() {
return this.id;
}
/**
* Setter for <code>yx.current_g24.id</code>.
*/
public void setId(String id) {
this.id = id;
}
/**
* Getter for <code>yx.current_g24.newIssue</code>. 当前期号
*/
public String getNewissue() {
return this.newissue;
}
/**
* Setter for <code>yx.current_g24.newIssue</code>. 当前期号
*/
public void setNewissue(String newissue) {
this.newissue = newissue;
}
/**
* Getter for <code>yx.current_g24.issue</code>. 下一期号
*/
public String getIssue() {
return this.issue;
}
/**
* Setter for <code>yx.current_g24.issue</code>. 下一期号
*/
public void setIssue(String issue) {
this.issue = issue;
}
/**
* Getter for <code>yx.current_g24.ball</code>. 开奖号码
*/
public String getBall() {
return this.ball;
}
/**
* Setter for <code>yx.current_g24.ball</code>. 开奖号码
*/
public void setBall(String ball) {
this.ball = ball;
}
/**
* Getter for <code>yx.current_g24.closeTime</code>. 关闭时间
*/
public Integer getClosetime() {
return this.closetime;
}
/**
* Setter for <code>yx.current_g24.closeTime</code>. 关闭时间
*/
public void setClosetime(Integer closetime) {
this.closetime = closetime;
}
/**
* Getter for <code>yx.current_g24.openTime</code>. 开奖时间
*/
public Integer getOpentime() {
return this.opentime;
}
/**
* Setter for <code>yx.current_g24.openTime</code>. 开奖时间
*/
public void setOpentime(Integer opentime) {
this.opentime = opentime;
}
/**
* Getter for <code>yx.current_g24.addTime</code>. 提交时间
*/
public LocalDateTime getAddtime() {
return this.addtime;
}
/**
* Setter for <code>yx.current_g24.addTime</code>. 提交时间
*/
public void setAddtime(LocalDateTime addtime) {
this.addtime = addtime;
}
/**
* Getter for <code>yx.current_g24.gameID</code>. 游戏ID
*/
public String getGameid() {
return this.gameid;
}
/**
* Setter for <code>yx.current_g24.gameID</code>. 游戏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();
}
}

View File

@ -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 <code>yx.history_g24.id</code>.
*/
public String getId() {
return this.id;
}
/**
* Setter for <code>yx.history_g24.id</code>.
*/
public void setId(String id) {
this.id = id;
}
/**
* Getter for <code>yx.history_g24.newIssue</code>. 当前期号
*/
public String getNewissue() {
return this.newissue;
}
/**
* Setter for <code>yx.history_g24.newIssue</code>. 当前期号
*/
public void setNewissue(String newissue) {
this.newissue = newissue;
}
/**
* Getter for <code>yx.history_g24.issue</code>. 下一期号
*/
public String getIssue() {
return this.issue;
}
/**
* Setter for <code>yx.history_g24.issue</code>. 下一期号
*/
public void setIssue(String issue) {
this.issue = issue;
}
/**
* Getter for <code>yx.history_g24.ball</code>. 开奖号码
*/
public String getBall() {
return this.ball;
}
/**
* Setter for <code>yx.history_g24.ball</code>. 开奖号码
*/
public void setBall(String ball) {
this.ball = ball;
}
/**
* Getter for <code>yx.history_g24.closeTime</code>. 关闭时间
*/
public Integer getClosetime() {
return this.closetime;
}
/**
* Setter for <code>yx.history_g24.closeTime</code>. 关闭时间
*/
public void setClosetime(Integer closetime) {
this.closetime = closetime;
}
/**
* Getter for <code>yx.history_g24.openTime</code>. 开奖时间
*/
public Integer getOpentime() {
return this.opentime;
}
/**
* Setter for <code>yx.history_g24.openTime</code>. 开奖时间
*/
public void setOpentime(Integer opentime) {
this.opentime = opentime;
}
/**
* Getter for <code>yx.history_g24.addTime</code>. 提交时间
*/
public LocalDateTime getAddtime() {
return this.addtime;
}
/**
* Setter for <code>yx.history_g24.addTime</code>. 提交时间
*/
public void setAddtime(LocalDateTime addtime) {
this.addtime = addtime;
}
/**
* Getter for <code>yx.history_g24.gameID</code>. 游戏ID
*/
public String getGameid() {
return this.gameid;
}
/**
* Setter for <code>yx.history_g24.gameID</code>. 游戏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();
}
}

View File

@ -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 <code>yx.idc9998_admin_info.id</code>.
*/
public String getId() {
return this.id;
}
/**
* Setter for <code>yx.idc9998_admin_info.id</code>.
*/
public void setId(String id) {
this.id = id;
}
/**
* Getter for <code>yx.idc9998_admin_info.status</code>. 1启用,0禁用
*/
public Integer getStatus() {
return this.status;
}
/**
* Setter for <code>yx.idc9998_admin_info.status</code>. 1启用,0禁用
*/
public void setStatus(Integer status) {
this.status = status;
}
/**
* Getter for <code>yx.idc9998_admin_info.manager_name</code>. 采集管理员账号
*/
public String getManagerName() {
return this.managerName;
}
/**
* Setter for <code>yx.idc9998_admin_info.manager_name</code>. 采集管理员账号
*/
public void setManagerName(String managerName) {
this.managerName = managerName;
}
/**
* Getter for <code>yx.idc9998_admin_info.member_name</code>. 采集会员账号
*/
public String getMemberName() {
return this.memberName;
}
/**
* Setter for <code>yx.idc9998_admin_info.member_name</code>. 采集会员账号
*/
public void setMemberName(String memberName) {
this.memberName = memberName;
}
/**
* Getter for <code>yx.idc9998_admin_info.user_name</code>. 采集用户账号
*/
public String getUserName() {
return this.userName;
}
/**
* Setter for <code>yx.idc9998_admin_info.user_name</code>. 采集用户账号
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* Getter for <code>yx.idc9998_admin_info.user_password</code>. 采集用户密码
*/
public String getUserPassword() {
return this.userPassword;
}
/**
* Setter for <code>yx.idc9998_admin_info.user_password</code>. 采集用户密码
*/
public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
}
/**
* Getter for <code>yx.idc9998_admin_info.domain</code>. 网站域名或者IP,无须/
*/
public String getDomain() {
return this.domain;
}
/**
* Setter for <code>yx.idc9998_admin_info.domain</code>. 网站域名或者IP,无须/
*/
public void setDomain(String domain) {
this.domain = domain;
}
/**
* Getter for <code>yx.idc9998_admin_info.is_default</code>. 是否默认为默认采集号
*/
public Integer getIsDefault() {
return this.isDefault;
}
/**
* Setter for <code>yx.idc9998_admin_info.is_default</code>. 是否默认为默认采集号
*/
public void setIsDefault(Integer isDefault) {
this.isDefault = isDefault;
}
/**
* Getter for <code>yx.idc9998_admin_info.is_online</code>. 1在线,0掉线
*/
public Integer getIsOnline() {
return this.isOnline;
}
/**
* Setter for <code>yx.idc9998_admin_info.is_online</code>. 1在线,0掉线
*/
public void setIsOnline(Integer isOnline) {
this.isOnline = isOnline;
}
/**
* Getter for <code>yx.idc9998_admin_info.login_info</code>. 最后一次登录cookie信息
*/
public String getLoginInfo() {
return this.loginInfo;
}
/**
* Setter for <code>yx.idc9998_admin_info.login_info</code>. 最后一次登录cookie信息
*/
public void setLoginInfo(String loginInfo) {
this.loginInfo = loginInfo;
}
/**
* Getter for <code>yx.idc9998_admin_info.g_24</code>. 幸运飞艇
*/
public Integer getG_24() {
return this.g_24;
}
/**
* Setter for <code>yx.idc9998_admin_info.g_24</code>. 幸运飞艇
*/
public void setG_24(Integer g_24) {
this.g_24 = g_24;
}
/**
* Getter for <code>yx.idc9998_admin_info.g_29</code>. 极速时时彩
*/
public Integer getG_29() {
return this.g_29;
}
/**
* Setter for <code>yx.idc9998_admin_info.g_29</code>. 极速时时彩
*/
public void setG_29(Integer g_29) {
this.g_29 = g_29;
}
/**
* Getter for <code>yx.idc9998_admin_info.g_30</code>. 极速赛车
*/
public Integer getG_30() {
return this.g_30;
}
/**
* Setter for <code>yx.idc9998_admin_info.g_30</code>. 极速赛车
*/
public void setG_30(Integer g_30) {
this.g_30 = g_30;
}
/**
* Getter for <code>yx.idc9998_admin_info.g_31</code>. 极速飞艇
*/
public Integer getG_31() {
return this.g_31;
}
/**
* Setter for <code>yx.idc9998_admin_info.g_31</code>. 极速飞艇
*/
public void setG_31(Integer g_31) {
this.g_31 = g_31;
}
/**
* Getter for <code>yx.idc9998_admin_info.g_35</code>. 澳洲幸运5
*/
public Integer getG_35() {
return this.g_35;
}
/**
* Setter for <code>yx.idc9998_admin_info.g_35</code>. 澳洲幸运5
*/
public void setG_35(Integer g_35) {
this.g_35 = g_35;
}
/**
* Getter for <code>yx.idc9998_admin_info.g_37</code>. 澳洲幸运10
*/
public Integer getG_37() {
return this.g_37;
}
/**
* Setter for <code>yx.idc9998_admin_info.g_37</code>. 澳洲幸运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();
}
}

View File

@ -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<CurrentG24Record> implements Record8<String, String, String, String, Integer, Integer, LocalDateTime, String> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>yx.current_g24.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>yx.current_g24.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>yx.current_g24.newIssue</code>. 当前期号
*/
public void setNewissue(String value) {
set(1, value);
}
/**
* Getter for <code>yx.current_g24.newIssue</code>. 当前期号
*/
public String getNewissue() {
return (String) get(1);
}
/**
* Setter for <code>yx.current_g24.issue</code>. 下一期号
*/
public void setIssue(String value) {
set(2, value);
}
/**
* Getter for <code>yx.current_g24.issue</code>. 下一期号
*/
public String getIssue() {
return (String) get(2);
}
/**
* Setter for <code>yx.current_g24.ball</code>. 开奖号码
*/
public void setBall(String value) {
set(3, value);
}
/**
* Getter for <code>yx.current_g24.ball</code>. 开奖号码
*/
public String getBall() {
return (String) get(3);
}
/**
* Setter for <code>yx.current_g24.closeTime</code>. 关闭时间
*/
public void setClosetime(Integer value) {
set(4, value);
}
/**
* Getter for <code>yx.current_g24.closeTime</code>. 关闭时间
*/
public Integer getClosetime() {
return (Integer) get(4);
}
/**
* Setter for <code>yx.current_g24.openTime</code>. 开奖时间
*/
public void setOpentime(Integer value) {
set(5, value);
}
/**
* Getter for <code>yx.current_g24.openTime</code>. 开奖时间
*/
public Integer getOpentime() {
return (Integer) get(5);
}
/**
* Setter for <code>yx.current_g24.addTime</code>. 提交时间
*/
public void setAddtime(LocalDateTime value) {
set(6, value);
}
/**
* Getter for <code>yx.current_g24.addTime</code>. 提交时间
*/
public LocalDateTime getAddtime() {
return (LocalDateTime) get(6);
}
/**
* Setter for <code>yx.current_g24.gameID</code>. 游戏ID
*/
public void setGameid(String value) {
set(7, value);
}
/**
* Getter for <code>yx.current_g24.gameID</code>. 游戏ID
*/
public String getGameid() {
return (String) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Record8 type implementation
// -------------------------------------------------------------------------
@Override
public Row8<String, String, String, String, Integer, Integer, LocalDateTime, String> fieldsRow() {
return (Row8) super.fieldsRow();
}
@Override
public Row8<String, String, String, String, Integer, Integer, LocalDateTime, String> valuesRow() {
return (Row8) super.valuesRow();
}
@Override
public Field<String> field1() {
return CurrentG24.CURRENT_G24.ID;
}
@Override
public Field<String> field2() {
return CurrentG24.CURRENT_G24.NEWISSUE;
}
@Override
public Field<String> field3() {
return CurrentG24.CURRENT_G24.ISSUE;
}
@Override
public Field<String> field4() {
return CurrentG24.CURRENT_G24.BALL;
}
@Override
public Field<Integer> field5() {
return CurrentG24.CURRENT_G24.CLOSETIME;
}
@Override
public Field<Integer> field6() {
return CurrentG24.CURRENT_G24.OPENTIME;
}
@Override
public Field<LocalDateTime> field7() {
return CurrentG24.CURRENT_G24.ADDTIME;
}
@Override
public Field<String> 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();
}
}
}

View File

@ -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<HistoryG24Record> implements Record8<String, String, String, String, Integer, Integer, LocalDateTime, String> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>yx.history_g24.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>yx.history_g24.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>yx.history_g24.newIssue</code>. 当前期号
*/
public void setNewissue(String value) {
set(1, value);
}
/**
* Getter for <code>yx.history_g24.newIssue</code>. 当前期号
*/
public String getNewissue() {
return (String) get(1);
}
/**
* Setter for <code>yx.history_g24.issue</code>. 下一期号
*/
public void setIssue(String value) {
set(2, value);
}
/**
* Getter for <code>yx.history_g24.issue</code>. 下一期号
*/
public String getIssue() {
return (String) get(2);
}
/**
* Setter for <code>yx.history_g24.ball</code>. 开奖号码
*/
public void setBall(String value) {
set(3, value);
}
/**
* Getter for <code>yx.history_g24.ball</code>. 开奖号码
*/
public String getBall() {
return (String) get(3);
}
/**
* Setter for <code>yx.history_g24.closeTime</code>. 关闭时间
*/
public void setClosetime(Integer value) {
set(4, value);
}
/**
* Getter for <code>yx.history_g24.closeTime</code>. 关闭时间
*/
public Integer getClosetime() {
return (Integer) get(4);
}
/**
* Setter for <code>yx.history_g24.openTime</code>. 开奖时间
*/
public void setOpentime(Integer value) {
set(5, value);
}
/**
* Getter for <code>yx.history_g24.openTime</code>. 开奖时间
*/
public Integer getOpentime() {
return (Integer) get(5);
}
/**
* Setter for <code>yx.history_g24.addTime</code>. 提交时间
*/
public void setAddtime(LocalDateTime value) {
set(6, value);
}
/**
* Getter for <code>yx.history_g24.addTime</code>. 提交时间
*/
public LocalDateTime getAddtime() {
return (LocalDateTime) get(6);
}
/**
* Setter for <code>yx.history_g24.gameID</code>. 游戏ID
*/
public void setGameid(String value) {
set(7, value);
}
/**
* Getter for <code>yx.history_g24.gameID</code>. 游戏ID
*/
public String getGameid() {
return (String) get(7);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Record8 type implementation
// -------------------------------------------------------------------------
@Override
public Row8<String, String, String, String, Integer, Integer, LocalDateTime, String> fieldsRow() {
return (Row8) super.fieldsRow();
}
@Override
public Row8<String, String, String, String, Integer, Integer, LocalDateTime, String> valuesRow() {
return (Row8) super.valuesRow();
}
@Override
public Field<String> field1() {
return HistoryG24.HISTORY_G24.ID;
}
@Override
public Field<String> field2() {
return HistoryG24.HISTORY_G24.NEWISSUE;
}
@Override
public Field<String> field3() {
return HistoryG24.HISTORY_G24.ISSUE;
}
@Override
public Field<String> field4() {
return HistoryG24.HISTORY_G24.BALL;
}
@Override
public Field<Integer> field5() {
return HistoryG24.HISTORY_G24.CLOSETIME;
}
@Override
public Field<Integer> field6() {
return HistoryG24.HISTORY_G24.OPENTIME;
}
@Override
public Field<LocalDateTime> field7() {
return HistoryG24.HISTORY_G24.ADDTIME;
}
@Override
public Field<String> 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();
}
}
}

View File

@ -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<Idc9998AdminInfoRecord> implements Record16<String, Integer, String, String, String, String, String, Integer, Integer, String, Integer, Integer, Integer, Integer, Integer, Integer> {
private static final long serialVersionUID = 1L;
/**
* Setter for <code>yx.idc9998_admin_info.id</code>.
*/
public void setId(String value) {
set(0, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.id</code>.
*/
public String getId() {
return (String) get(0);
}
/**
* Setter for <code>yx.idc9998_admin_info.status</code>. 1启用,0禁用
*/
public void setStatus(Integer value) {
set(1, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.status</code>. 1启用,0禁用
*/
public Integer getStatus() {
return (Integer) get(1);
}
/**
* Setter for <code>yx.idc9998_admin_info.manager_name</code>. 采集管理员账号
*/
public void setManagerName(String value) {
set(2, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.manager_name</code>. 采集管理员账号
*/
public String getManagerName() {
return (String) get(2);
}
/**
* Setter for <code>yx.idc9998_admin_info.member_name</code>. 采集会员账号
*/
public void setMemberName(String value) {
set(3, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.member_name</code>. 采集会员账号
*/
public String getMemberName() {
return (String) get(3);
}
/**
* Setter for <code>yx.idc9998_admin_info.user_name</code>. 采集用户账号
*/
public void setUserName(String value) {
set(4, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.user_name</code>. 采集用户账号
*/
public String getUserName() {
return (String) get(4);
}
/**
* Setter for <code>yx.idc9998_admin_info.user_password</code>. 采集用户密码
*/
public void setUserPassword(String value) {
set(5, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.user_password</code>. 采集用户密码
*/
public String getUserPassword() {
return (String) get(5);
}
/**
* Setter for <code>yx.idc9998_admin_info.domain</code>. 网站域名或者IP,无须/
*/
public void setDomain(String value) {
set(6, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.domain</code>. 网站域名或者IP,无须/
*/
public String getDomain() {
return (String) get(6);
}
/**
* Setter for <code>yx.idc9998_admin_info.is_default</code>. 是否默认为默认采集号
*/
public void setIsDefault(Integer value) {
set(7, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.is_default</code>. 是否默认为默认采集号
*/
public Integer getIsDefault() {
return (Integer) get(7);
}
/**
* Setter for <code>yx.idc9998_admin_info.is_online</code>. 1在线,0掉线
*/
public void setIsOnline(Integer value) {
set(8, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.is_online</code>. 1在线,0掉线
*/
public Integer getIsOnline() {
return (Integer) get(8);
}
/**
* Setter for <code>yx.idc9998_admin_info.login_info</code>. 最后一次登录cookie信息
*/
public void setLoginInfo(String value) {
set(9, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.login_info</code>. 最后一次登录cookie信息
*/
public String getLoginInfo() {
return (String) get(9);
}
/**
* Setter for <code>yx.idc9998_admin_info.g_24</code>. 幸运飞艇
*/
public void setG_24(Integer value) {
set(10, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.g_24</code>. 幸运飞艇
*/
public Integer getG_24() {
return (Integer) get(10);
}
/**
* Setter for <code>yx.idc9998_admin_info.g_29</code>. 极速时时彩
*/
public void setG_29(Integer value) {
set(11, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.g_29</code>. 极速时时彩
*/
public Integer getG_29() {
return (Integer) get(11);
}
/**
* Setter for <code>yx.idc9998_admin_info.g_30</code>. 极速赛车
*/
public void setG_30(Integer value) {
set(12, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.g_30</code>. 极速赛车
*/
public Integer getG_30() {
return (Integer) get(12);
}
/**
* Setter for <code>yx.idc9998_admin_info.g_31</code>. 极速飞艇
*/
public void setG_31(Integer value) {
set(13, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.g_31</code>. 极速飞艇
*/
public Integer getG_31() {
return (Integer) get(13);
}
/**
* Setter for <code>yx.idc9998_admin_info.g_35</code>. 澳洲幸运5
*/
public void setG_35(Integer value) {
set(14, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.g_35</code>. 澳洲幸运5
*/
public Integer getG_35() {
return (Integer) get(14);
}
/**
* Setter for <code>yx.idc9998_admin_info.g_37</code>. 澳洲幸运10
*/
public void setG_37(Integer value) {
set(15, value);
}
/**
* Getter for <code>yx.idc9998_admin_info.g_37</code>. 澳洲幸运10
*/
public Integer getG_37() {
return (Integer) get(15);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<String> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Record16 type implementation
// -------------------------------------------------------------------------
@Override
public Row16<String, Integer, String, String, String, String, String, Integer, Integer, String, Integer, Integer, Integer, Integer, Integer, Integer> fieldsRow() {
return (Row16) super.fieldsRow();
}
@Override
public Row16<String, Integer, String, String, String, String, String, Integer, Integer, String, Integer, Integer, Integer, Integer, Integer, Integer> valuesRow() {
return (Row16) super.valuesRow();
}
@Override
public Field<String> field1() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.ID;
}
@Override
public Field<Integer> field2() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.STATUS;
}
@Override
public Field<String> field3() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.MANAGER_NAME;
}
@Override
public Field<String> field4() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.MEMBER_NAME;
}
@Override
public Field<String> field5() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_NAME;
}
@Override
public Field<String> field6() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.USER_PASSWORD;
}
@Override
public Field<String> field7() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.DOMAIN;
}
@Override
public Field<Integer> field8() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_DEFAULT;
}
@Override
public Field<Integer> field9() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.IS_ONLINE;
}
@Override
public Field<String> field10() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.LOGIN_INFO;
}
@Override
public Field<Integer> field11() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_24;
}
@Override
public Field<Integer> field12() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_29;
}
@Override
public Field<Integer> field13() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_30;
}
@Override
public Field<Integer> field14() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_31;
}
@Override
public Field<Integer> field15() {
return Idc9998AdminInfo.IDC9998_ADMIN_INFO.G_35;
}
@Override
public Field<Integer> 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();
}
}
}

View File

@ -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));
}
}

View File

@ -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));
}
}

View File

@ -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));
}
}

View File

@ -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<CurrentG24>, 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<CurrentG24> 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<CurrentG24> 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<CurrentG24> 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<CurrentG24> 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<CurrentG24> 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<CurrentG24> 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<CurrentG24> 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<UpdateModel> updateAllColumns(CurrentG24 row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(CurrentG24 row, UpdateDSL<UpdateModel> 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))
);
}
}

View File

@ -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<HistoryG24>, 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<HistoryG24> 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<HistoryG24> 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<HistoryG24> 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<HistoryG24> 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<HistoryG24> 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<HistoryG24> 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<HistoryG24> 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<UpdateModel> updateAllColumns(HistoryG24 row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(HistoryG24 row, UpdateDSL<UpdateModel> 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))
);
}
}

View File

@ -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<Idc9998AdminInfo>, 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<Idc9998AdminInfo> 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<Idc9998AdminInfo> 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<Idc9998AdminInfo> 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<Idc9998AdminInfo> 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<Idc9998AdminInfo> 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<Idc9998AdminInfo> 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<Idc9998AdminInfo> 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<UpdateModel> updateAllColumns(Idc9998AdminInfo row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(Idc9998AdminInfo row, UpdateDSL<UpdateModel> 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))
);
}
}

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysAdminMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysAdmin>, 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<SysAdmin> 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<SysAdmin> 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<SysAdmin> 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<SysAdmin> 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<SysAdmin> 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<SysAdmin> 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<SysAdmin> 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<UpdateModel> updateAllColumns(SysAdmin row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysAdmin row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysAdminMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysAdminMenu>, 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<SysAdminMenu> 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<SysAdminMenu> 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<SysAdminMenu> 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<SysAdminMenu> 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<SysAdminMenu> 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<SysAdminMenu> 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<SysAdminMenu> 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<UpdateModel> updateAllColumns(SysAdminMenu row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysAdminMenu row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysAdminRoleMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysAdminRole>, 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<SysAdminRole> 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<SysAdminRole> 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<SysAdminRole> 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<SysAdminRole> 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<SysAdminRole> 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<SysAdminRole> 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<SysAdminRole> 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<UpdateModel> updateAllColumns(SysAdminRole row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysAdminRole row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysConfigMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysConfig>, 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<SysConfig> 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<SysConfig> 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<SysConfig> 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<SysConfig> 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<SysConfig> 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<SysConfig> 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<SysConfig> 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<UpdateModel> updateAllColumns(SysConfig row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysConfig row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysMenuMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysMenu>, 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<SysMenu> 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<SysMenu> 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<SysMenu> 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<SysMenu> 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<SysMenu> 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<SysMenu> 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<SysMenu> 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<UpdateModel> updateAllColumns(SysMenu row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysMenu row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysOrgMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysOrg>, 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<SysOrg> 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<SysOrg> 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<SysOrg> 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<SysOrg> 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<SysOrg> 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<SysOrg> 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<SysOrg> 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<UpdateModel> updateAllColumns(SysOrg row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysOrg row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysResourceMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysResource>, 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<SysResource> 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<SysResource> 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<SysResource> 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<SysResource> 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<SysResource> 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<SysResource> 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<SysResource> 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<UpdateModel> updateAllColumns(SysResource row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysResource row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysRoleMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysRole>, 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<SysRole> 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<SysRole> 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<SysRole> 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<SysRole> 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<SysRole> 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<SysRole> 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<SysRole> 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<UpdateModel> updateAllColumns(SysRole row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysRole row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysRoleResourceMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysRoleResource>, 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<SysRoleResource> 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<SysRoleResource> 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<SysRoleResource> 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<SysRoleResource> 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<SysRoleResource> 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<SysRoleResource> 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<SysRoleResource> 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<UpdateModel> updateAllColumns(SysRoleResource row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysRoleResource row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysRoleUrlMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysRoleUrl>, 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<SysRoleUrl> 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<SysRoleUrl> 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<SysRoleUrl> 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<SysRoleUrl> 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<SysRoleUrl> 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<SysRoleUrl> 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<SysRoleUrl> 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<UpdateModel> updateAllColumns(SysRoleUrl row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysRoleUrl row, UpdateDSL<UpdateModel> 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)

View File

@ -31,10 +31,10 @@ import org.mybatis.dynamic.sql.util.mybatis3.MyBatis3Utils;
@Mapper
public interface SysUrlsMapper extends CommonCountMapper, CommonDeleteMapper, CommonInsertMapper<SysUrls>, 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<SysUrls> 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<SysUrls> 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<SysUrls> 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<SysUrls> 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<SysUrls> 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<SysUrls> 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<SysUrls> 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<UpdateModel> updateAllColumns(SysUrls row, UpdateDSL<UpdateModel> 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<UpdateModel> updateSelectiveColumns(SysUrls row, UpdateDSL<UpdateModel> 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)

View File

@ -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<String> 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<String> 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<String> 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<String> 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<Integer> 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<Integer> 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<LocalDateTime> 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<String> 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<CurrentG24> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);
public final SqlColumn<String> newIssue = column("newIssue", JDBCType.VARCHAR);
public final SqlColumn<String> issue = column("issue", JDBCType.VARCHAR);
public final SqlColumn<String> ball = column("ball", JDBCType.VARCHAR);
public final SqlColumn<Integer> closeTime = column("closeTime", JDBCType.INTEGER);
public final SqlColumn<Integer> openTime = column("openTime", JDBCType.INTEGER);
public final SqlColumn<LocalDateTime> addTime = column("addTime", JDBCType.TIMESTAMP);
public final SqlColumn<String> gameID = column("gameID", JDBCType.VARCHAR);
public CurrentG24() {
super("current_g24", CurrentG24::new);
}
}
}

View File

@ -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<String> 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<String> 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<String> 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<String> 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<Integer> 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<Integer> 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<LocalDateTime> 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<String> 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<HistoryG24> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);
public final SqlColumn<String> newIssue = column("newIssue", JDBCType.VARCHAR);
public final SqlColumn<String> issue = column("issue", JDBCType.VARCHAR);
public final SqlColumn<String> ball = column("ball", JDBCType.VARCHAR);
public final SqlColumn<Integer> closeTime = column("closeTime", JDBCType.INTEGER);
public final SqlColumn<Integer> openTime = column("openTime", JDBCType.INTEGER);
public final SqlColumn<LocalDateTime> addTime = column("addTime", JDBCType.TIMESTAMP);
public final SqlColumn<String> gameID = column("gameID", JDBCType.VARCHAR);
public HistoryG24() {
super("history_g24", HistoryG24::new);
}
}
}

View File

@ -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<String> 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<Integer> 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<String> 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<String> 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<String> 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<String> 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<String> 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<Integer> 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<Integer> 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<String> 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<Integer> 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<Integer> 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<Integer> 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<Integer> 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<Integer> 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<Integer> 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<Idc9998AdminInfo> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);
public final SqlColumn<Integer> status = column("status", JDBCType.INTEGER);
public final SqlColumn<String> manager_name = column("manager_name", JDBCType.VARCHAR);
public final SqlColumn<String> member_name = column("member_name", JDBCType.VARCHAR);
public final SqlColumn<String> user_name = column("user_name", JDBCType.VARCHAR);
public final SqlColumn<String> user_password = column("user_password", JDBCType.VARCHAR);
public final SqlColumn<String> domain = column("domain", JDBCType.VARCHAR);
public final SqlColumn<Integer> is_default = column("is_default", JDBCType.INTEGER);
public final SqlColumn<Integer> is_online = column("is_online", JDBCType.INTEGER);
public final SqlColumn<String> login_info = column("login_info", JDBCType.VARCHAR);
public final SqlColumn<Integer> g_24 = column("g_24", JDBCType.INTEGER);
public final SqlColumn<Integer> g_29 = column("g_29", JDBCType.INTEGER);
public final SqlColumn<Integer> g_30 = column("g_30", JDBCType.INTEGER);
public final SqlColumn<Integer> g_31 = column("g_31", JDBCType.INTEGER);
public final SqlColumn<Integer> g_35 = column("g_35", JDBCType.INTEGER);
public final SqlColumn<Integer> g_37 = column("g_37", JDBCType.INTEGER);
public Idc9998AdminInfo() {
super("idc9998_admin_info", Idc9998AdminInfo::new);
}
}
}

View File

@ -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<String> 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<String> 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<Integer> 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<String> 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<String> 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<String> 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<Integer> 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<SysAdmin> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<String> 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<SysAdminMenu> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<Integer> 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<SysAdminRole> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<String> 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<String> 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<String> 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<String> 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<LocalDateTime> 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<SysConfig> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<Integer> 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<String> 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<String> 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<String> 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<String> 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<Integer> 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<String> 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<Integer> 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<SysMenu> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<Integer> 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<String> 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<SysOrg> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<Short> 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<String> 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<String> 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<String> 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<String> 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<Byte> 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<String> 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<SysResource> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<String> 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<SysRole> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<String> 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<SysRoleResource> {
public final SqlColumn<String> roleid = column("roleid", JDBCType.VARCHAR);

View File

@ -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<String> 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<String> 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<String> 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<Integer> 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<SysRoleUrl> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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<String> 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<Integer> 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<Integer> 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<Integer> 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<String> 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<String> 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<String> 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<SysUrls> {
public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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;
}
}

View File

@ -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;
}

View File

@ -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();
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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();
}

View File

@ -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;
}

View File

@ -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();
}

View File

@ -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
// }
//
// }
//
//
//
//}

View File

@ -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<String, Hgt8> instances = new HashMap<String, Hgt8>();
//
// 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<String, String> pram = new HashMap<String, String>();
// 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
//// }
//// }
//
//}

View File

@ -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
jj.tech.paolu: debug

View File

@ -87,6 +87,9 @@ mybatis:
call-setters-on-nulls: true
map-underscore-to-camel-case: false
idc9998:
headless: true
logging:
level:
root: info

View File

@ -34,16 +34,6 @@
<pattern>%d{yyyy-MM-dd HH-mm-ss.SSSXXX} [%thread] %-5level %logger{36} -%kvp- %msg%n</pattern>
</encoder>
</appender>-->
<logger name="jj.tech.paolu">
<level value="info"/>
</logger>
<logger name="org.springframework.jdbc.core">
<level value="info"/>
</logger>
<logger name="org.springframework.jdbc.support">
<level value="info"/>
</logger>
<root level="info">

View File

@ -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);

View File

@ -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)
);