diff --git a/src/main/java/com/mini/capi/api/biz/appController.java b/src/main/java/com/mini/capi/api/biz/appController.java index 4fb1db5..68c17e2 100644 --- a/src/main/java/com/mini/capi/api/biz/appController.java +++ b/src/main/java/com/mini/capi/api/biz/appController.java @@ -4,7 +4,6 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.mini.capi.biz.domain.ErpSummaryAllView; import com.mini.capi.biz.service.ErpSummaryAllViewService; import com.mini.capi.model.ApiResult; -import com.mini.capi.model.ChartResult; import com.mini.capi.utils.DateUtils; import jakarta.annotation.Resource; import org.springframework.util.StringUtils; diff --git a/src/main/java/com/mini/capi/biz/controller/BizCitiesController.java b/src/main/java/com/mini/capi/biz/controller/BizCitiesController.java new file mode 100644 index 0000000..599fab4 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizCitiesController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *
+ * 市区信息表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizCities") +public class BizCitiesController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizCompanyController.java b/src/main/java/com/mini/capi/biz/controller/BizCompanyController.java new file mode 100644 index 0000000..9a7ee33 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizCompanyController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 公司信息表,用于存储公司基本信息 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizCompany") +public class BizCompanyController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizMailAccountController.java b/src/main/java/com/mini/capi/biz/controller/BizMailAccountController.java new file mode 100644 index 0000000..d2f9490 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizMailAccountController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 邮件账户配置表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizMailAccount") +public class BizMailAccountController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizMailSentController.java b/src/main/java/com/mini/capi/biz/controller/BizMailSentController.java new file mode 100644 index 0000000..2568462 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizMailSentController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 发送邮件表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizMailSent") +public class BizMailSentController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizMonitorAccountController.java b/src/main/java/com/mini/capi/biz/controller/BizMonitorAccountController.java new file mode 100644 index 0000000..4775b53 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizMonitorAccountController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * SSH账号密码表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizMonitorAccount") +public class BizMonitorAccountController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizMonitorHostController.java b/src/main/java/com/mini/capi/biz/controller/BizMonitorHostController.java new file mode 100644 index 0000000..9ac6bad --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizMonitorHostController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 主机信息表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizMonitorHost") +public class BizMonitorHostController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizMunicipalitiesController.java b/src/main/java/com/mini/capi/biz/controller/BizMunicipalitiesController.java new file mode 100644 index 0000000..73cf5e5 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizMunicipalitiesController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 地市信息表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizMunicipalities") +public class BizMunicipalitiesController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizProjectInfoController.java b/src/main/java/com/mini/capi/biz/controller/BizProjectInfoController.java new file mode 100644 index 0000000..02a56d8 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizProjectInfoController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 项目表用于存储公司内部各个项目的详细信息 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizProjectInfo") +public class BizProjectInfoController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizProjectReportController.java b/src/main/java/com/mini/capi/biz/controller/BizProjectReportController.java new file mode 100644 index 0000000..0f97dee --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizProjectReportController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 项目汇报信息表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizProjectReport") +public class BizProjectReportController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizProjectRequirementsController.java b/src/main/java/com/mini/capi/biz/controller/BizProjectRequirementsController.java new file mode 100644 index 0000000..7c6ba22 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizProjectRequirementsController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 项目需求表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizProjectRequirements") +public class BizProjectRequirementsController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizProvinceController.java b/src/main/java/com/mini/capi/biz/controller/BizProvinceController.java new file mode 100644 index 0000000..e6b5803 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizProvinceController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 省份信息表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizProvince") +public class BizProvinceController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizResumeEmployeeController.java b/src/main/java/com/mini/capi/biz/controller/BizResumeEmployeeController.java new file mode 100644 index 0000000..7beed3d --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizResumeEmployeeController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 员工表用于存储公司内部员工的基本信息 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizResumeEmployee") +public class BizResumeEmployeeController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/BizWebsiteStorageController.java b/src/main/java/com/mini/capi/biz/controller/BizWebsiteStorageController.java new file mode 100644 index 0000000..e1460a4 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/BizWebsiteStorageController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 网站信息存储表,用于记录网站登录信息及相关信息 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/bizWebsiteStorage") +public class BizWebsiteStorageController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpAccountController.java b/src/main/java/com/mini/capi/biz/controller/ErpAccountController.java new file mode 100644 index 0000000..aff5785 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpAccountController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 账户信息 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpAccount") +public class ErpAccountController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpCategoryController.java b/src/main/java/com/mini/capi/biz/controller/ErpCategoryController.java new file mode 100644 index 0000000..6da420c --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpCategoryController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 收支分类 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpCategory") +public class ErpCategoryController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpExpenseController.java b/src/main/java/com/mini/capi/biz/controller/ErpExpenseController.java new file mode 100644 index 0000000..37b442e --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpExpenseController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 支出明细表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpExpense") +public class ErpExpenseController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpIncomeController.java b/src/main/java/com/mini/capi/biz/controller/ErpIncomeController.java new file mode 100644 index 0000000..71233ec --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpIncomeController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 收入明细表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpIncome") +public class ErpIncomeController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpSummaryAllViewController.java b/src/main/java/com/mini/capi/biz/controller/ErpSummaryAllViewController.java new file mode 100644 index 0000000..760070d --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpSummaryAllViewController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * VIEW 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpSummaryAllView") +public class ErpSummaryAllViewController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpSummarySourceViewController.java b/src/main/java/com/mini/capi/biz/controller/ErpSummarySourceViewController.java new file mode 100644 index 0000000..bdb35a3 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpSummarySourceViewController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * VIEW 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpSummarySourceView") +public class ErpSummarySourceViewController { + +} diff --git a/src/main/java/com/mini/capi/biz/controller/ErpTransactionFlowController.java b/src/main/java/com/mini/capi/biz/controller/ErpTransactionFlowController.java new file mode 100644 index 0000000..49fab80 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/controller/ErpTransactionFlowController.java @@ -0,0 +1,18 @@ +package com.mini.capi.biz.controller; + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *+ * 收支流水总表 前端控制器 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@RestController +@RequestMapping("/biz/erpTransactionFlow") +public class ErpTransactionFlowController { + +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizCities.java b/src/main/java/com/mini/capi/biz/domain/BizCities.java new file mode 100644 index 0000000..ac4372c --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizCities.java @@ -0,0 +1,101 @@ +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; + +/** + *+ * 市区信息表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizCompany.java b/src/main/java/com/mini/capi/biz/domain/BizCompany.java new file mode 100644 index 0000000..fd3300c --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizCompany.java @@ -0,0 +1,110 @@ +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; + +/** + *+ * 公司信息表,用于存储公司基本信息 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizMailAccount.java b/src/main/java/com/mini/capi/biz/domain/BizMailAccount.java new file mode 100644 index 0000000..936cfd2 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizMailAccount.java @@ -0,0 +1,122 @@ +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; + +/** + *+ * 邮件账户配置表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizMailSent.java b/src/main/java/com/mini/capi/biz/domain/BizMailSent.java new file mode 100644 index 0000000..02a0ed3 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizMailSent.java @@ -0,0 +1,134 @@ +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; + +/** + *+ * 发送邮件表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizMonitorAccount.java b/src/main/java/com/mini/capi/biz/domain/BizMonitorAccount.java new file mode 100644 index 0000000..dbc1d0c --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizMonitorAccount.java @@ -0,0 +1,116 @@ +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; + +/** + *+ * SSH账号密码表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizMonitorHost.java b/src/main/java/com/mini/capi/biz/domain/BizMonitorHost.java new file mode 100644 index 0000000..68ed557 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizMonitorHost.java @@ -0,0 +1,140 @@ +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; + +/** + *+ * 主机信息表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizMunicipalities.java b/src/main/java/com/mini/capi/biz/domain/BizMunicipalities.java new file mode 100644 index 0000000..b0de025 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizMunicipalities.java @@ -0,0 +1,119 @@ +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; + +/** + *+ * 地市信息表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizProjectInfo.java b/src/main/java/com/mini/capi/biz/domain/BizProjectInfo.java new file mode 100644 index 0000000..dbc3b8d --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizProjectInfo.java @@ -0,0 +1,116 @@ +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; + +/** + *+ * 项目表用于存储公司内部各个项目的详细信息 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizProjectReport.java b/src/main/java/com/mini/capi/biz/domain/BizProjectReport.java new file mode 100644 index 0000000..1b13949 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizProjectReport.java @@ -0,0 +1,128 @@ +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; + +/** + *+ * 项目汇报信息表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizProjectRequirements.java b/src/main/java/com/mini/capi/biz/domain/BizProjectRequirements.java new file mode 100644 index 0000000..3be4343 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizProjectRequirements.java @@ -0,0 +1,134 @@ +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; + +/** + *+ * 项目需求表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizProvince.java b/src/main/java/com/mini/capi/biz/domain/BizProvince.java new file mode 100644 index 0000000..a5be3af --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizProvince.java @@ -0,0 +1,95 @@ +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; + +/** + *+ * 省份信息表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizResumeEmployee.java b/src/main/java/com/mini/capi/biz/domain/BizResumeEmployee.java new file mode 100644 index 0000000..3612bea --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizResumeEmployee.java @@ -0,0 +1,110 @@ +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; + +/** + *+ * 员工表用于存储公司内部员工的基本信息 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/BizWebsiteStorage.java b/src/main/java/com/mini/capi/biz/domain/BizWebsiteStorage.java new file mode 100644 index 0000000..c18a675 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/BizWebsiteStorage.java @@ -0,0 +1,113 @@ +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; + +/** + *+ * 网站信息存储表,用于记录网站登录信息及相关信息 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpAccount.java b/src/main/java/com/mini/capi/biz/domain/ErpAccount.java new file mode 100644 index 0000000..ad13af8 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpAccount.java @@ -0,0 +1,99 @@ +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; + +/** + *+ * 账户信息 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpCategory.java b/src/main/java/com/mini/capi/biz/domain/ErpCategory.java new file mode 100644 index 0000000..1e79856 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpCategory.java @@ -0,0 +1,92 @@ +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; + +/** + *+ * 收支分类 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpExpense.java b/src/main/java/com/mini/capi/biz/domain/ErpExpense.java new file mode 100644 index 0000000..c85e2cf --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpExpense.java @@ -0,0 +1,87 @@ +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; + +/** + *+ * 支出明细表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpIncome.java b/src/main/java/com/mini/capi/biz/domain/ErpIncome.java new file mode 100644 index 0000000..a50c6cf --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpIncome.java @@ -0,0 +1,87 @@ +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; + +/** + *+ * 收入明细表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpSummaryAllView.java b/src/main/java/com/mini/capi/biz/domain/ErpSummaryAllView.java new file mode 100644 index 0000000..38eb34a --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpSummaryAllView.java @@ -0,0 +1,42 @@ +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 lombok.Getter; +import lombok.Setter; + +/** + *+ * VIEW + *
+ * + * @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 String 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; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpSummarySourceView.java b/src/main/java/com/mini/capi/biz/domain/ErpSummarySourceView.java new file mode 100644 index 0000000..3fd0d83 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpSummarySourceView.java @@ -0,0 +1,42 @@ +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 lombok.Getter; +import lombok.Setter; + +/** + *+ * VIEW + *
+ * + * @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 String cType; + + @TableField("f_value") + private BigDecimal fValue; + + @TableField("f_source") + private String fSource; + + @TableField("f_cycle") + private String fCycle; +} diff --git a/src/main/java/com/mini/capi/biz/domain/ErpTransactionFlow.java b/src/main/java/com/mini/capi/biz/domain/ErpTransactionFlow.java new file mode 100644 index 0000000..76e3568 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/domain/ErpTransactionFlow.java @@ -0,0 +1,111 @@ +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; + +/** + *+ * 收支流水总表 + *
+ * + * @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; +} diff --git a/src/main/java/com/mini/capi/biz/mapper/BizCitiesMapper.java b/src/main/java/com/mini/capi/biz/mapper/BizCitiesMapper.java new file mode 100644 index 0000000..3bcfa44 --- /dev/null +++ b/src/main/java/com/mini/capi/biz/mapper/BizCitiesMapper.java @@ -0,0 +1,16 @@ +package com.mini.capi.biz.mapper; + +import com.mini.capi.biz.domain.BizCities; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + *+ * 市区信息表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizCitiesMapper extends BaseMapper+ * 公司信息表,用于存储公司基本信息 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizCompanyMapper extends BaseMapper+ * 邮件账户配置表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMailAccountMapper extends BaseMapper+ * 发送邮件表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMailSentMapper extends BaseMapper+ * SSH账号密码表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMonitorAccountMapper extends BaseMapper+ * 主机信息表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMonitorHostMapper extends BaseMapper+ * 地市信息表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMunicipalitiesMapper extends BaseMapper+ * 项目表用于存储公司内部各个项目的详细信息 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProjectInfoMapper extends BaseMapper+ * 项目汇报信息表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProjectReportMapper extends BaseMapper+ * 项目需求表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProjectRequirementsMapper extends BaseMapper+ * 省份信息表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProvinceMapper extends BaseMapper+ * 员工表用于存储公司内部员工的基本信息 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizResumeEmployeeMapper extends BaseMapper+ * 网站信息存储表,用于记录网站登录信息及相关信息 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizWebsiteStorageMapper extends BaseMapper+ * 账户信息 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpAccountMapper extends BaseMapper+ * 收支分类 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpCategoryMapper extends BaseMapper+ * 支出明细表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpExpenseMapper extends BaseMapper+ * 收入明细表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpIncomeMapper extends BaseMapper+ * VIEW Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpSummaryAllViewMapper extends BaseMapper+ * VIEW Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpSummarySourceViewMapper extends BaseMapper+ * 收支流水总表 Mapper 接口 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpTransactionFlowMapper extends BaseMapper+ * 市区信息表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizCitiesService extends IService+ * 公司信息表,用于存储公司基本信息 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizCompanyService extends IService+ * 邮件账户配置表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMailAccountService extends IService+ * 发送邮件表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMailSentService extends IService+ * SSH账号密码表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMonitorAccountService extends IService+ * 主机信息表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMonitorHostService extends IService+ * 地市信息表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizMunicipalitiesService extends IService+ * 项目表用于存储公司内部各个项目的详细信息 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProjectInfoService extends IService+ * 项目汇报信息表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProjectReportService extends IService+ * 项目需求表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProjectRequirementsService extends IService+ * 省份信息表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizProvinceService extends IService+ * 员工表用于存储公司内部员工的基本信息 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizResumeEmployeeService extends IService+ * 网站信息存储表,用于记录网站登录信息及相关信息 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface BizWebsiteStorageService extends IService+ * 账户信息 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpAccountService extends IService+ * 收支分类 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpCategoryService extends IService+ * 支出明细表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpExpenseService extends IService+ * 收入明细表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpIncomeService extends IService+ * VIEW 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpSummaryAllViewService extends IService+ * VIEW 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpSummarySourceViewService extends IService+ * 收支流水总表 服务类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +public interface ErpTransactionFlowService extends IService+ * 市区信息表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizCitiesServiceImpl extends ServiceImpl+ * 公司信息表,用于存储公司基本信息 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizCompanyServiceImpl extends ServiceImpl+ * 邮件账户配置表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizMailAccountServiceImpl extends ServiceImpl+ * 发送邮件表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizMailSentServiceImpl extends ServiceImpl+ * SSH账号密码表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizMonitorAccountServiceImpl extends ServiceImpl+ * 主机信息表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizMonitorHostServiceImpl extends ServiceImpl+ * 地市信息表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizMunicipalitiesServiceImpl extends ServiceImpl+ * 项目表用于存储公司内部各个项目的详细信息 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizProjectInfoServiceImpl extends ServiceImpl+ * 项目汇报信息表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizProjectReportServiceImpl extends ServiceImpl+ * 项目需求表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizProjectRequirementsServiceImpl extends ServiceImpl+ * 省份信息表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizProvinceServiceImpl extends ServiceImpl+ * 员工表用于存储公司内部员工的基本信息 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizResumeEmployeeServiceImpl extends ServiceImpl+ * 网站信息存储表,用于记录网站登录信息及相关信息 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class BizWebsiteStorageServiceImpl extends ServiceImpl+ * 账户信息 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpAccountServiceImpl extends ServiceImpl+ * 收支分类 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpCategoryServiceImpl extends ServiceImpl+ * 支出明细表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpExpenseServiceImpl extends ServiceImpl+ * 收入明细表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpIncomeServiceImpl extends ServiceImpl+ * VIEW 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpSummaryAllViewServiceImpl extends ServiceImpl+ * VIEW 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpSummarySourceViewServiceImpl extends ServiceImpl+ * 收支流水总表 服务实现类 + *
+ * + * @author gaoxq + * @since 2025-11-12 + */ +@Service +public class ErpTransactionFlowServiceImpl extends ServiceImpl