Commit 36ab9b02 by Joneq

增加日志

parent 7d7c7e80
Showing with 4 additions and 0 deletions
......@@ -274,6 +274,10 @@ func getOrderDetailId(c *bm.Context) {
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 LIMIT 100) abc where show_zan >= ?", materialno,ordersn,num).Scan(&id)
if err != nil {
service.ErrorReturn(c,err.Error())
}
if id == 0 {
service.ErrorReturn(c,"该订单暂无符合数量的数据")
}
......
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