王 垚
2022-11-08 51a690bf62cc777403b25b4fece8429941cb4ec9
优化
1个文件已修改
10 ■■■■ 已修改文件
WebAPI/Controllers/CGGL/Cg_POOrderBillController.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/CGGL/Cg_POOrderBillController.cs
@@ -57,7 +57,7 @@
                bool isCgjl = Security_Log("Cg_POOrderBill_PurchasManager", 1, true, user);
                if (!isCgjl)
                {
                    sWhere += $" and HEmpID in (select HEmpID from Gy_Czygl where Czymc='{user}' )";
                    sWhere += $" and HEmpID in (select HEmpID from Gy_Czygl where Czymc='{user}' and HEmpID >0  )";
                }
                string sql = "select * from h_v_IF_POOrderBillList where 1 = 1 " + sWhere;
                ds = oCN.RunProcReturn(sql, "h_v_IF_POOrderBillList");
@@ -91,9 +91,9 @@
                {
                    foreach (DataColumn item in ds.Tables[0].Columns)
                    {
                        optionList.Add(@"{ field: 'hmainid', title: '"+ item.ToString() + "', sort: true, hide: false }");
                        optionList.Add(@"{ field: 'hmainid', title: '" + item.ToString() + "', sort: true, hide: false }");
                    }
                    string option = string.Join(",",optionList);
                    string option = string.Join(",", optionList);
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "Sucess!";
@@ -144,7 +144,7 @@
                            title = item.ToString(),
                            sort = true,
                            hide = false,
                        });
                        });
                    }
                    string option = string.Join(",", optionList);
                    objJsonResult.code = "1";
@@ -661,5 +661,5 @@
        //
    }
}