<%temp_shopping_wishlist_edit_handle=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_shopping_wishlist_edit_handle -->
<%
if not site.check.isInteger(request("id")) then
site.Error.info="意外错误！"
site.Error.location="back"
site.Error.err()
end if

if not site.check.isInteger(request("goods_num_"&request("id"))) then
site.Error.info="意外错误！"
site.Error.location="back"
site.Error.err()
end if

if request("goods_num_"&request("id"))<=0 then
site.Error.info="请在商品数量栏内输入正整数！"
site.Error.location="back"
site.Error.err()
end if

conn.execute("update jins_customer_wishlist_list set goods_num="&int(request("goods_num_"&request("id")))&" where customer_name='"&site.temp.customer.info.reg_name&"' and customer_wishlist_id="&int(request("id"))&" ")

site.Error.info="商品数量修改成功！"
site.Error.location="back"
site.Error.suc()
%>