Valida el Estado en Contruccion del Proyecto Normativo
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C229
This commit is contained in:
parent
abbf3ad576
commit
2c8a7817da
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
||||||
registros.ProyectosNormativos = db.ProyectoNormativo
|
registros.ProyectosNormativos = db.ProyectoNormativo
|
||||||
.Include(p => p.TipoProyecto)
|
.Include(p => p.TipoProyecto)
|
||||||
.Include(p => p.Convocatoria)
|
.Include(p => p.Convocatoria)
|
||||||
.Where(x => x.PromotorProyecto == model.UserName && x.IdEstado == EnumTipoEstado.INICIAL || x.Convocatoria.Any(p => p.UsuarioSistema == model.UserName && x.IdEstado == EnumTipoEstado.INICIAL ))
|
.Where(x => x.PromotorProyecto == model.UserName && x.IdEstado != EnumTipoEstado.ELIMINADO || x.Convocatoria.Any(p => p.UsuarioSistema == model.UserName && x.IdEstado != EnumTipoEstado.ELIMINADO ))
|
||||||
.AsNoTracking()
|
.AsNoTracking()
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue