数据库变更CNPC_XJYJ
This commit is contained in:
@@ -14,7 +14,7 @@ namespace BLL
|
||||
/// <param name="DataReceiving"></param>
|
||||
public static void AddDInspectionPersonItem(Model.Comprehensive_InspectionPersonSteel InspectionPersonItem)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Comprehensive_InspectionPersonSteel newInspectionPersonItem = new Model.Comprehensive_InspectionPersonSteel();
|
||||
newInspectionPersonItem.InspectionPersonId = InspectionPersonItem.InspectionPersonId;
|
||||
newInspectionPersonItem.InspectionPersonSteelId = InspectionPersonItem.InspectionPersonSteelId;
|
||||
@@ -34,7 +34,7 @@ namespace BLL
|
||||
/// <param name="specialDataReceivingId"></param>
|
||||
public static void DelPersonItem(string InspectionPersonId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
List<Model.Comprehensive_InspectionPersonSteel> InspectionPerson = (from x in db.Comprehensive_InspectionPersonSteel where x.InspectionPersonId == InspectionPersonId select x).ToList();
|
||||
if (InspectionPerson != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user