llj
2025-08-07 1a94e0e270668ef1cfbcd5043b72bc6591a50706
PlanM/¼Æ»®¹ÜÀí/Gy_RoutingBillList.cs
@@ -46,7 +46,7 @@
            //过滤条件
            if (frmCondition.SqlStr.Trim().Length == 0)
                return;
            sSql = frmCondition.SqlStr + sWhere + " order by å•据号 desc,hsubid ";
            sSql = frmCondition.SqlStr + sWhere + " and HPRDORGID='"+DBUtility.ClsPub.HOrgID.ToString()+"' order by å•据号 desc,hsubid ";
            //
            DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo);
            //生成首行标题
@@ -438,6 +438,11 @@
        private void sy_Click(object sender, EventArgs e)
        {
            long sOldInterID = 0;
            //判断权限
            if (!ClsPub.Security_Log(ModRightNameCheck, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++)
            {
                long HInterID = DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("HMainID")].Value);