Commit 25bcbe0e by 任晓松

update

parent d3e572bb
......@@ -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