Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
2a76c2b1
Commit
2a76c2b1
authored
Sep 06, 2023
by
tanyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录租户不存在报500问题
parent
f5788527
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
messages_en_US.properties
dsk-admin/src/main/resources/i18n/messages_en_US.properties
+4
-4
messages_zh_CN.properties
dsk-admin/src/main/resources/i18n/messages_zh_CN.properties
+4
-4
SysTenantMapper.xml
...stem/src/main/resources/mapper/system/SysTenantMapper.xml
+1
-1
No files found.
dsk-admin/src/main/resources/i18n/messages_en_US.properties
View file @
2a76c2b1
...
...
@@ -48,7 +48,7 @@ email.code.retry.limit.count=Email code input error {0} times
email.code.retry.limit.exceed
=
Email code input error {0} times, account locked for {1} minutes
xcx.code.not.blank
=
Mini program code cannot be blank
##\u79DF\u6237
tenant.number.not.blank
=
company number cannot be blank
tenant.not.exists
=
Sorry, your company does not exist. Please contact the administrator
tenant.blocked
=
Sorry, your company is disabled. Please contact the administrator
tenant.expired
=
Sorry, your company has expired. Please contact the administrator.
\ No newline at end of file
company.number.not.blank
=
company number cannot be blank
company.not.exists
=
Sorry, your company does not exist. Please contact the administrator
company.blocked
=
Sorry, your company is disabled. Please contact the administrator
company.expired
=
Sorry, your company has expired. Please contact the administrator.
\ No newline at end of file
dsk-admin/src/main/resources/i18n/messages_zh_CN.properties
View file @
2a76c2b1
...
...
@@ -48,7 +48,7 @@ email.code.retry.limit.count=\u90AE\u7BB1\u9A8C\u8BC1\u7801\u8F93\u5165\u9519\u8
email.code.retry.limit.exceed
=
\u
90AE
\u
7BB1
\u
9A8C
\u
8BC1
\u7801\u
8F93
\u5165\u9519\u
8BEF{0}
\u
6B21
\u
FF0C
\u
5E10
\u6237\u9501\u
5B9A{1}
\u5206\u
949F
xcx.code.not.blank
=
\u
5C0F
\u
7A0B
\u
5E8Fcode
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
##\u79DF\u6237
tenant.number.not.blank
=
\u
4F01
\u
4E1A
\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
tenant.not.exists
=
\u
5BF9
\u
4E0D
\u
8D77,
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
4E0D
\u
5B58
\u5728\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
tenant.blocked
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u7981\u7528\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
tenant.expired
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u
8FC7
\u
671F
\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
\ No newline at end of file
company.number.not.blank
=
\u
4F01
\u
4E1A
\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
company.not.exists
=
\u
5BF9
\u
4E0D
\u
8D77,
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
4E0D
\u
5B58
\u5728\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
company.blocked
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u7981\u7528\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
company.expired
=
\u
5BF9
\u
4E0D
\u
8D77
\u
FF0C
\u
60A8
\u7684\u
4F01
\u
4E1A
\u
5DF2
\u
8FC7
\u
671F
\u
FF0C
\u
8BF7
\u8054\u
7CFB
\u
7BA1
\u7406\u5458
\ No newline at end of file
dsk-system/src/main/resources/mapper/system/SysTenantMapper.xml
View file @
2a76c2b1
...
...
@@ -6,7 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectTenantList"
resultType=
"com.dsk.system.domain.vo.SysTenantVo"
>
select t.id, t.tenant_id,t.company_name from sys_tenant t
inner join sys_user t1 on t1.tenant_id=t.tenant_id
inner join sys_user t1 on t1.tenant_id=t.tenant_id
and t1.del_flag=0
where t.del_flag=0
and t.status=0
and t1.phonenumber=#{username}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment