|
@@ -123,8 +123,8 @@ public class OrderAddImpl extends BaseServlet implements IHttpServletAdaptor{
|
|
|
headvo.setBillstatus(IBillStatus.FREE);
|
|
|
String pk_order = dao.insertVO(headvo);
|
|
|
//入库赋值
|
|
|
- if(bodyObject.getJSONArray("in")!=null) {
|
|
|
- JSONArray inArray = bodyObject.getJSONArray("in");
|
|
|
+ if(bodyObject.getJSONArray("product")!=null) {
|
|
|
+ JSONArray inArray = bodyObject.getJSONArray("product");
|
|
|
for(int i = 0;i < inArray.size();i++) {
|
|
|
Object inobj = inArray.get(i);
|
|
|
JSONObject injsobj = JSONObject.parseObject(inobj.toString());
|