Commit 6e6f1d4f by 兰国旗

laolan

parent 952f57f7
...@@ -925,9 +925,9 @@ class RegCenterOrderService extends ServiceBase { ...@@ -925,9 +925,9 @@ class RegCenterOrderService extends ServiceBase {
}); });
console.log('nnnsss-----', ns) console.log('nnnsss-----', ns)
var i; var i;
var needObj; var needObj = {};
if (ns) { var nsLength = ns.length
var nsLength = ns.length if (ns.length > 0) {
for (i = 0; i < nsLength; i++) { for (i = 0; i < nsLength; i++) {
if (ns[i].id) { if (ns[i].id) {
if (ns[i].status == "ywc") { if (ns[i].status == "ywc") {
...@@ -955,8 +955,9 @@ class RegCenterOrderService extends ServiceBase { ...@@ -955,8 +955,9 @@ class RegCenterOrderService extends ServiceBase {
id: needinfo.id, status: "ygb", notes: ab.note id: needinfo.id, status: "ygb", notes: ab.note
}; };
await this.needinfoDao.update(needObj) await this.needinfoDao.update(needObj)
console.log('needObj----', ns)
ns['uapp_id'] = needinfo.uapp_id; ns['uapp_id'] = needinfo.uapp_id;
console.log('guanbi ns +++', ns) console.log('guanbi ns -----', ns)
} }
return system.getResultSuccess(ns); return system.getResultSuccess(ns);
......
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