Commit 6b21136f by 庄冰

channel

parent 53deb201
...@@ -1034,27 +1034,29 @@ class OrderTmProductService extends ServiceBase { ...@@ -1034,27 +1034,29 @@ class OrderTmProductService extends ServiceBase {
tm["itemName"] = productItem.itemName; tm["itemName"] = productItem.itemName;
tm["channelUserId"] = user.channelUserId; tm["channelUserId"] = user.channelUserId;
tm["updated_at"] = new Date(); tm["updated_at"] = new Date();
if (tm.officialType == "WAITARTIFICIALEXAMINE") { tm.officialType = "dsh"
tm.officialType = "dsh" // if (tm.officialType == "WAITARTIFICIALEXAMINE") {
} // tm.officialType = "dsh"
else if (tm.officialType == "FILLEXCEPTION") { // }
tm.officialType = "shbtg" // else if (tm.officialType == "FILLEXCEPTION") {
} // tm.officialType = "shbtg"
else if (tm.officialType == "WAITCOMMIT") { // }
tm.officialType = "ddj" // else if (tm.officialType == "WAITCOMMIT") {
} // tm.officialType = "ddj"
else if (tm.officialType == "ROBOT") { // }
tm.officialType = "ydj" // else if (tm.officialType == "ROBOT") {
} else { // tm.officialType = "ydj"
tm.officialType = "dsccl"; // } else {
} // tm.officialType = "dsccl";
// }
await self.trademarkDao.create(tm, t); await self.trademarkDao.create(tm, t);
} }
//交付单 //交付单
var otp = obj.order; var otp = obj.order;
if (otp.tmStatus && otp.tmStatus == "SUBALITMOK") { // if (otp.tmStatus && otp.tmStatus == "SUBALITMOK") {
otp["deliveryStatus"] = "dqrfa"; // otp["deliveryStatus"] = "dqrfa";
} // }
otp["deliveryStatus"] = "dqrfa";
otp["updated_at"] = new Date(); otp["updated_at"] = new Date();
await self.dao.model.update(otp, whereObj); await self.dao.model.update(otp, whereObj);
......
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