|
|
@@ -540,6 +540,26 @@ func (this *TodoListController) GetMyTaskFinishedList() {
|
|
|
todo.Status = contractSumEntity.Status
|
|
|
todoliststemp = append(todoliststemp, todo)
|
|
|
}
|
|
|
+ } else if wfName == workflow.OIL_DAILY_CONTRACT_EVA_BY_BUSINESS {
|
|
|
+ // 专业处室提交的合同日常评审
|
|
|
+ var todo todolist.TodoList
|
|
|
+ conRev := contractReview.GetOilContractReviewService(utils.DBE)
|
|
|
+ var contractReviewEntity contractReview.OilContractReview
|
|
|
+ has = conRev.GetEntityById(id, &contractReviewEntity)
|
|
|
+ contractSvc := contract.GetOilContractService(utils.DBE)
|
|
|
+ var contractEntity contract.OilContract
|
|
|
+ contractSvc.GetEntityById(contractReviewEntity.ContractId, &contractEntity)
|
|
|
+ if has {
|
|
|
+ todo.Id = contractReviewEntity.Id
|
|
|
+ todo.Type = todolist.DAILY_BUSINESS
|
|
|
+ todo.TaskName = item.TaskName
|
|
|
+ todo.UserName = this.User.Realname
|
|
|
+ todo.CreateTime = item.CreateTime
|
|
|
+ todo.SupplierTypeCode = contractEntity.ContractClass
|
|
|
+ todo.SupplierName = contractEntity.SupplierName
|
|
|
+ todo.Status = contractReviewEntity.Status
|
|
|
+ todoliststemp = append(todoliststemp, todo)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|