Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8ec690e9
authored
Sep 11, 2023
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]sop实体处理
1 parent
fd754179
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
30 additions
and
0 deletions
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInst.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInstNode.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstBatchMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstLinkMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstNodeBatchMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstNodeMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopNodeTplMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplLinkMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplNodeMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInst.java
View file @
8ec690e
...
...
@@ -5,6 +5,13 @@ import javax.persistence.*;
@Table
(
name
=
"sop_inst"
)
public
class
SopInst
{
/**
* 启用状态:0,未启用;1,启用;-1,已删除/过期;
*/
public
static
final
Byte
INST_STATUS_UNUSED
=
0
;
public
static
final
Byte
INST_STATUS_DELETED
=
-
1
;
/**
* 实例id,一般sop只允许一个实例。特殊情况可以根据输入参数来区分不同实例。实例名可以用于在cdp保存状态
*/
...
...
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInstNode.java
View file @
8ec690e
...
...
@@ -4,6 +4,13 @@ import javax.persistence.*;
@Table
(
name
=
"sop_inst_node"
)
public
class
SopInstNode
{
public
static
final
byte
NODE_SKIP_FALSE
=
0
;
public
static
final
byte
NODE_SKIP_TRUE
=
1
;
public
static
final
int
NODE_STATUS_DELETED
=
0
;
public
static
final
int
NODE_STATUS_NORMAL
=
1
;
/**
* 实例节点id
*/
...
...
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstBatchMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstBatch
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstBatchMapper
extends
CommonBaseMapper
<
SopInstBatch
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstLinkMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstLink
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstLinkMapper
extends
CommonBaseMapper
<
SopInstLink
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInst
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstMapper
extends
CommonBaseMapper
<
SopInst
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstNodeBatchMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstNodeBatch
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstNodeBatchMapper
extends
CommonBaseMapper
<
SopInstNodeBatch
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstNodeMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstNode
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstNodeMapper
extends
CommonBaseMapper
<
SopInstNode
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopNodeTplMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopNodeTpl
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopNodeTplMapper
extends
CommonBaseMapper
<
SopNodeTpl
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplLinkMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopTplLink
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopTplLinkMapper
extends
CommonBaseMapper
<
SopTplLink
>
{
}
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplNodeMapper.java
View file @
8ec690e
...
...
@@ -2,6 +2,8 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopTplNode
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopTplNodeMapper
extends
CommonBaseMapper
<
SopTplNode
>
{
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment