Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
3916e8b4
Commit
3916e8b4
authored
Oct 14, 2019
by
阮思源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加按照进群类型搜索条件
parent
05e9b211
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
BookGroupFacade.java
...in/java/com/pcloud/book/group/facade/BookGroupFacade.java
+1
-0
BookGroupFacadeImpl.java
...om/pcloud/book/group/facade/impl/BookGroupFacadeImpl.java
+2
-0
Book.Mapper.xml
...rvice-book/src/main/resources/mapper/book/Book.Mapper.xml
+3
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/group/facade/BookGroupFacade.java
View file @
3916e8b4
...
@@ -127,6 +127,7 @@ public interface BookGroupFacade {
...
@@ -127,6 +127,7 @@ public interface BookGroupFacade {
@RequestParam
(
value
=
"isMainEditor"
,
required
=
false
)
Integer
isMainEditor
,
@RequestParam
(
value
=
"isMainEditor"
,
required
=
false
)
Integer
isMainEditor
,
@RequestParam
(
value
=
"isFundSupport"
,
required
=
false
)
Integer
isFundSupport
,
@RequestParam
(
value
=
"isFundSupport"
,
required
=
false
)
Integer
isFundSupport
,
@RequestParam
(
value
=
"bookId"
,
required
=
false
)
Integer
bookId
,
@RequestParam
(
value
=
"bookId"
,
required
=
false
)
Integer
bookId
,
@RequestParam
(
value
=
"joinGroupType"
,
required
=
false
)
Integer
joinGroupType
,
@RequestParam
(
value
=
"startDate"
,
required
=
false
)
String
startDate
,
@RequestParam
(
value
=
"startDate"
,
required
=
false
)
String
startDate
,
@RequestParam
(
value
=
"endDate"
,
required
=
false
)
String
endDate
)
@RequestParam
(
value
=
"endDate"
,
required
=
false
)
String
endDate
)
throws
BizException
,
PermissionException
;
throws
BizException
,
PermissionException
;
...
...
pcloud-service-book/src/main/java/com/pcloud/book/group/facade/impl/BookGroupFacadeImpl.java
View file @
3916e8b4
...
@@ -160,6 +160,7 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
...
@@ -160,6 +160,7 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
@RequestParam
(
value
=
"isMainEditor"
,
required
=
false
)
Integer
isMainEditor
,
@RequestParam
(
value
=
"isMainEditor"
,
required
=
false
)
Integer
isMainEditor
,
@RequestParam
(
value
=
"isFundSupport"
,
required
=
false
)
Integer
isFundSupport
,
@RequestParam
(
value
=
"isFundSupport"
,
required
=
false
)
Integer
isFundSupport
,
@RequestParam
(
value
=
"bookId"
,
required
=
false
)
Integer
bookId
,
@RequestParam
(
value
=
"bookId"
,
required
=
false
)
Integer
bookId
,
@RequestParam
(
value
=
"joinGroupType"
,
required
=
false
)
Integer
joinGroupType
,
@RequestParam
(
value
=
"startDate"
,
required
=
false
)
String
startDate
,
@RequestParam
(
value
=
"startDate"
,
required
=
false
)
String
startDate
,
@RequestParam
(
value
=
"endDate"
,
required
=
false
)
String
endDate
)
@RequestParam
(
value
=
"endDate"
,
required
=
false
)
String
endDate
)
throws
BizException
,
PermissionException
{
throws
BizException
,
PermissionException
{
...
@@ -177,6 +178,7 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
...
@@ -177,6 +178,7 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
paramMap
.
put
(
"bookName"
,
bookName
!=
null
&&
""
.
equals
(
bookName
.
trim
())
?
null
:
bookName
);
paramMap
.
put
(
"bookName"
,
bookName
!=
null
&&
""
.
equals
(
bookName
.
trim
())
?
null
:
bookName
);
paramMap
.
put
(
"typeCode"
,
typeCode
!=
null
&&
""
.
equals
(
typeCode
.
trim
())
?
null
:
typeCode
);
paramMap
.
put
(
"typeCode"
,
typeCode
!=
null
&&
""
.
equals
(
typeCode
.
trim
())
?
null
:
typeCode
);
paramMap
.
put
(
"bookId"
,
bookId
);
paramMap
.
put
(
"bookId"
,
bookId
);
paramMap
.
put
(
"joinGroupType"
,
joinGroupType
);
if
(!
StringUtil
.
isEmpty
(
startDate
)
&&
!
StringUtil
.
isEmpty
(
endDate
))
{
if
(!
StringUtil
.
isEmpty
(
startDate
)
&&
!
StringUtil
.
isEmpty
(
endDate
))
{
paramMap
.
put
(
"startDate"
,
startDate
+
" 00:00:00"
);
paramMap
.
put
(
"startDate"
,
startDate
+
" 00:00:00"
);
paramMap
.
put
(
"endDate"
,
endDate
+
" 23:59:59"
);
paramMap
.
put
(
"endDate"
,
endDate
+
" 23:59:59"
);
...
...
pcloud-service-book/src/main/resources/mapper/book/Book.Mapper.xml
View file @
3916e8b4
...
@@ -611,6 +611,9 @@
...
@@ -611,6 +611,9 @@
<if
test=
"startDate != null and endDate != null"
>
<if
test=
"startDate != null and endDate != null"
>
AND G.create_time BETWEEN #{startDate} AND #{endDate}
AND G.create_time BETWEEN #{startDate} AND #{endDate}
</if>
</if>
<if
test=
"joinGroupType !=null"
>
AND G.join_group_type=#{joinGroupType}
</if>
GROUP BY G.id
GROUP BY G.id
ORDER BY
ORDER BY
G.UPDATE_TIME DESC
G.UPDATE_TIME DESC
...
...
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