Commit f803edcd by zhiwj

订单发送审批

parent 7482187a
......@@ -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
*/
......
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment