Commit ab079b03 by 宋毅

tj

parent 20d08579
...@@ -156,8 +156,6 @@ class OrderTmProductService extends ServiceBase { ...@@ -156,8 +156,6 @@ class OrderTmProductService extends ServiceBase {
}); });
}) })
} }
async addTmOrder(params) {//创建商标订单信息 async addTmOrder(params) {//创建商标订单信息
var self = this; var self = this;
var itemCode = params.itemCode;//产品编码 var itemCode = params.itemCode;//产品编码
...@@ -176,7 +174,7 @@ class OrderTmProductService extends ServiceBase { ...@@ -176,7 +174,7 @@ class OrderTmProductService extends ServiceBase {
if (!itemCode) { if (!itemCode) {
return system.getResult(null, "itemCode参数错误"); return system.getResult(null, "itemCode参数错误");
} }
var productItem = await this.appproductDao.findOneByCode(itemCode, user.app_id);//通过ChannelItemCode获取产品//this.appproductDao.findOneByChannelItemCode(itemCode, user.app_id);//通过ChannelItemCode获取产品 var productItem = await this.appproductDao.findOneByChannelItemCode(itemCode, user.app_id);//通过ChannelItemCode获取产品//this.appproductDao.findOneByChannelItemCode(itemCode, user.app_id);//通过ChannelItemCode获取产品
if (!productItem) { if (!productItem) {
return system.getResult(null, "未知的产品"); return system.getResult(null, "未知的产品");
} }
......
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