优化系统

This commit is contained in:
hoteas
2021-12-18 00:07:35 +08:00
parent 1465ba36d3
commit eccab42fc8
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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)