| | |
| | | return objJsonResult; |
| | | } |
| | | //得到信息 |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_Gy_EquipFileBillList where HEquipFileNumber= '" + HBarCode + "'", "Gy_EquipFileBillMain"); |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_Gy_EquipFileBillList where HBarCode= '" + HBarCode + "'", "Gy_EquipFileBillMain"); |
| | | //写入信息 |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "1.未查询到设备信息! 2.设备没有维护故障登记单"; |
| | | objJsonResult.Message = "1.未查询到设备信息! 2.设备没有维护故障登记单 3.设备故障登记单没有审核"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |