Browse Source

Auth_Department 调通了

集成Redis
Zheng 1 year ago
parent
commit
fe6d06a582
  1. 9
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/WinIn.FasterZ.AuthSiteCenter.sln
  2. 8
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/AuthSiteCenterWebModule.cs
  3. 7
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/Controllers/CustAccountController.cs
  4. 1
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/WinIn.FasterZ.AuthSiteCenter.Web.csproj
  5. 37
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json
  6. 7
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Permissions/WmsPermissionDefinitionProvider.cs
  7. 9
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Permissions/WmsPermissions.cs
  8. 20
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/Dtos/AuthDepartmentDto.cs
  9. 21
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/Dtos/AuthDepartmentGetListInput.cs
  10. 19
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/Dtos/CreateUpdateAuthDepartmentDto.cs
  11. 17
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/IAuthDepartmentAppService.cs
  12. 6
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/WmsApplicationAutoMapperProfile.cs
  13. 39
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/AuthDepartment/AuthDepartmentAppService.cs
  14. 28
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/ar.json
  15. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/cs.json
  16. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/de.json
  17. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/en-GB.json
  18. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/en.json
  19. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/es.json
  20. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/fi.json
  21. 35
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/fr.json
  22. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/hi.json
  23. 37
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/hr.json
  24. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/hu.json
  25. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/is.json
  26. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/it.json
  27. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/nl.json
  28. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/pl-PL.json
  29. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/pt-BR.json
  30. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/ro-RO.json
  31. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/ru.json
  32. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/sk.json
  33. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/sl.json
  34. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/tr.json
  35. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/vi.json
  36. 37
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/zh-Hans.json
  37. 37
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/zh-Hant.json
  38. 2
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/WmsConsts.cs
  39. 14
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/AuthDepartment/AuthDepartment.cs
  40. 8
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/AuthDepartment/IAuthDepartmentRepository.cs
  41. 17
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsDbContext.cs
  42. 4
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsEntityFrameworkCoreModule.cs
  43. 19
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/AuthDepartment/AuthDepartmentEfCoreQueryableExtensions.cs
  44. 20
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/AuthDepartment/AuthDepartmentRepository.cs
  45. 47
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/Properties/launchSettings.json
  46. 46
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/WmsHttpApiHostModule.cs
  47. 41
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/appsettings.json
  48. 12
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Menus/WmsMenuContributor.cs
  49. 3
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Menus/WmsMenus.cs
  50. 18
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/CreateModal.cshtml
  51. 27
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/CreateModal.cshtml.cs
  52. 19
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/EditModal.cshtml
  53. 38
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/EditModal.cshtml.cs
  54. 57
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/Index.cshtml
  55. 43
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/Index.cshtml.cs
  56. 25
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/ViewModels/CreateEditAuthDepartmentViewModel.cs
  57. 0
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/index.css
  58. 105
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/index.js
  59. 30
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Properties/launchSettings.json
  60. 6
      WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/WmsWebAutoMapperProfile.cs

9
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/WinIn.FasterZ.AuthSiteCenter.sln

@ -23,6 +23,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinIn.FasterZ.AuthSiteCente
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinIn.FasterZ.AuthSiteCenter.DbMigrator", "src\WinIn.FasterZ.AuthSiteCenter.DbMigrator\WinIn.FasterZ.AuthSiteCenter.DbMigrator.csproj", "{AA94D832-1CCC-4715-95A9-A483F23A1A5D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ref", "ref", "{E2A25F6E-9C96-49FD-AFB3-FE151228668E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinIn.FasterZ.Wms.Application.Contracts", "..\WinIn.FasterZ.Wms\WinIn.FasterZ.Wms\src\WinIn.FasterZ.Wms.Application.Contracts\WinIn.FasterZ.Wms.Application.Contracts.csproj", "{82395B48-630A-4542-AC6F-CB1241BD278D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -65,6 +69,10 @@ Global
{AA94D832-1CCC-4715-95A9-A483F23A1A5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA94D832-1CCC-4715-95A9-A483F23A1A5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA94D832-1CCC-4715-95A9-A483F23A1A5D}.Release|Any CPU.Build.0 = Release|Any CPU
{82395B48-630A-4542-AC6F-CB1241BD278D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{82395B48-630A-4542-AC6F-CB1241BD278D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{82395B48-630A-4542-AC6F-CB1241BD278D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{82395B48-630A-4542-AC6F-CB1241BD278D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -79,6 +87,7 @@ Global
{4164BDF7-F527-4E85-9CE6-E3C2D7426A27} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{3B5A0094-670D-4BB1-BFDD-61B88A8773DC} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{AA94D832-1CCC-4715-95A9-A483F23A1A5D} = {CA9AC87F-097E-4F15-8393-4BC07735A5B0}
{82395B48-630A-4542-AC6F-CB1241BD278D} = {E2A25F6E-9C96-49FD-AFB3-FE151228668E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {28315BFD-90E7-4E14-A2EA-F3D23AF4126F}

8
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/AuthSiteCenterWebModule.cs

@ -53,13 +53,15 @@ using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Http.Features;
using Volo.Abp.Authorization.Permissions;
using WinIn.FasterZ.AuthSiteCenter.Permissions;
using WinIn.FasterZ.InterfaceDash;
//using WinIn.FasterZ.InterfaceDash;
//using WinIn.FasterZ.Job;
using Volo.Abp.AspNetCore.Mvc.AntiForgery;
using Autofac.Core;
namespace WinIn.FasterZ.AuthSiteCenter.Web;
using WinIn.FasterZ.Wms;
[DependsOn(
typeof(AuthSiteCenterHttpApiModule),
typeof(AuthSiteCenterApplicationModule),
@ -77,6 +79,7 @@ namespace WinIn.FasterZ.AuthSiteCenter.Web;
//typeof(StoreApplicationContractsModule),
//typeof(JobApplicationContractsModule),
//typeof(InterfaceDashApplicationContractsModule)
typeof(WmsApplicationContractsModule),
typeof(AbpSwashbuckleModule)
)]
@ -100,7 +103,8 @@ public class AuthSiteCenterWebModule : AbpModule
{
builder.AddValidation(options =>
{
options.AddAudiences("AuthSiteCenter Z Store Job");
//options.AddAudiences("AuthSiteCenter Wms");
options.AddAudiences("AuthSiteCenter Wms");
options.UseLocalServer();
options.UseAspNetCore();
});

7
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/Controllers/CustAccountController.cs

@ -39,8 +39,8 @@ public class CustAccountController : AbpController
var dic = new Dictionary<string, object>
{
{"client_id","AuthSiteCenter_App"},
{"scope","offline_access AuthSiteCenter Z Job Store profile"},
//{"scope","AuthSiteCenter Z Job Store"},
{"scope","offline_access AuthSiteCenter Wms profile"},
//{"scope","AuthSiteCenter Wms"},
//{"scope","AuthSiteCenter"},
{"grant_type","password"},
{"username",input.Name},
@ -51,6 +51,9 @@ public class CustAccountController : AbpController
httpContent.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded");
var oauthRep = await client.PostAsync("connect/token", httpContent);
var oauthStr = await oauthRep.Content.ReadAsStringAsync();
Console.WriteLine(oauthStr);
var oauthResult = default(Id4TokenOutput);
if (oauthRep.IsSuccessStatusCode)
{

1
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/WinIn.FasterZ.AuthSiteCenter.Web.csproj

@ -53,6 +53,7 @@
<!--<ProjectReference Include="..\..\..\..\WMS_AIC\WinIn.FasterZ.Store\src\WinIn.FasterZ.Store.Application.Contracts\WinIn.FasterZ.Store.Application.Contracts.csproj" />
<ProjectReference Include="..\..\..\WinIn.FasterZ.InterfaceDash\src\WinIn.FasterZ.InterfaceDash.Application.Contracts\WinIn.FasterZ.InterfaceDash.Application.Contracts.csproj" />
<ProjectReference Include="..\..\..\WinIn.FasterZ.Job\src\WinIn.FasterZ.Job.Application.Contracts\WinIn.FasterZ.Job.Application.Contracts.csproj" />-->
<ProjectReference Include="..\..\..\WinIn.FasterZ.Wms\WinIn.FasterZ.Wms\src\WinIn.FasterZ.Wms.Application.Contracts\WinIn.FasterZ.Wms.Application.Contracts.csproj" />
<ProjectReference Include="..\WinIn.FasterZ.AuthSiteCenter.Application\WinIn.FasterZ.AuthSiteCenter.Application.csproj" />
<ProjectReference Include="..\WinIn.FasterZ.AuthSiteCenter.HttpApi\WinIn.FasterZ.AuthSiteCenter.HttpApi.csproj" />
<ProjectReference Include="..\WinIn.FasterZ.AuthSiteCenter.EntityFrameworkCore\WinIn.FasterZ.AuthSiteCenter.EntityFrameworkCore.csproj" />

37
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.AuthSiteCenter/src/WinIn.FasterZ.AuthSiteCenter.Web/appsettings.json

@ -1,20 +1,21 @@
{
"App": {
"SelfUrl": "http://localhost:60100",
"ClientUrl": "http://localhost:60011,http://localhost:60012,http://localhost:60013,http://localhost:60021,http://localhost:60022,http://localhost:60022,http://localhost:10090",
"CorsOrigins": "http://localhost:60011,http://localhost:60012,http://localhost:60013,http://localhost:60021,http://localhost:60022,http://localhost:60022,http://localhost:10090",
"RedirectAllowedUrls": "http://localhost:60011,http://localhost:60012,http://localhost:60013,http://localhost:60021,http://localhost:60022,http://localhost:60022,http://localhost:10090"
},
"ConnectionStrings": {
"Default": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Faster_AuthSiteCenter;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;"
},
"StringEncryption": {
"DefaultPassPhrase": "ybgU8NieQZNjguXe"
},
"Redis": {
"Configuration": "127.0.0.1:6379"
},
"AuthServer": {
"Authority": "http://localhost:60100"
}
"App": {
"SelfUrl": "http://localhost:60100",
"ClientUrl": "http://localhost:60011,http://localhost:60012,http://localhost:60013,http://localhost:60021,http://localhost:60022,http://localhost:60022,http://localhost:10090",
"CorsOrigins": "http://localhost:60011,http://localhost:60012,http://localhost:60013,http://localhost:60021,http://localhost:60022,http://localhost:60022,http://localhost:10090",
"RedirectAllowedUrls": "http://localhost:60011,http://localhost:60012,http://localhost:60013,http://localhost:60021,http://localhost:60022,http://localhost:60022,http://localhost:10090"
},
"ConnectionStrings": {
"Default": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Faster_AuthSiteCenter;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;"
},
"StringEncryption": {
"DefaultPassPhrase": "ybgU8NieQZNjguXe"
},
"Redis": {
"Configuration": "127.0.0.1:6379"
},
"AuthServer": {
"Authority": "http://localhost:60100"
},
"urls": "http://localhost:60100"
}

7
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Permissions/WmsPermissionDefinitionProvider.cs

@ -1,4 +1,4 @@
using WinIn.FasterZ.Wms.Localization;
using WinIn.FasterZ.Wms.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;
@ -11,6 +11,11 @@ public class WmsPermissionDefinitionProvider : PermissionDefinitionProvider
var myGroup = context.AddGroup(WmsPermissions.GroupName);
//Define your own permissions here. Example:
//myGroup.AddPermission(WmsPermissions.MyPermission1, L("Permission:MyPermission1"));
var authDepartmentPermission = myGroup.AddPermission(WmsPermissions.AuthDepartment.Default, L("Permission:AuthDepartment"));
authDepartmentPermission.AddChild(WmsPermissions.AuthDepartment.Create, L("Permission:Create"));
authDepartmentPermission.AddChild(WmsPermissions.AuthDepartment.Update, L("Permission:Update"));
authDepartmentPermission.AddChild(WmsPermissions.AuthDepartment.Delete, L("Permission:Delete"));
}
private static LocalizableString L(string name)

9
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Permissions/WmsPermissions.cs

@ -1,4 +1,4 @@
namespace WinIn.FasterZ.Wms.Permissions;
namespace WinIn.FasterZ.Wms.Permissions;
public static class WmsPermissions
{
@ -6,4 +6,11 @@ public static class WmsPermissions
//Add your own permission names. Example:
//public const string MyPermission1 = GroupName + ".MyPermission1";
public class AuthDepartment
{
public const string Default = GroupName + ".AuthDepartment";
public const string Update = Default + ".Update";
public const string Create = Default + ".Create";
public const string Delete = Default + ".Delete";
}
}

20
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/Dtos/AuthDepartmentDto.cs

@ -0,0 +1,20 @@
using System;
using Volo.Abp.Application.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
[Serializable]
public class AuthDepartmentDto : AuditedEntityDto<Guid>
{
public string Code { get; set; }
public string? Description { get; set; }
public Guid Id { get; set; }
public bool? IsActive { get; set; }
public string? Name { get; set; }
public string? Remark { get; set; }
}

21
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/Dtos/AuthDepartmentGetListInput.cs

@ -0,0 +1,21 @@
using System;
using System.ComponentModel;
using Volo.Abp.Application.Dtos;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
[Serializable]
public class AuthDepartmentGetListInput : PagedAndSortedResultRequestDto
{
public string? Code { get; set; }
public string? Description { get; set; }
public Guid? Id { get; set; }
public bool? IsActive { get; set; }
public string? Name { get; set; }
public string? Remark { get; set; }
}

19
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/Dtos/CreateUpdateAuthDepartmentDto.cs

@ -0,0 +1,19 @@
using System;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
[Serializable]
public class CreateUpdateAuthDepartmentDto
{
public string Code { get; set; }
public string? Description { get; set; }
public Guid Id { get; set; }
public bool? IsActive { get; set; }
public string? Name { get; set; }
public string? Remark { get; set; }
}

17
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application.Contracts/Z_Business/AuthDepartment/IAuthDepartmentAppService.cs

@ -0,0 +1,17 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
public interface IAuthDepartmentAppService :
ICrudAppService<
AuthDepartmentDto,
Guid,
AuthDepartmentGetListInput,
CreateUpdateAuthDepartmentDto,
CreateUpdateAuthDepartmentDto>
{
}

6
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/WmsApplicationAutoMapperProfile.cs

@ -1,4 +1,6 @@
using AutoMapper;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
using AutoMapper;
namespace WinIn.FasterZ.Wms;
@ -9,5 +11,7 @@ public class WmsApplicationAutoMapperProfile : Profile
/* You can configure your AutoMapper mapping configuration here.
* Alternatively, you can split your mapping configurations
* into multiple profile classes for a better organization. */
CreateMap<AuthDepartment, AuthDepartmentDto>();
CreateMap<CreateUpdateAuthDepartmentDto, AuthDepartment>(MemberList.Source);
}
}

39
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Application/Z_Business/AuthDepartment/AuthDepartmentAppService.cs

@ -0,0 +1,39 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.Permissions;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
using Volo.Abp.Application.Services;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
public class AuthDepartmentAppService : CrudAppService<AuthDepartment, AuthDepartmentDto, Guid, AuthDepartmentGetListInput, CreateUpdateAuthDepartmentDto, CreateUpdateAuthDepartmentDto>,
IAuthDepartmentAppService
{
protected override string GetPolicyName { get; set; } = WmsPermissions.AuthDepartment.Default;
protected override string GetListPolicyName { get; set; } = WmsPermissions.AuthDepartment.Default;
protected override string CreatePolicyName { get; set; } = WmsPermissions.AuthDepartment.Create;
protected override string UpdatePolicyName { get; set; } = WmsPermissions.AuthDepartment.Update;
protected override string DeletePolicyName { get; set; } = WmsPermissions.AuthDepartment.Delete;
private readonly IAuthDepartmentRepository _repository;
public AuthDepartmentAppService(IAuthDepartmentRepository repository) : base(repository)
{
_repository = repository;
}
protected override async Task<IQueryable<AuthDepartment>> CreateFilteredQueryAsync(AuthDepartmentGetListInput input)
{
// TODO: AbpHelper generated
return (await base.CreateFilteredQueryAsync(input))
.WhereIf(!input.Code.IsNullOrWhiteSpace(), x => x.Code.Contains(input.Code))
.WhereIf(input.Description != null, x => x.Description == input.Description)
.WhereIf(input.Id != null, x => x.Id == input.Id)
.WhereIf(input.IsActive != null, x => x.IsActive == input.IsActive)
.WhereIf(input.Name != null, x => x.Name == input.Name)
.WhereIf(input.Remark != null, x => x.Remark == input.Remark)
;
}
}

28
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/ar.json

@ -1,8 +1,30 @@
{
"culture": "ar",
"texts": {
"Menu:Home": "الرئيسية",
"Menu:Home": "الصفحة الرئيسية",
"LongWelcomeMessage": "مرحبا بكم في التطبيق. هذا مشروع بدء تشغيل يعتمد على إطار عمل ABP. لمزيد من المعلومات ، يرجى زيارة abp.io."
"LongWelcomeMessage": "مرحبا بكم في التطبيق. هذا مشروع بدء تشغيل يعتمد على إطار عمل ABP. لمزيد من المعلومات ، يرجى زيارة abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}
}

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/cs.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Úvod",
"Welcome": "Vítejte",
"LongWelcomeMessage": "Vítejte v aplikaci. Toto je startovací projekt založený na ABP frameworku. Pro více informací, navštivte abp.io."
"LongWelcomeMessage": "Vítejte v aplikaci. Toto je startovací projekt založený na ABP frameworku. Pro více informací, navštivte abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/de.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Home",
"Welcome": "Willkommen",
"LongWelcomeMessage": "Willkommen bei der Anwendung. Dies ist ein Startup-Projekt, das auf dem ABP-Framework basiert. Weitere Informationen finden Sie unter abp.io."
"LongWelcomeMessage": "Willkommen bei der Anwendung. Dies ist ein Startup-Projekt, das auf dem ABP-Framework basiert. Weitere Informationen finden Sie unter abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/en-GB.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Home",
"Welcome": "Welcome",
"LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io."
"LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/en.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Home",
"Welcome": "Welcome",
"LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io."
"LongWelcomeMessage": "Welcome to the application. This is a startup project based on the ABP framework. For more information, visit abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/es.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Inicio",
"Welcome": "Bienvenido",
"LongWelcomeMessage": "Bienvenido a la aplicación, este es un proyecto base basado en el framework ABP. Para más información, visita abp.io."
"LongWelcomeMessage": "Bienvenido a la aplicación, este es un proyecto base basado en el framework ABP. Para más información, visita abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/fi.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Koti",
"Welcome": "Tervetuloa",
"LongWelcomeMessage": "Tervetuloa sovellukseen. Tämä on ABP-kehykseen perustuva käynnistysprojekti. Lisätietoja on osoitteessa abp.io."
"LongWelcomeMessage": "Tervetuloa sovellukseen. Tämä on ABP-kehykseen perustuva käynnistysprojekti. Lisätietoja on osoitteessa abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

35
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/fr.json

@ -1,8 +1,31 @@
{
"culture": "fr",
"texts": {
"Menu:Home": "Accueil",
"Welcome": "Bienvenue",
"LongWelcomeMessage": "Bienvenue dans l'application. Il s'agit d'un projet de démarrage basé sur le framework ABP. Pour plus d'informations, visitez abp.io."
}
"culture": "fr",
"texts": {
"Menu:Home": "Accueil",
"Welcome": "Bienvenue",
"LongWelcomeMessage": "Bienvenue dans l'application. Il s'agit d'un projet de démarrage basé sur le framework ABP. Pour plus d'informations, visitez abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/hi.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "घर",
"Welcome": "स्वागत हे",
"LongWelcomeMessage": "आवेदन करने के लिए आपका स्वागत है। यह एबीपी ढांचे पर आधारित एक स्टार्टअप परियोजना है। अधिक जानकारी के लिए, abp.io पर जाएं।"
"LongWelcomeMessage": "आवेदन करने के लिए आपका स्वागत है। यह एबीपी ढांचे पर आधारित एक स्टार्टअप परियोजना है। अधिक जानकारी के लिए, abp.io पर जाएं।",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

37
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/hr.json

@ -1,8 +1,31 @@
{
"culture": "hr",
"texts": {
"Menu:Home": "Početna",
"Welcome": "Dobrodošli",
"LongWelcomeMessage": "Dobrodošli u aplikaciju. Ovo je startup projekt temeljen na ABP framework-u. Za više informacija posjetite abp.io."
}
}
"culture": "hr",
"texts": {
"Menu:Home": "Početna",
"Welcome": "Dobrodošli",
"LongWelcomeMessage": "Dobrodošli u aplikaciju. Ovo je startup projekt temeljen na ABP framework-u. Za više informacija posjetite abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/hu.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Kezdőlap",
"Welcome": "Üdvözlöm",
"LongWelcomeMessage": "Üdvözöljük az alkalmazásban. Ez egy ABP keretrendszeren alapuló startup projekt. További információkért látogasson el az abp.io oldalra."
"LongWelcomeMessage": "Üdvözöljük az alkalmazásban. Ez egy ABP keretrendszeren alapuló startup projekt. További információkért látogasson el az abp.io oldalra.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/is.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Heim",
"Welcome": "Velkomin",
"LongWelcomeMessage": "Verið velkomin í forritið. Þetta er startup verkefni sem byggir á ABP. Nánari upplýsingar er að finna á abp.io."
"LongWelcomeMessage": "Verið velkomin í forritið. Þetta er startup verkefni sem byggir á ABP. Nánari upplýsingar er að finna á abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/it.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Home",
"Welcome": "Benvenuto",
"LongWelcomeMessage": "Benvenuto nell'applicazione. Questo è un progetto di avvio basato sul framework ABP. Per ulteriori informazioni, visita abp.io."
"LongWelcomeMessage": "Benvenuto nell'applicazione. Questo è un progetto di avvio basato sul framework ABP. Per ulteriori informazioni, visita abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/nl.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Home",
"Welcome": "Welkom",
"LongWelcomeMessage": "Welkom bij de applicatie. Dit is een startup-project gebaseerd op het ABP-framework. Bezoek abp.io voor meer informatie."
"LongWelcomeMessage": "Welkom bij de applicatie. Dit is een startup-project gebaseerd op het ABP-framework. Bezoek abp.io voor meer informatie.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/pl-PL.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Home",
"Welcome": "Witaj",
"LongWelcomeMessage": "Witaj w aplikacji. To jest inicjalny projekt bazujący na ABP framework. Po więcej informacji odwiedź stronę abp.io."
"LongWelcomeMessage": "Witaj w aplikacji. To jest inicjalny projekt bazujący na ABP framework. Po więcej informacji odwiedź stronę abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/pt-BR.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Principal",
"Welcome": "Seja bem-vindo!",
"LongWelcomeMessage": "Bem-vindo a esta aplicação. Este é um projeto inicial baseado no ABP framework. Para mais informações, visite abp.io."
"LongWelcomeMessage": "Bem-vindo a esta aplicação. Este é um projeto inicial baseado no ABP framework. Para mais informações, visite abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/ro-RO.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Acasă",
"Welcome": "Bun venit",
"LongWelcomeMessage": "Bun venit la aplicaţie. Acesta este un proiect de pornire bazat pe framework-ul ABP. Pentru mai multe informaţii, vizitaţi, visit abp.io."
"LongWelcomeMessage": "Bun venit la aplicaţie. Acesta este un proiect de pornire bazat pe framework-ul ABP. Pentru mai multe informaţii, vizitaţi, visit abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/ru.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Главная",
"Welcome": "Добро пожаловать",
"LongWelcomeMessage": "Добро пожаловать в приложение. Этот запущенный проект основан на фреймворке ABP. Для получения дополнительной информации посетите сайт abp.io."
"LongWelcomeMessage": "Добро пожаловать в приложение. Этот запущенный проект основан на фреймворке ABP. Для получения дополнительной информации посетите сайт abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/sk.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Domov",
"Welcome": "Vitajte",
"LongWelcomeMessage": "Vitajte v aplikácii. Toto je štartovací projekt založený na ABP frameworku. Viac informácií nájdete na stránke abp.io."
"LongWelcomeMessage": "Vitajte v aplikácii. Toto je štartovací projekt založený na ABP frameworku. Viac informácií nájdete na stránke abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/sl.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Domov",
"Welcome": "Dobrodošli",
"LongWelcomeMessage": "Dobrodošli v aplikaciji. To je začetni projekt na osnovi okolja ABP. Za več informacij obiščite abp.io."
"LongWelcomeMessage": "Dobrodošli v aplikaciji. To je začetni projekt na osnovi okolja ABP. Za več informacij obiščite abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/tr.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Ana sayfa",
"Welcome": "Hoşgeldiniz",
"LongWelcomeMessage": "Uygulamaya hoşgeldiniz. Bu, ABP framework'ü üzerine bina edilmiş bir başlangıç projesidir. Daha fazla bilgi için abp.io adresini ziyaret edebilirsiniz."
"LongWelcomeMessage": "Uygulamaya hoşgeldiniz. Bu, ABP framework'ü üzerine bina edilmiş bir başlangıç projesidir. Daha fazla bilgi için abp.io adresini ziyaret edebilirsiniz.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/vi.json

@ -3,6 +3,29 @@
"texts": {
"Menu:Home": "Trang chủ",
"Welcome": "Chào mừng bạn",
"LongWelcomeMessage": "Chào mừng bạn đến ứng dụng. Đây là một dự án khởi nghiệp dựa trên khung ABP. Để biết thêm thông tin, hãy truy cập abp.io."
"LongWelcomeMessage": "Chào mừng bạn đến ứng dụng. Đây là một dự án khởi nghiệp dựa trên khung ABP. Để biết thêm thông tin, hãy truy cập abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}
}

37
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/zh-Hans.json

@ -1,8 +1,31 @@
{
"culture": "zh-Hans",
"texts": {
"Menu:Home": "首页",
"Welcome": "欢迎",
"LongWelcomeMessage": "欢迎来到该应用程序. 这是一个基于ABP框架的启动项目. 有关更多信息, 请访问 abp.io."
}
}
"culture": "zh-Hans",
"texts": {
"Menu:Home": "首页",
"Welcome": "欢迎",
"LongWelcomeMessage": "欢迎来到该应用程序. 这是一个基于ABP框架的启动项目. 有关更多信息, 请访问 abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

37
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain.Shared/Localization/Wms/zh-Hant.json

@ -1,8 +1,31 @@
{
"culture": "zh-Hant",
"texts": {
"Menu:Home": "首頁",
"Welcome": "歡迎",
"LongWelcomeMessage": "歡迎來到此應用程式. 這是一個基於ABP框架的起始專案. 有關更多訊息, 請瀏覽 abp.io."
}
}
"culture": "zh-Hant",
"texts": {
"Menu:Home": "首頁",
"Welcome": "歡迎",
"LongWelcomeMessage": "歡迎來到此應用程式. 這是一個基於ABP框架的起始專案. 有關更多訊息, 請瀏覽 abp.io.",
"Permission:AuthDepartment": "AuthDepartment",
"Permission:Create": "Create",
"Permission:Update": "Update",
"Permission:Delete": "Delete",
"Menu:AuthDepartment": "MenuAuthDepartment",
"AuthDepartment": "AuthDepartment",
"AuthDepartmentCode": "AuthDepartmentCode",
"AuthDepartmentConcurrencyStamp": "AuthDepartmentConcurrencyStamp",
"AuthDepartmentCreationTime": "AuthDepartmentCreationTime",
"AuthDepartmentCreatorId": "AuthDepartmentCreatorId",
"AuthDepartmentDescription": "AuthDepartmentDescription",
"AuthDepartmentExtraProperties": "AuthDepartmentExtraProperties",
"AuthDepartmentId": "AuthDepartmentId",
"AuthDepartmentIsActive": "AuthDepartmentIsActive",
"AuthDepartmentLastModificationTime": "AuthDepartmentLastModificationTime",
"AuthDepartmentLastModifierId": "AuthDepartmentLastModifierId",
"AuthDepartmentName": "AuthDepartmentName",
"AuthDepartmentRemark": "AuthDepartmentRemark",
"CreateAuthDepartment": "CreateAuthDepartment",
"EditAuthDepartment": "EditAuthDepartment",
"AuthDepartmentDeletionConfirmationMessage": "Are you sure to delete the authDepartment {0}?",
"SuccessfullyDeleted": "Successfully deleted",
"TableFilter": "TableFilter"
}
}

2
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/WmsConsts.cs

@ -2,7 +2,7 @@
public static class WmsConsts
{
public const string DbTablePrefix = "App";
public const string DbTablePrefix = null;
public const string DbSchema = null;
}

14
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/AuthDepartment/AuthDepartment.cs

@ -8,27 +8,13 @@ public class AuthDepartment : AuditedAggregateRoot<Guid>
{
public string Code { get; set; } = null!;
public string? ConcurrencyStamp { get; set; }
public DateTime CreationTime { get; set; }
public Guid? CreatorId { get; set; }
public string? Description { get; set; }
public string? ExtraProperties { get; set; }
public Guid Id { get; set; }
public bool? IsActive { get; set; }
public DateTime? LastModificationTime { get; set; }
public Guid? LastModifierId { get; set; }
public string? Name { get; set; }
public string? Remark { get; set; }
public Guid? TenantId { get; set; }
}

8
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Domain/Z_Business/AuthDepartment/IAuthDepartmentRepository.cs

@ -0,0 +1,8 @@
using System;
using Volo.Abp.Domain.Repositories;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
public interface IAuthDepartmentRepository : IRepository<AuthDepartment, Guid>
{
}

17
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsDbContext.cs

@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Volo.Abp.AuditLogging.EntityFrameworkCore;
using Volo.Abp.BackgroundJobs.EntityFrameworkCore;
using Volo.Abp.Data;
@ -12,12 +12,14 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
using Volo.Abp.TenantManagement;
using Volo.Abp.TenantManagement.EntityFrameworkCore;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
using Volo.Abp.EntityFrameworkCore.Modeling;
namespace WinIn.FasterZ.Wms.EntityFrameworkCore;
[ReplaceDbContext(typeof(IIdentityDbContext))]
[ReplaceDbContext(typeof(ITenantManagementDbContext))]
[ConnectionStringName("Default")]
[ConnectionStringName("Wms")]
public class WmsDbContext :
AbpDbContext<WmsDbContext>,
IIdentityDbContext,
@ -52,6 +54,7 @@ public class WmsDbContext :
public DbSet<TenantConnectionString> TenantConnectionStrings { get; set; }
#endregion
public DbSet<AuthDepartment> AuthDepartments { get; set; }
public WmsDbContext(DbContextOptions<WmsDbContext> options)
: base(options)
@ -82,5 +85,15 @@ public class WmsDbContext :
// b.ConfigureByConvention(); //auto configure for the base class props
// //...
//});
builder.Entity<AuthDepartment>(b =>
{
b.ToTable(WmsConsts.DbTablePrefix + "Auth_Department", WmsConsts.DbSchema);
b.ConfigureByConvention();
/* Configure more properties here */
});
}
}

4
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/EntityFrameworkCore/WmsEntityFrameworkCoreModule.cs

@ -1,4 +1,5 @@
using System;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
using System;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Uow;
using Volo.Abp.AuditLogging.EntityFrameworkCore;
@ -41,6 +42,7 @@ public class WmsEntityFrameworkCoreModule : AbpModule
/* Remove "includeAllEntities: true" to create
* default repositories only for aggregate roots */
options.AddDefaultRepositories(includeAllEntities: true);
options.AddRepository<AuthDepartment, AuthDepartmentRepository>();
});
Configure<AbpDbContextOptions>(options =>

19
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/AuthDepartment/AuthDepartmentEfCoreQueryableExtensions.cs

@ -0,0 +1,19 @@
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
public static class AuthDepartmentEfCoreQueryableExtensions
{
public static IQueryable<AuthDepartment> IncludeDetails(this IQueryable<AuthDepartment> queryable, bool include = true)
{
if (!include)
{
return queryable;
}
return queryable
// .Include(x => x.xxx) // TODO: AbpHelper generated
;
}
}

20
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.EntityFrameworkCore/Z_Business/AuthDepartment/AuthDepartmentRepository.cs

@ -0,0 +1,20 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using WinIn.FasterZ.Wms.EntityFrameworkCore;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
namespace WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
public class AuthDepartmentRepository : EfCoreRepository<WmsDbContext, AuthDepartment, Guid>, IAuthDepartmentRepository
{
public AuthDepartmentRepository(IDbContextProvider<WmsDbContext> dbContextProvider) : base(dbContextProvider)
{
}
public override async Task<IQueryable<AuthDepartment>> WithDetailsAsync()
{
return (await GetQueryableAsync()).IncludeDetails();
}
}

47
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/Properties/launchSettings.json

@ -1,27 +1,26 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44355",
"sslPort": 44355
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
//"iisSettings": {
// "windowsAuthentication": false,
// "anonymousAuthentication": true,
// "iisExpress": {
// "applicationUrl": "https://localhost:44355",
// "sslPort": 44355
// }
//},
//"profiles": {
// "IIS Express": {
// "commandName": "IISExpress",
// "launchBrowser": true,
// "environmentVariables": {
// "ASPNETCORE_ENVIRONMENT": "Development"
// }
// },
"WinIn.FasterZ.Wms.HttpApi.Host": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:44355",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "http://localhost:60011",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
}

46
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/WmsHttpApiHostModule.cs

@ -31,6 +31,11 @@ using Volo.Abp.VirtualFileSystem;
namespace WinIn.FasterZ.Wms;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc.AntiForgery;
using Volo.Abp.FeatureManagement;
using Volo.Abp.PermissionManagement;
[DependsOn(
typeof(WmsHttpApiModule),
typeof(AbpAutofacModule),
@ -49,6 +54,11 @@ public class WmsHttpApiHostModule : AbpModule
var configuration = context.Services.GetConfiguration();
var hostingEnvironment = context.Services.GetHostingEnvironment();
Configure<AbpAntiForgeryOptions>(options =>
{
options.AutoValidate = false;
});
ConfigureConventionalControllers();
ConfigureAuthentication(context, configuration);
ConfigureCache(configuration);
@ -57,11 +67,15 @@ public class WmsHttpApiHostModule : AbpModule
ConfigureDistributedLocking(context, configuration);
ConfigureCors(context, configuration);
ConfigureSwaggerServices(context, configuration);
//设置返回值和分页查询中最大允许的条数
SetMaxMaxResultCount();
}
private void ConfigureCache(IConfiguration configuration)
{
Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = "Wms:"; });
//Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = "Wms:"; });
Configure<AbpDistributedCacheOptions>(options => { options.KeyPrefix = "AuthSiteCenter:"; });
}
private void ConfigureVirtualFileSystem(ServiceConfigurationContext context)
@ -98,13 +112,24 @@ public class WmsHttpApiHostModule : AbpModule
private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration)
{
context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
Configure<PermissionManagementOptions>(options =>
{
options.IsDynamicPermissionStoreEnabled = true;
});
Configure<FeatureManagementOptions>(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "Wms";
options.IsDynamicFeatureStoreEnabled = true;
});
context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "Wms";
});
}
private static void ConfigureSwaggerServices(ServiceConfigurationContext context, IConfiguration configuration)
@ -207,4 +232,13 @@ public class WmsHttpApiHostModule : AbpModule
app.UseUnitOfWork();
app.UseConfiguredEndpoints();
}
/// <summary>
/// 设置返回值和分页查询中最大允许的条数
/// </summary>
private void SetMaxMaxResultCount()
{
//LimitedResultRequestDto.MaxMaxResultCount = 50000000;
LimitedResultRequestDto.MaxMaxResultCount = int.MaxValue;
}
}

41
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.HttpApi.Host/appsettings.json

@ -1,20 +1,27 @@
{
"App": {
"CorsOrigins": "https://*.Wms.com"
},
"ConnectionStrings": {
"Default": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Main;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;"
},
"Redis": {
"Configuration": "127.0.0.1"
},
"AuthServer": {
"Authority": "https://localhost:44381",
"RequireHttpsMetadata": "true",
"SwaggerClientId": "Wms_Swagger"
},
"StringEncryption": {
"DefaultPassPhrase": "4jjXQgqwh6PRrjn4"
}
"App": {
"CorsOrigins": "https://*.Wms.com",
"Audit": {
"IsEnabled": false //
//
}
},
"ConnectionStrings": {
"Default": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Faster_AuthSiteCenter;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;",
"Wms": "Server=dev.ccwin-in.com,13319;Database=WMS_DongYang_Main;uid=ccwin-in;pwd=Microsoft@2022;timeout=6000;Encrypt=False;"
},
"Redis": {
"Configuration": "127.0.0.1"
},
"AuthServer": {
"Authority": "http://localhost:60100",
"RequireHttpsMetadata": "false",
"SwaggerClientId": "Wms_Swagger"
},
"StringEncryption": {
"DefaultPassPhrase": "4jjXQgqwh6PRrjn4"
},
"AlwaysAllowAuthorization": "false",
"urls": "http://localhost:60011"
}

12
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Menus/WmsMenuContributor.cs

@ -1,4 +1,5 @@
using System;
using System;
using WinIn.FasterZ.Wms.Permissions;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
@ -35,7 +36,7 @@ public class WmsMenuContributor : IMenuContributor
}
}
private Task ConfigureMainMenuAsync(MenuConfigurationContext context)
private async Task ConfigureMainMenuAsync(MenuConfigurationContext context)
{
var administration = context.Menu.GetAdministration();
var l = context.GetLocalizer<WmsResource>();
@ -63,7 +64,12 @@ public class WmsMenuContributor : IMenuContributor
administration.SetSubItemOrder(IdentityMenuNames.GroupName, 2);
administration.SetSubItemOrder(SettingManagementMenuNames.GroupName, 3);
return Task.CompletedTask;
if (await context.IsGrantedAsync(WmsPermissions.AuthDepartment.Default))
{
context.Menu.GetAdministration().AddItem(
new ApplicationMenuItem(WmsMenus.AuthDepartment, l["Menu:AuthDepartment"], "/Z_Business/AuthDepartment/AuthDepartment")
);
}
}
private Task ConfigureUserMenuAsync(MenuConfigurationContext context)

3
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Menus/WmsMenus.cs

@ -1,4 +1,4 @@
namespace WinIn.FasterZ.Wms.Web.Menus;
namespace WinIn.FasterZ.Wms.Web.Menus;
public class WmsMenus
{
@ -7,4 +7,5 @@ public class WmsMenus
//Add your menu items here...
public const string AuthDepartment = Prefix + ".AuthDepartment";
}

18
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/CreateModal.cshtml

@ -0,0 +1,18 @@
@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal;
@using WinIn.FasterZ.Wms.Localization
@inject IHtmlLocalizer<WmsResource> L
@model WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment.CreateModalModel
@{
Layout = null;
}
<abp-dynamic-form abp-model="ViewModel" data-ajaxForm="true" asp-page="CreateModal">
<abp-modal>
<abp-modal-header title="@L["CreateAuthDepartment"].Value"></abp-modal-header>
<abp-modal-body>
<abp-form-content />
</abp-modal-body>
<abp-modal-footer buttons="@(AbpModalButtons.Cancel|AbpModalButtons.Save)"></abp-modal-footer>
</abp-modal>
</abp-dynamic-form>

27
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/CreateModal.cshtml.cs

@ -0,0 +1,27 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
using WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment.ViewModels;
namespace WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment;
public class CreateModalModel : WmsPageModel
{
[BindProperty]
public CreateEditAuthDepartmentViewModel ViewModel { get; set; }
private readonly IAuthDepartmentAppService _service;
public CreateModalModel(IAuthDepartmentAppService service)
{
_service = service;
}
public virtual async Task<IActionResult> OnPostAsync()
{
var dto = ObjectMapper.Map<CreateEditAuthDepartmentViewModel, CreateUpdateAuthDepartmentDto>(ViewModel);
await _service.CreateAsync(dto);
return NoContent();
}
}

19
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/EditModal.cshtml

@ -0,0 +1,19 @@
@page
@using WinIn.FasterZ.Wms.Localization
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal;
@inject IHtmlLocalizer<WmsResource> L
@model WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment.EditModalModel
@{
Layout = null;
}
<abp-dynamic-form abp-model="ViewModel" data-ajaxForm="true" asp-page="EditModal">
<abp-modal>
<abp-modal-header title="@L["EditAuthDepartment"].Value"></abp-modal-header>
<abp-modal-body>
<abp-input asp-for="Id" />
<abp-form-content />
</abp-modal-body>
<abp-modal-footer buttons="@(AbpModalButtons.Cancel|AbpModalButtons.Save)"></abp-modal-footer>
</abp-modal>
</abp-dynamic-form>

38
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/EditModal.cshtml.cs

@ -0,0 +1,38 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
using WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment.ViewModels;
namespace WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment;
public class EditModalModel : WmsPageModel
{
[HiddenInput]
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
[BindProperty]
public CreateEditAuthDepartmentViewModel ViewModel { get; set; }
private readonly IAuthDepartmentAppService _service;
public EditModalModel(IAuthDepartmentAppService service)
{
_service = service;
}
public virtual async Task OnGetAsync()
{
var dto = await _service.GetAsync(Id);
ViewModel = ObjectMapper.Map<AuthDepartmentDto, CreateEditAuthDepartmentViewModel>(dto);
}
public virtual async Task<IActionResult> OnPostAsync()
{
var dto = ObjectMapper.Map<CreateEditAuthDepartmentViewModel, CreateUpdateAuthDepartmentDto>(ViewModel);
await _service.UpdateAsync(Id, dto);
return NoContent();
}
}

57
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/Index.cshtml

@ -0,0 +1,57 @@
@page
@using WinIn.FasterZ.Wms.Permissions
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Layout
@using WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment
@using WinIn.FasterZ.Wms.Localization
@using WinIn.FasterZ.Wms.Web.Menus
@model IndexModel
@inject IPageLayout PageLayout
@inject IHtmlLocalizer<WmsResource> L
@inject IAuthorizationService Authorization
@{
PageLayout.Content.Title = L["AuthDepartment"].Value;
PageLayout.Content.BreadCrumb.Add(L["Menu:AuthDepartment"].Value);
PageLayout.Content.MenuItemName = WmsMenus.AuthDepartment;
}
@section scripts
{
<abp-script src="/Pages/Z_Business/AuthDepartment/AuthDepartment/index.js" />
}
@section styles
{
<abp-style src="/Pages/Z_Business/AuthDepartment/AuthDepartment/index.css"/>
}
<abp-card>
<abp-card-header>
<abp-row>
<abp-column size-md="_6">
<abp-card-title>@L["AuthDepartment"]</abp-card-title>
</abp-column>
<abp-column size-md="_6" class="text-end">
@if (await Authorization.IsGrantedAsync(WmsPermissions.AuthDepartment.Create))
{
<abp-button id="NewAuthDepartmentButton"
text="@L["CreateAuthDepartment"].Value"
icon="plus"
button-type="Primary" />
}
</abp-column>
</abp-row>
</abp-card-header>
<abp-card-body>
<abp-row class="mb-3">
<a abp-collapse-id="AuthDepartmentCollapse" class="text-secondary">@L["TableFilter"] </a>
</abp-row>
<abp-dynamic-form abp-model="AuthDepartmentFilter" id="AuthDepartmentFilter" required-symbols="false" column-size="_3">
<abp-collapse-body id="AuthDepartmentCollapse">
<abp-form-content />
</abp-collapse-body>
</abp-dynamic-form>
<hr />
<abp-table striped-rows="true" id="AuthDepartmentTable" class="nowrap"/>
</abp-card-body>
</abp-card>

43
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/Index.cshtml.cs

@ -0,0 +1,43 @@
using System;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form;
namespace WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment;
public class IndexModel : WmsPageModel
{
public AuthDepartmentFilterInput AuthDepartmentFilter { get; set; }
public virtual async Task OnGetAsync()
{
await Task.CompletedTask;
}
}
public class AuthDepartmentFilterInput
{
[FormControlSize(AbpFormControlSize.Small)]
[Display(Name = "AuthDepartmentCode")]
public string? Code { get; set; }
[FormControlSize(AbpFormControlSize.Small)]
[Display(Name = "AuthDepartmentDescription")]
public string? Description { get; set; }
[FormControlSize(AbpFormControlSize.Small)]
[Display(Name = "AuthDepartmentId")]
public Guid? Id { get; set; }
[FormControlSize(AbpFormControlSize.Small)]
[Display(Name = "AuthDepartmentIsActive")]
public bool? IsActive { get; set; }
[FormControlSize(AbpFormControlSize.Small)]
[Display(Name = "AuthDepartmentName")]
public string? Name { get; set; }
[FormControlSize(AbpFormControlSize.Small)]
[Display(Name = "AuthDepartmentRemark")]
public string? Remark { get; set; }
}

25
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/ViewModels/CreateEditAuthDepartmentViewModel.cs

@ -0,0 +1,25 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment.ViewModels;
public class CreateEditAuthDepartmentViewModel
{
[Display(Name = "AuthDepartmentCode")]
public string Code { get; set; }
[Display(Name = "AuthDepartmentDescription")]
public string? Description { get; set; }
[Display(Name = "AuthDepartmentId")]
public Guid Id { get; set; }
[Display(Name = "AuthDepartmentIsActive")]
public bool? IsActive { get; set; }
[Display(Name = "AuthDepartmentName")]
public string? Name { get; set; }
[Display(Name = "AuthDepartmentRemark")]
public string? Remark { get; set; }
}

0
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/index.css

105
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Pages/Z_Business/AuthDepartment/AuthDepartment/index.js

@ -0,0 +1,105 @@
$(function () {
$("#AuthDepartmentFilter :input").on('input', function () {
dataTable.ajax.reload();
});
//After abp v7.2 use dynamicForm 'column-size' instead of the following settings
//$('#AuthDepartmentCollapse div').addClass('col-sm-3').parent().addClass('row');
var getFilter = function () {
var input = {};
$("#AuthDepartmentFilter")
.serializeArray()
.forEach(function (data) {
if (data.value != '') {
input[abp.utils.toCamelCase(data.name.replace(/AuthDepartmentFilter./g, ''))] = data.value;
}
})
return input;
};
var l = abp.localization.getResource('Wms');
var service = winIn.fasterZ.wms.z_Business.authDepartment.authDepartment;
var createModal = new abp.ModalManager(abp.appPath + 'Z_Business/AuthDepartment/AuthDepartment/CreateModal');
var editModal = new abp.ModalManager(abp.appPath + 'Z_Business/AuthDepartment/AuthDepartment/EditModal');
var dataTable = $('#AuthDepartmentTable').DataTable(abp.libs.datatables.normalizeConfiguration({
processing: true,
serverSide: true,
paging: true,
searching: false,//disable default searchbox
autoWidth: false,
scrollCollapse: true,
order: [[0, "asc"]],
ajax: abp.libs.datatables.createAjax(service.getList,getFilter),
columnDefs: [
{
rowAction: {
items:
[
{
text: l('Edit'),
visible: abp.auth.isGranted('Wms.AuthDepartment.Update'),
action: function (data) {
editModal.open({ id: data.record.id });
}
},
{
text: l('Delete'),
visible: abp.auth.isGranted('Wms.AuthDepartment.Delete'),
confirmMessage: function (data) {
return l('AuthDepartmentDeletionConfirmationMessage', data.record.id);
},
action: function (data) {
service.delete(data.record.id)
.then(function () {
abp.notify.info(l('SuccessfullyDeleted'));
dataTable.ajax.reload();
});
}
}
]
}
},
{
title: l('AuthDepartmentCode'),
data: "code"
},
{
title: l('AuthDepartmentDescription'),
data: "description"
},
{
title: l('AuthDepartmentId'),
data: "id"
},
{
title: l('AuthDepartmentIsActive'),
data: "isActive"
},
{
title: l('AuthDepartmentName'),
data: "name"
},
{
title: l('AuthDepartmentRemark'),
data: "remark"
},
]
}));
createModal.onResult(function () {
dataTable.ajax.reload();
});
editModal.onResult(function () {
dataTable.ajax.reload();
});
$('#NewAuthDepartmentButton').click(function (e) {
e.preventDefault();
createModal.open();
});
});

30
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/Properties/launchSettings.json

@ -1,20 +1,20 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "https://localhost:44345",
"sslPort": 44345
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
// "windowsAuthentication": false,
// "anonymousAuthentication": true,
// "iisExpress": {
// "applicationUrl": "https://localhost:44345",
// "sslPort": 44345
// }
//},
//"profiles": {
// "IIS Express": {
// "commandName": "IISExpress",
// "launchBrowser": true,
// "environmentVariables": {
// "ASPNETCORE_ENVIRONMENT": "Development"
// }
// },
"WinIn.FasterZ.Wms.Web": {
"commandName": "Project",
"launchBrowser": true,

6
WinIn.FasterZ.Wms.Be/WinIn.FasterZ.Wms/WinIn.FasterZ.Wms/src/WinIn.FasterZ.Wms.Web/WmsWebAutoMapperProfile.cs

@ -1,4 +1,6 @@
using AutoMapper;
using WinIn.FasterZ.Wms.Z_Business.AuthDepartment.Dtos;
using WinIn.FasterZ.Wms.Web.Pages.Z_Business.AuthDepartment.AuthDepartment.ViewModels;
using AutoMapper;
namespace WinIn.FasterZ.Wms.Web;
@ -7,5 +9,7 @@ public class WmsWebAutoMapperProfile : Profile
public WmsWebAutoMapperProfile()
{
//Define your AutoMapper configuration here for the Web project.
CreateMap<AuthDepartmentDto, CreateEditAuthDepartmentViewModel>();
CreateMap<CreateEditAuthDepartmentViewModel, CreateUpdateAuthDepartmentDto>();
}
}

Loading…
Cancel
Save