WebAPI/Controllers/»ªÔ¶datamapping/HY_DataMappingController.cs
@@ -601,7 +601,7 @@
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;  //成功!
                    objJsonResult.Message = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HRemark"]);
                    objJsonResult.data = ds.Tables[0];
                    objJsonResult.data = ds.Tables[0].Rows[0]["HBarCode"].ToString();
                    return objJsonResult;
                }
            }
@@ -772,10 +772,16 @@
                }
                else
                {
                    List<string> HBarCodeList = new List<string>();
                    for(int i = 0; i < ds.Tables[0].Rows.Count; i++)
                    {
                        HBarCodeList.Add(ds.Tables[0].Rows[i]["HBarCode"].ToString());
                    }
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;  //成功!
                    objJsonResult.Message = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HRemark"]);
                    objJsonResult.data = ds.Tables[0];
                    objJsonResult.data = HBarCodeList;
                    return objJsonResult;
                }
            }