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
3e24aa3e
Commit
3e24aa3e
authored
Jun 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
da7a662a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletions
+18
-1
QywxAlarmWordsController.java
.../manage/web/controller/open/QywxAlarmWordsController.java
+9
-1
QywxOpenController.java
...haoban/manage/web/controller/open/QywxOpenController.java
+6
-0
QywxOpenTaskController.java
...an/manage/web/controller/open/QywxOpenTaskController.java
+3
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxAlarmWordsController.java
View file @
3e24aa3e
...
...
@@ -54,6 +54,9 @@ public class QywxAlarmWordsController {
basePageInfo
.
setPageNum
(
qo
.
getPageNum
());
basePageInfo
.
setPageSize
(
qo
.
getPageSize
());
QwOpenAlarmWordsQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
QwOpenAlarmWordsQDTO
.
class
,
qo
)
;
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
Page
<
OpenQwAlarmWordsDTO
>>
resp
=
this
.
openQwApiService
.
alarmWordsPage
(
qdto
,
basePageInfo
)
;
...
...
@@ -111,6 +114,9 @@ public class QywxAlarmWordsController {
basePageInfo
.
setPageNum
(
qo
.
getPageNum
());
basePageInfo
.
setPageSize
(
qo
.
getPageSize
());
AlarmWordsLogQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
AlarmWordsLogQDTO
.
class
,
qo
)
;
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
ServiceResponse
<
Page
<
OpenQwAlarmLogDTO
>>
resp
=
this
.
openQwApiService
.
alarmWordsLogPage
(
qdto
,
basePageInfo
)
;
...
...
@@ -129,6 +135,9 @@ public class QywxAlarmWordsController {
public
RestResponse
<
String
>
excel
(
@RequestBody
AlarmWordsLogPageQO
qo
)
{
WebLoginDTO
loginUser
=
AuthWebRequestUtil
.
getLoginUser
();
AlarmWordsLogQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
AlarmWordsLogQDTO
.
class
,
qo
)
;
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
qdto
.
setWxEnterpriseId
(
loginUser
.
getWxEnterpriseId
());
qdto
.
setEnterpriseId
(
loginUser
.
getEnterpriseId
());
BasePageInfo
basePageInfo
=
new
BasePageInfo
()
;
...
...
@@ -170,5 +179,4 @@ public class QywxAlarmWordsController {
return
RestResponse
.
successResult
(
reportId
);
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenController.java
View file @
3e24aa3e
...
...
@@ -84,6 +84,9 @@ public class QywxOpenController {
BasePageInfo
basePageInfo
=
new
BasePageInfo
();
basePageInfo
.
setPageNum
(
qo
.
getPageNum
());
basePageInfo
.
setPageSize
(
qo
.
getPageSize
());
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
ServiceResponse
<
Page
<
OpenStaffListDTO
>>
pageResp
=
this
.
openStaffApiService
.
page
(
qdto
,
basePageInfo
);
Page
<
OpenStaffListDTO
>
page
=
pageResp
.
getResult
();
Page
<
OpenStaffVO
>
retPage
=
PageHelperUtils
.
changePageToCurrentPage
(
page
,
OpenStaffVO
.
class
);
...
...
@@ -111,6 +114,9 @@ public class QywxOpenController {
BasePageInfo
basePageInfo
=
new
BasePageInfo
();
basePageInfo
.
setPageNum
(
1
);
basePageInfo
.
setPageSize
(
1
);
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
ServiceResponse
<
Page
<
OpenStaffListDTO
>>
pageResp
=
this
.
openStaffApiService
.
page
(
qdto
,
basePageInfo
);
final
int
totalCount
=
pageResp
.
getResult
().
getTotalCount
();
if
(
totalCount
==
0
)
{
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenTaskController.java
View file @
3e24aa3e
...
...
@@ -84,6 +84,9 @@ public class QywxOpenTaskController {
basePageInfo
.
setPageNum
(
qo
.
getPageNum
());
basePageInfo
.
setPageSize
(
qo
.
getPageSize
());
QwAddTaskPageQDTO
qdto
=
EntityUtil
.
changeEntityByJSON
(
QwAddTaskPageQDTO
.
class
,
qo
);
if
(
null
!=
qdto
.
getEndDate
())
{
qdto
.
setEndDate
(
DateUtil
.
getEndTimeOfDay
(
qdto
.
getEndDate
()));
}
qdto
.
setWxEnterpriseId
(
wxEnterpriseId
);
qdto
.
setEnterpriseId
(
enterpriseId
);
// 创建人
...
...
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