
6 changed files with 106 additions and 1 deletions
@ -0,0 +1,30 @@ |
|||||
|
DROP TABLE IF EXISTS `oa_form`; |
||||
|
CREATE TABLE `oa_form` |
||||
|
( |
||||
|
`id` int(32) NOT NULL AUTO_INCREMENT COMMENT 'id', |
||||
|
`sid` varchar(64) NOT NULL COMMENT 'sid', |
||||
|
`lockVersion` int(32) DEFAULT '0' COMMENT '版本锁', |
||||
|
`createTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', |
||||
|
`modifyTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间', |
||||
|
`isEnable` int(32) DEFAULT '1' COMMENT '是否可用:1可用,0不可用', |
||||
|
`state` int(32) DEFAULT '1' COMMENT '状态', |
||||
|
`isDelete` int(32) DEFAULT '0' COMMENT '是否删除:0未删除,1已删除', |
||||
|
`remarks` varchar(255) DEFAULT NULL COMMENT '备注', |
||||
|
`createBySid` varchar(64) DEFAULT NULL COMMENT '创建人sid', |
||||
|
`createByName` varchar(64) DEFAULT NULL COMMENT '创建人', |
||||
|
`useOrgSid` varchar(64) DEFAULT NULL COMMENT '公司sid', |
||||
|
`useOrgName` varchar(64) DEFAULT NULL COMMENT '公司名称', |
||||
|
`deptSid` varchar(255) DEFAULT NULL COMMENT '部门sid', |
||||
|
`deptName` varchar(255) DEFAULT NULL COMMENT '部门名称', |
||||
|
`finishTime` varchar(255) DEFAULT NULL COMMENT '办结日期', |
||||
|
`procInstId` varchar(255) DEFAULT NULL COMMENT '流程实例id', |
||||
|
`procDefId` varchar(255) DEFAULT NULL COMMENT '流程定义id', |
||||
|
`taskId` varchar(255) DEFAULT NULL COMMENT '任务id', |
||||
|
`nodeId` varchar(255) DEFAULT NULL COMMENT '环节id', |
||||
|
`nodeState` varchar(255) DEFAULT NULL COMMENT '环节名称', |
||||
|
`createOrgSid` varchar(255) DEFAULT NULL COMMENT '创建组织sid', |
||||
|
`createOrgName` varchar(255) DEFAULT NULL COMMENT '创建组织名称', |
||||
|
PRIMARY KEY (`id`), |
||||
|
KEY `id` (`id`) |
||||
|
) ENGINE = INNODB |
||||
|
DEFAULT CHARSET = utf8 COMMENT ='表单公共表'; |
@ -0,0 +1,44 @@ |
|||||
|
package com.yxt.anrui.oa.biz.oaform; |
||||
|
|
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2025/1/3 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class OaForm extends BaseEntity { |
||||
|
private static final long serialVersionUID = 2307297366703765992L; |
||||
|
|
||||
|
@ApiModelProperty("创建人") |
||||
|
private String createByName; |
||||
|
@ApiModelProperty("公司sid") |
||||
|
private String useOrgSid; |
||||
|
@ApiModelProperty("公司名称") |
||||
|
private String useOrgName; |
||||
|
@ApiModelProperty("部门sid") |
||||
|
private String deptSid; |
||||
|
@ApiModelProperty("部门名称") |
||||
|
private String deptName; |
||||
|
@ApiModelProperty("办结日期") |
||||
|
private String finishTime; |
||||
|
@ApiModelProperty("实例id") |
||||
|
private String procInstId; |
||||
|
@ApiModelProperty("流程定义id") |
||||
|
private String procDefId; |
||||
|
@ApiModelProperty("任务id") |
||||
|
private String taskId; |
||||
|
@ApiModelProperty("环节id") |
||||
|
private String nodeId; |
||||
|
@ApiModelProperty("流程状态") |
||||
|
private String nodeState; |
||||
|
@ApiModelProperty("创建组织sid") |
||||
|
private String createOrgSid; |
||||
|
@ApiModelProperty("创建组织") |
||||
|
private String createOrgName; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
package com.yxt.anrui.oa.biz.oaform; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2025/1/3 |
||||
|
**/ |
||||
|
@Mapper |
||||
|
public interface OaFormMapper extends BaseMapper<OaForm> { |
||||
|
} |
@ -0,0 +1,4 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.anrui.oa.biz.oaform.OaFormMapper"> |
||||
|
</mapper> |
@ -0,0 +1,13 @@ |
|||||
|
package com.yxt.anrui.oa.biz.oaform; |
||||
|
|
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2025/1/3 |
||||
|
**/ |
||||
|
@Service |
||||
|
public class OaFormService extends MybatisBaseService<OaFormMapper, OaForm> { |
||||
|
} |
Loading…
Reference in new issue