public int UpdateEntrustCommandBatchNo(int submitId, int batchNo, EntrustStatus entrustStatus, int entrustFailCode, string entrustFailCause)
 {
     Tracking(ActionType.Edit, ResourceType.EntrustCommand, submitId, entrustStatus.ToString());
     return(_entrustcmddao.UpdateEntrustCommandBatchNo(submitId, batchNo, entrustStatus, entrustFailCode, entrustFailCause));
 }
 public int DeleteByCommandIdStatus(int commandId, EntrustStatus status)
 {
     Tracking(ActionType.Delete, ResourceType.EntrustCommand, commandId, status.ToString());
     return(_entrustcmddao.DeleteByCommandIdStatus(commandId, status));
 }
 public int UpdateEntrustCommandStatus(int submitId, EntrustStatus entrustStatus)
 {
     Tracking(ActionType.Edit, ResourceType.EntrustCommand, submitId, entrustStatus.ToString());
     return(_entrustcmddao.UpdateEntrustCommandStatus(submitId, entrustStatus));
 }