소스 검색

ias 渠道审核发行订单不需要领取订单

master
chenchaod 2 주 전
부모
커밋
e3e0987cf6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/order/OrderAuditManager.java

+ 2
- 1
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/order/OrderAuditManager.java 파일 보기

@@ -18,6 +18,7 @@ import cn.com.taiji.core.model.comm.protocol.valid.ErrorMsgBuilder;
import cn.com.taiji.core.model.comm.protocol.valid.GlyServiceError;
import cn.com.taiji.core.repo.jpa.basic.QtkBrandInfoRepo;
import cn.com.taiji.ias.dict.DataType;
import cn.com.taiji.ias.model.MyFinals;
import cn.com.taiji.ias.model.ServiceLogEvent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -65,7 +66,7 @@ public class OrderAuditManager extends AbstractOrderManager<OrderAuditRequest> {
if (!IssueOrderStep.WAITING_AUDIT.equals(order.getOrderStep())) {
throw newBusinessException("当前订单步骤不能审核,订单步骤:" + order.getOrderStep().getStep());
}
if (!staff.getOpenId().equals(order.getReceiver())) {
if (request.getOrgCode().equals(MyFinals.QTZL_AGENCY_ID) && !staff.getOpenId().equals(order.getReceiver())) {
throw newBusinessException("审核订单的人与领取订单的人不一致,不允许审核");
}
dataStream.put(ORDER, order);

Loading…
취소
저장