Commit ea886567 by 宋毅

tj

parent 00cafbfb
...@@ -23,7 +23,7 @@ class OrderService extends ServiceBase { ...@@ -23,7 +23,7 @@ class OrderService extends ServiceBase {
} }
var productItem = await this.appproductDao.findOneByChannelItemCode(action_body.channelItemCode, req.app.id);//获取产品 var productItem = await this.appproductDao.findOneByChannelItemCode(action_body.channelItemCode, req.app.id);//获取产品
if (!productItem) { if (!productItem) {
return system.getResult(null, "productItem is empty");; return system.getResult(null, action_body.channelItemCode + " productItem is empty");;
} }
var orderCount = await this.dao.findCount({ where: { needNo: action_body.needNo } }); var orderCount = await this.dao.findCount({ where: { needNo: action_body.needNo } });
if (orderCount > 0) { if (orderCount > 0) {
......
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