Commit 07417266 by Joneq

提交代码

parent 88ec2e14
Showing with 2 additions and 0 deletions
......@@ -274,6 +274,8 @@ 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) abc where show_zan >= ?", materialno,ordersn,num).Scan(&id)
db.Exec(c,"insert into lie_order_goods_img (image_src)values('?')",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