| | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "登录成功!"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.data = ds; |
| | | Add_Log("主界面", UserName, "登录"); |
| | | return objJsonResult; |
| | | } |
| | |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | DS = oCn.RunProcReturn("select * from Gy_Czygl where Czybm='" + MainID + "' and Czmm='" + sPsd + "' ", "Gy_Czygl"); |
| | | //DS = oCn.RunProcReturn("select * from Gy_Czygl where Czybm='" + MainID + "' and Czmm='" + sPsd + "' ", "Gy_Czygl"); |
| | | DS = oCn.RunProcReturn("exec h_p_SRM_GetSupIDByUser '" + MainID + "','" + sPsd + "'", "h_p_SRM_GetSupIDByUser"); |
| | | if (DS.Tables[0].Rows.Count == 0) |
| | | return null; |
| | | else |