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 4b30351c
authored
Sep 08, 2023
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]mybatis逆向工程
1 parent
2dfc2511
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
platform-process/src/test/resources/generatorConfig.xml
platform-process/src/test/resources/generatorConfig.xml
View file @
4b30351
...
@@ -16,21 +16,25 @@
...
@@ -16,21 +16,25 @@
<javaTypeResolver>
<javaTypeResolver>
<property
name=
"forceBigDecimals"
value=
"false"
/>
<property
name=
"forceBigDecimals"
value=
"false"
/>
</javaTypeResolver>
</javaTypeResolver>
<!-- api绝对路径-->
<javaModelGenerator
targetPackage=
"cn.com.glsx.process.modules.entity"
targetProject=
"F:\360MoveData\Users\11\Desktop\企微SAAS\2023\09\sop\platform-process-server\platform-process-api\src\main\java"
>
<javaModelGenerator
targetPackage=
"cn.com.glsx.process.modules.entity"
targetProject=
"F:\360MoveData\Users\11\Desktop\企微SAAS\2023\09\sop\platform-process-server\platform-process-api\src\main\java"
>
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"trimStrings"
value=
"true"
/>
<property
name=
"trimStrings"
value=
"true"
/>
</javaModelGenerator>
</javaModelGenerator>
<sqlMapGenerator
targetPackage=
"mapper"
targetProject=
"
F:\360MoveData\Users\11\Desktop\企微SAAS\2023\09\sop\platform-process-server\platform-process\
src\main\resources"
>
<sqlMapGenerator
targetPackage=
"mapper"
targetProject=
"src\main\resources"
>
<property
name=
"enableSubPackages"
value=
"false"
/>
<property
name=
"enableSubPackages"
value=
"false"
/>
</sqlMapGenerator>
</sqlMapGenerator>
<!-- api绝对路径-->
<javaClientGenerator
targetPackage=
"cn.com.glsx.process.modules.mapper"
targetProject=
"F:\360MoveData\Users\11\Desktop\企微SAAS\2023\09\sop\platform-process-server\platform-process-api\src\main\java"
type=
"XMLMAPPER"
>
<javaClientGenerator
targetPackage=
"cn.com.glsx.process.modules.mapper"
targetProject=
"F:\360MoveData\Users\11\Desktop\企微SAAS\2023\09\sop\platform-process-server\platform-process-api\src\main\java"
type=
"XMLMAPPER"
>
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"enableSubPackages"
value=
"true"
/>
</javaClientGenerator>
</javaClientGenerator>
<!-- 可配置多个 -->
<!-- 可配置多个 -->
<table
tableName=
"sop_tpl_
link"
domainObjectName=
"SopTplLink
"
enableSelectByExample=
"false"
enableCountByExample=
"false"
enableDeleteByExample=
"false"
enableUpdateByExample=
"false"
>
<table
tableName=
"sop_tpl_
node"
domainObjectName=
"SopTplNode
"
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_tpl_node" domainObjectName="SopTplNode" 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_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">
...
@@ -50,6 +54,6 @@
...
@@ -50,6 +54,6 @@
</table>
</table>
<table tableName="node_tpl" domainObjectName="NodeTpl" enableSelectByExample="false" enableCountByExample="false" enableDeleteByExample="false" enableUpdateByExample="false">
<table tableName="node_tpl" domainObjectName="NodeTpl" enableSelectByExample="false" enableCountByExample="false" enableDeleteByExample="false" enableUpdateByExample="false">
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
<generatedKey column="id" sqlStatement="MySql" identity="true"/>
</table>
</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