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
84976539
Commit
84976539
authored
Apr 16, 2020
by
裴大威
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-rsy' into 'master'
屏蔽质检测试类 See merge request rays/pcloud-book!628
parents
2511f32d
fdd5881f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
PcloudRobotClassifyBiz.java
...pcloud/book/pcloudkeyword/biz/PcloudRobotClassifyBiz.java
+1
-1
PcloudRobotClassifyBizImpl.java
...ok/pcloudkeyword/biz/impl/PcloudRobotClassifyBizImpl.java
+4
-2
PcloudRobotClassifyFacade.java
.../book/pcloudkeyword/facade/PcloudRobotClassifyFacade.java
+2
-1
PcloudRobotClassify.Mapper.xml
...urces/mapper/pcloudkeyword/PcloudRobotClassify.Mapper.xml
+4
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/pcloudkeyword/biz/PcloudRobotClassifyBiz.java
View file @
84976539
...
@@ -34,7 +34,7 @@ public interface PcloudRobotClassifyBiz {
...
@@ -34,7 +34,7 @@ public interface PcloudRobotClassifyBiz {
/**
/**
* 分页查询所有小号分类
* 分页查询所有小号分类
*/
*/
PageBeanNew
<
PcloudRobotClassifyResponseVO
>
listClassifyByPage
(
Integer
currentPage
,
Integer
numPerPage
);
PageBeanNew
<
PcloudRobotClassifyResponseVO
>
listClassifyByPage
(
Integer
currentPage
,
Integer
numPerPage
,
Boolean
testShow
);
ClassifyWelcomeDTO
getClassifyWelcome
(
Long
classifyId
,
Integer
robotType
);
ClassifyWelcomeDTO
getClassifyWelcome
(
Long
classifyId
,
Integer
robotType
);
...
...
pcloud-service-book/src/main/java/com/pcloud/book/pcloudkeyword/biz/impl/PcloudRobotClassifyBizImpl.java
View file @
84976539
...
@@ -101,8 +101,10 @@ public class PcloudRobotClassifyBizImpl implements PcloudRobotClassifyBiz {
...
@@ -101,8 +101,10 @@ public class PcloudRobotClassifyBizImpl implements PcloudRobotClassifyBiz {
}
}
@Override
@Override
public
PageBeanNew
<
PcloudRobotClassifyResponseVO
>
listClassifyByPage
(
Integer
currentPage
,
Integer
numPerPage
)
{
public
PageBeanNew
<
PcloudRobotClassifyResponseVO
>
listClassifyByPage
(
Integer
currentPage
,
Integer
numPerPage
,
Boolean
testShow
)
{
PageBeanNew
<
PcloudRobotClassifyResponseVO
>
listClassifyByPage
=
pcloudRobotClassifyDao
.
listPageNew
(
new
PageParam
(
currentPage
,
numPerPage
),
new
HashMap
<>(),
"listClassifyByPage"
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"testShow"
,
testShow
);
PageBeanNew
<
PcloudRobotClassifyResponseVO
>
listClassifyByPage
=
pcloudRobotClassifyDao
.
listPageNew
(
new
PageParam
(
currentPage
,
numPerPage
),
map
,
"listClassifyByPage"
);
if
(
ListUtils
.
isEmpty
(
listClassifyByPage
.
getRecordList
())){
if
(
ListUtils
.
isEmpty
(
listClassifyByPage
.
getRecordList
())){
return
new
PageBeanNew
<>(
currentPage
,
numPerPage
,
0
,
new
ArrayList
<>());
return
new
PageBeanNew
<>(
currentPage
,
numPerPage
,
0
,
new
ArrayList
<>());
}
}
...
...
pcloud-service-book/src/main/java/com/pcloud/book/pcloudkeyword/facade/PcloudRobotClassifyFacade.java
View file @
84976539
...
@@ -54,9 +54,10 @@ public class PcloudRobotClassifyFacade {
...
@@ -54,9 +54,10 @@ public class PcloudRobotClassifyFacade {
@GetMapping
(
"listClassifyByPage"
)
@GetMapping
(
"listClassifyByPage"
)
public
ResponseDto
<?>
listClassifyByPage
(
public
ResponseDto
<?>
listClassifyByPage
(
@RequestParam
(
value
=
"testShow"
,
required
=
false
)
Boolean
testShow
,
@RequestParam
(
"currentPage"
)
Integer
currentPage
,
@RequestParam
(
"currentPage"
)
Integer
currentPage
,
@RequestParam
(
"numPerPage"
)
Integer
numPerPage
)
throws
BizException
,
PermissionException
{
@RequestParam
(
"numPerPage"
)
Integer
numPerPage
)
throws
BizException
,
PermissionException
{
return
new
ResponseDto
<>(
pcloudRobotClassifyBiz
.
listClassifyByPage
(
currentPage
,
numPerPage
));
return
new
ResponseDto
<>(
pcloudRobotClassifyBiz
.
listClassifyByPage
(
currentPage
,
numPerPage
,
testShow
));
}
}
@GetMapping
(
"listClassifyByPage4Mini"
)
@GetMapping
(
"listClassifyByPage4Mini"
)
...
...
pcloud-service-book/src/main/resources/mapper/pcloudkeyword/PcloudRobotClassify.Mapper.xml
View file @
84976539
...
@@ -77,11 +77,14 @@
...
@@ -77,11 +77,14 @@
from pcloud_robot_classify where id=#{id}
from pcloud_robot_classify where id=#{id}
</select>
</select>
<select
id=
"listClassifyByPage"
resultMap=
"pageResultMap"
>
<select
id=
"listClassifyByPage"
resultMap=
"pageResultMap"
parameterType=
"map"
>
select
select
id, classify_name, qrcode_url, seq_num, mimi_app_qr miniAppQr,mini_app_content
id, classify_name, qrcode_url, seq_num, mimi_app_qr miniAppQr,mini_app_content
from pcloud_robot_classify
from pcloud_robot_classify
where is_delete = 0
where is_delete = 0
<if
test=
"testShow!=null and testShow==false"
>
and classify_name!="质检测试类"
</if>
order by seq_num
order by seq_num
</select>
</select>
...
...
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