git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C439
This commit is contained in:
parent
8861c216b7
commit
7607db4c11
18 changed files with 144 additions and 93 deletions
|
|
@ -34,8 +34,9 @@ namespace AYA.SlnSinort.WCF
|
|||
|
||||
[OperationContract]
|
||||
ProyectoNormativoJSON GuardarEventoProyectoNormativo(ProyectoNormativoJSON model);
|
||||
//[OperationContract]
|
||||
//ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(ProyectoNormativoJSON model);
|
||||
|
||||
[OperationContract]
|
||||
ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(ProyectoNormativoJSON model);
|
||||
|
||||
|
||||
//Para la ficha tecnica
|
||||
|
|
|
|||
|
|
@ -163,34 +163,34 @@ namespace AYA.SlnSinort.WCF
|
|||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
//public ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(ProyectoNormativoJSON model)
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// if (model.ProyectoNormativo == null)
|
||||
// {
|
||||
// model.CodigoRespuesta = EnumTipoCodigoRespuesta.ADVERTENCIA;
|
||||
// model.DescripcionRespuesta = "No se encontraron datos del proyecto normativo";
|
||||
// return model;
|
||||
// }
|
||||
|
||||
// if (model.Convocado == null)
|
||||
// {
|
||||
// model.CodigoRespuesta = EnumTipoCodigoRespuesta.ADVERTENCIA;
|
||||
// model.DescripcionRespuesta = "No se encontraron datos del usuario";
|
||||
// return model;
|
||||
// }
|
||||
public ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(ProyectoNormativoJSON model)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (model.ProyectoNormativo == null)
|
||||
{
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.ADVERTENCIA;
|
||||
model.DescripcionRespuesta = "No se encontraron datos del proyecto normativo";
|
||||
return model;
|
||||
}
|
||||
|
||||
// model = new ConvocatoriaDAL().EliminarConvocatoriaProyectoNormativo(model);
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// log.Error(ex);
|
||||
// model.CodigoRespuesta = EnumTipoCodigoRespuesta.ERROR;
|
||||
// }
|
||||
// return model;
|
||||
//}
|
||||
if (model.Convocado == null)
|
||||
{
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.ADVERTENCIA;
|
||||
model.DescripcionRespuesta = "No se encontraron datos del usuario";
|
||||
return model;
|
||||
}
|
||||
|
||||
model = new ConvocatoriaDAL().EliminarConvocatoriaProyectoNormativo(model);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(ex);
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.ERROR;
|
||||
}
|
||||
return model;
|
||||
}
|
||||
#endregion
|
||||
|
||||
# region Ficha Tecnica
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@
|
|||
|
||||
<connectionStrings>
|
||||
<!--<add name="Contex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
|
||||
<add name="Contex" connectionString="data source=10.50.1.98;initial catalog=SINORT;persist security info=True;user id=usersinort;password=usersinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
<!-- <add name="Contex" connectionString="data source=AYA-VSRV-BDTT;initial catalog=SINORT;persist security info=True;user id=usersinort;password=us3rsinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
|
||||
<!--<add name="Contex" connectionString="data source=10.50.1.98;initial catalog=SINORT;persist security info=True;user id=usersinort;password=usersinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
|
||||
<add name="Contex" connectionString="data source=AYA-VSRV-BDTT;initial catalog=SINORT;persist security info=True;user id=usersinort;password=us3rsinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ var RepositorioLocal = $("#hiddenRepositorioLocal").val();
|
|||
var UsuarioSistema = $("#hiddenUsuarioSistema").val();
|
||||
var NombreUsuario = $("#hiddenNombreUsuario").val();
|
||||
//aya-vsrv-apptt:2525
|
||||
var server = window.location.protocol + "//" + "localhost" + "/" + (window.location.pathname.split('/')[1]) + "/";
|
||||
var SinorLoginWCF = "http://localhost/AYA.SlnSinort.WCF/Sinort.svc";
|
||||
var server = window.location.protocol + "//" + "aya-vsrv-apptt:2525" + "/" + (window.location.pathname.split('/')[1]) + "/";
|
||||
var SinorLoginWCF = "http://aya-vsrv-wstt:2005/Sinort.svc";
|
||||
var string_empty = "";
|
||||
var Atesa = {};
|
||||
var StarterTemplateVisible = true;
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ this.RedireccionarBusquedaAvanzada = function () {
|
|||
this.CargarSitios = function () {
|
||||
var uri = SinortWCF + '/api/ObtenerSitios';
|
||||
model =
|
||||
AjaxPostData(uri, Item, true, true, CargarTablaSitios, null, null);
|
||||
AjaxPostData(uri, Item, true, false, CargarTablaSitios, null, null);
|
||||
}
|
||||
|
||||
this.CargarEliminadas = function () {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ this.CargarFichas = function () {
|
|||
|
||||
var uri = SinortWCF + '/api/ObtenerSitios';
|
||||
model =
|
||||
AjaxPostData(uri, Item, true, true, CargarTablaFichas, null, null);
|
||||
AjaxPostData(uri, Item, true, false, CargarTablaFichas, null, null);
|
||||
}
|
||||
|
||||
this.CargarTablaFichas = function (data) {
|
||||
|
|
|
|||
|
|
@ -869,10 +869,17 @@ this.CargarTablaDocumentosAuxiliares = function (data) {
|
|||
$.each(lista, function (key, item) {
|
||||
|
||||
|
||||
var option = $("#ucOpcionesDocumentos").html();
|
||||
//var option = $("#ucOpcionesDocumentos").html();
|
||||
//option = replaceAll("[$ruta]", "'" + item.RutaDescarga + "'", option);
|
||||
//option = replaceAll("[$nombre]", "'" + item.RutaDescarga + "'", option);
|
||||
//option = replaceAll("[$id]", item.IdDocumentoAdjunto, option);
|
||||
var option = $("#ucAbrirDocumento").html();
|
||||
option = replaceAll("[$ruta]", "'" + item.RutaDescarga + "'", option);
|
||||
option = replaceAll("[$nombre]", "'" + item.RutaDescarga + "'", option);
|
||||
option = replaceAll("[$id]", item.IdDocumentoAdjunto, option);
|
||||
var option2 = $("#ucEliminarDocumento").html();
|
||||
option2 = replaceAll("[$nombre]", "'" + item.RutaDescarga + "'", option2);
|
||||
option2 = replaceAll("[$id]", item.IdDocumentoAdjunto, option2);
|
||||
option2 = replaceAll("[$usuario]", "'" + item.UsuarioCreacion + "'", option2);
|
||||
|
||||
var ext = item.TipoArchivo.toLowerCase();
|
||||
switch (ext) {
|
||||
case 'pdf':
|
||||
|
|
@ -901,9 +908,10 @@ this.CargarTablaDocumentosAuxiliares = function (data) {
|
|||
}
|
||||
|
||||
tableDocAuxiliares.row.add([item.IdDocumentoAdjunto,
|
||||
option,
|
||||
item.Nombre,
|
||||
item.UsuarioCreacion,
|
||||
option]).draw();
|
||||
option2]).draw();
|
||||
|
||||
});
|
||||
ENDREQUEST();
|
||||
|
|
@ -938,10 +946,12 @@ this.CargarTablaDocumentosExpediente = function (data) {
|
|||
$.each(lista, function (key, item) {
|
||||
|
||||
|
||||
var option = $("#ucOpcionesDocumentos").html();
|
||||
var option = $("#ucAbrirDocumento").html();
|
||||
option = replaceAll("[$ruta]", "'" + item.RutaDescarga + "'", option);
|
||||
option = replaceAll("[$nombre]", "'" + item.RutaDescarga + "'", option);
|
||||
option = replaceAll("[$id]", item.IdDocumentoAdjunto, option);
|
||||
var option2 = $("#ucEliminarDocumento").html();
|
||||
option2 = replaceAll("[$nombre]", "'" + item.RutaDescarga + "'", option2);
|
||||
option2 = replaceAll("[$id]", item.IdDocumentoAdjunto, option2);
|
||||
option2 = replaceAll("[$usuario]", "'" + item.UsuarioCreacion + "'", option2);
|
||||
var ext = item.TipoArchivo.toLowerCase();
|
||||
switch (ext) {
|
||||
case 'pdf':
|
||||
|
|
@ -970,9 +980,10 @@ this.CargarTablaDocumentosExpediente = function (data) {
|
|||
}
|
||||
|
||||
tableDocExpediente.row.add([item.IdDocumentoAdjunto,
|
||||
option,
|
||||
item.Nombre,
|
||||
item.UsuarioCreacion,
|
||||
option]).draw();
|
||||
option2]).draw();
|
||||
|
||||
});
|
||||
ENDREQUEST();
|
||||
|
|
@ -981,7 +992,11 @@ this.AbrirDocAdjuntos = function (ruta){
|
|||
window.open(ruta);
|
||||
}
|
||||
|
||||
this.RemoverAdjunto = function (nombre,id) {
|
||||
this.RemoverAdjunto = function (nombre,id,usuario) {
|
||||
|
||||
if (!confirm("¿Desea eliminar el documento?")) return;
|
||||
|
||||
if (UsuarioSistema == usuario){
|
||||
|
||||
var separador = "/";
|
||||
var arregloDeSubCadenas = nombre.split(separador);
|
||||
|
|
@ -996,7 +1011,10 @@ this.RemoverAdjunto = function (nombre,id) {
|
|||
|
||||
};
|
||||
|
||||
AjaxPostData(uri, model, false, false, EliminarbaseAdjunto,null , null);
|
||||
AjaxPostData(uri, model, false, true, EliminarbaseAdjunto, null, null);
|
||||
} else {
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
}
|
||||
|
||||
}
|
||||
this.EliminarbaseAdjunto = function (data) {
|
||||
|
|
@ -1011,7 +1029,7 @@ this.EliminarbaseAdjunto = function (data) {
|
|||
AjaxPostData(uri, model, false, true, null, null, null);
|
||||
CargarDocumentosExpediente();
|
||||
CargarDocumentosAuxiliares();
|
||||
|
||||
|
||||
} else {
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
|
@ -1775,6 +1793,32 @@ this.Export2Doc = function (element, filename) {
|
|||
|
||||
};
|
||||
|
||||
this.EliminarConvocatoriaProyectoNormativo = function (usuario) {
|
||||
|
||||
var uri = SinortWCF + '/api/EliminarConvocatoriaProyectoNormativo';
|
||||
|
||||
model.ProyectoNormativo = {
|
||||
IdProyectoNormativo: model.ProyectoNormativo.IdProyectoNormativo
|
||||
}
|
||||
model.Convocado = {
|
||||
UsuarioSistema : usuario
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, true, CargarConvocados, null, null);
|
||||
|
||||
}
|
||||
$('#tableParticipantes').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableParticipantes').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
if (EsPromotor == true) {
|
||||
EliminarConvocatoriaProyectoNormativo(data[1]);
|
||||
ENDREQUEST();
|
||||
} else {
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
this.ExportarADoc = function (TipoComentario, filename) {
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,8 @@ $('#tableSitios').on('click', 'button', function () {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
url = $("#hiddenHref").val();
|
||||
url = url.replace("View", "DetallePropuesta");
|
||||
url = url.replace("Controller", "PropuestaNormativa");
|
||||
|
|
|
|||
|
|
@ -560,7 +560,7 @@ this.ActualizarConvocado = function (data) {
|
|||
UsuarioSistema: InfoIUsuarioAsignado,
|
||||
IdProyectoNormativo: InfoIdProyectoNormativo,
|
||||
Participante: (EstadoParticipacion == 0) ? false : true,
|
||||
Justificacion: $('#txtJustificacion').val()
|
||||
Justificacion: (EstadoParticipacion == 0) ? $('#txtJustificacion').val() : null,
|
||||
}
|
||||
ArrayParticipantes.push(Convocatoria);
|
||||
var uri = SinortWCF + '/api/GuardarConvocatoriaProyectoNormativo';
|
||||
|
|
|
|||
|
|
@ -2,41 +2,13 @@
|
|||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<style >
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
<form id="formPrincipal" class="form-horizontal" role="form" >
|
||||
|
||||
|
||||
<img class="img-responsive" style="position: absolute; z-index: 1; width: 100%; height: 85%;" src="~/dist/img/2386_white_abstract.jpg">
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.bg-img {
|
||||
/* The image used */
|
||||
background-image: url("~/dist/img/SINORT_LOGO.png");
|
||||
|
||||
/* Control the height of the image */
|
||||
min-height: 380px;
|
||||
|
||||
/* Center and scale the image nicely */
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
<div class="bg-img">
|
||||
<form id="formPrincipal" class="form-horizontal" role="form">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-sm-12" style="height:100%"><img class="img-responsive" src="~/dist/img/SINORT_LOGO.png" ></div>
|
||||
|
||||
</div>
|
||||
|
||||
@*<img class="img-responsive" style="position: absolute; z-index: 1; width: 100%; height: 85%;" src="~/dist/img/SINORT_LOGO.png">*@
|
||||
|
||||
@*<div class="row">
|
||||
@*<div class="row">
|
||||
|
||||
<div class="col-sm-4"><a href="javascript: EntrarVerEstadoFicha('1');"> <img class="img-responsive" src="~/dist/img/imgNormReg1.png"></div>
|
||||
<div class="col-sm-4"><a href="javascript: ValidarAcceder('Proyecto_Normativo','Home','Ver proyectos y foros');"> <img class="img-responsive" src="~/dist/img/imgProyeNorm1.png"></div>
|
||||
|
|
@ -45,6 +17,5 @@
|
|||
</div>*@
|
||||
|
||||
|
||||
</form>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
@ -225,6 +225,7 @@
|
|||
<table id="tableDocAuxiliares" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-6">Creado por</th>
|
||||
|
|
@ -392,7 +393,7 @@
|
|||
</div>
|
||||
<div id="ucEliminarDocumento" style="display:none;">
|
||||
<span>
|
||||
<button type="button" id="btnAbrirAdjuntos" class="btn btn-default btn-xs" onclick="RemoverAdjunto([$nombre], [$id])">
|
||||
<button type="button" id="btnEliminarAdjuntos" class="btn btn-default btn-xs" onclick="RemoverAdjunto([$nombre], [$id], [$usuario])">
|
||||
<i class="fa fa-trash"></i>
|
||||
</button>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@
|
|||
|
||||
<li class="treeview">
|
||||
<a href="#" >
|
||||
<img class="img-responsive" style="width:40%" src="~/dist/img/GotaNormativa.png"> <span>Normativa y </br> Reglamentación Técnica </span><span class="pull-right-container">
|
||||
<img class="img-responsive" style="width:40%;" src="~/dist/img/GotaNormativa.png"> <span>Normativa y </br> Reglamentación Técnica </span><span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -29,23 +29,23 @@
|
|||
<add key="RutaImagenes" value="http://10.50.1.97:6075/bower_components/Ionicons/png/512/" /> -->
|
||||
|
||||
|
||||
<!--<add key="SinortWCF" value="http://aya-vsrv-wstt:2005/Sinort.svc" />
|
||||
<add key="SinortWCF" value="http://aya-vsrv-wstt:2005/Sinort.svc" />
|
||||
<add key="SinortCatalogosWCF" value="http://aya-vsrv-wstt:2005/SinortCatalogos.svc" />
|
||||
<add key="FileRepository" value="D:\Aplicaciones\SINORT\Raiz\DocumentosSinort\" />
|
||||
<add key="HttpRepository" value="http://AYA-VSRV-APPTT:2525/DocumentosSINORT/" />
|
||||
<add key="FileUploadHandler" value="http://AYA-VSRV-APPTT:2525/FileUploadHandler" />
|
||||
<add key="RutaLogoSINORT" value="http://AYA-VSRV-APPTT:2525/dist/img/" />
|
||||
<add key="RutaImagenes" value="http://AYA-VSRV-APPTT:2525/bower_components/Ionicons/png/512/" /> -->
|
||||
<add key="RutaImagenes" value="http://AYA-VSRV-APPTT:2525/bower_components/Ionicons/png/512/" />
|
||||
|
||||
<add key="MaxSizeFileLoadKB" value="5120" />
|
||||
<add key="MaxCountFileLoad" value="3" />
|
||||
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
|
||||
<!--<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
|
||||
<add key="SinortCatalogosWCF" value="http://localhost/AYA.SlnSinort.WCF/SinortCatalogos.svc" />
|
||||
<add key="FileRepository" value="C:\DocumentosSinort\" />
|
||||
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />
|
||||
<add key="FileUploadHandler" value="http://localhost/AYA.SlnSinort/FileUploadHandler" />
|
||||
<add key="RutaLogoSINORT" value="http://localhost/AYA.SlnSinort/dist/img/" />
|
||||
<add key="RutaImagenes" value="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/" />
|
||||
<add key="RutaImagenes" value="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/" /> -->
|
||||
</appSettings>
|
||||
<system.web>
|
||||
<sessionState timeout="20">
|
||||
|
|
|
|||
|
|
@ -59,5 +59,39 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
|||
return model;
|
||||
}
|
||||
|
||||
public ProyectoNormativoJSON EliminarConvocatoriaProyectoNormativo(ProyectoNormativoJSON model)
|
||||
{
|
||||
Convocatoria Actual = new Convocatoria();
|
||||
|
||||
try
|
||||
{
|
||||
model.ClearProperties();
|
||||
|
||||
using (SinortContex Conn = new SinortContex())
|
||||
{
|
||||
Actual = Conn.Convocatoria.FirstOrDefault(x => x.UsuarioSistema.ToString() == model.Convocado.UsuarioSistema && x.IdProyectoNormativo == model.ProyectoNormativo.IdProyectoNormativo);
|
||||
if (Actual != null)
|
||||
{
|
||||
Conn.Entry(Actual).State = System.Data.Entity.EntityState.Deleted;
|
||||
Conn.SaveChanges();
|
||||
Conn.Commit();
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.EXITOSO.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (DbEntityValidationException ex)
|
||||
{
|
||||
log.Error(ex);
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.ERROR.ToString();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Error(ex);
|
||||
model.CodigoRespuesta = EnumTipoCodigoRespuesta.ERROR.ToString();
|
||||
}
|
||||
|
||||
return model;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,11 +97,11 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
|||
|
||||
if (Actual == null)
|
||||
{
|
||||
registros = db.DocumentosAdjuntos.Where(r => r.IdTipoDocumento == model.Adjuntos.IdTipoDocumento && r.IdSubTipoDocumento == model.Adjuntos.IdSubTipoDocumento && r.NumeroTipoDocumento == model.Adjuntos.NumeroTipoDocumento).OrderBy(r => r.IdDocumentoAdjunto).ToList();
|
||||
registros = db.DocumentosAdjuntos.Where(r => r.IdTipoDocumento == model.Adjuntos.IdTipoDocumento && r.IdSubTipoDocumento == model.Adjuntos.IdSubTipoDocumento && r.NumeroTipoDocumento == model.Adjuntos.NumeroTipoDocumento).OrderByDescending(r => r.IdDocumentoAdjunto).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
registros = db.DocumentosAdjuntos.Where(r => r.IdDocumentoAdjunto == model.IdDocumentoAdjunto).OrderBy(r => r.IdDocumentoAdjunto).ToList();
|
||||
registros = db.DocumentosAdjuntos.Where(r => r.IdDocumentoAdjunto == model.IdDocumentoAdjunto).OrderByDescending(r => r.IdDocumentoAdjunto).ToList();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
|||
registros.ProyectosNormativos = db.ProyectoNormativo
|
||||
.Include(p => p.TipoProyecto)
|
||||
.Include(p => p.Convocatoria)
|
||||
.Where(x => x.PromotorProyecto == model.UserName && x.IdEstado != EnumTipoEstado.HISTORICO || x.Convocatoria.Any(p => p.UsuarioSistema == model.UserName && x.IdEstado != EnumTipoEstado.HISTORICO ))
|
||||
.Where(x => x.PromotorProyecto == model.UserName && x.IdEstado != EnumTipoEstado.HISTORICO || x.Convocatoria.Any(p => p.UsuarioSistema == model.UserName && x.IdEstado != EnumTipoEstado.HISTORICO && p.Justificacion == null))
|
||||
.AsNoTracking()
|
||||
.ToList();
|
||||
|
||||
|
|
|
|||
|
|
@ -29,10 +29,8 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
[StringLength(200)]
|
||||
public string Apartado { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string TextoOriginal { get; set; }
|
||||
|
||||
[StringLength(200)]
|
||||
public string TextoPropuesto { get; set; }
|
||||
|
||||
public string Comentario { get; set; }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace AYA.SlnSinortModel.Sinort
|
|||
|
||||
public partial class SinortContex : Contex
|
||||
{
|
||||
|
||||
|
||||
|
||||
public virtual DbSet<Aplicacion> Aplicacion { get; set; }
|
||||
public virtual DbSet<AreaAplicacionDocumentoTecnico> AreaAplicacionDocumentoTecnico { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue