| | |
| | | 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; |
| | | } |
| | | } |
| | |
| | | } |
| | | 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; |
| | | } |
| | | } |