Commit eb1f9d7c by 任晓松

update 腾讯订单导入

parent f15047e3
......@@ -1355,9 +1355,9 @@ class OrderInfoService extends ServiceBase {
sql1 += ` and a.uapp_id = :uapp_id`;
whereParams.uapp_id = ab.uapp_id;
}
if (ab.type_code) {
sql1 += ` and b.itemCode = :type_code`;
whereParams.type_code = ab.type_code;
if (ab.pathName) {
sql1 += ` and b.pathName = :pathName`;
whereParams.pathName = ab.pathName;
}
let totalRet1 = await this.customQuery(sql1, whereParams);
if (ab.startLast && ab.endLast) {
......@@ -1428,10 +1428,10 @@ class OrderInfoService extends ServiceBase {
totalSql += ` and a.orderStatus = :status`;
whereParams.status = ab.status;
}
if (ab.type_code) {
listSql += ` and b.itemCode = :type_code`;
totalSql += ` and b.itemCode = :type_code`;
whereParams.type_code = ab.type_code;
if (ab.pathName) {
listSql += ` and b.pathName = :pathName`;
totalSql += ` and b.pathName = :pathName`;
whereParams.pathName = ab.pathName;
}
if (ab.fuzzy_code) {
listSql += ` and ( a.orderNo like :fuzzy_code or a.channelOrderNo like :fuzzy_code or c.mobile like :fuzzy_code)`;
......
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