Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
501e2b02
Commit
501e2b02
authored
Mar 02, 2021
by
yao.xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决冲突
parent
59e8ad3a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+1
-1
yd-api/src/main/java/com/yd/dal/entity/customer/practitioner/PractitionerInfo.java
+5
-5
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
+3
-3
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
501e2b02
...
...
@@ -216,7 +216,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
responseVO
.
setPractitionerTypeId
(
practitionerType
);
responseVO
.
setPractitionerBasicInfo
(
basicInfo
);
responseVO
.
setLoginTimes
(
logTimes
);
responseVO
.
setCanSeeSalaryList
(
practitionerInfo
.
getCan
LoginDyd
());
responseVO
.
setCanSeeSalaryList
(
practitionerInfo
.
getCan
SeeSalaryList
());
responseVO
.
setCommonResult
(
new
CommonResult
(
true
,
ZHBErrorConfig
.
getErrorInfo
(
"800000"
)));
// }
}
else
{
...
...
yd-api/src/main/java/com/yd/dal/entity/customer/practitioner/PractitionerInfo.java
View file @
501e2b02
...
...
@@ -13,7 +13,7 @@ public class PractitionerInfo {
private
String
weChatId
;
private
String
qqId
;
private
String
practitionerRegNo
;
private
Long
can
LoginDyd
;
private
Long
can
SeeSalaryList
;
public
Long
getCustomerId
()
{
return
customerId
;
...
...
@@ -111,11 +111,11 @@ public class PractitionerInfo {
this
.
gender
=
gender
;
}
public
Long
getCan
LoginDyd
()
{
return
can
LoginDyd
;
public
Long
getCan
SeeSalaryList
()
{
return
can
SeeSalaryList
;
}
public
void
setCan
LoginDyd
(
Long
canLoginDyd
)
{
this
.
can
LoginDyd
=
canLoginDyd
;
public
void
setCan
SeeSalaryList
(
Long
canSeeSalaryList
)
{
this
.
can
SeeSalaryList
=
canSeeSalaryList
;
}
}
yd-api/src/main/resources/mapper/customer/AclPractitionerMapper.xml
View file @
501e2b02
...
...
@@ -1343,7 +1343,7 @@
<result
column=
"weChatId"
property=
"weChatId"
/>
<result
column=
"qqId"
property=
"qqId"
/>
<result
column=
"practitionerRegNo"
property=
"practitionerRegNo"
/>
<result
column=
"can
LoginDyd"
property=
"canLoginDyd
"
/>
<result
column=
"can
SeeSalaryList"
property=
"canSeeSalaryList
"
/>
</resultMap>
<select
id=
"findPractitionerInfoByLogin"
resultMap=
"practitioner_info_map"
>
...
...
@@ -1360,14 +1360,14 @@
p.wechat_id as weChatId,
p.qq_id as qqId,
p.practitioner_reg_no as practitionerRegNo,
p.can_
login_dyd as canLoginDyd
p.can_
see_salary_list as canSeeSalaryList
from ag_acl_customer c inner join ag_acl_practitioner p on c.id = p.customer_id
left join ag_acl_insurer_branch b on p.insurer_branch_id = b.id
left join ag_acl_practitioner_setting s on p.id = s.practitioner_id
left join ag_md_drop_options o on s.practitioner_level = o.id
where c.login = #{mobileNo}
and p.is_active = 1
and
can_login_dyd != 0
and
(p.can_login_dyd != 0 OR p.can_login_dyd is null)
</select>
<select
id=
"findByCustomerIdIsActive"
resultType=
"com.yd.dal.entity.customer.AclPractitioner"
>
...
...
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