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
8efc034c
Commit
8efc034c
authored
Jun 28, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
21a45516
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
MemberController.java
...om/gic/haoban/manage/web/controller/MemberController.java
+6
-1
QywxOpenTaskController.java
...an/manage/web/controller/open/QywxOpenTaskController.java
+5
-1
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/MemberController.java
View file @
8efc034c
...
...
@@ -2,6 +2,8 @@ package com.gic.haoban.manage.web.controller;
import
java.util.Date
;
import
com.gic.search.engine.api.constant.OperateEnum
;
import
com.gic.search.engine.api.filter.NewNodeAddUtil
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
@@ -66,7 +68,7 @@ public class MemberController {
*/
@RequestMapping
(
"member-count"
)
@ResponseBody
public
RestResponse
<
Object
>
getMemberCount
(
String
searchParams
,
@RequestParam
(
defaultValue
=
"0"
)
int
type
)
{
public
RestResponse
<
Object
>
getMemberCount
(
String
searchParams
,
@RequestParam
(
defaultValue
=
"0"
)
int
type
,
@RequestParam
(
defaultValue
=
"0"
)
int
qywxFlag
)
{
if
(
StringUtils
.
isBlank
(
searchParams
))
{
return
RestResponse
.
successResult
(
0
);
}
...
...
@@ -83,6 +85,9 @@ public class MemberController {
if
(!
StringUtils
.
isBlank
(
searchParams
))
{
searchJson
=
JSON
.
parseObject
(
searchParams
);
}
if
(
qywxFlag
==
1
)
{
searchJson
=
NewNodeAddUtil
.
addNewNodeForAnd
(
"qywxFlag"
,
OperateEnum
.
OPERATE_EQ
.
getValue
(),
0
,
searchJson
);
}
DynamicSearchDTO
search
=
new
DynamicSearchDTO
();
searchJson
=
this
.
storeService
.
parseSelectData
(
searchJson
,
enterpriseId
,
clerkId
,
new
Date
());
search
.
setSearchJson
(
searchJson
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenTaskController.java
View file @
8efc034c
...
...
@@ -754,7 +754,7 @@ public class QywxOpenTaskController {
}
private
int
getMemberNum
(
String
searchParams
,
int
memberType
)
{
RestResponse
<
Object
>
resp
=
this
.
memberController
.
getMemberCount
(
searchParams
,
memberType
);
RestResponse
<
Object
>
resp
=
this
.
memberController
.
getMemberCount
(
searchParams
,
memberType
,
1
);
return
Integer
.
valueOf
(
resp
.
getResult
().
toString
());
}
...
...
@@ -767,6 +767,10 @@ public class QywxOpenTaskController {
return
RestResponse
.
successResult
(
ret
);
}
/**
* 音频文件转mp3
* @return
*/
@RequestMapping
(
"list-silk"
)
@com
.
gic
.
web
.
common
.
ano
.
IgnoreLogin
@IgnoreLogin
...
...
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