Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
f7373230
Commit
f7373230
authored
Jul 22, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活码操作
parent
bd196b7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
HmQrcodeApiServiceImpl.java
...e/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
+4
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
View file @
f7373230
...
@@ -22,6 +22,7 @@ import com.gic.haoban.manage.api.dto.hm.HmQrcodeStoreDTO;
...
@@ -22,6 +22,7 @@ import com.gic.haoban.manage.api.dto.hm.HmQrcodeStoreDTO;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmClerkRelationQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmClerkRelationQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeListQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeListQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeQDTO
;
import
com.gic.haoban.manage.api.dto.qdto.hm.HmQrcodeQDTO
;
import
com.gic.haoban.manage.api.enums.ChannelCodeEnum
;
import
com.gic.haoban.manage.api.enums.hm.HmWelcomeReferType
;
import
com.gic.haoban.manage.api.enums.hm.HmWelcomeReferType
;
import
com.gic.haoban.manage.api.service.hm.HmQrcodeApiService
;
import
com.gic.haoban.manage.api.service.hm.HmQrcodeApiService
;
import
com.gic.haoban.manage.service.config.Config
;
import
com.gic.haoban.manage.service.config.Config
;
...
@@ -169,7 +170,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
...
@@ -169,7 +170,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
GicLogRecordEvaluationContext
.
noWriteLog
();
GicLogRecordEvaluationContext
.
noWriteLog
();
}
else
{
}
else
{
if
(
invokingType
!=
1
)
{
if
(
invokingType
!=
1
)
{
logContent
=
logContent
+
"——"
+
HbBindEnum
.
getNam
e
(
invokingType
);
logContent
=
logContent
+
"——"
+
ChannelCodeEnum
.
getNameByCod
e
(
invokingType
);
}
}
GicLogRecordEvaluationContext
.
putAttribute
(
"logContent"
,
logContent
);
GicLogRecordEvaluationContext
.
putAttribute
(
"logContent"
,
logContent
);
logger
.
info
(
"新增活码日志:logText:{}"
,
logContent
);
logger
.
info
(
"新增活码日志:logText:{}"
,
logContent
);
...
@@ -377,7 +378,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
...
@@ -377,7 +378,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
String
hmName
=
"【"
+
hmId
+
"-"
+
hmQrcodeQDTO
.
getName
()
+
"】:"
;
String
hmName
=
"【"
+
hmId
+
"-"
+
hmQrcodeQDTO
.
getName
()
+
"】:"
;
GicLogRecordEvaluationContext
.
putAttribute
(
"hmName"
,
hmName
);
GicLogRecordEvaluationContext
.
putAttribute
(
"hmName"
,
hmName
);
if
(
invokingType
!=
1
)
{
if
(
invokingType
!=
1
)
{
logText
=
logText
+
"——"
+
HbBindEnum
.
getNam
e
(
invokingType
);
logText
=
logText
+
"——"
+
ChannelCodeEnum
.
getNameByCod
e
(
invokingType
);
}
}
GicLogRecordEvaluationContext
.
putAttribute
(
"logContent"
,
logText
);
GicLogRecordEvaluationContext
.
putAttribute
(
"logContent"
,
logText
);
logger
.
info
(
"更新活码日志:hmName:{},logText:{}"
,
hmName
,
logText
);
logger
.
info
(
"更新活码日志:hmName:{},logText:{}"
,
hmName
,
logText
);
...
@@ -580,7 +581,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
...
@@ -580,7 +581,7 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
setLoggerContext
(
hmQrcodeBO
.
getEnterpriseId
(),
hmQrcodeBO
.
getWxEnterpriseId
(),
hmQrcodeBO
.
getModifierId
(),
hmQrcodeBO
.
getModifierName
());
setLoggerContext
(
hmQrcodeBO
.
getEnterpriseId
(),
hmQrcodeBO
.
getWxEnterpriseId
(),
hmQrcodeBO
.
getModifierId
(),
hmQrcodeBO
.
getModifierName
());
String
logContent
=
"【"
+
hmId
+
"-"
+
hmQrcodeBO
.
getName
()
+
"】"
;
String
logContent
=
"【"
+
hmId
+
"-"
+
hmQrcodeBO
.
getName
()
+
"】"
;
if
(
invokingType
!=
1
)
{
if
(
invokingType
!=
1
)
{
logContent
=
logContent
+
"——"
+
HbBindEnum
.
getNam
e
(
invokingType
);
logContent
=
logContent
+
"——"
+
ChannelCodeEnum
.
getNameByCod
e
(
invokingType
);
}
}
GicLogRecordEvaluationContext
.
putAttribute
(
"logContent"
,
logContent
);
GicLogRecordEvaluationContext
.
putAttribute
(
"logContent"
,
logContent
);
return
ServiceResponse
.
success
();
return
ServiceResponse
.
success
();
...
...
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