Commit 414887bb by 王悦

fix名称搜索

parent d6908fc8
......@@ -434,8 +434,8 @@ class TrademarktransactionService extends ServiceBase {
var countObj = { };
var whereObj = { };
if (ab.excelName) {// 商标名称
whereObj["excelName"] = { [this.db.Op.like]: "%" + ab.name + "%" };
countObj["excelName"] = { [this.db.Op.like]: "%" + ab.name + "%" };
whereObj["excelName"] = { [this.db.Op.like]: "%" + ab.excelName + "%" };
countObj["excelName"] = { [this.db.Op.like]: "%" + ab.excelName + "%" };
}
if (ab.code) {// 申请号
whereObj["code"] = { [this.db.Op.like]: "%" + ab.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