Commit eab2f916 by 兰国旗

Merge branch 'gsb-marketplat-mag' of gitlab.gongsibao.com:jiangyong/zhichan into gsb-marketplat-mag

parents 7940b8f9 25bcbe0e
......@@ -31,7 +31,7 @@ class ProductService extends ServiceBase {
}
let products = await this.dao.model.findAll({
attributes:["code","name"],
where:{product_type_id:type.id},raw:true
where:{product_type_id:type.id,is_enabled:1},raw:true
});
return system.getResult(products)
}
......
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