Commit 3111525c by 丁伟峰

Merge branch 'feature-dingwf-0715' into develop

2 parents d2af4420 ae89d994
...@@ -134,6 +134,12 @@ public class CommonServiceImpl implements CommonService { ...@@ -134,6 +134,12 @@ public class CommonServiceImpl implements CommonService {
public void addOrderEvent(String orderId, String subOrderId, String source, String operator, String event, String content, String memo) { public void addOrderEvent(String orderId, String subOrderId, String source, String operator, String event, String content, String memo) {
OrderEventEntity entity = new OrderEventEntity(); OrderEventEntity entity = new OrderEventEntity();
if (StringUtils.isBlank(source)){
source = "SYSTEM";
}
if (StringUtils.isBlank(operator)){
operator = "PEA-WEB";
}
entity.setOrderId(orderId).setSuborderId(subOrderId).setSource(source).setOperator(operator); entity.setOrderId(orderId).setSuborderId(subOrderId).setSource(source).setOperator(operator);
entity.setEvent(event).setDescription(content).setMemo(memo); entity.setEvent(event).setDescription(content).setMemo(memo);
entity.setCreateTime(LocalDateTime.now()).setUpdateTime(LocalDateTime.now()); entity.setCreateTime(LocalDateTime.now()).setUpdateTime(LocalDateTime.now());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!