|
|
@@ -88,9 +88,14 @@ func (this *TodoListController) GetMyTaskEntityList() {
|
|
|
where := " 1=1 "
|
|
|
where = where + " and b.Id = '" + id + "'"
|
|
|
var todo todolist.TodoList
|
|
|
+ var certAppend suppliercertappend.OilSupplierCertAppend
|
|
|
svcapp := suppliercertappend.GetOilSupplierCertAppendService(utils.DBE)
|
|
|
has :=svcapp.GetTodoEntitie(OilSupplierName, OilSupplierCertAppendName, &todo, where)
|
|
|
+ svcapp.GetEntityById(id, &certAppend)
|
|
|
if has {
|
|
|
+ todo.Id = certAppend.Id
|
|
|
+ todo.SupplierId = strconv.Itoa(certAppend.SupplierId)
|
|
|
+ todo.CertId = strconv.Itoa(certAppend.SupplierCertId)
|
|
|
todo.Type = todolist.CERTAPPEND
|
|
|
todo.TaskName = item.TaskName
|
|
|
todo.UserName = this.User.Realname
|