Version inicial

main
unknown 1 year ago
parent 5a5cfd11d3
commit ac30651121
  1. 8
      Repository/Catalogos/CatClientesRepository.cs
  2. 8
      Repository/Catalogos/CatProveedoresRepository.cs
  3. 8
      Repository/Catalogos/CatServiciosRepository.cs
  4. 10
      Repository/Catalogos/CatUbicacionesRepository.cs
  5. 12
      Repository/Operaciones/OpViajesRepository.cs
  6. 2
      appsettings.json
  7. BIN
      bin/Debug/net6.0/AOLBackend.dll
  8. BIN
      bin/Debug/net6.0/AOLBackend.exe
  9. BIN
      bin/Debug/net6.0/AOLBackend.pdb
  10. 2
      bin/Debug/net6.0/appsettings.json
  11. 2
      obj/AOLBackend.csproj.nuget.dgspec.json
  12. 2
      obj/AOLBackend.csproj.nuget.g.props
  13. 4
      obj/Debug/net6.0/AOLBackend.GeneratedMSBuildEditorConfig.editorconfig
  14. BIN
      obj/Debug/net6.0/AOLBackend.assets.cache
  15. BIN
      obj/Debug/net6.0/AOLBackend.csproj.AssemblyReference.cache
  16. 2
      obj/Debug/net6.0/AOLBackend.csproj.CoreCompileInputs.cache
  17. 2
      obj/Debug/net6.0/AOLBackend.csproj.FileListAbsolute.txt
  18. BIN
      obj/Debug/net6.0/AOLBackend.dll
  19. BIN
      obj/Debug/net6.0/AOLBackend.pdb
  20. BIN
      obj/Debug/net6.0/apphost.exe
  21. BIN
      obj/Debug/net6.0/ref/AOLBackend.dll
  22. BIN
      obj/Debug/net6.0/refint/AOLBackend.dll
  23. 2
      obj/project.assets.json
  24. 2
      obj/project.nuget.cache

@ -22,8 +22,8 @@ namespace AOLBackend.Repository.Catalogos
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatClientes>(query, new
{
@id = data.id,
@Cliente = data.Cliente,
@mid = data.id,
@mCliente = data.Cliente,
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
@ -35,11 +35,11 @@ namespace AOLBackend.Repository.Catalogos
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "CatClientes_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatClientes>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatClientes>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}

@ -22,8 +22,8 @@ namespace AOLBackend.Repository.Catalogos
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatProveedores>(query, new
{
@id = data.id,
@Proveedor = data.Proveedor,
@mid = data.id,
@mProveedor = data.Proveedor,
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
@ -35,11 +35,11 @@ namespace AOLBackend.Repository.Catalogos
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "CatProveedores_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatProveedores>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatProveedores>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -22,8 +22,8 @@ namespace AOLBackend.Repository.Catalogos
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatServicios>(query, new
{
@id = data.id,
@Servicio = data.Servicio
@mid = data.id,
@mServicio = data.Servicio
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
@ -35,11 +35,11 @@ namespace AOLBackend.Repository.Catalogos
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "CatServicios_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatServicios>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatServicios>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -22,9 +22,9 @@ namespace AOLBackend.Repository.Catalogos
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new
{
@id = data.id,
@Ubicacion = data.Ubicacion,
@Clasificacion = data.Clasificacion
@mid = data.id,
@mUbicacion = data.Ubicacion,
@mClasificacion = data.Clasificacion
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
@ -36,11 +36,11 @@ namespace AOLBackend.Repository.Catalogos
return entrada;
}
public async Task<Boolean> Delete(int id)
public async Task<Boolean> Delete(int mid)
{
var query = "CatUbicaciones_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new { @id }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<ICatUbicaciones>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}

@ -64,14 +64,14 @@ namespace AOLBackend.Repository.Operaciones
{
var query = "Operaciones_Viajes_Servicios_Get";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajesServicios>(query, new { mStatus }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOOpViajesServicios>(query, new { @mStatus }, commandType: CommandType.StoredProcedure);
return entrada;
}
public async Task<DTOUltimaCaja> GetLastTrailerBox(int mIdViaje)
{
var query = "Operaciones_Viajes_GetLastTrailerBox";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOUltimaCaja>(query, new { mIdViaje }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOUltimaCaja>(query, new { @mIdViaje }, commandType: CommandType.StoredProcedure);
return entrada.First();
}
public async Task<IEnumerable<DTOOpViajesEstatusSecuencia>> GetStatusSecuence()
@ -87,8 +87,8 @@ namespace AOLBackend.Repository.Operaciones
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOResultTripStatus>(query, new
{
mIdViaje = data.IdViaje,
mSecuencia = data.IdEstatus
@mIdViaje = data.IdViaje,
@mSecuencia = data.IdEstatus
}, commandType: CommandType.StoredProcedure);
return entrada.First();
}
@ -96,14 +96,14 @@ namespace AOLBackend.Repository.Operaciones
{
var query = "Operaciones_Viajes_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { mid }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
public async Task<Boolean> DeleteService(int mid)
{
var query = "Operaciones_Viajes_Servicios_Delete";
using var connection = _context.CreateConnection();
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { mid }, commandType: CommandType.StoredProcedure);
var entrada = await connection.QueryAsync<DTOOpViajes>(query, new { @mid }, commandType: CommandType.StoredProcedure);
return true;
}
}

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
"SqlConnection": "server=localhost; database=AOL; User Id=sa;Password=toor1234;Encrypt=False;",
"MySQLConnection": "Server=localhost; User ID=root; Password=toor1234.; Database=AOL"
"MySQLConnection": "Server=127.0.0.1; User ID=DBAdmin; Password=DBAdmin1234$.; Port=3360; Database=AOL"
},
"DefaultUser": {
"Password": "Bienvenido123!"

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
"SqlConnection": "server=localhost; database=AOL; User Id=sa;Password=toor1234;Encrypt=False;",
"MySQLConnection": "Server=localhost; User ID=root; Password=toor1234.; Database=AOL"
"MySQLConnection": "Server=127.0.0.1; User ID=DBAdmin; Password=DBAdmin1234$.; Port=3360; Database=AOL"
},
"DefaultUser": {
"Password": "Bienvenido123!"

@ -92,7 +92,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
}
}
}

@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Alfonso Garcia\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Alfonso Garcia\.nuget\packages\" />

@ -9,9 +9,9 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = AOLBackend
build_property.RootNamespace = AOLBackend
build_property.ProjectDir = c:\Projects\staging\AOLBackend\
build_property.ProjectDir = C:\Projects\staging\AOLBackend\
build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = c:\Projects\staging\AOLBackend
build_property.MSBuildProjectDirectory = C:\Projects\staging\AOLBackend
build_property._RazorSourceGeneratorDebug =

@ -1 +1 @@
2db08c92120d1ce45dde86039c06cbee98a961e8
e09acfdd066737a4d6ed5d92e74330a5417d1022

@ -56,6 +56,7 @@ c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Protocol
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Microsoft.OpenApi.dll
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\MySqlConnector.dll
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll
c:\Projects\staging\AOLBackend\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll
@ -87,4 +88,3 @@ c:\Projects\staging\AOLBackend\obj\Debug\net6.0\refint\AOLBackend.dll
c:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.pdb
c:\Projects\staging\AOLBackend\obj\Debug\net6.0\AOLBackend.genruntimeconfig.cache
c:\Projects\staging\AOLBackend\obj\Debug\net6.0\ref\AOLBackend.dll
C:\Projects\staging\AOLBackend\bin\Debug\net6.0\MySqlConnector.dll

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1298,7 +1298,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
}
}
}

@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "KSVQsB8VZgGFdEwOFCBIKizK2eCVBcuYism1bMxHH3MKEkJKJPN4SrK0+Ll31UnYqx7zFNQIeRNmv+PnIvRrOA==",
"dgSpecHash": "76RRjebjdsb7jt1mIk9g0ndj9S23eOKX4/fZ9beX/CQ1mi1Zh6wi5LpnQIlRQ+YWh50Ok5aSUfV+Q/Tw1fLniw==",
"success": true,
"projectFilePath": "C:\\Projects\\staging\\AOLBackend\\AOLBackend.csproj",
"expectedPackageFiles": [

Loading…
Cancel
Save