Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
3fc51e8f
Commit
3fc51e8f
authored
Oct 23, 2018
by
neo.wang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_oracle_neo' into 'dev_oracle'
[dev] add period approve gen.xml See merge request root/atms!145
parents
f7e7a882
96232f1a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
ApprovalController.java
.../java/pwc/taxtech/atms/controller/ApprovalController.java
+1
-1
vatGeneratorConfig.xml
atms-dao/etc/generator-oracle/vatGeneratorConfig.xml
+8
-0
vat_run.bat
atms-dao/etc/generator-oracle/vat_run.bat
+2
-1
.gitignore
atms-web/.gitignore
+3
-2
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/ApprovalController.java
View file @
3fc51e8f
...
...
@@ -44,7 +44,7 @@ public class ApprovalController {
public
ApprovalDto
approval
(
@RequestBody
ApprovalDto
dto
)
{
ProcessInstance
pi
=
runtimeService
.
startProcessInstanceByKey
(
"approvalProcess"
);
dto
.
setInstaceId
(
pi
.
getId
());
mocoInsert
(
dto
);
//todo use service insert
mocoInsert
(
dto
);
return
dto
;
}
...
...
atms-dao/etc/generator-oracle/vatGeneratorConfig.xml
View file @
3fc51e8f
...
...
@@ -221,5 +221,12 @@
<columnOverride
column=
"TEMPLATE_ID"
javaType=
"java.lang.Long"
/>
</table>
<table
tableName=
"PERIOD_APPROVE"
schema=
"tax_admin"
domainObjectName=
"PeriodApprove"
>
<property
name=
"useActualColumnNames"
value=
"false"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
<columnOverride
column=
"PERIOD"
javaType=
"java.lang.Integer"
/>
<columnOverride
column=
"YEAR"
javaType=
"java.lang.Integer"
/>
</table>
</context>
</generatorConfiguration>
\ No newline at end of file
atms-dao/etc/generator-oracle/vat_run.bat
View file @
3fc51e8f
rem see http://www.mybatis.org/generator/running/runningFromCmdLine.html
cd /d %~dp0
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile vatGeneratorConfig.xml -overwrite -verbose
call java -classpath .;./* org.mybatis.generator.api.ShellRunner -configfile vatGeneratorConfig.xml -overwrite -verbose
-tables PERIOD_APPROVE
echo @@@@@@@@@@@ DONE @@@@@@@@@@@
pause
\ No newline at end of file
atms-web/.gitignore
View file @
3fc51e8f
...
...
@@ -7,4 +7,5 @@ rebel.xml
/target
/build
/logs
/src/main/webapp/node_modules
\ No newline at end of file
/src/main/webapp/node_modules
/src/main/webapp/bundles
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment