Commit 739bfdc0 by 王昆

dd

parent 17f3776f
......@@ -5,13 +5,13 @@ class SaasmerchanttitleDao extends Dao {
super(Dao.getModelName(SaasmerchanttitleDao));
}
/**
* 查询指定商户下的所有 title和地址
* @param {*} id
*/
async getAllByMerchantId(id){
let sql = `select * from saas_merchant_title where saas_merchant_id = :saas_merchant_id`;
return await this.customQuery(sql, {saas_merchant_id:id});
}
}
module.exports = SaasmerchanttitleDao;
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