全局处理问题:public static Model.SGGLDB db = Funs.DB;

This commit is contained in:
2026-04-23 11:36:49 +08:00
parent 5a38880a14
commit 746cb57619
315 changed files with 641 additions and 449 deletions
@@ -10,7 +10,7 @@ namespace BLL
/// </summary>
public static class RowMaterialProblemService
{
public static Model.SGGLDB db = Funs.DB;
/// <summary>
/// 根据主键获取原材料问题
@@ -29,6 +29,7 @@ namespace BLL
/// <returns></returns>
public static List<Model.Report_RowMaterialProblem> GetRowMaterialProblemByReportId(string reportId)
{
Model.SGGLDB db = Funs.DB;
return (from x in db.Report_RowMaterialProblem where x.ReportId == reportId select x).ToList();
}