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
b790063d
Commit
b790063d
authored
Jan 17, 2023
by
郑勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: [none] 世纪华阳
parent
bc2950dd
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
2 deletions
+42
-2
MofangBookTypeEnum.java
...n/java/com/pcloud/book/base/enums/MofangBookTypeEnum.java
+39
-0
BookBizImpl.java
.../main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
+3
-2
No files found.
pcloud-facade-book/src/main/java/com/pcloud/book/base/enums/MofangBookTypeEnum.java
0 → 100644
View file @
b790063d
package
com
.
pcloud
.
book
.
base
.
enums
;
import
java.util.List
;
import
cn.hutool.core.collection.CollUtil
;
/**
* 魔方书枚举类
*/
public
enum
MofangBookTypeEnum
{
/**
* 1-北教小雨
*/
BJXY
(
1
),
/**
* 2-世纪华阳
*/
SJHY
(
2
),
/**
* 3-邹慕白
*/
ZMB
(
3
),
/**
* 4-万有文化
*/
WYWH
(
4
)
;
public
final
Integer
value
;
private
MofangBookTypeEnum
(
Integer
value
)
{
this
.
value
=
value
;
}
public
static
final
List
<
Integer
>
bjxyType
=
CollUtil
.
toList
(
BJXY
.
value
,
SJHY
.
value
);
public
static
final
List
<
Integer
>
zmbType
=
CollUtil
.
toList
(
ZMB
.
value
,
WYWH
.
value
);
}
pcloud-service-book/src/main/java/com/pcloud/book/book/biz/impl/BookBizImpl.java
View file @
b790063d
...
...
@@ -25,6 +25,7 @@ import com.pcloud.book.applet.entity.AppletUserLabelRelation;
import
com.pcloud.book.applet.enums.LabelTypeEnum
;
import
com.pcloud.book.base.enums.BookStatusEnum
;
import
com.pcloud.book.base.enums.BookTypeEnum
;
import
com.pcloud.book.base.enums.MofangBookTypeEnum
;
import
com.pcloud.book.base.exception.BookBizException
;
import
com.pcloud.book.book.biz.BookAdviserBiz
;
import
com.pcloud.book.book.biz.BookAdviserErpBiz
;
...
...
@@ -4806,10 +4807,10 @@ public class BookBizImpl implements BookBiz {
}
private
void
fillSceneInfo
(
List
<
MoFangBookDto
>
list
,
Integer
type
)
{
if
(
type
==
1
)
{
if
(
MofangBookTypeEnum
.
bjxyType
.
contains
(
type
)
)
{
dealXy
(
list
);
}
if
(
zouMuBaiTypeList
.
contains
(
type
)){
if
(
MofangBookTypeEnum
.
zmbType
.
contains
(
type
)){
dealZmb
(
list
);
}
}
...
...
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