Commit 046df077 by linboxuan

update 2.4

parent d630c43c
......@@ -25,14 +25,17 @@ class ediApi extends APIBase {
var opResult = null;
switch (action_type) {
case "produceNoticeAliEsp":// uk后端订单拉取功能
opResult = await this.needinfoSve.produceNoticeAliEsp(pobj,pobj.actionBody);
break;
opResult = await this.needinfoSve.produceNoticeAliEsp(pobj,pobj.actionBody);
break;
case "receiveEdiStatusNotify"://接收渠道方案状态变更通知2.3
opResult = await this.aliyunqcSve.receiveEdiStatusNotify(pobj);
break;
opResult = await this.aliyunqcSve.receiveEdiStatusNotify(pobj);
break;
case "soulutionFeebackAliEsp"://接收渠道方案状态变更通知2.4
opResult = await this.aliyunqcSve.soulutionFeebackAliEsp(pobj);
break;
default:
opResult = system.getResult(null, "action_type参数错误");
break;
opResult = system.getResult(null, "action_type参数错误");
break;
}
return opResult;
}
......
......@@ -933,7 +933,8 @@ class AliyunQcService {
}
//获取方案信息
var ns = await this.needsolutionDao.model.findOne({
where: { channelSolutionNo: ab.BizId, isInvalid: 0 }, raw: true
// 2020 0929 lin 修改ab.BizId 改为 ab.solutionBizId
where: { channelSolutionNo: ab.solutionBizId, isInvalid: 0 }, raw: true
});
if (!ns || !ns.id) {
return system.getResultFail(-102, "未知方案");
......@@ -997,8 +998,10 @@ class AliyunQcService {
var material = solutionContent.customerMaterial || {};
if (ab.extInfo) {
// 退回修改理由
var extInfoJson = JSON.parse(ab.extInfo);
if(ab.extInfo.rejectReason) {
ab.rejectReason = ab.extInfo.rejectReason
ab.rejectReason = ab.extInfo.rejectReason,
solutionContent.note = ab.rejectReason
}
material.businessLicenseArr = ab.extInfo.businessLicenseArr;
material.idCardListArr = ab.idCardListArr;
......
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