| | |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Sc_UnbindStation_BarList order by 条码日期 desc", "h_v_Sc_UnbindStation_BarList"); |
| | | ds = oCN.RunProcReturn("select * from h_v_Sc_UnbindStation_BarList" + |
| | | " order by 条码日期 desc", "h_v_Sc_UnbindStation_BarList"); |
| | | } |
| | | else |
| | | { |
| | |
| | | |
| | | oCN.RunProc(sql);//插入蓝牙测试数据 |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.code = "success"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "蓝牙测试数据接收成功!lotSn:" + lotSn; |
| | | objJsonResult.data = null; |
| | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.code = "error"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "发生异常!" + e.ToString(); |
| | | objJsonResult.data = null; |