Commit 66e53203 by 兰国旗

laolan

parent c05ec6fd
...@@ -145,7 +145,7 @@ class MediaaggregationDao extends Dao { ...@@ -145,7 +145,7 @@ class MediaaggregationDao extends Dao {
rows: [] rows: []
}; };
var dataCount = "select count(1) as dataCount from mc_product left join mc_product_type on mc_product.product_type_id = mc_product_type.id where mc_product.deleted_at is null and mc_product_type.deleted_at is null and mc_product.is_enabled = 1 and p_product_type_code = :p_product_type_code and mc_product_type.company_id = :company_id "; var dataCount = "select count(1) as dataCount from mc_product left join mc_product_type on mc_product.product_type_id = mc_product_type.id where mc_product.deleted_at is null and mc_product_type.deleted_at is null and mc_product.is_enabled = 1 and p_product_type_code = :p_product_type_code and mc_product_type.company_id = :company_id ";
var sql = "select * from mc_product left join mc_product_type on mc_product.product_type_id = mc_product_type.id where mc_product.deleted_at is null and mc_product_type.deleted_at is null and is mc_product.is_enabled = 1 and mc_product.p_product_type_code = :p_product_type_code and mc_product_type.company_id = :company_id "; var sql = "select * from mc_product left join mc_product_type on mc_product.product_type_id = mc_product_type.id where mc_product.deleted_at is null and mc_product_type.deleted_at is null and mc_product.is_enabled = 1 and mc_product.p_product_type_code = :p_product_type_code and mc_product_type.company_id = :company_id ";
var list = await this.customQuery(sql, params); var list = await this.customQuery(sql, params);
returnRes.rows = list; returnRes.rows = list;
......
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