数据库变更CNPC_XJYJ

This commit is contained in:
2025-08-04 18:04:41 +08:00
parent bafbf97359
commit 79a7f35e22
679 changed files with 5590 additions and 3465 deletions
@@ -56,7 +56,7 @@ namespace BLL
/// <param name="hseCost">月报告HSE技术措施费用实体</param>
public static void AddHseCost(Model.Manager_HseCostB hseCost)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
string newKeyID = SQLHelper.GetNewID(typeof(Model.Manager_HseCostB));
Model.Manager_HseCostB newHseCost = new Model.Manager_HseCostB
{
@@ -83,7 +83,7 @@ namespace BLL
/// <param name="monthReportId">月报告主键</param>
public static void DeleteHseCostsByMonthReportId(string monthReportId)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = (from x in db.Manager_HseCostB where x.MonthReportId == monthReportId select x).ToList();
db.Manager_HseCostB.DeleteAllOnSubmit(q);
db.SubmitChanges();