111
This commit is contained in:
@@ -73,6 +73,27 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加ToDo
|
||||
/// </summary>
|
||||
/// <param name="todo"></param>
|
||||
public static void AddToDo(Model.FC_ToDo todo)
|
||||
{
|
||||
Model.FC_ToDo newToDo = new Model.FC_ToDo();
|
||||
newToDo.ToDoId = SQLHelper.GetNewID(typeof(Model.FC_ToDo));
|
||||
newToDo.FO_NO = todo.FO_NO;
|
||||
newToDo.ContractId = todo.ContractId;
|
||||
newToDo.ToDoMan = todo.ToDoMan;
|
||||
newToDo.ViolationBehavior = todo.ViolationBehavior;
|
||||
newToDo.Result = todo.Result;
|
||||
newToDo.IsHandle = todo.IsHandle;
|
||||
newToDo.HandleDate = todo.HandleDate;
|
||||
newToDo.Number = todo.Number;
|
||||
newToDo.Number2 = todo.Number2;
|
||||
Funs.DB.FC_ToDo.InsertOnSubmit(newToDo);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除Contract Management
|
||||
/// </summary>
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace BLL
|
||||
newPunishment.Individual = punishment.Individual;
|
||||
newPunishment.ViolationDegree = punishment.ViolationDegree;
|
||||
newPunishment.BYC_RU = punishment.BYC_RU;
|
||||
//newPunishment.Violation_Inspector = punishment.Violation_Inspector;
|
||||
newPunishment.Violation_Inspector = punishment.Violation_Inspector;
|
||||
newPunishment.CompletionDate = punishment.CompletionDate;
|
||||
newPunishment.ViolationRelatedSes = punishment.ViolationRelatedSes;
|
||||
newPunishment.SelectYesNo = punishment.SelectYesNo;
|
||||
|
||||
Reference in New Issue
Block a user