Commit 9587b099 by 王悦

fix ActionType -> actionType

parent a029f932
...@@ -174,7 +174,7 @@ class NeedinfoService extends ServiceBase { ...@@ -174,7 +174,7 @@ class NeedinfoService extends ServiceBase {
return system.getResult(null, "需求数据为空,30210"); return system.getResult(null, "需求数据为空,30210");
} }
var item = await this.dao.getItemByNeedNo(solutionitem.needNo); var item = await this.dao.getItemByNeedNo(solutionitem.needNo);
item.solutionProvince = solutionitem.solutionContent.solution.Area + `(${solutionitem.solutionContent.solution.ActionType})`//北京(新办); item.solutionProvince = solutionitem.solutionContent.solution.Area + `(${solutionitem.solutionContent.solution.actionType})`//北京(新办);
item.solutionContent = solutionitem.solutionContent item.solutionContent = solutionitem.solutionContent
item.channelSolutionNo = solutionitem.channelSolutionNo item.channelSolutionNo = solutionitem.channelSolutionNo
if (!item) { if (!item) {
......
...@@ -493,7 +493,11 @@ class NeedsolutionService extends ServiceBase { ...@@ -493,7 +493,11 @@ class NeedsolutionService extends ServiceBase {
solutionNo, solutionNo,
...ab, ...ab,
status:"ywc", status:"ywc",
solutionContent:JSON.stringify({totalSum: Number(ab.orderPrice || "0")}) solutionContent:JSON.stringify({
totalSum: Number(ab.orderPrice || "0"),
actionType:ab.actionType,
Source:ab.source
})
}) })
}else { }else {
if (!ab.channelSolutionNo) { if (!ab.channelSolutionNo) {
......
...@@ -254,6 +254,7 @@ class AliyunQcService { ...@@ -254,6 +254,7 @@ class AliyunQcService {
if (!solution.ActionType) { if (!solution.ActionType) {
return system.getResultFail(-108, "办理类型不能为空"); return system.getResultFail(-108, "办理类型不能为空");
} }
ab.solutionContent.solution.actionType = solution.ActionType
var solutionFlowList = ab.solutionContent.solutionFlowList || []; var solutionFlowList = ab.solutionContent.solutionFlowList || [];
solutionFlowList.push({ solutionFlowList.push({
status: "SOLUTION_SUBMIT", statusName: this.icpSolutionStatusReference.SOLUTION_SUBMIT, updated_at: new Date() status: "SOLUTION_SUBMIT", statusName: this.icpSolutionStatusReference.SOLUTION_SUBMIT, updated_at: new Date()
......
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