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
750a01fe
Commit
750a01fe
authored
Jun 24, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
插入绑定日志
parent
58c95d7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+1
-1
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+18
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
750a01fe
...
...
@@ -105,7 +105,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
staffClerkRelation
.
setStaffId
(
clerkRelation
.
getStaffId
());
staffClerkRelation
.
setWxEnterpriseId
(
clerkRelation
.
getWxEnterpriseId
());
staffClerkRelation
.
setRelationId
(
infoDTO
.
getRelationId
());
staffClerkRelation
.
setUpdateTime
(
clerkRelation
.
getUpdateTim
e
());
staffClerkRelation
.
setUpdateTime
(
new
Dat
e
());
staffClerkBindLogService
.
insert
(
staffClerkRelation
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
750a01fe
...
...
@@ -31,6 +31,7 @@ import org.slf4j.Logger;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
...
...
@@ -392,5 +393,21 @@ public class StaffController extends WebBaseController{
return
resultResponse
(
errDefine
);
}
}
/**
* 绑定日志
* @return
*/
@RequestMapping
(
"staff-clerk-bind-log"
)
public
HaobanResponse
bindLogs
(
String
search
,
String
enterpriseId
,
@RequestParam
(
defaultValue
=
"-1"
)
Integer
optType
,
BasePageInfo
qo
){
LoginVO
login
=
(
LoginVO
)
AuthRequestUtil
.
getLoginUser
();
StaffDTO
loginStaffDTO
=
login
.
getStaffDTO
();
if
(
null
==
loginStaffDTO
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_4
);
}
Page
<
StaffClerkBindLogDetailDTO
>
page
=
staffClerkRelationApiService
.
pageStaffClerkBindLog
(
loginStaffDTO
.
getWxEnterpriseId
(),
search
,
enterpriseId
,
optType
,
qo
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
page
);
}
}
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