Compare commits
26 Commits
5a4be0f47e
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 4853ba15a6 | |||
| 4b45a77c02 | |||
| e90b2b34e2 | |||
| f441a5f7c1 | |||
| b3d2343dfc | |||
| c58d9c2dcd | |||
| 3c275cf468 | |||
| 6cafb75771 | |||
| 8d6d3b2dd6 | |||
| 64abd84853 | |||
| 039cd9a635 | |||
| 0ba62304c7 | |||
| f8083afbd8 | |||
| 8de93d9882 | |||
| 304d88541a | |||
| 1b771fca15 | |||
| 0839e19a3e | |||
| f6702ddf98 | |||
| e27d8ba30b | |||
| 52ef3cde14 | |||
| d31c089252 | |||
| 8833034ee5 | |||
| 6842f7043f | |||
| 530e0e1984 | |||
| dd688b6446 | |||
| 33ce4af660 |
41
src/main/java/com/mini/capi/Dao/DateInfo.java
Normal file
41
src/main/java/com/mini/capi/Dao/DateInfo.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.mini.capi.Dao;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class DateInfo implements Serializable {
|
||||
|
||||
private String queryDate; // 查询日期(yyyy-MM-dd)
|
||||
|
||||
// 农历信息字段
|
||||
private String fullChineseDate; // 完整农历(如:二零二六年正月十八)
|
||||
private Integer chineseYear; // 农历年(如:二零二六年)
|
||||
private String chineseMonth; // 农历月(如:正月)
|
||||
private String chineseDay; // 农历日(如:十八)
|
||||
private String chineseZodiac; // 生肖(如:马)
|
||||
|
||||
// 星期/周末状态字段
|
||||
private int dayOfWeekNum; // 星期数字(1=周日,7=周六)
|
||||
private String dayOfWeek; // 中文星期(如:周一)
|
||||
private boolean isWeekend; // 是否为周末
|
||||
private boolean isAdjustWorkday; // 是否为调休工作日
|
||||
|
||||
public DateInfo() {
|
||||
}
|
||||
|
||||
public DateInfo(String queryDate, String fullChineseDate, Integer chineseYear, String chineseMonth, String chineseDay, String chineseZodiac, int dayOfWeekNum, String dayOfWeek, boolean isWeekend, boolean isAdjustWorkday) {
|
||||
// 为成员变量赋值
|
||||
this.queryDate = queryDate;
|
||||
this.fullChineseDate = fullChineseDate;
|
||||
this.chineseYear = chineseYear;
|
||||
this.chineseMonth = chineseMonth;
|
||||
this.chineseDay = chineseDay;
|
||||
this.chineseZodiac = chineseZodiac;
|
||||
this.dayOfWeekNum = dayOfWeekNum;
|
||||
this.dayOfWeek = dayOfWeek;
|
||||
this.isWeekend = isWeekend;
|
||||
this.isAdjustWorkday = isAdjustWorkday;
|
||||
}
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
package com.mini.capi.api.biz;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mini.capi.biz.domain.ErpSummaryAllView;
|
||||
import com.mini.capi.biz.domain.ErpSummarySourceView;
|
||||
import com.mini.capi.biz.service.ErpSummaryAllViewService;
|
||||
import com.mini.capi.biz.service.ErpSummarySourceViewService;
|
||||
import com.mini.capi.model.ApiResult;
|
||||
import com.mini.capi.utils.DateUtils;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.util.StringUtils;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/appApi")
|
||||
public class appController {
|
||||
|
||||
|
||||
@Resource
|
||||
private ErpSummaryAllViewService summaryAllViewService;
|
||||
|
||||
|
||||
@Resource
|
||||
private ErpSummarySourceViewService summarySourceViewService;
|
||||
|
||||
|
||||
/**
|
||||
* 实时汇总
|
||||
*/
|
||||
@GetMapping("getSummaryAllChart")
|
||||
public ApiResult<?> getSummaryAllChart(String cycleType) {
|
||||
QueryWrapper<ErpSummaryAllView> queryWrapper = new QueryWrapper<>();
|
||||
if (StringUtils.hasText(cycleType)) {
|
||||
queryWrapper.eq("f_cycle", cycleType);
|
||||
String cDate = DateUtils.calculateStartCycleCode(cycleType);
|
||||
if (cDate != null) {
|
||||
queryWrapper.ge("c_date", cDate);
|
||||
}
|
||||
}
|
||||
List<ErpSummaryAllView> summaryViews = summaryAllViewService.list(queryWrapper);
|
||||
return ApiResult.success(summaryViews);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分类汇总
|
||||
*/
|
||||
@GetMapping("getSummarySourceChart")
|
||||
public ApiResult<?> getSummarySourceChart(String cycleType, String source) {
|
||||
QueryWrapper<ErpSummarySourceView> queryWrapper = new QueryWrapper<>();
|
||||
if (StringUtils.hasText(source)) {
|
||||
queryWrapper.eq("f_source", source);
|
||||
}
|
||||
if (StringUtils.hasText(cycleType)) {
|
||||
queryWrapper.eq("f_cycle", cycleType);
|
||||
String cDate = DateUtils.calculateStartCycleCode(cycleType);
|
||||
if (cDate != null) {
|
||||
queryWrapper.ge("c_date", cDate);
|
||||
}
|
||||
}
|
||||
List<ErpSummarySourceView> summaryViews = summarySourceViewService.list(queryWrapper);
|
||||
return ApiResult.success(summaryViews);
|
||||
}
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
package com.mini.capi.api.biz;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
||||
import com.mini.capi.biz.domain.*;
|
||||
import com.mini.capi.biz.service.*;
|
||||
import com.mini.capi.model.ApiResult;
|
||||
import com.mini.capi.utils.BigDecimalUtils;
|
||||
import com.mini.capi.utils.vId;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/erpApi")
|
||||
public class erpController {
|
||||
|
||||
|
||||
@Resource
|
||||
private ErpTransactionFlowService erpTransactionFlowService;
|
||||
|
||||
@Resource
|
||||
private ErpAccountService erpAccountService;
|
||||
|
||||
@Resource
|
||||
private ErpCategoryService erpCategoryService;
|
||||
|
||||
|
||||
@Resource
|
||||
private ErpExpenseService erpExpenseService;
|
||||
|
||||
@Resource
|
||||
private ErpIncomeService erpIncomeService;
|
||||
|
||||
/**
|
||||
* 流水交易记账
|
||||
*/
|
||||
@GetMapping("getTranFlow")
|
||||
public ApiResult<?> getErpTranFlow(String flowId) {
|
||||
UpdateWrapper<ErpTransactionFlow> updateWrapper = new UpdateWrapper<>();
|
||||
updateWrapper.eq("flow_id", flowId);
|
||||
ErpTransactionFlow erpTransactionFlow = erpTransactionFlowService.getById(flowId);
|
||||
ErpAccount account = erpAccountService.getById(erpTransactionFlow.getAccountId());
|
||||
ErpCategory erpCategory = erpCategoryService.getById(erpTransactionFlow.getCategoryId());
|
||||
switch (erpTransactionFlow.getTransactionType()) {
|
||||
case "1":
|
||||
getExpense(erpTransactionFlow, account, erpCategory);
|
||||
updateAccount(account, erpTransactionFlow.getTransactionType(), erpTransactionFlow.getAmount());
|
||||
break;
|
||||
case "2":
|
||||
getIncome(erpTransactionFlow, account, erpCategory);
|
||||
updateAccount(account, erpTransactionFlow.getTransactionType(), erpTransactionFlow.getAmount());
|
||||
break;
|
||||
}
|
||||
erpTransactionFlow.setIsFinish("1");
|
||||
erpTransactionFlow.setUpdateTime(LocalDateTime.now());
|
||||
erpTransactionFlowService.update(erpTransactionFlow, updateWrapper);
|
||||
return ApiResult.success();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 收入
|
||||
*/
|
||||
private void getIncome(ErpTransactionFlow erpTransactionFlow, ErpAccount account, ErpCategory erpCategory) {
|
||||
ErpIncome erpIncome = new ErpIncome();
|
||||
erpIncome.setIncomeId(vId.getUid());
|
||||
erpIncome.setSflowId(erpTransactionFlow.getFlowId());
|
||||
erpIncome.setAccountId(account.getAccountId());
|
||||
erpIncome.setCategoryId(erpCategory.getCategoryId());
|
||||
erpIncome.setAmount(erpTransactionFlow.getAmount());
|
||||
erpIncomeService.save(erpIncome);
|
||||
}
|
||||
|
||||
/**
|
||||
* 支出
|
||||
*/
|
||||
private void getExpense(ErpTransactionFlow erpTransactionFlow, ErpAccount account, ErpCategory erpCategory) {
|
||||
ErpExpense erpExpense = new ErpExpense();
|
||||
erpExpense.setExpenseId(vId.getUid());
|
||||
erpExpense.setZflowId(erpTransactionFlow.getFlowId());
|
||||
erpExpense.setAccountId(account.getAccountId());
|
||||
erpExpense.setCategoryId(erpCategory.getCategoryId());
|
||||
erpExpense.setAmount(erpTransactionFlow.getAmount());
|
||||
erpExpenseService.save(erpExpense);
|
||||
}
|
||||
|
||||
/**
|
||||
* 账户更新
|
||||
*/
|
||||
private void updateAccount(ErpAccount account, String getTransactionType, BigDecimal amount) {
|
||||
UpdateWrapper<ErpAccount> updateWrapper = new UpdateWrapper<>();
|
||||
updateWrapper.eq("account_id", account.getAccountId());
|
||||
switch (getTransactionType) {
|
||||
case "1":
|
||||
account.setCurrentBalance(BigDecimalUtils.subtract(account.getCurrentBalance(), amount));
|
||||
break;
|
||||
case "2":
|
||||
account.setCurrentBalance(BigDecimalUtils.add(account.getCurrentBalance(), amount));
|
||||
break;
|
||||
}
|
||||
account.setUpdateTime(LocalDateTime.now());
|
||||
erpAccountService.update(account, updateWrapper);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,181 +0,0 @@
|
||||
package com.mini.capi.api.job;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
||||
import com.mini.capi.biz.domain.*;
|
||||
import com.mini.capi.biz.service.*;
|
||||
import com.mini.capi.model.ApiResult;
|
||||
import com.mini.capi.model.info.CpuInfo;
|
||||
import com.mini.capi.model.info.DiskInfo;
|
||||
import com.mini.capi.model.info.ServerInfo;
|
||||
import com.mini.capi.model.info.TableTree;
|
||||
import com.mini.capi.utils.*;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/jobApi")
|
||||
public class jobController {
|
||||
|
||||
|
||||
@Resource
|
||||
private BizMonitorHostService bizMonitorHostService;
|
||||
|
||||
|
||||
@Resource
|
||||
private BizMonitorAccountService bizMonitorAccountService;
|
||||
|
||||
@Resource
|
||||
private BizServerInfoService bizServerInfoService;
|
||||
|
||||
@Resource
|
||||
private BizDeviceInfoService bizDeviceInfoService;
|
||||
|
||||
@Resource
|
||||
private BizDbConfigService bizDbConfigService;
|
||||
|
||||
@Resource
|
||||
private DataTableInfoService dataTableInfoService;
|
||||
|
||||
@Resource
|
||||
private DataTableFieldService dataTableFieldService;
|
||||
|
||||
// 注入配置好的线程池
|
||||
@Resource(name = "hostMonitorExecutor")
|
||||
private ThreadPoolTaskExecutor hostMonitorExecutor;
|
||||
|
||||
|
||||
private static final LoggerUtils logger = LoggerUtils.getInstance();
|
||||
|
||||
/**
|
||||
* 主机在线状态检测
|
||||
*/
|
||||
@GetMapping("getMonitHostStatus")
|
||||
public ApiResult<?> getJobMonitHostStatus() {
|
||||
List<BizMonitorHost> monitorHosts = bizMonitorHostService.list();
|
||||
List<CompletableFuture<Void>> futures = new ArrayList<>(monitorHosts.size());
|
||||
for (BizMonitorHost monitorHost : monitorHosts) {
|
||||
CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
UpdateWrapper<BizMonitorHost> updateWrapper = new UpdateWrapper<>();
|
||||
updateWrapper.eq("host_id", monitorHost.getHostId());
|
||||
boolean isReachable = NetworkUtils.isNetworkReachable(monitorHost.getIpAddress());
|
||||
monitorHost.setUstatus(isReachable ? "1" : "0");
|
||||
if (isReachable) {
|
||||
syncServerInfo(monitorHost);
|
||||
monitorHost.setLastOnlineTime(LocalDateTime.now());
|
||||
}
|
||||
bizMonitorHostService.update(monitorHost, updateWrapper);
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getMessage());
|
||||
}
|
||||
}, hostMonitorExecutor); // 指定使用配置的线程池
|
||||
futures.add(future);
|
||||
}
|
||||
try {
|
||||
CompletableFuture.allOf(futures.toArray(new CompletableFuture[0]))
|
||||
.get(60, TimeUnit.SECONDS); // 超时时间可根据业务调整
|
||||
return ApiResult.success();
|
||||
} catch (Exception e) {
|
||||
return ApiResult.error(101, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 数据表同步
|
||||
*/
|
||||
@GetMapping("getJobDataTableMarge")
|
||||
public ApiResult<?> getJobDataTableMarge() {
|
||||
QueryWrapper<BizDbConfig> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("is_enabled", "1");
|
||||
List<BizDbConfig> configs = bizDbConfigService.list(queryWrapper);
|
||||
List<CompletableFuture<Void>> futures = new ArrayList<>(configs.size());
|
||||
for (BizDbConfig config : configs) {
|
||||
CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
List<TableTree> tableTrees = MysqlUtils.getTableTrees(config);
|
||||
for (TableTree tableTree : tableTrees) {
|
||||
DataTableInfo tableInfo = tableTree.getTableInfo();
|
||||
List<DataTableField> tableFields = tableTree.getTableFields();
|
||||
for (DataTableField tableField : tableFields) {
|
||||
dataTableFieldService.save(tableField);
|
||||
}
|
||||
dataTableInfoService.save(tableInfo);
|
||||
logger.info("已同步数据库:", tableInfo.getDataSource(), ",数据表:", tableInfo.getDataName(), ",总计:", tableFields.size(), "个字段");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getMessage());
|
||||
}
|
||||
}, hostMonitorExecutor); // 指定使用配置的线程池
|
||||
futures.add(future);
|
||||
}
|
||||
try {
|
||||
CompletableFuture.allOf(futures.toArray(new CompletableFuture[0]))
|
||||
.get(30, TimeUnit.SECONDS);
|
||||
return ApiResult.success();
|
||||
} catch (Exception e) {
|
||||
return ApiResult.error(101, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public void syncServerInfo(BizMonitorHost host) {
|
||||
try {
|
||||
// 查询账号,不存在直接返回
|
||||
QueryWrapper<BizMonitorAccount> accountQuery = new QueryWrapper<>();
|
||||
accountQuery.eq("host_id", host.getHostId()).eq("ssh_username", "ogsapp");
|
||||
BizMonitorAccount account = bizMonitorAccountService.getOne(accountQuery);
|
||||
if (account == null) return;
|
||||
// 获取服务器信息
|
||||
CpuInfo cpuInfo = SystemInfoUtil.getCpuMemUsage(host.getIpAddress(), account.getSshPort(), account.getSshUsername(), account.getSshPassword());
|
||||
ServerInfo info = SystemInfoUtil.getServerBasicInfo(host.getIpAddress(), account.getSshPort(), account.getSshUsername(), account.getSshPassword(), host.getIpAddress());
|
||||
List<DiskInfo> diskInfos = SystemInfoUtil.getDiskInfos(host.getIpAddress(), account.getSshPort(), account.getSshUsername(), account.getSshPassword());
|
||||
syncDeviceInfo(host, diskInfos);
|
||||
// 查询是否存在对应记录
|
||||
QueryWrapper<BizServerInfo> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("host_id", host.getHostId());
|
||||
BizServerInfo serverInfo = bizServerInfoService.getOne(queryWrapper);
|
||||
bizServerInfoService.removeById(serverInfo.getId());
|
||||
serverInfo.setUptime(info.getUptime());
|
||||
serverInfo.setOs(info.getOs());
|
||||
serverInfo.setKernelVersion(info.getKernelVersion());
|
||||
serverInfo.setHostname(info.getHostname());
|
||||
serverInfo.setIpAddress(info.getIpAddress());
|
||||
serverInfo.setCpuModel(info.getCpuModel());
|
||||
serverInfo.setMemoryTotal(info.getMemoryTotal());
|
||||
serverInfo.setCpuUsage(cpuInfo.getCpuUsage());
|
||||
serverInfo.setMemoryUsage(cpuInfo.getMemoryUsage());
|
||||
serverInfo.setLastOnlineTime(LocalDateTime.now());
|
||||
serverInfo.setHostId(host.getHostId()); // 新对象初始化唯一标识
|
||||
bizServerInfoService.save(serverInfo);
|
||||
} catch (Exception e) {
|
||||
logger.error(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void syncDeviceInfo(BizMonitorHost host, List<DiskInfo> diskInfos) {
|
||||
for (DiskInfo diskInfo : diskInfos) {
|
||||
QueryWrapper<BizDeviceInfo> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("host_id", host.getHostId()).eq("device", diskInfo.getDevice()).eq("mount_point", diskInfo.getMountPoint());
|
||||
BizDeviceInfo deviceInfo = bizDeviceInfoService.getOne(queryWrapper);
|
||||
bizDeviceInfoService.removeById(deviceInfo.getId());
|
||||
deviceInfo.setDevice(diskInfo.getDevice());
|
||||
deviceInfo.setMountPoint(diskInfo.getMountPoint());
|
||||
deviceInfo.setTotalSize(diskInfo.getTotalSize());
|
||||
deviceInfo.setUsedSize(diskInfo.getUsedSize());
|
||||
deviceInfo.setUsageRate(diskInfo.getUsageRate());
|
||||
deviceInfo.setLastOnlineTime(LocalDateTime.now());
|
||||
deviceInfo.setHostId(host.getHostId());
|
||||
bizDeviceInfoService.save(deviceInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
package com.mini.capi.api.service;
|
||||
|
||||
import com.mini.capi.config.component.AppNetworkInfo;
|
||||
import com.mini.capi.config.component.AppPathInfo;
|
||||
import com.mini.capi.config.component.AppProcessInfo;
|
||||
import com.mini.capi.config.component.AppRuntimeInfo;
|
||||
import com.mini.capi.model.info.*;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class sysService {
|
||||
|
||||
|
||||
@Resource
|
||||
private AppRuntimeInfo appRuntimeInfo;
|
||||
@Resource
|
||||
private AppPathInfo appPathInfo;
|
||||
@Resource
|
||||
private AppProcessInfo appProcessInfo;
|
||||
@Resource
|
||||
private AppNetworkInfo appNetworkInfo;
|
||||
|
||||
|
||||
public RunInfo getRunInfo() throws Exception {
|
||||
return RunInfo.builder()
|
||||
.runtimeInfo(RuntimeInfo.builder()
|
||||
.appName(appRuntimeInfo.getAppName())
|
||||
.serverPort(appRuntimeInfo.getServerPort())
|
||||
.activeProfiles(appRuntimeInfo.getActiveProfiles())
|
||||
.springBootVersion(appRuntimeInfo.getSpringBootVersion())
|
||||
.jdkVersion(appRuntimeInfo.getJdkVersion())
|
||||
.build())
|
||||
.pathInfo(PathInfo.builder()
|
||||
.workDir(appPathInfo.getWorkDir())
|
||||
.jarDir(appPathInfo.getJarDir())
|
||||
.resourceDir(appPathInfo.getResourceDir())
|
||||
.build())
|
||||
.processInfo(ProcessInfo.builder()
|
||||
.pid(appProcessInfo.getPid())
|
||||
.uptime(appProcessInfo.getUptime())
|
||||
.usedHeapMemory(appProcessInfo.getUsedHeapMemory())
|
||||
.maxHeapMemory(appProcessInfo.getMaxHeapMemory())
|
||||
.jvmArgs(appProcessInfo.getJvmArgs())
|
||||
.build())
|
||||
.networkInfo(NetworkInfo.builder()
|
||||
.hostName(appNetworkInfo.getHostName())
|
||||
.localIp(appNetworkInfo.getLocalIp())
|
||||
.allIps(appNetworkInfo.getAllIps())
|
||||
.build())
|
||||
.build();
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.mini.capi.api.sys;
|
||||
|
||||
import com.mini.capi.api.service.sysService;
|
||||
import com.mini.capi.model.ApiResult;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/sysApi")
|
||||
public class sysController {
|
||||
|
||||
|
||||
@Resource
|
||||
private sysService service;
|
||||
|
||||
/**
|
||||
* 运行信息
|
||||
*/
|
||||
@GetMapping("getRunInfo")
|
||||
public ApiResult<?> getRunInfo() {
|
||||
try {
|
||||
return ApiResult.success(service.getRunInfo());
|
||||
} catch (Exception e) {
|
||||
return ApiResult.error(101, e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
package com.mini.capi.biz;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.mini.capi.biz.domain.BizHomeUser;
|
||||
import com.mini.capi.biz.service.BizHomeUserService;
|
||||
import com.mini.capi.model.auth.LoginRequest;
|
||||
import com.mini.capi.model.info.TodoHandleDTO;
|
||||
import jakarta.annotation.Resource;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import jakarta.servlet.http.HttpSession;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/biz")
|
||||
public class LoginController {
|
||||
|
||||
|
||||
@Resource
|
||||
private BizHomeUserService userService;
|
||||
|
||||
|
||||
/**
|
||||
* 登录
|
||||
*/
|
||||
@PostMapping("/userLogin")
|
||||
public Map<String, Object> userLogin(@RequestBody LoginRequest loginRequest, HttpServletRequest request, HttpServletResponse response) {
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
try {
|
||||
String username = loginRequest.getUsername();
|
||||
String password = loginRequest.getPassword();
|
||||
|
||||
QueryWrapper<BizHomeUser> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.eq("user_name", username).eq("password", password);
|
||||
BizHomeUser user = userService.getOne(queryWrapper);
|
||||
if (user != null) {
|
||||
request.getSession().setAttribute("currentUser", user);
|
||||
// 3.3 返回成功响应
|
||||
result.put("success", true);
|
||||
result.put("message", "登录成功");
|
||||
} else {
|
||||
result.put("success", false);
|
||||
result.put("message", "账号或密码错误");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
result.put("success", false);
|
||||
result.put("message", "服务器内部错误," + e.getMessage());
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 处理退出登录请求
|
||||
* 对应前端 fetch('/logout', {method: 'POST'})
|
||||
*/
|
||||
@PostMapping("/logout")
|
||||
public ResponseEntity<Void> logout(HttpServletRequest request, HttpServletResponse response, HttpSession session) {
|
||||
try {
|
||||
// 3. 清除Session中的用户信息
|
||||
if (session != null) {
|
||||
session.removeAttribute("currentUser"); // 清除之前存入的currentUser
|
||||
session.invalidate(); // 使Session失效
|
||||
}
|
||||
// 5. 返回成功响应(200 OK)
|
||||
return ResponseEntity.ok().build();
|
||||
} catch (Exception e) {
|
||||
// 处理异常情况
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizBaseNoticeView")
|
||||
public class BizBaseNoticeViewController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 市区信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizCities")
|
||||
public class BizCitiesController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 公司信息表,用于存储公司基本信息 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizCompany")
|
||||
public class BizCompanyController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据库连接配置表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizDbConfig")
|
||||
public class BizDbConfigController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备存储信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizDeviceInfo")
|
||||
public class BizDeviceInfoController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件夹信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizFileFolders")
|
||||
public class BizFileFoldersController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizFiles")
|
||||
public class BizFilesController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-14
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizHomeUser")
|
||||
public class BizHomeUserController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 邮件账户配置表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizMailAccount")
|
||||
public class BizMailAccountController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 发送邮件表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizMailSent")
|
||||
public class BizMailSentController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* SSH账号密码表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizMonitorAccount")
|
||||
public class BizMonitorAccountController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 主机信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizMonitorHost")
|
||||
public class BizMonitorHostController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 地市信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizMunicipalities")
|
||||
public class BizMunicipalitiesController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目表用于存储公司内部各个项目的详细信息 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizProjectInfo")
|
||||
public class BizProjectInfoController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目汇报信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizProjectReport")
|
||||
public class BizProjectReportController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目需求表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizProjectRequirements")
|
||||
public class BizProjectRequirementsController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 省份信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizProvince")
|
||||
public class BizProvinceController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-15
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizQuickLogin")
|
||||
public class BizQuickLoginController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 员工表用于存储公司内部员工的基本信息 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizResumeEmployee")
|
||||
public class BizResumeEmployeeController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务器信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizServerInfo")
|
||||
public class BizServerInfoController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 待办任务子表(关联主任务) 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizSubTask")
|
||||
public class BizSubTaskController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizTodoTaskView")
|
||||
public class BizTodoTaskViewController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 网站信息存储表,用于记录网站登录信息及相关信息 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/bizWebsiteStorage")
|
||||
public class BizWebsiteStorageController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据表字段信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/dataTableField")
|
||||
public class DataTableFieldController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据表基础信息表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/dataTableInfo")
|
||||
public class DataTableInfoController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 账户信息 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpAccount")
|
||||
public class ErpAccountController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收支分类 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpCategory")
|
||||
public class ErpCategoryController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 支出明细表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpExpense")
|
||||
public class ErpExpenseController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收入明细表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpIncome")
|
||||
public class ErpIncomeController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpSummaryAllView")
|
||||
public class ErpSummaryAllViewController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpSummarySourceView")
|
||||
public class ErpSummarySourceViewController {
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mini.capi.biz.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收支流水总表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/biz/erpTransactionFlow")
|
||||
public class ErpTransactionFlowController {
|
||||
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_base_notice_view")
|
||||
public class BizBaseNoticeView implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
@TableField("notice_title")
|
||||
private String noticeTitle;
|
||||
|
||||
/**
|
||||
* 正文
|
||||
*/
|
||||
@TableField("notice_text")
|
||||
private String noticeText;
|
||||
|
||||
/**
|
||||
* 过期时间
|
||||
*/
|
||||
@TableField("expiration_time")
|
||||
private LocalDateTime expirationTime;
|
||||
}
|
||||
@@ -1,101 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 市区信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_cities")
|
||||
public class BizCities implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 省份编码
|
||||
*/
|
||||
@TableField("province_code")
|
||||
private String provinceCode;
|
||||
|
||||
/**
|
||||
* 市区编码
|
||||
*/
|
||||
@TableField("city_code")
|
||||
private String cityCode;
|
||||
|
||||
/**
|
||||
* 市区名称
|
||||
*/
|
||||
@TableField("city_name")
|
||||
private String cityName;
|
||||
|
||||
/**
|
||||
* 市区区号
|
||||
*/
|
||||
@TableField("area_code")
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 市区级别
|
||||
*/
|
||||
@TableField("area_type")
|
||||
private String areaType;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 数据状态
|
||||
*/
|
||||
@TableField("data_status")
|
||||
private String dataStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,110 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 公司信息表,用于存储公司基本信息
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_company")
|
||||
public class BizCompany implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录日期
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 公司标识
|
||||
*/
|
||||
@TableId(value = "company_id", type = IdType.AUTO)
|
||||
private String companyId;
|
||||
|
||||
/**
|
||||
* 公司名称
|
||||
*/
|
||||
@TableField("company_name")
|
||||
private String companyName;
|
||||
|
||||
/**
|
||||
* 公司地址
|
||||
*/
|
||||
@TableField("address")
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 公司联系人姓名
|
||||
*/
|
||||
@TableField("contact_person")
|
||||
private String contactPerson;
|
||||
|
||||
/**
|
||||
* 公司联系电话
|
||||
*/
|
||||
@TableField("phone_number")
|
||||
private String phoneNumber;
|
||||
|
||||
/**
|
||||
* 公司电子邮箱
|
||||
*/
|
||||
@TableField("email")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 公司官方网站地址
|
||||
*/
|
||||
@TableField("website_url")
|
||||
private String websiteUrl;
|
||||
|
||||
/**
|
||||
* 其他说明或备注
|
||||
*/
|
||||
@TableField("remarks")
|
||||
private String remarks;
|
||||
|
||||
/**
|
||||
* 公司状态
|
||||
*/
|
||||
@TableField("comp_status")
|
||||
private String compStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,122 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据库连接配置表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_db_config")
|
||||
public class BizDbConfig implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 数据库类型
|
||||
*/
|
||||
@TableField("db_type")
|
||||
private String dbType;
|
||||
|
||||
/**
|
||||
* 数据库名称
|
||||
*/
|
||||
@TableField("db_name")
|
||||
private String dbName;
|
||||
|
||||
/**
|
||||
* IP地址
|
||||
*/
|
||||
@TableField("db_ip")
|
||||
private String dbIp;
|
||||
|
||||
/**
|
||||
* 端口
|
||||
*/
|
||||
@TableField("db_port")
|
||||
private Integer dbPort;
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
@TableField("db_username")
|
||||
private String dbUsername;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
@TableField("db_password")
|
||||
private String dbPassword;
|
||||
|
||||
/**
|
||||
* 配置描述
|
||||
*/
|
||||
@TableField("description")
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* 是否启用:1=启用,0=禁用
|
||||
*/
|
||||
@TableField("is_enabled")
|
||||
private Integer isEnabled;
|
||||
|
||||
/**
|
||||
* schema名称
|
||||
*/
|
||||
@TableField("db_schema_name")
|
||||
private String dbSchemaName;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备存储信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_device_info")
|
||||
public class BizDeviceInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
@TableField("device")
|
||||
private String device;
|
||||
|
||||
/**
|
||||
* 挂载点
|
||||
*/
|
||||
@TableField("mount_point")
|
||||
private String mountPoint;
|
||||
|
||||
/**
|
||||
* 总容量
|
||||
*/
|
||||
@TableField("total_size")
|
||||
private String totalSize;
|
||||
|
||||
/**
|
||||
* 已使用容量
|
||||
*/
|
||||
@TableField("used_size")
|
||||
private String usedSize;
|
||||
|
||||
/**
|
||||
* 使用率(%)
|
||||
*/
|
||||
@TableField("usage_rate")
|
||||
private double usageRate;
|
||||
|
||||
/**
|
||||
* 最后一次检测到在线的时间
|
||||
*/
|
||||
@TableField("last_online_time")
|
||||
private LocalDateTime lastOnlineTime;
|
||||
|
||||
/**
|
||||
* 主机唯一标识
|
||||
*/
|
||||
@TableField("host_id")
|
||||
private String hostId;
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件夹信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_file_folders")
|
||||
public class BizFileFolders implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 文件夹ID
|
||||
*/
|
||||
@TableId(value = "folder_id", type = IdType.AUTO)
|
||||
private String folderId;
|
||||
|
||||
/**
|
||||
* 文件夹名称
|
||||
*/
|
||||
@TableField("folder_name")
|
||||
private String folderName;
|
||||
|
||||
/**
|
||||
* 父文件夹ID(0表示根目录)
|
||||
*/
|
||||
@TableField("parent_id")
|
||||
private Integer parentId;
|
||||
|
||||
/**
|
||||
* 创建人ID(关联用户表)
|
||||
*/
|
||||
@TableField("creator_id")
|
||||
private Integer creatorId;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 是否删除(0-未删除,1-已删除)
|
||||
*/
|
||||
@TableField("is_deleted")
|
||||
private Byte isDeleted;
|
||||
|
||||
/**
|
||||
* 文件夹描述
|
||||
*/
|
||||
@TableField("description")
|
||||
private String description;
|
||||
}
|
||||
@@ -1,98 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_files")
|
||||
public class BizFiles implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 文件ID
|
||||
*/
|
||||
@TableId(value = "file_id", type = IdType.AUTO)
|
||||
private String fileId;
|
||||
|
||||
/**
|
||||
* 文件名称(含扩展名)
|
||||
*/
|
||||
@TableField("file_name")
|
||||
private String fileName;
|
||||
|
||||
/**
|
||||
* 所属文件夹ID(关联folders表)
|
||||
*/
|
||||
@TableField("folder_id")
|
||||
private String folderId;
|
||||
|
||||
/**
|
||||
* 文件大小(字节)
|
||||
*/
|
||||
@TableField("file_size")
|
||||
private Long fileSize;
|
||||
|
||||
/**
|
||||
* 文件类型(如:image/jpeg、application/pdf)
|
||||
*/
|
||||
@TableField("file_type")
|
||||
private String fileType;
|
||||
|
||||
/**
|
||||
* 文件存储路径(物理路径或云存储URL)
|
||||
*/
|
||||
@TableField("file_path")
|
||||
private String filePath;
|
||||
|
||||
/**
|
||||
* 上传人ID(关联用户表)
|
||||
*/
|
||||
@TableField("creator_id")
|
||||
private Integer creatorId;
|
||||
|
||||
/**
|
||||
* 上传时间
|
||||
*/
|
||||
@TableField("upload_time")
|
||||
private LocalDateTime uploadTime;
|
||||
|
||||
/**
|
||||
* 更新时间(如修改名称)
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 是否删除(0-未删除,1-已删除)
|
||||
*/
|
||||
@TableField("is_deleted")
|
||||
private Byte isDeleted;
|
||||
|
||||
/**
|
||||
* 文件版本号(用于版本控制)
|
||||
*/
|
||||
@TableField("version")
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 文件MD5值(用于去重校验)
|
||||
*/
|
||||
@TableField("md5")
|
||||
private String md5;
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-14
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_home_user")
|
||||
public class BizHomeUser implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@TableId(value = "user_id", type = IdType.AUTO)
|
||||
private String userId;
|
||||
|
||||
@TableField("user_name")
|
||||
private String userName;
|
||||
|
||||
@TableField("password")
|
||||
private String password;
|
||||
|
||||
@TableField("uname")
|
||||
private String uname;
|
||||
}
|
||||
@@ -1,122 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 邮件账户配置表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_mail_account")
|
||||
public class BizMailAccount implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 邮件服务器地址
|
||||
*/
|
||||
@TableField("host")
|
||||
private String host;
|
||||
|
||||
/**
|
||||
* SMTP端口
|
||||
*/
|
||||
@TableField("smtp_port")
|
||||
private Integer smtpPort;
|
||||
|
||||
/**
|
||||
* IMAP端口
|
||||
*/
|
||||
@TableField("imap_port")
|
||||
private Integer imapPort;
|
||||
|
||||
/**
|
||||
* 用户名
|
||||
*/
|
||||
@TableField("username")
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
@TableField("password")
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* 发件人地址
|
||||
*/
|
||||
@TableField("from_address")
|
||||
private String fromAddress;
|
||||
|
||||
/**
|
||||
* 是否启用SSL
|
||||
*/
|
||||
@TableField("ssl_enable")
|
||||
private String sslEnable;
|
||||
|
||||
/**
|
||||
* 状态:0-禁用,1-启用
|
||||
*/
|
||||
@TableField("status")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,134 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 发送邮件表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_mail_sent")
|
||||
public class BizMailSent implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 邮件服务器消息ID
|
||||
*/
|
||||
@TableField("message_id")
|
||||
private String messageId;
|
||||
|
||||
/**
|
||||
* 关联的邮件账户ID
|
||||
*/
|
||||
@TableField("account_id")
|
||||
private String accountId;
|
||||
|
||||
/**
|
||||
* 发件人地址
|
||||
*/
|
||||
@TableField("from_address")
|
||||
private String fromAddress;
|
||||
|
||||
/**
|
||||
* 收件人地址,多个用逗号分隔
|
||||
*/
|
||||
@TableField("to_addresses")
|
||||
private String toAddresses;
|
||||
|
||||
/**
|
||||
* 抄送地址,多个用逗号分隔
|
||||
*/
|
||||
@TableField("cc_addresses")
|
||||
private String ccAddresses;
|
||||
|
||||
/**
|
||||
* 邮件主题
|
||||
*/
|
||||
@TableField("subject")
|
||||
private String subject;
|
||||
|
||||
/**
|
||||
* 邮件内容
|
||||
*/
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 发送时间
|
||||
*/
|
||||
@TableField("send_time")
|
||||
private LocalDateTime sendTime;
|
||||
|
||||
/**
|
||||
* 发送状态:0-待发送,1-发送成功,2-发送失败
|
||||
*/
|
||||
@TableField("send_status")
|
||||
private String sendStatus;
|
||||
|
||||
/**
|
||||
* 错误信息
|
||||
*/
|
||||
@TableField("error_msg")
|
||||
private String errorMsg;
|
||||
|
||||
/**
|
||||
* 是否有附件:0-无,1-有
|
||||
*/
|
||||
@TableField("has_attachment")
|
||||
private String hasAttachment;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* SSH账号密码表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_monitor_account")
|
||||
public class BizMonitorAccount implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* SSH账号记录唯一标识
|
||||
*/
|
||||
@TableId(value = "account_id", type = IdType.AUTO)
|
||||
private String accountId;
|
||||
|
||||
/**
|
||||
* 主机唯一标识
|
||||
*/
|
||||
@TableField("host_id")
|
||||
private String hostId;
|
||||
|
||||
/**
|
||||
* 登录用户名
|
||||
*/
|
||||
@TableField("ssh_username")
|
||||
private String sshUsername;
|
||||
|
||||
/**
|
||||
* 登录密码
|
||||
*/
|
||||
@TableField("ssh_password")
|
||||
private String sshPassword;
|
||||
|
||||
/**
|
||||
* 登录端口
|
||||
*/
|
||||
@TableField("ssh_port")
|
||||
private Integer sshPort;
|
||||
|
||||
/**
|
||||
* 初始目录
|
||||
*/
|
||||
@TableField("initial_path")
|
||||
private String initialPath;
|
||||
|
||||
/**
|
||||
* 超时时间
|
||||
*/
|
||||
@TableField("timeout_seconds")
|
||||
private Integer timeoutSeconds;
|
||||
|
||||
/**
|
||||
* 账号状态(enabled-启用、disabled-禁用)
|
||||
*/
|
||||
@TableField("ustatus")
|
||||
private String ustatus;
|
||||
|
||||
/**
|
||||
* 备注信息
|
||||
*/
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 记录最后更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,140 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 主机信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_monitor_host")
|
||||
public class BizMonitorHost implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 主机唯一标识(自增主键)
|
||||
*/
|
||||
@TableId(value = "host_id", type = IdType.AUTO)
|
||||
private String hostId;
|
||||
|
||||
/**
|
||||
* 主机名称
|
||||
*/
|
||||
@TableField("hostname")
|
||||
private String hostname;
|
||||
|
||||
/**
|
||||
* IP地址
|
||||
*/
|
||||
@TableField("ip_address")
|
||||
private String ipAddress;
|
||||
|
||||
/**
|
||||
* 主机类型
|
||||
*/
|
||||
@TableField("host_type")
|
||||
private String hostType;
|
||||
|
||||
/**
|
||||
* 操作系统
|
||||
*/
|
||||
@TableField("host_os")
|
||||
private String hostOs;
|
||||
|
||||
/**
|
||||
* 主机状态(1-在线、0-离线、9-维护中)
|
||||
*/
|
||||
@TableField("ustatus")
|
||||
private String ustatus;
|
||||
|
||||
/**
|
||||
* 最后一次检测到在线的时间
|
||||
*/
|
||||
@TableField("last_online_time")
|
||||
private LocalDateTime lastOnlineTime;
|
||||
|
||||
/**
|
||||
* 物理位置
|
||||
*/
|
||||
@TableField("location_name")
|
||||
private String locationName;
|
||||
|
||||
/**
|
||||
* 地址类型
|
||||
*/
|
||||
@TableField("location_type")
|
||||
private String locationType;
|
||||
|
||||
/**
|
||||
* 管理人员
|
||||
*/
|
||||
@TableField("admin_user")
|
||||
private String adminUser;
|
||||
|
||||
/**
|
||||
* 联系方式
|
||||
*/
|
||||
@TableField("other_contact")
|
||||
private String otherContact;
|
||||
|
||||
/**
|
||||
* 备注信息
|
||||
*/
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 记录最后更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 失效日期
|
||||
*/
|
||||
@TableField("expiry_date")
|
||||
private LocalDateTime expiryDate;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,119 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 地市信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_municipalities")
|
||||
public class BizMunicipalities implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 县区名称
|
||||
*/
|
||||
@TableField("county_name")
|
||||
private String countyName;
|
||||
|
||||
/**
|
||||
* 省份编码
|
||||
*/
|
||||
@TableField("province_code")
|
||||
private String provinceCode;
|
||||
|
||||
/**
|
||||
* 市区编码
|
||||
*/
|
||||
@TableField("city_code")
|
||||
private String cityCode;
|
||||
|
||||
/**
|
||||
* 县区编码
|
||||
*/
|
||||
@TableField("county_code")
|
||||
private String countyCode;
|
||||
|
||||
/**
|
||||
* 街道名称
|
||||
*/
|
||||
@TableField("town_name")
|
||||
private String townName;
|
||||
|
||||
/**
|
||||
* 街道编号
|
||||
*/
|
||||
@TableField("town_code")
|
||||
private String townCode;
|
||||
|
||||
/**
|
||||
* 社区名称
|
||||
*/
|
||||
@TableField("village_name")
|
||||
private String villageName;
|
||||
|
||||
/**
|
||||
* 社区编号
|
||||
*/
|
||||
@TableField("village_code")
|
||||
private String villageCode;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 数据状态
|
||||
*/
|
||||
@TableField("data_status")
|
||||
private String dataStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目表用于存储公司内部各个项目的详细信息
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_project_info")
|
||||
public class BizProjectInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 项目唯一标识符,主键
|
||||
*/
|
||||
@TableId(value = "project_id", type = IdType.AUTO)
|
||||
private String projectId;
|
||||
|
||||
/**
|
||||
* 项目编码
|
||||
*/
|
||||
@TableField("project_code")
|
||||
private String projectCode;
|
||||
|
||||
/**
|
||||
* 项目名称,必须唯一
|
||||
*/
|
||||
@TableField("project_name")
|
||||
private String projectName;
|
||||
|
||||
/**
|
||||
* 项目描述,简要说明项目的目标和范围
|
||||
*/
|
||||
@TableField("project_desc")
|
||||
private String projectDesc;
|
||||
|
||||
/**
|
||||
* 项目开始日期
|
||||
*/
|
||||
@TableField("start_date")
|
||||
private LocalDateTime startDate;
|
||||
|
||||
/**
|
||||
* 项目预计结束日期,可为空表示未确定
|
||||
*/
|
||||
@TableField("end_date")
|
||||
private LocalDateTime endDate;
|
||||
|
||||
/**
|
||||
* 项目实际结束日期
|
||||
*/
|
||||
@TableField("actual_end_date")
|
||||
private LocalDateTime actualEndDate;
|
||||
|
||||
/**
|
||||
* 员工列表
|
||||
*/
|
||||
@TableField("employee_id")
|
||||
private String employeeId;
|
||||
|
||||
/**
|
||||
* 项目类型(如:研发项目、运营项目、运维项目等)
|
||||
*/
|
||||
@TableField("project_type")
|
||||
private String projectType;
|
||||
|
||||
/**
|
||||
* 项目状态:活跃、已完成、已延迟、已取消
|
||||
*/
|
||||
@TableField("project_status")
|
||||
private String projectStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,128 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目汇报信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_project_report")
|
||||
public class BizProjectReport implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 汇报记录ID(主键)
|
||||
*/
|
||||
@TableId(value = "report_id", type = IdType.AUTO)
|
||||
private String reportId;
|
||||
|
||||
/**
|
||||
* 汇报周期
|
||||
*/
|
||||
@TableField("report_cycle")
|
||||
private String reportCycle;
|
||||
|
||||
/**
|
||||
* 汇报主题
|
||||
*/
|
||||
@TableField("work_title")
|
||||
private String workTitle;
|
||||
|
||||
/**
|
||||
* 本期工作内容
|
||||
*/
|
||||
@TableField("work_content")
|
||||
private String workContent;
|
||||
|
||||
/**
|
||||
* 项目进度
|
||||
*/
|
||||
@TableField("progress_percent")
|
||||
private String progressPercent;
|
||||
|
||||
/**
|
||||
* 存在问题
|
||||
*/
|
||||
@TableField("problem_desc")
|
||||
private String problemDesc;
|
||||
|
||||
/**
|
||||
* 解决方案
|
||||
*/
|
||||
@TableField("solution_plan")
|
||||
private String solutionPlan;
|
||||
|
||||
/**
|
||||
* 下期计划
|
||||
*/
|
||||
@TableField("next_plan")
|
||||
private String nextPlan;
|
||||
|
||||
/**
|
||||
* 提交时间
|
||||
*/
|
||||
@TableField("report_time")
|
||||
private LocalDateTime reportTime;
|
||||
|
||||
/**
|
||||
* 汇报状态
|
||||
*/
|
||||
@TableField("approval_status")
|
||||
private String approvalStatus;
|
||||
|
||||
/**
|
||||
* 项目编号
|
||||
*/
|
||||
@TableField("project_id")
|
||||
private String projectId;
|
||||
|
||||
/**
|
||||
* 人员编号
|
||||
*/
|
||||
@TableField("employee_id")
|
||||
private String employeeId;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,134 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目需求表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_project_requirements")
|
||||
public class BizProjectRequirements implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录日期
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 需求标识
|
||||
*/
|
||||
@TableId(value = "requirement_id", type = IdType.AUTO)
|
||||
private String requirementId;
|
||||
|
||||
/**
|
||||
* 需求名称
|
||||
*/
|
||||
@TableField("requirement_name")
|
||||
private String requirementName;
|
||||
|
||||
/**
|
||||
* 需求编号
|
||||
*/
|
||||
@TableField("requirement_code")
|
||||
private String requirementCode;
|
||||
|
||||
/**
|
||||
* 项目区域
|
||||
*/
|
||||
@TableField("area_code")
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 需求描述
|
||||
*/
|
||||
@TableField("requirement_description")
|
||||
private String requirementDescription;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@TableField("start_time")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@TableField("end_time")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
/**
|
||||
* 优先级
|
||||
*/
|
||||
@TableField("priority")
|
||||
private String priority;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 项目ID
|
||||
*/
|
||||
@TableField("project_id")
|
||||
private String projectId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@TableField("employee_id")
|
||||
private String employeeId;
|
||||
|
||||
/**
|
||||
* 需求备注
|
||||
*/
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@TableField("requirements_status")
|
||||
private String requirementsStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 省份信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_province")
|
||||
public class BizProvince implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 省份名称
|
||||
*/
|
||||
@TableField("province_name")
|
||||
private String provinceName;
|
||||
|
||||
/**
|
||||
* 省份编码
|
||||
*/
|
||||
@TableField("province_code")
|
||||
private String provinceCode;
|
||||
|
||||
/**
|
||||
* 请求地址
|
||||
*/
|
||||
@TableField("url_addr")
|
||||
private String urlAddr;
|
||||
|
||||
/**
|
||||
* 省份序号
|
||||
*/
|
||||
@TableField("sorting")
|
||||
private Integer sorting;
|
||||
|
||||
/**
|
||||
* 请求状态
|
||||
*/
|
||||
@TableField("req_code")
|
||||
private String reqCode;
|
||||
|
||||
/**
|
||||
* 数据状态
|
||||
*/
|
||||
@TableField("data_status")
|
||||
private String dataStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-15
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_quick_login")
|
||||
public class BizQuickLogin implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 自增主键
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 系统名称
|
||||
*/
|
||||
@TableField("system_name")
|
||||
private String systemName;
|
||||
|
||||
/**
|
||||
* 首页地址
|
||||
*/
|
||||
@TableField("homepage_url")
|
||||
private String homepageUrl;
|
||||
|
||||
/**
|
||||
* 图标类名(Font Awesome)
|
||||
*/
|
||||
@TableField("icon_class")
|
||||
private String iconClass;
|
||||
|
||||
/**
|
||||
* 图标颜色(关联Tailwind配置)
|
||||
*/
|
||||
@TableField("icon_color")
|
||||
private String iconColor;
|
||||
|
||||
/**
|
||||
* 排序序号(升序排列)
|
||||
*/
|
||||
@TableField("sort_order")
|
||||
private Integer sortOrder;
|
||||
|
||||
/**
|
||||
* 是否启用(1:启用 0:禁用)
|
||||
*/
|
||||
@TableField("is_enabled")
|
||||
private Integer isEnabled;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,110 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 员工表用于存储公司内部员工的基本信息
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_resume_employee")
|
||||
public class BizResumeEmployee implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 唯一标识
|
||||
*/
|
||||
@TableId(value = "employee_id", type = IdType.AUTO)
|
||||
private String employeeId;
|
||||
|
||||
/**
|
||||
* 员工姓名
|
||||
*/
|
||||
@TableField("employee_name")
|
||||
private String employeeName;
|
||||
|
||||
/**
|
||||
* 员工编号
|
||||
*/
|
||||
@TableField("employee_code")
|
||||
private String employeeCode;
|
||||
|
||||
/**
|
||||
* 电子邮件
|
||||
*/
|
||||
@TableField("email")
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 移动电话
|
||||
*/
|
||||
@TableField("phone_number")
|
||||
private String phoneNumber;
|
||||
|
||||
/**
|
||||
* 性别
|
||||
*/
|
||||
@TableField("sex")
|
||||
private String sex;
|
||||
|
||||
/**
|
||||
* 职位
|
||||
*/
|
||||
@TableField("employee_position")
|
||||
private String employeePosition;
|
||||
|
||||
/**
|
||||
* 入职日期
|
||||
*/
|
||||
@TableField("hire_date")
|
||||
private String hireDate;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@TableField("employee_status")
|
||||
private String employeeStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,106 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务器信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_server_info")
|
||||
public class BizServerInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 主机运行时间
|
||||
*/
|
||||
@TableField("uptime")
|
||||
private String uptime;
|
||||
|
||||
/**
|
||||
* 操作系统
|
||||
*/
|
||||
@TableField("os")
|
||||
private String os;
|
||||
|
||||
/**
|
||||
* 内核版本
|
||||
*/
|
||||
@TableField("kernel_version")
|
||||
private String kernelVersion;
|
||||
|
||||
/**
|
||||
* 主机名
|
||||
*/
|
||||
@TableField("hostname")
|
||||
private String hostname;
|
||||
|
||||
/**
|
||||
* IP地址
|
||||
*/
|
||||
@TableField("ip_address")
|
||||
private String ipAddress;
|
||||
|
||||
/**
|
||||
* CPU型号
|
||||
*/
|
||||
@TableField("cpu_model")
|
||||
private String cpuModel;
|
||||
|
||||
/**
|
||||
* 内存总量
|
||||
*/
|
||||
@TableField("memory_total")
|
||||
private String memoryTotal;
|
||||
|
||||
/**
|
||||
* CPU使用率(%)
|
||||
*/
|
||||
@TableField("cpu_usage")
|
||||
private Double cpuUsage;
|
||||
|
||||
/**
|
||||
* 内存使用率(%)
|
||||
*/
|
||||
@TableField("memory_usage")
|
||||
private Double memoryUsage;
|
||||
|
||||
/**
|
||||
* 最后一次检测到在线的时间
|
||||
*/
|
||||
@TableField("last_online_time")
|
||||
private LocalDateTime lastOnlineTime;
|
||||
|
||||
/**
|
||||
* 主机唯一标识
|
||||
*/
|
||||
@TableField("host_id")
|
||||
private String hostId;
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 待办任务子表(关联主任务)
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_sub_task")
|
||||
public class BizSubTask implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 唯一标识
|
||||
*/
|
||||
@TableId(value = "sub_task_id", type = IdType.AUTO)
|
||||
private String subTaskId;
|
||||
|
||||
/**
|
||||
* 关联的主任务ID(外键)
|
||||
*/
|
||||
@TableField("parent_task_id")
|
||||
private String parentTaskId;
|
||||
|
||||
/**
|
||||
* 子任务详明细
|
||||
*/
|
||||
@TableField("sub_task_name")
|
||||
private String subTaskName;
|
||||
|
||||
/**
|
||||
* 子任务优先级
|
||||
*/
|
||||
@TableField("priority")
|
||||
private String priority;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
@TableField("ustatus")
|
||||
private String ustatus;
|
||||
|
||||
/**
|
||||
* 完成时间
|
||||
*/
|
||||
@TableField("finish_time")
|
||||
private LocalDateTime finishTime;
|
||||
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_todo_task_view")
|
||||
public class BizTodoTaskView implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 唯一标识
|
||||
*/
|
||||
@TableField("task_id")
|
||||
private String taskId;
|
||||
|
||||
/**
|
||||
* 任务名称
|
||||
*/
|
||||
@TableField("task_name")
|
||||
private String taskName;
|
||||
|
||||
/**
|
||||
* 任务详细描述
|
||||
*/
|
||||
@TableField("task_desc")
|
||||
private String taskDesc;
|
||||
|
||||
/**
|
||||
* 任务截止时间
|
||||
*/
|
||||
@TableField("deadline")
|
||||
private LocalDateTime deadline;
|
||||
|
||||
/**
|
||||
* 待办人员
|
||||
*/
|
||||
@TableField("todo_user")
|
||||
private String todoUser;
|
||||
|
||||
/**
|
||||
* 创建人员
|
||||
*/
|
||||
@TableField("login_user")
|
||||
private String loginUser;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
|
||||
/**
|
||||
* 唯一标识
|
||||
*/
|
||||
@TableField("sub_task_id")
|
||||
private String subTaskId;
|
||||
|
||||
/**
|
||||
* 子任务详明细
|
||||
*/
|
||||
@TableField("sub_task_name")
|
||||
private String subTaskName;
|
||||
|
||||
/**
|
||||
* 子任务优先级
|
||||
*/
|
||||
@TableField("priority")
|
||||
private String priority;
|
||||
|
||||
/**
|
||||
* 任务状态
|
||||
*/
|
||||
@TableField("ustatus")
|
||||
private String ustatus;
|
||||
|
||||
/**
|
||||
* 完成时间
|
||||
*/
|
||||
@TableField("finish_time")
|
||||
private LocalDateTime finishTime;
|
||||
}
|
||||
@@ -1,113 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 网站信息存储表,用于记录网站登录信息及相关信息
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("biz_website_storage")
|
||||
public class BizWebsiteStorage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录日期
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 网站标识
|
||||
*/
|
||||
@TableId(value = "website_id", type = IdType.AUTO)
|
||||
private String websiteId;
|
||||
|
||||
/**
|
||||
* 网站的URL地址
|
||||
*/
|
||||
@TableField("website_url")
|
||||
private String websiteUrl;
|
||||
|
||||
/**
|
||||
* 网站的名称
|
||||
*/
|
||||
@TableField("website_name")
|
||||
private String websiteName;
|
||||
|
||||
/**
|
||||
* 登录账号
|
||||
*/
|
||||
@TableField("web_account")
|
||||
private String webAccount;
|
||||
|
||||
/**
|
||||
* 登录密码,建议加密存储
|
||||
*/
|
||||
@TableField("web_password")
|
||||
private String webPassword;
|
||||
|
||||
/**
|
||||
* 其他说明或注意事项
|
||||
*/
|
||||
@TableField("remarks")
|
||||
private String remarks;
|
||||
|
||||
/**
|
||||
* 所属公司名称
|
||||
*/
|
||||
@TableField("company_id")
|
||||
private String companyId;
|
||||
|
||||
/**
|
||||
* 当前使用人姓名或账号
|
||||
*/
|
||||
@TableField("employee_id")
|
||||
private String employeeId;
|
||||
|
||||
@TableField("login_user")
|
||||
private String loginUser;
|
||||
|
||||
/**
|
||||
* 网站状态
|
||||
*/
|
||||
@TableField("storage_status")
|
||||
private String storageStatus;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据表字段信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("data_table_field")
|
||||
public class DataTableField implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 字段唯一标识(主键)
|
||||
*/
|
||||
@TableId(value = "field_id", type = IdType.AUTO)
|
||||
private String fieldId;
|
||||
|
||||
/**
|
||||
* 关联的数据表ID(外键,关联data_table_info.table_id)
|
||||
*/
|
||||
@TableField("table_id")
|
||||
private String tableId;
|
||||
|
||||
/**
|
||||
* 数据来源
|
||||
*/
|
||||
@TableField("data_source")
|
||||
private String dataSource;
|
||||
|
||||
/**
|
||||
* 数据表名称
|
||||
*/
|
||||
@TableField("data_name")
|
||||
private String dataName;
|
||||
|
||||
/**
|
||||
* 字段序号(表示字段在表中的顺序)
|
||||
*/
|
||||
@TableField("field_order")
|
||||
private Integer fieldOrder;
|
||||
|
||||
/**
|
||||
* 字段类型(如:int、varchar、datetime等)
|
||||
*/
|
||||
@TableField("field_type")
|
||||
private String fieldType;
|
||||
|
||||
/**
|
||||
* 字段名称
|
||||
*/
|
||||
@TableField("field_name")
|
||||
private String fieldName;
|
||||
|
||||
/**
|
||||
* 字段长度(如varchar(50)中的50,数值型可表示精度)
|
||||
*/
|
||||
@TableField("field_length")
|
||||
private Long fieldLength;
|
||||
|
||||
/**
|
||||
* 字段说明
|
||||
*/
|
||||
@TableField("field_remark")
|
||||
private String fieldRemark;
|
||||
|
||||
/**
|
||||
* 分区日期
|
||||
*/
|
||||
@TableField("ds")
|
||||
private String ds;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,123 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据表基础信息表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("data_table_info")
|
||||
public class DataTableInfo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 数据表唯一标识(主键)
|
||||
*/
|
||||
@TableId(value = "table_id", type = IdType.AUTO)
|
||||
private String tableId;
|
||||
|
||||
/**
|
||||
* 数据表名称
|
||||
*/
|
||||
@TableField("data_name")
|
||||
private String dataName;
|
||||
|
||||
/**
|
||||
* 数据表描述
|
||||
*/
|
||||
@TableField("table_comment")
|
||||
private String tableComment;
|
||||
|
||||
/**
|
||||
* 数据表大小(单位:MB)
|
||||
*/
|
||||
@TableField("table_size")
|
||||
private BigDecimal tableSize;
|
||||
|
||||
/**
|
||||
* 数据来源(如:业务系统、文件导入等)
|
||||
*/
|
||||
@TableField("data_source")
|
||||
private String dataSource;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField("creator")
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* 记录条数
|
||||
*/
|
||||
@TableField("data_rows")
|
||||
private Long dataRows;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 备注信息
|
||||
*/
|
||||
@TableField("remarks")
|
||||
private String remarks;
|
||||
|
||||
/**
|
||||
* 数据标识
|
||||
*/
|
||||
@TableField("db_id")
|
||||
private String dbId;
|
||||
|
||||
/**
|
||||
* 分区日期
|
||||
*/
|
||||
@TableField("ds")
|
||||
private String ds;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,99 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 账户信息
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_account")
|
||||
public class ErpAccount implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 账户标识
|
||||
*/
|
||||
@TableId(value = "account_id", type = IdType.AUTO)
|
||||
private String accountId;
|
||||
|
||||
/**
|
||||
* 账户名称
|
||||
*/
|
||||
@TableField("account_name")
|
||||
private String accountName;
|
||||
|
||||
/**
|
||||
* 账户类型
|
||||
*/
|
||||
@TableField("account_type")
|
||||
private String accountType;
|
||||
|
||||
/**
|
||||
* 账户卡号
|
||||
*/
|
||||
@TableField("account_code")
|
||||
private String accountCode;
|
||||
|
||||
/**
|
||||
* 初始余额
|
||||
*/
|
||||
@TableField("initial_balance")
|
||||
private BigDecimal initialBalance;
|
||||
|
||||
/**
|
||||
* 当前余额
|
||||
*/
|
||||
@TableField("current_balance")
|
||||
private BigDecimal currentBalance;
|
||||
|
||||
/**
|
||||
* 是否激活(1-激活,0-停用)
|
||||
*/
|
||||
@TableField("is_active")
|
||||
private String isActive;
|
||||
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收支分类
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_category")
|
||||
public class ErpCategory implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 分类标识
|
||||
*/
|
||||
@TableId(value = "category_id", type = IdType.AUTO)
|
||||
private String categoryId;
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
@TableField("category_name")
|
||||
private String categoryName;
|
||||
|
||||
/**
|
||||
* 分类类型
|
||||
*/
|
||||
@TableField("category_type")
|
||||
private String categoryType;
|
||||
|
||||
/**
|
||||
* 父分类ID(0-一级分类)
|
||||
*/
|
||||
@TableField("parent_id")
|
||||
private String parentId;
|
||||
|
||||
/**
|
||||
* 排序序号
|
||||
*/
|
||||
@TableField("sort_order")
|
||||
private String sortOrder;
|
||||
|
||||
/**
|
||||
* 是否启用
|
||||
*/
|
||||
@TableField("is_active")
|
||||
private String isActive;
|
||||
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 支出明细表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_expense")
|
||||
public class ErpExpense implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 支出ID
|
||||
*/
|
||||
@TableId(value = "expense_id", type = IdType.AUTO)
|
||||
private String expenseId;
|
||||
|
||||
/**
|
||||
* 关联流水ID
|
||||
*/
|
||||
@TableField("zflow_id")
|
||||
private String zflowId;
|
||||
|
||||
/**
|
||||
* 支出账户ID
|
||||
*/
|
||||
@TableField("account_id")
|
||||
private String accountId;
|
||||
|
||||
/**
|
||||
* 支出分类ID
|
||||
*/
|
||||
@TableField("category_id")
|
||||
private String categoryId;
|
||||
|
||||
/**
|
||||
* 交易金额(正数)
|
||||
*/
|
||||
@TableField("amount")
|
||||
private BigDecimal amount;
|
||||
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收入明细表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_income")
|
||||
public class ErpIncome implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 收入ID
|
||||
*/
|
||||
@TableId(value = "income_id", type = IdType.AUTO)
|
||||
private String incomeId;
|
||||
|
||||
/**
|
||||
* 关联流水ID
|
||||
*/
|
||||
@TableField("sflow_id")
|
||||
private String sflowId;
|
||||
|
||||
/**
|
||||
* 收入账户ID
|
||||
*/
|
||||
@TableField("account_id")
|
||||
private String accountId;
|
||||
|
||||
/**
|
||||
* 收入分类ID
|
||||
*/
|
||||
@TableField("category_id")
|
||||
private String categoryId;
|
||||
|
||||
/**
|
||||
* 交易金额(正数)
|
||||
*/
|
||||
@TableField("amount")
|
||||
private BigDecimal amount;
|
||||
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import com.mini.capi.model.enums.cTypeEnum;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_summary_all_view")
|
||||
public class ErpSummaryAllView implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("c_date")
|
||||
private String cDate;
|
||||
|
||||
@TableField("c_type")
|
||||
private cTypeEnum cType;
|
||||
|
||||
@TableField("this_value")
|
||||
private BigDecimal thisValue;
|
||||
|
||||
@TableField("prev_value")
|
||||
private BigDecimal prevValue;
|
||||
|
||||
@TableField("mom_rate")
|
||||
private BigDecimal momRate;
|
||||
|
||||
@TableField("f_cycle")
|
||||
private String fCycle;
|
||||
|
||||
|
||||
public BigDecimal getThisValue() {
|
||||
return thisValue != null ? thisValue : BigDecimal.ZERO;
|
||||
}
|
||||
|
||||
public BigDecimal getPrevValue() {
|
||||
return prevValue != null ? prevValue : BigDecimal.ZERO;
|
||||
}
|
||||
|
||||
|
||||
public BigDecimal getMomRate() {
|
||||
return momRate != null ? momRate : BigDecimal.ZERO;
|
||||
}
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import com.mini.capi.model.enums.cTypeEnum;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_summary_source_view")
|
||||
public class ErpSummarySourceView implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("c_date")
|
||||
private String cDate;
|
||||
|
||||
@TableField("c_name")
|
||||
private String cName;
|
||||
|
||||
@TableField("c_type")
|
||||
private cTypeEnum cType;
|
||||
|
||||
@TableField("f_value")
|
||||
private BigDecimal fValue;
|
||||
|
||||
@TableField("f_source")
|
||||
private String fSource;
|
||||
|
||||
@TableField("f_cycle")
|
||||
private String fCycle;
|
||||
}
|
||||
@@ -1,111 +0,0 @@
|
||||
package com.mini.capi.biz.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收支流水总表
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@TableName("erp_transaction_flow")
|
||||
public class ErpTransactionFlow implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("create_time")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 流水ID
|
||||
*/
|
||||
@TableId(value = "flow_id", type = IdType.AUTO)
|
||||
private String flowId;
|
||||
|
||||
/**
|
||||
* 交易名称
|
||||
*/
|
||||
@TableField("flow_name")
|
||||
private String flowName;
|
||||
|
||||
/**
|
||||
* 交易类型
|
||||
*/
|
||||
@TableField("transaction_type")
|
||||
private String transactionType;
|
||||
|
||||
/**
|
||||
* 交易金额(正数)
|
||||
*/
|
||||
@TableField("amount")
|
||||
private BigDecimal amount;
|
||||
|
||||
/**
|
||||
* 交易时间
|
||||
*/
|
||||
@TableField("transaction_time")
|
||||
private LocalDateTime transactionTime;
|
||||
|
||||
/**
|
||||
* 交易账户
|
||||
*/
|
||||
@TableField("account_id")
|
||||
private String accountId;
|
||||
|
||||
/**
|
||||
* 交易分类
|
||||
*/
|
||||
@TableField("category_id")
|
||||
private String categoryId;
|
||||
|
||||
/**
|
||||
* 交易备注
|
||||
*/
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 是否记账
|
||||
*/
|
||||
@TableField("is_finish")
|
||||
private String isFinish;
|
||||
|
||||
@TableField("update_time")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("f_tenant_id")
|
||||
private String fTenantId;
|
||||
|
||||
/**
|
||||
* 流程id
|
||||
*/
|
||||
@TableField("f_flow_id")
|
||||
private String fFlowId;
|
||||
|
||||
/**
|
||||
* 流程任务主键
|
||||
*/
|
||||
@TableField("f_flow_task_id")
|
||||
private String fFlowTaskId;
|
||||
|
||||
/**
|
||||
* 流程任务状态
|
||||
*/
|
||||
@TableField("f_flow_state")
|
||||
private Integer fFlowState;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizBaseNoticeView;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizBaseNoticeViewMapper extends BaseMapper<BizBaseNoticeView> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizCities;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 市区信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizCitiesMapper extends BaseMapper<BizCities> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizCompany;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 公司信息表,用于存储公司基本信息 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizCompanyMapper extends BaseMapper<BizCompany> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizDbConfig;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据库连接配置表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
public interface BizDbConfigMapper extends BaseMapper<BizDbConfig> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizDeviceInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 设备存储信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizDeviceInfoMapper extends BaseMapper<BizDeviceInfo> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizFileFolders;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件夹信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizFileFoldersMapper extends BaseMapper<BizFileFolders> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizFiles;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 文件信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizFilesMapper extends BaseMapper<BizFiles> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizHomeUser;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-14
|
||||
*/
|
||||
public interface BizHomeUserMapper extends BaseMapper<BizHomeUser> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizMailAccount;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 邮件账户配置表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizMailAccountMapper extends BaseMapper<BizMailAccount> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizMailSent;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 发送邮件表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizMailSentMapper extends BaseMapper<BizMailSent> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizMonitorAccount;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* SSH账号密码表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizMonitorAccountMapper extends BaseMapper<BizMonitorAccount> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizMonitorHost;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 主机信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizMonitorHostMapper extends BaseMapper<BizMonitorHost> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizMunicipalities;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 地市信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizMunicipalitiesMapper extends BaseMapper<BizMunicipalities> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizProjectInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目表用于存储公司内部各个项目的详细信息 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizProjectInfoMapper extends BaseMapper<BizProjectInfo> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizProjectReport;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目汇报信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizProjectReportMapper extends BaseMapper<BizProjectReport> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizProjectRequirements;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 项目需求表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizProjectRequirementsMapper extends BaseMapper<BizProjectRequirements> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizProvince;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 省份信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizProvinceMapper extends BaseMapper<BizProvince> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizQuickLogin;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 快捷登录系统信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-15
|
||||
*/
|
||||
public interface BizQuickLoginMapper extends BaseMapper<BizQuickLogin> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizResumeEmployee;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 员工表用于存储公司内部员工的基本信息 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizResumeEmployeeMapper extends BaseMapper<BizResumeEmployee> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizServerInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务器信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizServerInfoMapper extends BaseMapper<BizServerInfo> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizSubTask;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 待办任务子表(关联主任务) Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizSubTaskMapper extends BaseMapper<BizSubTask> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizTodoTaskView;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* VIEW Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-16
|
||||
*/
|
||||
public interface BizTodoTaskViewMapper extends BaseMapper<BizTodoTaskView> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.BizWebsiteStorage;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 网站信息存储表,用于记录网站登录信息及相关信息 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface BizWebsiteStorageMapper extends BaseMapper<BizWebsiteStorage> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.DataTableField;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据表字段信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
public interface DataTableFieldMapper extends BaseMapper<DataTableField> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.DataTableInfo;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 数据表基础信息表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-17
|
||||
*/
|
||||
public interface DataTableInfoMapper extends BaseMapper<DataTableInfo> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.ErpAccount;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 账户信息 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface ErpAccountMapper extends BaseMapper<ErpAccount> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.ErpCategory;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收支分类 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface ErpCategoryMapper extends BaseMapper<ErpCategory> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.ErpExpense;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 支出明细表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface ErpExpenseMapper extends BaseMapper<ErpExpense> {
|
||||
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.mini.capi.biz.mapper;
|
||||
|
||||
import com.mini.capi.biz.domain.ErpIncome;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 收入明细表 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author gaoxq
|
||||
* @since 2025-11-12
|
||||
*/
|
||||
public interface ErpIncomeMapper extends BaseMapper<ErpIncome> {
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user