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
a76f4782
Commit
a76f4782
authored
Mar 12, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
e08adbb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
18 deletions
+38
-18
QwMomentController.java
...oban/manage/web/controller/moment/QwMomentController.java
+8
-0
HaobanQwMomentPlanVO.java
...gic/haoban/manage/web/vo/moment/HaobanQwMomentPlanVO.java
+30
-18
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/moment/QwMomentController.java
View file @
a76f4782
...
@@ -301,6 +301,14 @@ public class QwMomentController {
...
@@ -301,6 +301,14 @@ public class QwMomentController {
qdto
.
setWxEnterpriseId
(
loginUser
.
getWxEnterpriseId
());
qdto
.
setWxEnterpriseId
(
loginUser
.
getWxEnterpriseId
());
ServiceResponse
<
Page
<
QwMomentPlanDTO
>>
resp
=
this
.
qwMomentApiService
.
planList
(
qdto
)
;
ServiceResponse
<
Page
<
QwMomentPlanDTO
>>
resp
=
this
.
qwMomentApiService
.
planList
(
qdto
)
;
Page
<
HaobanQwMomentPlanVO
>
retPage
=
PageHelperUtils
.
changePageToCurrentPage
(
resp
.
getResult
(),
HaobanQwMomentPlanVO
.
class
);
Page
<
HaobanQwMomentPlanVO
>
retPage
=
PageHelperUtils
.
changePageToCurrentPage
(
resp
.
getResult
(),
HaobanQwMomentPlanVO
.
class
);
List
<
HaobanQwMomentPlanVO
>
voList
=
retPage
.
getResult
()
;
if
(
CollectionUtils
.
isNotEmpty
(
voList
))
{
for
(
HaobanQwMomentPlanVO
vo
:
voList
)
{
if
(
null
!=
vo
.
getExecRate
()
&&
vo
.
getExecRate
()
>
0
)
{
vo
.
setExecRateFloat
(
BigDecimal
.
valueOf
(
vo
.
getExecRate
()).
divide
(
BigDecimal
.
valueOf
(
100
),
2
,
2
).
doubleValue
());
}
}
}
return
RestResponse
.
successResult
(
retPage
);
return
RestResponse
.
successResult
(
retPage
);
}
}
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/vo/moment/HaobanQwMomentPlanVO.java
View file @
a76f4782
...
@@ -44,7 +44,7 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -44,7 +44,7 @@ public class HaobanQwMomentPlanVO implements Serializable {
/**
/**
* 执行方式 0企微1好办小程序
* 执行方式 0企微1好办小程序
*/
*/
private
int
execType
;
private
Integer
execType
;
/**
/**
* 企微id
* 企微id
*/
*/
...
@@ -64,7 +64,7 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -64,7 +64,7 @@ public class HaobanQwMomentPlanVO implements Serializable {
/**
/**
* 1进行中 2终止 0未开始 3 已结束
* 1进行中 2终止 0未开始 3 已结束
*/
*/
private
int
statusFlag
;
private
Integer
statusFlag
;
/**
/**
* 1立即发布2定时发布
* 1立即发布2定时发布
*/
*/
...
@@ -92,6 +92,9 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -92,6 +92,9 @@ public class HaobanQwMomentPlanVO implements Serializable {
*/
*/
private
Integer
doneNum
;
private
Integer
doneNum
;
/**完成率*/
private
Integer
execRate
;
/**
/**
* 完成率
* 完成率
*/
*/
...
@@ -134,6 +137,22 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -134,6 +137,22 @@ public class HaobanQwMomentPlanVO implements Serializable {
*/
*/
private
List
<
ClerkVO
>
clerkVOList
;
private
List
<
ClerkVO
>
clerkVOList
;
public
void
setExecType
(
Integer
execType
)
{
this
.
execType
=
execType
;
}
public
void
setStatusFlag
(
Integer
statusFlag
)
{
this
.
statusFlag
=
statusFlag
;
}
public
Integer
getExecRate
()
{
return
execRate
;
}
public
void
setExecRate
(
Integer
execRate
)
{
this
.
execRate
=
execRate
;
}
public
List
<
ClerkVO
>
getClerkVOList
()
{
public
List
<
ClerkVO
>
getClerkVOList
()
{
return
clerkVOList
;
return
clerkVOList
;
}
}
...
@@ -206,14 +225,6 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -206,14 +225,6 @@ public class HaobanQwMomentPlanVO implements Serializable {
this
.
expireDays
=
expireDays
;
this
.
expireDays
=
expireDays
;
}
}
public
int
getExecType
()
{
return
execType
;
}
public
void
setExecType
(
int
execType
)
{
this
.
execType
=
execType
;
}
public
String
getWxEnterpriseId
()
{
public
String
getWxEnterpriseId
()
{
return
wxEnterpriseId
;
return
wxEnterpriseId
;
}
}
...
@@ -246,14 +257,6 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -246,14 +257,6 @@ public class HaobanQwMomentPlanVO implements Serializable {
this
.
creatorName
=
creatorName
;
this
.
creatorName
=
creatorName
;
}
}
public
int
getStatusFlag
()
{
return
statusFlag
;
}
public
void
setStatusFlag
(
int
statusFlag
)
{
this
.
statusFlag
=
statusFlag
;
}
public
Integer
getPublishType
()
{
public
Integer
getPublishType
()
{
return
publishType
;
return
publishType
;
}
}
...
@@ -357,4 +360,12 @@ public class HaobanQwMomentPlanVO implements Serializable {
...
@@ -357,4 +360,12 @@ public class HaobanQwMomentPlanVO implements Serializable {
public
void
setTotalCommentCount
(
Integer
totalCommentCount
)
{
public
void
setTotalCommentCount
(
Integer
totalCommentCount
)
{
this
.
totalCommentCount
=
totalCommentCount
;
this
.
totalCommentCount
=
totalCommentCount
;
}
}
public
Integer
getExecType
()
{
return
execType
;
}
public
Integer
getStatusFlag
()
{
return
statusFlag
;
}
}
}
\ No newline at end of file
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