Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
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
base_platform_enterprise
gic-evaluate
Commits
f803edcd
Commit
f803edcd
authored
Apr 22, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单发送审批
parent
7482187a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
EvaluateMsgLogApiService.java
...va/com/gic/evaluate/service/EvaluateMsgLogApiService.java
+12
-1
EvaluateMsgLogApiServiceImpl.java
...uate/service/outer/impl/EvaluateMsgLogApiServiceImpl.java
+8
-0
No files found.
gic-evaluate-api/src/main/java/com/gic/evaluate/service/EvaluateMsgLogApiService.java
View file @
f803edcd
...
...
@@ -11,12 +11,23 @@ import com.gic.evaluate.dto.EvaluateMsgLogDTO;
*/
public
interface
EvaluateMsgLogApiService
{
/**
* @Title: sendNotice
* @Description: 接收数据组的订单数据 发送数据
* @author zhiwj
* @param json
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
*/
ServiceResponse
<
Void
>
sendOrderNotice
(
String
json
);
/**
* 保存一个订单信息
* @Title: saveEvaluateMsgLog
* @Description:
* @author zhiwj
* @param evaluateMsgLogDTO
* @author zhiwj
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>
* @throws
*/
...
...
gic-evaluate-service/src/main/java/com/gic/evaluate/service/outer/impl/EvaluateMsgLogApiServiceImpl.java
View file @
f803edcd
...
...
@@ -51,6 +51,14 @@ public class EvaluateMsgLogApiServiceImpl implements EvaluateMsgLogApiService {
private
EnterpriseApiService
enterpriseApiService
;
@Override
public
ServiceResponse
<
Void
>
sendOrderNotice
(
String
json
)
{
logger
.
info
(
"发送订单评价提醒:{}"
,
json
);
TabEvaluateMsgLog
tabEvaluateMsgLog
=
JSON
.
parseObject
(
json
,
TabEvaluateMsgLog
.
class
);
sendMsg
(
tabEvaluateMsgLog
.
getEnterpriseId
(),
tabEvaluateMsgLog
);
return
ServiceResponse
.
success
();
}
@Override
public
ServiceResponse
<
Void
>
saveEvaluateMsgLog
(
EvaluateMsgLogDTO
evaluateMsgLogDTO
)
{
logger
.
info
(
"保存评价提醒日志信息:{}"
,
JSON
.
toJSONString
(
evaluateMsgLogDTO
));
TabEvaluateMsgLog
oldMsgLog
=
evaluateMsgLogService
.
getByOrderId
(
evaluateMsgLogDTO
.
getOrderId
());
...
...
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