Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
92bdaf9b
Commit
92bdaf9b
authored
Feb 02, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加activeStatus字段
parent
26016914
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
StaffMapper.java
...com/gic/haoban/manage/service/dao/mapper/StaffMapper.java
+3
-1
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+2
-3
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+2
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/StaffMapper.java
View file @
92bdaf9b
...
@@ -175,6 +175,7 @@ public interface StaffMapper {
...
@@ -175,6 +175,7 @@ public interface StaffMapper {
void
updateStaffInfoByWxOpenUserId
(
@Param
(
"wxOpenUseId"
)
String
wxOpenUseId
,
void
updateStaffInfoByWxOpenUserId
(
@Param
(
"wxOpenUseId"
)
String
wxOpenUseId
,
@Param
(
"activeTime"
)
Date
activeTime
,
@Param
(
"activeTime"
)
Date
activeTime
,
@Param
(
"expireTime"
)
Date
expireTime
,
@Param
(
"expireTime"
)
Date
expireTime
,
@Param
(
"activeCode"
)
String
activeCode
);
@Param
(
"activeCode"
)
String
activeCode
,
@Param
(
"activeStatus"
)
Integer
activeStatus
);
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
92bdaf9b
...
@@ -948,10 +948,9 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -948,10 +948,9 @@ public class StaffApiServiceImpl implements StaffApiService {
//先查询转移成员的许可信息
//先查询转移成员的许可信息
TabHaobanStaff
staffDTO
=
staffMapper
.
getStaffInfoByWxOpenUserId
(
a
.
getHandover_userid
());
TabHaobanStaff
staffDTO
=
staffMapper
.
getStaffInfoByWxOpenUserId
(
a
.
getHandover_userid
());
//置空转移成员的许可信息
//置空转移成员的许可信息
staffMapper
.
updateStaffInfoByWxOpenUserId
(
a
.
getHandover_userid
(),
null
,
null
,
null
);
staffMapper
.
updateStaffInfoByWxOpenUserId
(
a
.
getHandover_userid
(),
null
,
null
,
null
,
0
);
//更新接收成员的许可信息
//更新接收成员的许可信息
staffMapper
.
updateStaffInfoByWxOpenUserId
(
a
.
getTakeover_userid
(),
staffDTO
.
getActiveTime
(),
staffDTO
.
getExpireTime
(),
staffDTO
.
getActiveCode
());
staffMapper
.
updateStaffInfoByWxOpenUserId
(
a
.
getTakeover_userid
(),
staffDTO
.
getActiveTime
(),
staffDTO
.
getExpireTime
(),
staffDTO
.
getActiveCode
()
,
1
);
});
});
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
();
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
();
}
}
...
...
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
92bdaf9b
...
@@ -615,7 +615,8 @@
...
@@ -615,7 +615,8 @@
update tab_haoban_staff set
update tab_haoban_staff set
active_time = #{activeTime},
active_time = #{activeTime},
expire_time = #{expireTime},
expire_time = #{expireTime},
active_code = #{activeCode}
active_code = #{activeCode},
active_status = #{activeStatus},
where wx_open_user_id = #{wxOpenUseId}
where wx_open_user_id = #{wxOpenUseId}
</update>
</update>
...
...
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