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
195bd2d0
Commit
195bd2d0
authored
Oct 11, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sql
parent
24f00f61
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
EnterpriseAccountServiceImpl.java
...xtech/atms/service/impl/EnterpriseAccountServiceImpl.java
+4
-4
EnterpriseAccountSetServiceImpl.java
...ch/atms/service/impl/EnterpriseAccountSetServiceImpl.java
+3
-3
OperationLogBasicDataExtendsMapper.xml
...h/atms/dao/extends/OperationLogBasicDataExtendsMapper.xml
+20
-20
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/EnterpriseAccountServiceImpl.java
View file @
195bd2d0
...
@@ -524,11 +524,11 @@ public class EnterpriseAccountServiceImpl extends AbstractService {
...
@@ -524,11 +524,11 @@ public class EnterpriseAccountServiceImpl extends AbstractService {
//create operationlog for creating enterprise account set
//create operationlog for creating enterprise account set
UpdateLogParams
updateLogParams
=
new
UpdateLogParams
();
UpdateLogParams
updateLogParams
=
new
UpdateLogParams
();
updateLogParams
.
setOperationUser
(
authUserHelper
.
getCurrentAuditor
().
get
());
updateLogParams
.
setOperationUser
(
authUserHelper
.
getCurrentAuditor
().
get
());
updateLogParams
.
setUpdateState
(
""
);
//
updateLogParams.setUpdateState("");
updateLogParams
.
setOriginalState
(
""
);
//
updateLogParams.setOriginalState("");
updateLogParams
.
setOperationContent
(
""
);
//
updateLogParams.setOperationContent("");
updateLogParams
.
setOperationModule
(
OperationModule
.
BasicDataEnterpriceAccount
.
value
());
updateLogParams
.
setOperationModule
(
OperationModule
.
BasicDataEnterpriceAccount
.
value
());
updateLogParams
.
setComment
(
""
);
//
updateLogParams.setComment("");
updateLogParams
.
setOperateLogType
(
OperateLogType
.
OperationLogEnterPrise
.
value
());
updateLogParams
.
setOperateLogType
(
OperateLogType
.
OperationLogEnterPrise
.
value
());
updateLogParams
.
setOperationAction
(
OperationAction
.
AddEnterpriseAccountSet
.
value
());
updateLogParams
.
setOperationAction
(
OperationAction
.
AddEnterpriseAccountSet
.
value
());
updateLogParams
.
setOperationObject
(
enterpriseAccountSet
.
getName
());
updateLogParams
.
setOperationObject
(
enterpriseAccountSet
.
getName
());
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/EnterpriseAccountSetServiceImpl.java
View file @
195bd2d0
...
@@ -424,13 +424,13 @@ public class EnterpriseAccountSetServiceImpl {
...
@@ -424,13 +424,13 @@ public class EnterpriseAccountSetServiceImpl {
for
(
EnterpriseAccountSetOrgDto
enterpriseAccountSetOrgDto
:
enterpriseAccountSetOrgDtoList
)
{
for
(
EnterpriseAccountSetOrgDto
enterpriseAccountSetOrgDto
:
enterpriseAccountSetOrgDtoList
)
{
UpdateLogParams
updateLogParams
=
new
UpdateLogParams
();
UpdateLogParams
updateLogParams
=
new
UpdateLogParams
();
updateLogParams
.
setOperationUser
(
authUserHelper
.
getCurrentAuditor
().
get
());
updateLogParams
.
setOperationUser
(
authUserHelper
.
getCurrentAuditor
().
get
());
updateLogParams
.
setUpdateState
(
""
);
//
updateLogParams.setUpdateState("");
updateLogParams
.
setOriginalState
(
""
);
//
updateLogParams.setOriginalState("");
updateLogParams
.
setOperationContent
(
enterpriseAccountSetOrgDto
.
getOrganizationName
());
updateLogParams
.
setOperationContent
(
enterpriseAccountSetOrgDto
.
getOrganizationName
());
updateLogParams
.
setOperationObject
(
enterpriseAccountSetDto
.
getName
());
updateLogParams
.
setOperationObject
(
enterpriseAccountSetDto
.
getName
());
updateLogParams
.
setOperationModule
(
OperationModule
.
BasicDataEnterpriceAccount
.
value
());
updateLogParams
.
setOperationModule
(
OperationModule
.
BasicDataEnterpriceAccount
.
value
());
updateLogParams
.
setOperateLogType
(
OperateLogType
.
OperationLogEnterPrise
.
value
());
updateLogParams
.
setOperateLogType
(
OperateLogType
.
OperationLogEnterPrise
.
value
());
updateLogParams
.
setComment
(
""
);
//
updateLogParams.setComment("");
updateLogParams
.
setOperationAction
(
OperationAction
.
DeleteRelevantOrg
.
value
());
updateLogParams
.
setOperationAction
(
OperationAction
.
DeleteRelevantOrg
.
value
());
updateLogParamsList
.
add
(
updateLogParams
);
updateLogParamsList
.
add
(
updateLogParams
);
}
}
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/OperationLogBasicDataExtendsMapper.xml
View file @
195bd2d0
...
@@ -15,34 +15,34 @@
...
@@ -15,34 +15,34 @@
<insert
id=
"insertSmart"
parameterType=
"pwc.taxtech.atms.entity.OperationLogSmart"
>
<insert
id=
"insertSmart"
parameterType=
"pwc.taxtech.atms.entity.OperationLogSmart"
>
insert into ${tableName}
insert into ${tableName}
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"
id != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(id)
"
>
ID,
ID,
</if>
</if>
<if
test=
"
operationContent != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationContent)
"
>
OPERATION_CONTENT,
OPERATION_CONTENT,
</if>
</if>
<if
test=
"
moduleName != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(moduleName)
"
>
MODULE_NAME,
MODULE_NAME,
</if>
</if>
<if
test=
"
operationObject != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationObject)
"
>
OPERATION_OBJECT,
OPERATION_OBJECT,
</if>
</if>
<if
test=
"
operationAction != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationAction)
"
>
OPERATION_ACTION,
OPERATION_ACTION,
</if>
</if>
<if
test=
"
originalState != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(originalState)
"
>
ORIGINAL_STATE,
ORIGINAL_STATE,
</if>
</if>
<if
test=
"
updateState != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(updateState)
"
>
UPDATE_STATE,
UPDATE_STATE,
</if>
</if>
<if
test=
"
operationUser != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationUser)
"
>
OPERATION_USER,
OPERATION_USER,
</if>
</if>
<if
test=
"
ip != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(ip)
"
>
IP,
IP,
</if>
</if>
<if
test=
"
comment != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(comment)
"
>
"COMMENT",
"COMMENT",
</if>
</if>
<if
test=
"createTime != null"
>
<if
test=
"createTime != null"
>
...
@@ -50,34 +50,34 @@
...
@@ -50,34 +50,34 @@
</if>
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"
id != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(id)
"
>
#{id,jdbcType=VARCHAR},
#{id,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
operationContent != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationContent)
"
>
#{operationContent,jdbcType=VARCHAR},
#{operationContent,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
moduleName != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(moduleName)
"
>
#{moduleName,jdbcType=VARCHAR},
#{moduleName,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
operationObject != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationObject)
"
>
#{operationObject,jdbcType=VARCHAR},
#{operationObject,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
operationAction != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationAction)
"
>
#{operationAction,jdbcType=VARCHAR},
#{operationAction,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
originalState != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(originalState)
"
>
#{originalState,jdbcType=VARCHAR},
#{originalState,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
updateState != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(updateState)
"
>
#{updateState,jdbcType=VARCHAR},
#{updateState,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
operationUser != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(operationUser)
"
>
#{operationUser,jdbcType=VARCHAR},
#{operationUser,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
ip != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(ip)
"
>
#{ip,jdbcType=VARCHAR},
#{ip,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"
comment != null
"
>
<if
test=
"
@org.apache.commons.lang3.StringUtils@isNotBlank(comment)
"
>
#{comment,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"createTime != null"
>
<if
test=
"createTime != null"
>
...
...
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