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 7d17e0ee
authored
Sep 11, 2023
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]sop流程画布实体处理
1 parent
95ae55e6
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
229 additions
and
185 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/SopInstBatch.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/entity/SopInstNodeBatch.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopTpl.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopTplGrant.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopTplNode.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/SopTplLinkMapper.java
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplNodeMapper.java
platform-process/src/main/resources/mapper/SopInstBatchMapper.xml
platform-process/src/main/resources/mapper/SopInstMapper.xml
platform-process/src/main/resources/mapper/SopInstNodeBatchMapper.xml
platform-process/src/main/resources/mapper/SopInstNodeMapper.xml
platform-process/src/main/resources/mapper/SopTplGrantMapper.xml
platform-process/src/main/resources/mapper/SopTplMapper.xml
platform-process/src/main/resources/mapper/SopTplNodeMapper.xml
platform-process/src/test/resources/generatorConfig.xml
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInst.java
View file @
7d17e0e
...
@@ -5,13 +5,6 @@ import javax.persistence.*;
...
@@ -5,13 +5,6 @@ import javax.persistence.*;
@Table
(
name
=
"sop_inst"
)
@Table
(
name
=
"sop_inst"
)
public
class
SopInst
{
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保存状态
* 实例id,一般sop只允许一个实例。特殊情况可以根据输入参数来区分不同实例。实例名可以用于在cdp保存状态
*/
*/
...
@@ -55,7 +48,6 @@ public class SopInst {
...
@@ -55,7 +48,6 @@ public class SopInst {
@Column
(
name
=
"inst_status"
)
@Column
(
name
=
"inst_status"
)
private
Byte
instStatus
;
private
Byte
instStatus
;
/**
/**
* 实例默认输入参数
* 实例默认输入参数
*/
*/
...
@@ -63,6 +55,12 @@ public class SopInst {
...
@@ -63,6 +55,12 @@ public class SopInst {
private
String
instParam
;
private
String
instParam
;
/**
/**
* 实例快照,每天任务均从快照取数,修改的数据写回快照,与快照表做冗余;
*/
@Column
(
name
=
"inst_snapshot"
)
private
String
instSnapshot
;
/**
* sop有效期,每个sop都设置一个有效期,到期自动停止。
* sop有效期,每个sop都设置一个有效期,到期自动停止。
*/
*/
@Column
(
name
=
"expire_time"
)
@Column
(
name
=
"expire_time"
)
...
@@ -210,12 +208,40 @@ public class SopInst {
...
@@ -210,12 +208,40 @@ public class SopInst {
this
.
instStatus
=
instStatus
;
this
.
instStatus
=
instStatus
;
}
}
/**
* 获取实例默认输入参数
*
* @return inst_param - 实例默认输入参数
*/
public
String
getInstParam
()
{
public
String
getInstParam
()
{
return
instParam
;
return
instParam
;
}
}
/**
* 设置实例默认输入参数
*
* @param instParam 实例默认输入参数
*/
public
void
setInstParam
(
String
instParam
)
{
public
void
setInstParam
(
String
instParam
)
{
this
.
instParam
=
instParam
;
this
.
instParam
=
instParam
==
null
?
null
:
instParam
.
trim
();
}
/**
* 获取实例快照,每天任务均从快照取数,修改的数据写回快照,与快照表做冗余;
*
* @return inst_snapshot - 实例快照,每天任务均从快照取数,修改的数据写回快照,与快照表做冗余;
*/
public
String
getInstSnapshot
()
{
return
instSnapshot
;
}
/**
* 设置实例快照,每天任务均从快照取数,修改的数据写回快照,与快照表做冗余;
*
* @param instSnapshot 实例快照,每天任务均从快照取数,修改的数据写回快照,与快照表做冗余;
*/
public
void
setInstSnapshot
(
String
instSnapshot
)
{
this
.
instSnapshot
=
instSnapshot
==
null
?
null
:
instSnapshot
.
trim
();
}
}
/**
/**
...
...
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInstBatch.java
View file @
7d17e0e
...
@@ -13,6 +13,11 @@ public class SopInstBatch {
...
@@ -13,6 +13,11 @@ public class SopInstBatch {
private
Integer
instId
;
private
Integer
instId
;
/**
/**
* 执行快照
*/
private
String
snapshot
;
/**
* 批次启动时间
* 批次启动时间
*/
*/
@Column
(
name
=
"create_time"
)
@Column
(
name
=
"create_time"
)
...
@@ -25,11 +30,6 @@ public class SopInstBatch {
...
@@ -25,11 +30,6 @@ public class SopInstBatch {
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 执行快照
*/
private
String
snapshot
;
/**
* @return batch_no
* @return batch_no
*/
*/
public
String
getBatchNo
()
{
public
String
getBatchNo
()
{
...
@@ -58,6 +58,24 @@ public class SopInstBatch {
...
@@ -58,6 +58,24 @@ public class SopInstBatch {
}
}
/**
/**
* 获取执行快照
*
* @return snapshot - 执行快照
*/
public
String
getSnapshot
()
{
return
snapshot
;
}
/**
* 设置执行快照
*
* @param snapshot 执行快照
*/
public
void
setSnapshot
(
String
snapshot
)
{
this
.
snapshot
=
snapshot
==
null
?
null
:
snapshot
.
trim
();
}
/**
* 获取批次启动时间
* 获取批次启动时间
*
*
* @return create_time - 批次启动时间
* @return create_time - 批次启动时间
...
@@ -92,22 +110,4 @@ public class SopInstBatch {
...
@@ -92,22 +110,4 @@ public class SopInstBatch {
public
void
setUpdateTime
(
Date
updateTime
)
{
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
this
.
updateTime
=
updateTime
;
}
}
/**
* 获取执行快照
*
* @return snapshot - 执行快照
*/
public
String
getSnapshot
()
{
return
snapshot
;
}
/**
* 设置执行快照
*
* @param snapshot 执行快照
*/
public
void
setSnapshot
(
String
snapshot
)
{
this
.
snapshot
=
snapshot
==
null
?
null
:
snapshot
.
trim
();
}
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInstNode.java
View file @
7d17e0e
...
@@ -4,14 +4,6 @@ import javax.persistence.*;
...
@@ -4,14 +4,6 @@ import javax.persistence.*;
@Table
(
name
=
"sop_inst_node"
)
@Table
(
name
=
"sop_inst_node"
)
public
class
SopInstNode
{
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
* 实例节点id
*/
*/
...
@@ -240,20 +232,40 @@ public class SopInstNode {
...
@@ -240,20 +232,40 @@ public class SopInstNode {
this
.
nodeShow
=
nodeShow
==
null
?
null
:
nodeShow
.
trim
();
this
.
nodeShow
=
nodeShow
==
null
?
null
:
nodeShow
.
trim
();
}
}
/**
* 获取输入参数格式:Json,开始节点的输入参数全局共用
*
* @return node_param - 输入参数格式:Json,开始节点的输入参数全局共用
*/
public
String
getNodeParam
()
{
public
String
getNodeParam
()
{
return
nodeParam
;
return
nodeParam
;
}
}
/**
* 设置输入参数格式:Json,开始节点的输入参数全局共用
*
* @param nodeParam 输入参数格式:Json,开始节点的输入参数全局共用
*/
public
void
setNodeParam
(
String
nodeParam
)
{
public
void
setNodeParam
(
String
nodeParam
)
{
this
.
nodeParam
=
nodeParam
;
this
.
nodeParam
=
nodeParam
==
null
?
null
:
nodeParam
.
trim
()
;
}
}
/**
* 获取节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*
* @return node_content - 节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*/
public
String
getNodeContent
()
{
public
String
getNodeContent
()
{
return
nodeContent
;
return
nodeContent
;
}
}
/**
* 设置节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*
* @param nodeContent 节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*/
public
void
setNodeContent
(
String
nodeContent
)
{
public
void
setNodeContent
(
String
nodeContent
)
{
this
.
nodeContent
=
nodeContent
;
this
.
nodeContent
=
nodeContent
==
null
?
null
:
nodeContent
.
trim
()
;
}
}
/**
/**
...
...
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopInstNodeBatch.java
View file @
7d17e0e
...
@@ -18,6 +18,11 @@ public class SopInstNodeBatch {
...
@@ -18,6 +18,11 @@ public class SopInstNodeBatch {
@Column
(
name
=
"batch_no"
)
@Column
(
name
=
"batch_no"
)
private
String
batchNo
;
private
String
batchNo
;
/**
* 执行快照
*/
private
String
snapshot
;
@Column
(
name
=
"create_time"
)
@Column
(
name
=
"create_time"
)
private
Date
createTime
;
private
Date
createTime
;
...
@@ -25,11 +30,6 @@ public class SopInstNodeBatch {
...
@@ -25,11 +30,6 @@ public class SopInstNodeBatch {
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 执行快照
*/
private
String
snapshot
;
/**
* @return node_batch_no
* @return node_batch_no
*/
*/
public
String
getNodeBatchNo
()
{
public
String
getNodeBatchNo
()
{
...
@@ -76,6 +76,24 @@ public class SopInstNodeBatch {
...
@@ -76,6 +76,24 @@ public class SopInstNodeBatch {
}
}
/**
/**
* 获取执行快照
*
* @return snapshot - 执行快照
*/
public
String
getSnapshot
()
{
return
snapshot
;
}
/**
* 设置执行快照
*
* @param snapshot 执行快照
*/
public
void
setSnapshot
(
String
snapshot
)
{
this
.
snapshot
=
snapshot
==
null
?
null
:
snapshot
.
trim
();
}
/**
* @return create_time
* @return create_time
*/
*/
public
Date
getCreateTime
()
{
public
Date
getCreateTime
()
{
...
@@ -102,22 +120,4 @@ public class SopInstNodeBatch {
...
@@ -102,22 +120,4 @@ public class SopInstNodeBatch {
public
void
setUpdateTime
(
Date
updateTime
)
{
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
this
.
updateTime
=
updateTime
;
}
}
/**
* 获取执行快照
*
* @return snapshot - 执行快照
*/
public
String
getSnapshot
()
{
return
snapshot
;
}
/**
* 设置执行快照
*
* @param snapshot 执行快照
*/
public
void
setSnapshot
(
String
snapshot
)
{
this
.
snapshot
=
snapshot
==
null
?
null
:
snapshot
.
trim
();
}
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopTpl.java
View file @
7d17e0e
...
@@ -42,9 +42,6 @@ public class SopTpl {
...
@@ -42,9 +42,6 @@ public class SopTpl {
@Column
(
name
=
"tpl_param_def"
)
@Column
(
name
=
"tpl_param_def"
)
private
String
tplParamDef
;
private
String
tplParamDef
;
/**
* JSON结构,sop默认输入参数定义,可以在分配门店时配置的参数,比如旅程阶段列表
*/
@Column
(
name
=
"tpl_result_def"
)
@Column
(
name
=
"tpl_result_def"
)
private
String
tplResultDef
;
private
String
tplResultDef
;
...
@@ -61,11 +58,6 @@ public class SopTpl {
...
@@ -61,11 +58,6 @@ public class SopTpl {
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 分发门店数
*/
private
int
grantCount
;
/**
* 获取模板id,模板代码,建议使用模板名拼音首字母缩写,不要超过8位
* 获取模板id,模板代码,建议使用模板名拼音首字母缩写,不要超过8位
*
*
* @return tpl_id - 模板id,模板代码,建议使用模板名拼音首字母缩写,不要超过8位
* @return tpl_id - 模板id,模板代码,建议使用模板名拼音首字母缩写,不要超过8位
...
@@ -146,29 +138,45 @@ public class SopTpl {
...
@@ -146,29 +138,45 @@ public class SopTpl {
return
tplStatus
;
return
tplStatus
;
}
}
/**
* 设置启用状态:0,禁用;1,启用;
*
* @param tplStatus 启用状态:0,禁用;1,启用;
*/
public
void
setTplStatus
(
Byte
tplStatus
)
{
this
.
tplStatus
=
tplStatus
;
}
/**
* 获取JSON结构,sop默认输入参数定义,可以在分配门店时配置的参数,比如旅程阶段列表
*
* @return tpl_param_def - JSON结构,sop默认输入参数定义,可以在分配门店时配置的参数,比如旅程阶段列表
*/
public
String
getTplParamDef
()
{
public
String
getTplParamDef
()
{
return
tplParamDef
;
return
tplParamDef
;
}
}
/**
* 设置JSON结构,sop默认输入参数定义,可以在分配门店时配置的参数,比如旅程阶段列表
*
* @param tplParamDef JSON结构,sop默认输入参数定义,可以在分配门店时配置的参数,比如旅程阶段列表
*/
public
void
setTplParamDef
(
String
tplParamDef
)
{
public
void
setTplParamDef
(
String
tplParamDef
)
{
this
.
tplParamDef
=
tplParamDef
;
this
.
tplParamDef
=
tplParamDef
==
null
?
null
:
tplParamDef
.
trim
()
;
}
}
/**
* @return tpl_result_def
*/
public
String
getTplResultDef
()
{
public
String
getTplResultDef
()
{
return
tplResultDef
;
return
tplResultDef
;
}
}
public
void
setTplResultDef
(
String
tplResultDef
)
{
this
.
tplResultDef
=
tplResultDef
;
}
/**
/**
* 设置启用状态:0,禁用;1,启用;
* @param tplResultDef
*
* @param tplStatus 启用状态:0,禁用;1,启用;
*/
*/
public
void
setTpl
Status
(
Byte
tplStatus
)
{
public
void
setTpl
ResultDef
(
String
tplResultDef
)
{
this
.
tpl
Status
=
tplStatus
;
this
.
tpl
ResultDef
=
tplResultDef
==
null
?
null
:
tplResultDef
.
trim
()
;
}
}
/**
/**
...
@@ -216,12 +224,4 @@ public class SopTpl {
...
@@ -216,12 +224,4 @@ public class SopTpl {
public
void
setUpdateTime
(
Date
updateTime
)
{
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
this
.
updateTime
=
updateTime
;
}
}
public
int
getGrantCount
()
{
return
grantCount
;
}
public
void
setGrantCount
(
int
grantCount
)
{
this
.
grantCount
=
grantCount
;
}
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopTplGrant.java
View file @
7d17e0e
...
@@ -5,13 +5,6 @@ import javax.persistence.*;
...
@@ -5,13 +5,6 @@ import javax.persistence.*;
@Table
(
name
=
"sop_tpl_grant"
)
@Table
(
name
=
"sop_tpl_grant"
)
public
class
SopTplGrant
{
public
class
SopTplGrant
{
/**
* 授权状态:0,未启用;1,启用;-1,删除;
*/
public
static
final
Byte
GRANT_STATUS_DELETED
=
-
1
;
public
static
final
Byte
GRANT_STATUS_NORMAL
=
1
;
/**
/**
* 授权id
* 授权id
*/
*/
...
@@ -41,7 +34,7 @@ public class SopTplGrant {
...
@@ -41,7 +34,7 @@ public class SopTplGrant {
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 授权状态:0,未启用;1,启用;
-1,删除;
* 授权状态:0,未启用;1,启用;
*/
*/
@Column
(
name
=
"grant_status"
)
@Column
(
name
=
"grant_status"
)
private
Byte
grantStatus
;
private
Byte
grantStatus
;
...
@@ -143,18 +136,18 @@ public class SopTplGrant {
...
@@ -143,18 +136,18 @@ public class SopTplGrant {
}
}
/**
/**
* 获取授权状态:0,未启用;1,启用;
-1,删除;
* 获取授权状态:0,未启用;1,启用;
*
*
* @return grant_status - 授权状态:0,未启用;1,启用;
-1,删除;
* @return grant_status - 授权状态:0,未启用;1,启用;
*/
*/
public
Byte
getGrantStatus
()
{
public
Byte
getGrantStatus
()
{
return
grantStatus
;
return
grantStatus
;
}
}
/**
/**
* 设置授权状态:0,未启用;1,启用;
-1,删除;
* 设置授权状态:0,未启用;1,启用;
*
*
* @param grantStatus 授权状态:0,未启用;1,启用;
-1,删除;
* @param grantStatus 授权状态:0,未启用;1,启用;
*/
*/
public
void
setGrantStatus
(
Byte
grantStatus
)
{
public
void
setGrantStatus
(
Byte
grantStatus
)
{
this
.
grantStatus
=
grantStatus
;
this
.
grantStatus
=
grantStatus
;
...
...
platform-process-api/src/main/java/cn/com/glsx/process/modules/entity/SopTplNode.java
View file @
7d17e0e
...
@@ -60,6 +60,12 @@ public class SopTplNode {
...
@@ -60,6 +60,12 @@ public class SopTplNode {
private
String
nodeKey
;
private
String
nodeKey
;
/**
/**
* 节点输出数据格式模板,主要用于后续节点参考
*/
@Column
(
name
=
"node_result_def"
)
private
String
nodeResultDef
;
/**
* 节点可见状态,复制时不可变
* 节点可见状态,复制时不可变
*/
*/
@Column
(
name
=
"node_visible"
)
@Column
(
name
=
"node_visible"
)
...
@@ -191,20 +197,40 @@ public class SopTplNode {
...
@@ -191,20 +197,40 @@ public class SopTplNode {
this
.
nodeShow
=
nodeShow
==
null
?
null
:
nodeShow
.
trim
();
this
.
nodeShow
=
nodeShow
==
null
?
null
:
nodeShow
.
trim
();
}
}
/**
* 获取输入参数格式:Json,开始节点的输入参数全局共用
*
* @return node_param_def - 输入参数格式:Json,开始节点的输入参数全局共用
*/
public
String
getNodeParamDef
()
{
public
String
getNodeParamDef
()
{
return
nodeParamDef
;
return
nodeParamDef
;
}
}
/**
* 设置输入参数格式:Json,开始节点的输入参数全局共用
*
* @param nodeParamDef 输入参数格式:Json,开始节点的输入参数全局共用
*/
public
void
setNodeParamDef
(
String
nodeParamDef
)
{
public
void
setNodeParamDef
(
String
nodeParamDef
)
{
this
.
nodeParamDef
=
nodeParamDef
;
this
.
nodeParamDef
=
nodeParamDef
==
null
?
null
:
nodeParamDef
.
trim
()
;
}
}
/**
* 获取节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*
* @return node_content_def - 节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*/
public
String
getNodeContentDef
()
{
public
String
getNodeContentDef
()
{
return
nodeContentDef
;
return
nodeContentDef
;
}
}
/**
* 设置节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*
* @param nodeContentDef 节点源码,配合node_type使用,比如java源码,python脚本,sql脚本+数据源等
*/
public
void
setNodeContentDef
(
String
nodeContentDef
)
{
public
void
setNodeContentDef
(
String
nodeContentDef
)
{
this
.
nodeContentDef
=
nodeContentDef
;
this
.
nodeContentDef
=
nodeContentDef
==
null
?
null
:
nodeContentDef
.
trim
()
;
}
}
/**
/**
...
@@ -226,6 +252,24 @@ public class SopTplNode {
...
@@ -226,6 +252,24 @@ public class SopTplNode {
}
}
/**
/**
* 获取节点输出数据格式模板,主要用于后续节点参考
*
* @return node_result_def - 节点输出数据格式模板,主要用于后续节点参考
*/
public
String
getNodeResultDef
()
{
return
nodeResultDef
;
}
/**
* 设置节点输出数据格式模板,主要用于后续节点参考
*
* @param nodeResultDef 节点输出数据格式模板,主要用于后续节点参考
*/
public
void
setNodeResultDef
(
String
nodeResultDef
)
{
this
.
nodeResultDef
=
nodeResultDef
==
null
?
null
:
nodeResultDef
.
trim
();
}
/**
* 获取节点可见状态,复制时不可变
* 获取节点可见状态,复制时不可变
*
*
* @return node_visible - 节点可见状态,复制时不可变
* @return node_visible - 节点可见状态,复制时不可变
...
...
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstBatchMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstBatch
;
import
cn.com.glsx.process.modules.entity.SopInstBatch
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstBatchMapper
extends
CommonBaseMapper
<
SopInstBatch
>
{
public
interface
SopInstBatchMapper
extends
CommonBaseMapper
<
SopInstBatch
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstLinkMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstLink
;
import
cn.com.glsx.process.modules.entity.SopInstLink
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstLinkMapper
extends
CommonBaseMapper
<
SopInstLink
>
{
public
interface
SopInstLinkMapper
extends
CommonBaseMapper
<
SopInstLink
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInst
;
import
cn.com.glsx.process.modules.entity.SopInst
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstMapper
extends
CommonBaseMapper
<
SopInst
>
{
public
interface
SopInstMapper
extends
CommonBaseMapper
<
SopInst
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstNodeBatchMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstNodeBatch
;
import
cn.com.glsx.process.modules.entity.SopInstNodeBatch
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstNodeBatchMapper
extends
CommonBaseMapper
<
SopInstNodeBatch
>
{
public
interface
SopInstNodeBatchMapper
extends
CommonBaseMapper
<
SopInstNodeBatch
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopInstNodeMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopInstNode
;
import
cn.com.glsx.process.modules.entity.SopInstNode
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopInstNodeMapper
extends
CommonBaseMapper
<
SopInstNode
>
{
public
interface
SopInstNodeMapper
extends
CommonBaseMapper
<
SopInstNode
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplLinkMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopTplLink
;
import
cn.com.glsx.process.modules.entity.SopTplLink
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopTplLinkMapper
extends
CommonBaseMapper
<
SopTplLink
>
{
public
interface
SopTplLinkMapper
extends
CommonBaseMapper
<
SopTplLink
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process-api/src/main/java/cn/com/glsx/process/modules/mapper/SopTplNodeMapper.java
View file @
7d17e0e
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
...
@@ -2,8 +2,6 @@ package cn.com.glsx.process.modules.mapper;
import
cn.com.glsx.process.modules.entity.SopTplNode
;
import
cn.com.glsx.process.modules.entity.SopTplNode
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SopTplNodeMapper
extends
CommonBaseMapper
<
SopTplNode
>
{
public
interface
SopTplNodeMapper
extends
CommonBaseMapper
<
SopTplNode
>
{
}
}
\ No newline at end of file
\ No newline at end of file
platform-process/src/main/resources/mapper/SopInstBatchMapper.xml
View file @
7d17e0e
...
@@ -7,25 +7,14 @@
...
@@ -7,25 +7,14 @@
-->
-->
<id
column=
"batch_no"
jdbcType=
"VARCHAR"
property=
"batchNo"
/>
<id
column=
"batch_no"
jdbcType=
"VARCHAR"
property=
"batchNo"
/>
<result
column=
"inst_id"
jdbcType=
"INTEGER"
property=
"instId"
/>
<result
column=
"inst_id"
jdbcType=
"INTEGER"
property=
"instId"
/>
<result
column=
"snapshot"
jdbcType=
"VARCHAR"
property=
"snapshot"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"cn.com.glsx.process.modules.entity.SopInstBatch"
>
<!--
WARNING - @mbg.generated
-->
<result
column=
"snapshot"
jdbcType=
"LONGVARCHAR"
property=
"snapshot"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
batch_no, inst_id, create_time, update_time
batch_no, inst_id, snapshot, create_time, update_time
</sql>
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
-->
snapshot
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
platform-process/src/main/resources/mapper/SopInstMapper.xml
View file @
7d17e0e
...
@@ -13,21 +13,16 @@
...
@@ -13,21 +13,16 @@
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"inst_status"
jdbcType=
"TINYINT"
property=
"instStatus"
/>
<result
column=
"inst_status"
jdbcType=
"TINYINT"
property=
"instStatus"
/>
<result
column=
"inst_param"
jdbcType=
"VARCHAR"
property=
"instParam"
/>
<result
column=
"inst_snapshot"
jdbcType=
"VARCHAR"
property=
"instSnapshot"
/>
<result
column=
"expire_time"
jdbcType=
"TIMESTAMP"
property=
"expireTime"
/>
<result
column=
"expire_time"
jdbcType=
"TIMESTAMP"
property=
"expireTime"
/>
<result
column=
"batch_no"
jdbcType=
"VARCHAR"
property=
"batchNo"
/>
<result
column=
"batch_no"
jdbcType=
"VARCHAR"
property=
"batchNo"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
inst_id, grant_id, inst_name, inst_cron, inst_remark, create_time, update_time, inst_status,
inst_id, grant_id, inst_name, inst_cron, inst_remark, create_time, update_time, inst_status,
expire_time, batch_no
inst_param, inst_snapshot, expire_time, batch_no
</sql>
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
-->
inst_param, inst_snapshot
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
platform-process/src/main/resources/mapper/SopInstNodeBatchMapper.xml
View file @
7d17e0e
...
@@ -8,25 +8,14 @@
...
@@ -8,25 +8,14 @@
<id
column=
"node_batch_no"
jdbcType=
"VARCHAR"
property=
"nodeBatchNo"
/>
<id
column=
"node_batch_no"
jdbcType=
"VARCHAR"
property=
"nodeBatchNo"
/>
<result
column=
"inst_node_id"
jdbcType=
"INTEGER"
property=
"instNodeId"
/>
<result
column=
"inst_node_id"
jdbcType=
"INTEGER"
property=
"instNodeId"
/>
<result
column=
"batch_no"
jdbcType=
"VARCHAR"
property=
"batchNo"
/>
<result
column=
"batch_no"
jdbcType=
"VARCHAR"
property=
"batchNo"
/>
<result
column=
"snapshot"
jdbcType=
"VARCHAR"
property=
"snapshot"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"cn.com.glsx.process.modules.entity.SopInstNodeBatch"
>
<!--
WARNING - @mbg.generated
-->
<result
column=
"snapshot"
jdbcType=
"LONGVARCHAR"
property=
"snapshot"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
node_batch_no, inst_node_id, batch_no, create_time, update_time
node_batch_no, inst_node_id, batch_no, snapshot, create_time, update_time
</sql>
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
-->
snapshot
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
platform-process/src/main/resources/mapper/SopInstNodeMapper.xml
View file @
7d17e0e
...
@@ -13,24 +13,19 @@
...
@@ -13,24 +13,19 @@
<result
column=
"node_label"
jdbcType=
"VARCHAR"
property=
"nodeLabel"
/>
<result
column=
"node_label"
jdbcType=
"VARCHAR"
property=
"nodeLabel"
/>
<result
column=
"node_key"
jdbcType=
"VARCHAR"
property=
"nodeKey"
/>
<result
column=
"node_key"
jdbcType=
"VARCHAR"
property=
"nodeKey"
/>
<result
column=
"node_show"
jdbcType=
"VARCHAR"
property=
"nodeShow"
/>
<result
column=
"node_show"
jdbcType=
"VARCHAR"
property=
"nodeShow"
/>
<result
column=
"node_param"
jdbcType=
"VARCHAR"
property=
"nodeParam"
/>
<result
column=
"node_content"
jdbcType=
"VARCHAR"
property=
"nodeContent"
/>
<result
column=
"node_visible"
jdbcType=
"TINYINT"
property=
"nodeVisible"
/>
<result
column=
"node_visible"
jdbcType=
"TINYINT"
property=
"nodeVisible"
/>
<result
column=
"node_skip"
jdbcType=
"TINYINT"
property=
"nodeSkip"
/>
<result
column=
"node_skip"
jdbcType=
"TINYINT"
property=
"nodeSkip"
/>
<result
column=
"node_cron"
jdbcType=
"VARCHAR"
property=
"nodeCron"
/>
<result
column=
"node_cron"
jdbcType=
"VARCHAR"
property=
"nodeCron"
/>
<result
column=
"node_expire_cron"
jdbcType=
"VARCHAR"
property=
"nodeExpireCron"
/>
<result
column=
"node_expire_cron"
jdbcType=
"VARCHAR"
property=
"nodeExpireCron"
/>
<result
column=
"node_status"
jdbcType=
"INTEGER"
property=
"nodeStatus"
/>
<result
column=
"node_status"
jdbcType=
"INTEGER"
property=
"nodeStatus"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
inst_node_id, inst_id, node_id, node_name, node_type, node_label, node_key, node_show,
inst_node_id, inst_id, node_id, node_name, node_type, node_label, node_key, node_show,
node_visible, node_skip, node_cron, node_expire_cron, node_status
node_param, node_content, node_visible, node_skip, node_cron, node_expire_cron, node_status
</sql>
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
-->
node_param, node_content
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
platform-process/src/main/resources/mapper/SopTplGrantMapper.xml
View file @
7d17e0e
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
</select>
</select>
<select
id=
"list"
resultMap=
"BaseResultMap"
>
<select
id=
"list"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from sop_tpl_grant
from sop_tpl_grant
where tpl_id = #{tplId} and grant_status != -1
where tpl_id = #{tplId} and grant_status != -1
</select>
</select>
...
...
platform-process/src/main/resources/mapper/SopTplMapper.xml
View file @
7d17e0e
...
@@ -10,27 +10,23 @@
...
@@ -10,27 +10,23 @@
<result
column=
"tpl_cron"
jdbcType=
"VARCHAR"
property=
"tplCron"
/>
<result
column=
"tpl_cron"
jdbcType=
"VARCHAR"
property=
"tplCron"
/>
<result
column=
"tpl_remark"
jdbcType=
"VARCHAR"
property=
"tplRemark"
/>
<result
column=
"tpl_remark"
jdbcType=
"VARCHAR"
property=
"tplRemark"
/>
<result
column=
"tpl_status"
jdbcType=
"TINYINT"
property=
"tplStatus"
/>
<result
column=
"tpl_status"
jdbcType=
"TINYINT"
property=
"tplStatus"
/>
<result
column=
"tpl_param_def"
jdbcType=
"VARCHAR"
property=
"tplParamDef"
/>
<result
column=
"tpl_result_def"
jdbcType=
"VARCHAR"
property=
"tplResultDef"
/>
<result
column=
"tpl_singleton"
jdbcType=
"TINYINT"
property=
"tplSingleton"
/>
<result
column=
"tpl_singleton"
jdbcType=
"TINYINT"
property=
"tplSingleton"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
tpl_id, tpl_name, tpl_cron, tpl_remark, tpl_status, tpl_singleton, create_time, update_time
tpl_id, tpl_name, tpl_cron, tpl_remark, tpl_status, tpl_param_def, tpl_result_def,
</sql>
tpl_singleton, create_time, update_time
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
-->
tpl_param_def, tpl_result_def
</sql>
</sql>
<select
id=
"page"
resultMap=
"BaseResultMap"
>
<select
id=
"page"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from sop_tpl
from sop_tpl
<where>
<where>
<if
test=
"id != null and id !=''"
>
<if
test=
"id != null and id !=''"
>
...
...
platform-process/src/main/resources/mapper/SopTplNodeMapper.xml
View file @
7d17e0e
...
@@ -11,24 +11,20 @@
...
@@ -11,24 +11,20 @@
<result
column=
"node_type"
jdbcType=
"VARCHAR"
property=
"nodeType"
/>
<result
column=
"node_type"
jdbcType=
"VARCHAR"
property=
"nodeType"
/>
<result
column=
"node_label"
jdbcType=
"VARCHAR"
property=
"nodeLabel"
/>
<result
column=
"node_label"
jdbcType=
"VARCHAR"
property=
"nodeLabel"
/>
<result
column=
"node_show"
jdbcType=
"VARCHAR"
property=
"nodeShow"
/>
<result
column=
"node_show"
jdbcType=
"VARCHAR"
property=
"nodeShow"
/>
<result
column=
"node_param_def"
jdbcType=
"VARCHAR"
property=
"nodeParamDef"
/>
<result
column=
"node_content_def"
jdbcType=
"VARCHAR"
property=
"nodeContentDef"
/>
<result
column=
"node_key"
jdbcType=
"VARCHAR"
property=
"nodeKey"
/>
<result
column=
"node_key"
jdbcType=
"VARCHAR"
property=
"nodeKey"
/>
<result
column=
"node_result_def"
jdbcType=
"VARCHAR"
property=
"nodeResultDef"
/>
<result
column=
"node_visible"
jdbcType=
"TINYINT"
property=
"nodeVisible"
/>
<result
column=
"node_visible"
jdbcType=
"TINYINT"
property=
"nodeVisible"
/>
<result
column=
"node_cron"
jdbcType=
"VARCHAR"
property=
"nodeCron"
/>
<result
column=
"node_cron"
jdbcType=
"VARCHAR"
property=
"nodeCron"
/>
<result
column=
"node_expire_cron"
jdbcType=
"VARCHAR"
property=
"nodeExpireCron"
/>
<result
column=
"node_expire_cron"
jdbcType=
"VARCHAR"
property=
"nodeExpireCron"
/>
<result
column=
"node_skipable"
jdbcType=
"TINYINT"
property=
"nodeSkipable"
/>
<result
column=
"node_skipable"
jdbcType=
"TINYINT"
property=
"nodeSkipable"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
<!--
<!--
WARNING - @mbg.generated
WARNING - @mbg.generated
-->
-->
node_id, tpl_id, node_name, node_type, node_label, node_show, node_key, node_visible,
node_id, tpl_id, node_name, node_type, node_label, node_show, node_param_def, node_content_def,
node_cron, node_expire_cron, node_skipable
node_key, node_result_def, node_visible, node_cron, node_expire_cron, node_skipable
</sql>
<sql
id=
"Blob_Column_List"
>
<!--
WARNING - @mbg.generated
-->
node_param_def, node_content_def, node_result_def
</sql>
</sql>
</mapper>
</mapper>
\ No newline at end of file
\ No newline at end of file
platform-process/src/test/resources/generatorConfig.xml
View file @
7d17e0e
...
@@ -31,29 +31,52 @@
...
@@ -31,29 +31,52 @@
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"enableSubPackages"
value=
"true"
/>
</javaClientGenerator>
</javaClientGenerator>
<!-- 可配置多个 -->
<!-- 可配置多个 -->
<table
tableName=
"sop_data_source"
domainObjectName=
"SopDataSource"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<!--<table tableName="sop_data_source" domainObjectName="SopDataSource" enableSelectByExample="false" enableCountByExample="false" enableDeleteByExample="false" enableUpdateByExample="false">
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
</table>-->
<table
tableName=
"sop_tpl_node"
domainObjectName=
"SopTplNode"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"node_param_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"node_content_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"node_result_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"sop_tpl"
domainObjectName=
"SopTpl"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"tpl_param_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"tpl_result_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
<table
tableName=
"sop_tpl_grant"
domainObjectName=
"SopTplGrant"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
</table>
<table
tableName=
"sop_tpl_link"
domainObjectName=
"SopTplLink"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
</table>
</table>
<
!--<table tableName="sop_tpl_node" domainObjectName="SopTplNode
" enableSelectByExample="false" enableCountByExample="false" enableDeleteByExample="false" enableUpdateByExample="false">
<
table
tableName=
"sop_node_tpl"
domainObjectName=
"SopNodeTpl
"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"node_param_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"node_content_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"node_result_def"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</table>
<table
tableName=
"sop_inst_node_batch"
domainObjectName=
"SopInstNodeBatch"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"sop_inst_node_batch"
domainObjectName=
"SopInstNodeBatch"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"snapshot"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</table>
<table
tableName=
"sop_inst_node"
domainObjectName=
"SopInstNode"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"sop_inst_node"
domainObjectName=
"SopInstNode"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"node_param"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"node_content"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</table>
<table
tableName=
"sop_inst_link"
domainObjectName=
"SopInstLink"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"sop_inst_link"
domainObjectName=
"SopInstLink"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
</table>
</table>
<table
tableName=
"sop_inst_batch"
domainObjectName=
"SopInstBatch"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"sop_inst_batch"
domainObjectName=
"SopInstBatch"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"snapshot"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</table>
<table
tableName=
"sop_inst"
domainObjectName=
"SopInst"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"sop_inst"
domainObjectName=
"SopInst"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<generatedKey
column=
"id"
sqlStatement=
"MySql"
identity=
"true"
/>
<columnOverride
column=
"inst_param"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
<columnOverride
column=
"inst_snapshot"
javaType=
"java.lang.String"
jdbcType=
"VARCHAR"
/>
</table>
</table>
<table tableName="node_tpl" domainObjectName="NodeTpl" enableSelectByExample="false" enableCountByExample="false" enableDeleteByExample="false" enableUpdateByExample="false">
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
</table>-->
</context>
</context>
</generatorConfiguration>
</generatorConfiguration>
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