优化系统
This commit is contained in:
@@ -192,7 +192,7 @@ var produceCtr = Ctr{
|
||||
}
|
||||
|
||||
columnStr := "produce.id,produce.sn,produce.name,produce.state,produce.product_id,product.name AS product_name"
|
||||
where := Map{"produce.state": 0, "ORDER": "produce.modify_time DESC"}
|
||||
where := Map{"produce.state[!]": 0, "ORDER": "produce.modify_time DESC"}
|
||||
|
||||
reData := that.Db.Select("produce", Map{"[>]product": "produce.product_id=product.id"}, columnStr, where)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user