| | |
| | | string VsWhere = sWhere; |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_SupMaterPack_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "无保存权限!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //其他过滤 |
| | | //string sql = " where 1 = 1 " + sqlWhere; |
| | | ////转换特殊字符 |
| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_SupMaterPack_Delete", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "无保存权限!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | oCN.BeginTran(); |
| | | |
| | | // oCN.RunProc("delete from Gy_UserMaterRelation where HInterID = " + HItemID); |
| | | oCN.RunProc("delete from Gy_UserMaterRelation where HItemID='" + HItemID + "'"); |