Commit 5f88ad4f by Joneq

提交代码

parent badb5ac4
Showing with 1 additions and 1 deletions
......@@ -273,7 +273,7 @@ func getOrderDetailId(c *bm.Context) {
service.ErrorReturn(c,"数据库连接失败")
}
err = db.QueryRow(c, "select id from (SELECT *,qty-scanqty show_zan FROM `lie_erp_order` where materialno = '?' and ordersn = '?' order by show_zan asc) abc where show_zan >= ?", materialno,ordersn,num).Scan(&id)
err = db.QueryRow(c, "select id from (SELECT *,qty-scanqty show_zan FROM `lie_erp_order` where materialno = ? and ordersn = ? order by show_zan asc) abc where show_zan >= ?", materialno,ordersn,num).Scan(&id)
if err != nil {
service.ErrorReturn(c,err.Error())
......
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 sign in to comment