Commit 620e8a8b by 任晓松

update

parent 9b13ef46
......@@ -348,8 +348,8 @@ class OrderInfoService extends ServiceBase {
sqlCount += ` and o.channelUserId='${pobj.userInfo.channel_userid}'`;
}
if (actionBody.orderNo) {
sql += ` and serviceNo='${actionBody.orderNo}'`;
sqlCount += ` and serviceNo='${actionBody.orderNo}'`;
sql += ` and o.serviceNo='${actionBody.orderNo}'`;
sqlCount += ` and o.serviceNo='${actionBody.orderNo}'`;
}
if (actionBody.askforId) {
sql += ` and json_extract(officialInfo,'$.askforId')='${actionBody.askforId}'`;
......@@ -404,7 +404,7 @@ class OrderInfoService extends ServiceBase {
let data = {
serviceNo: actionBody.orderNo,
channelUserId:orderItem.channelUserId,
officialInfo: JSON.stringify(actionBody.officialData),
officialInfo: actionBody.officialData,
created_at: new Date(),
updated_at: new Date()
}
......
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