Commit b00a7b4b by 宋毅

tj

parent 92e71503
......@@ -26,14 +26,13 @@ class OrderTmProductDao extends Dao {
where: {
channelServiceNo: channelServiceNo,
app_id: appId
}
},
raw: true
};
if (t) {
sqlWhere.transaction = t;
}
return this.model.findOne({
sqlWhere,
attributes: ["id",
sqlWhere.attributes = ["id",
"deliveryOrderNo",
"needNo",
"sourceOrderNo",
......@@ -52,9 +51,9 @@ class OrderTmProductDao extends Dao {
"updateuser",
"notes",
"nclOneCount"
],
raw: true
});
];
return this.model.findOne(sqlWhere);
}
}
module.exports = OrderTmProductDao;
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