Commit 27641916 by 王勇飞

gyq

parent 9ab5aec4
......@@ -125,7 +125,7 @@ class BizOptCtl extends CtlBase {
let pobj = mobj.d;
console.log("bizoptCtl:closeBizopt:pobj-----------------",JSON.stringify(res));
pobj.business_status = "isClosed";
if (!qobj.demand_code || !qobj.close_reason) {
if (!pobj.demand_code || !pobj.close_reason) {
return system.getResultError("缺少必要参数.");
}
//根据需求编号去更新该条需求的状态为已关闭
......
......@@ -40,6 +40,7 @@ class FitaxschemeCtl extends CtlBase {
* @param {*} req
*/
async updateInfo(pobj, qobj, req) {
console.log("fitaxscjemeCtl:updateInfo:pobj--------------------",JSON.stringify(pobj));
let obj = {};
if (pobj.actionBody.IntentionBizId) {//需求编号
obj.demand_code = pobj.actionBody.IntentionBizId;
......@@ -49,6 +50,7 @@ class FitaxschemeCtl extends CtlBase {
}
try {
let res = await this.service.updateInfo(obj);
console.log("fitaxschemeCtl/updateInfo :添加方案编号成功! ");
return system.getResult("添加方案编号成功!");
} catch (error) {
console.log("fitaxschemeCtl/updateInfo error: " + error);
......
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