| | |
| | | string sql1 = string.Format(@"select * from h_v_Gy_UnitList where 禁用标记='' and 组织名称='" + Organization + "'"); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn(sql1 + sWhere + "order by HItemID desc", "h_v_Gy_UnitList"); |
| | | ds = oCN.RunProcReturn(sql1 + sWhere + "order by 计量单位代码 ", "h_v_Gy_UnitList"); |
| | | } |
| | | else |
| | | { |
| | | string sql = sql1 + sWhere + "order by HItemID desc"; |
| | | string sql = sql1 + sWhere + "order by 计量单位代码 "; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Gy_UnitList"); |
| | | } |
| | | objJsonResult.code = "1"; |
| | |
| | | try |
| | | { |
| | | //删除权限 |
| | | //if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, CurUserName)) |
| | | //if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false, CurUserName)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |