特种设备修改,车辆管理人员管理合并,考试接口创建试卷和答题使用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
@@ -73,6 +73,14 @@ namespace FineUIPro.Web.HSSE.InApproveManager
this.txtOperationQualificationNum.Text = equipmentInItem.OperationQualificationNum;
this.txtInsuranceNum.Text = equipmentInItem.InsuranceNum;
this.txtCommercialInsuranceNum.Text = equipmentInItem.CommercialInsuranceNum;
this.dtInDate.SelectedDate = equipmentInItem.InDate;
this.dtEququalityExpireDate.SelectedDate = equipmentInItem.EququalityExpireDate;
this.txtInsuredAmount.Text = equipmentInItem.InsuredAmount.ToString();
this.txtOperatorName.Text = equipmentInItem.OperatorName;
this.txtOperatorIdentityCard.Text = equipmentInItem.OperatorIdentityCard;
this.dtOperatorQualityExpireDate.SelectedDate = equipmentInItem.OperatorQualityExpireDate;
this.txtCertificationDepartment.Text = equipmentInItem.CertificationDepartment;
if (equipmentInItem.IsUsed != true)
{
this.cbIsUsed.Checked = false;
@@ -119,6 +127,14 @@ namespace FineUIPro.Web.HSSE.InApproveManager
equipmentInItem.CommercialInsuranceNum = this.txtCommercialInsuranceNum.Text.Trim();
equipmentInItem.IsUsed = Convert.ToBoolean(this.cbIsUsed.Checked);
equipmentInItem.IsIn = Convert.ToBoolean(this.cbIsIn.Checked);
equipmentInItem.InDate = dtInDate.SelectedDate;
equipmentInItem.EququalityExpireDate = this.dtEququalityExpireDate.SelectedDate;
equipmentInItem.InsuredAmount = Funs.GetNewDecimalOrZero(this.txtInsuredAmount.Text) ;
equipmentInItem.OperatorName = this.txtOperatorName.Text.Trim();
equipmentInItem.OperatorIdentityCard = this.txtOperatorIdentityCard.Text.Trim();
equipmentInItem.OperatorQualityExpireDate = this.dtOperatorQualityExpireDate.SelectedDate;
equipmentInItem.CertificationDepartment = this.txtCertificationDepartment.Text.Trim();
if (!string.IsNullOrEmpty(this.EquipmentInItemId))
{
equipmentInItem.EquipmentInItemId = this.EquipmentInItemId;