Commit 6b2db2d2 by 王昆

gsb

parent 54c5b40c
......@@ -95,8 +95,8 @@ class DeliverDao extends Dao {
if (!params || !sql) {
return;
}
if (params.saas_id) {
sql.push("AND t1.saas_id = :saas_id");
if (params.saasId) {
sql.push("AND t1.saas_id = :saasId");
}
if (params.id) {
sql.push("AND t1.id = :id");
......
......@@ -17,6 +17,7 @@ class DeliverChannelDao extends Dao {
if (params.channel_id) {
sql.push("AND channel_id = :channel_id");
}
sql.push("GROUP BY deliver_id")
return this.customQuery(sql.join(" "), params);
}
......
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