特种设备修改,车辆管理人员管理合并,考试接口创建试卷和答题使用redis

This commit is contained in:
2024-04-02 14:28:52 +08:00
parent 1b96387adc
commit d87b2d5be9
49 changed files with 4175 additions and 179 deletions
@@ -40,7 +40,10 @@ namespace BLL
Remark = carManager.Remark,
CompileMan = carManager.CompileMan,
CompileDate = carManager.CompileDate,
States = carManager.States
States = carManager.States,
DriverName = carManager.DriverName,
DriverCode = carManager.DriverCode,
DrivingDate= carManager.DrivingDate,
};
Funs.DB.Administrative_CarManager.InsertOnSubmit(newCarManager);
Funs.DB.SubmitChanges();
@@ -67,6 +70,9 @@ namespace BLL
newCarManager.CompileMan = carManager.CompileMan;
newCarManager.CompileDate = carManager.CompileDate;
newCarManager.States = carManager.States;
newCarManager.DriverName = carManager.DriverName;
newCarManager.DriverCode = carManager.DriverCode;
newCarManager.DrivingDate = carManager.DrivingDate;
Funs.DB.SubmitChanges();
}
}
@@ -1,4 +1,5 @@
using System;
using Quartz.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -54,7 +55,15 @@ namespace BLL
InsuranceNum = equipmentInItem.InsuranceNum,
CommercialInsuranceNum = equipmentInItem.CommercialInsuranceNum,
IsUsed = equipmentInItem.IsUsed,
IsIn = equipmentInItem.IsIn
IsIn = equipmentInItem.IsIn,
InDate = equipmentInItem.InDate,
EququalityExpireDate= equipmentInItem.EququalityExpireDate,
InsuredAmount= equipmentInItem.InsuredAmount,
OperatorName= equipmentInItem.OperatorName,
OperatorIdentityCard= equipmentInItem.OperatorIdentityCard,
OperatorQualityExpireDate= equipmentInItem.OperatorQualityExpireDate,
CertificationDepartment= equipmentInItem.CertificationDepartment,
};
db.InApproveManager_EquipmentInItem.InsertOnSubmit(newEquipmentItem);
db.SubmitChanges();
@@ -83,6 +92,14 @@ namespace BLL
newEquipmentItem.CommercialInsuranceNum = equipmentInItem.CommercialInsuranceNum;
newEquipmentItem.IsUsed = equipmentInItem.IsUsed;
newEquipmentItem.IsIn = equipmentInItem.IsIn;
newEquipmentItem.InDate = equipmentInItem.InDate;
newEquipmentItem.EququalityExpireDate = equipmentInItem.EququalityExpireDate;
newEquipmentItem.InsuredAmount = equipmentInItem.InsuredAmount;
newEquipmentItem.OperatorName = equipmentInItem.OperatorName;
newEquipmentItem.OperatorIdentityCard = equipmentInItem.OperatorIdentityCard;
newEquipmentItem.OperatorQualityExpireDate = equipmentInItem.OperatorQualityExpireDate;
newEquipmentItem.CertificationDepartment = equipmentInItem.CertificationDepartment;
db.SubmitChanges();
}
}