记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
633f6a04
Commit
633f6a04
authored
Jan 14, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~admin:商品分类参数必填调整;
parent
814c120a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
GoblinSelfCategoryController.java
...troller/zhengzai/goblin/GoblinSelfCategoryController.java
+4
-1
db_ln_goblin_initialdata.sql
...net-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
+1
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/goblin/GoblinSelfCategoryController.java
View file @
633f6a04
...
@@ -47,7 +47,7 @@ public class GoblinSelfCategoryController extends BaseController {
...
@@ -47,7 +47,7 @@ public class GoblinSelfCategoryController extends BaseController {
@ApiOperation
(
value
=
"新建"
)
@ApiOperation
(
value
=
"新建"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"grade"
,
value
=
"分类层级[1-一级|2-二级|3-三级]"
,
allowableValues
=
"1,2,3"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"grade"
,
value
=
"分类层级[1-一级|2-二级|3-三级]"
,
allowableValues
=
"1,2,3"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
tru
e
,
dataType
=
"String"
,
name
=
"catePid"
,
value
=
"分类父ID[30]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
fals
e
,
dataType
=
"String"
,
name
=
"catePid"
,
value
=
"分类父ID[30]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"分类名称[50]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"name"
,
value
=
"分类名称[50]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"icon"
,
value
=
"分类图标[256]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"icon"
,
value
=
"分类图标[256]"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"neIsbn"
,
value
=
"是否需要填写ISBN[0-否|1-是]"
,
allowableValues
=
"0,1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"neIsbn"
,
value
=
"是否需要填写ISBN[0-否|1-是]"
,
allowableValues
=
"0,1"
),
...
@@ -60,6 +60,9 @@ public class GoblinSelfCategoryController extends BaseController {
...
@@ -60,6 +60,9 @@ public class GoblinSelfCategoryController extends BaseController {
public
AjaxResult
addSave
(
GoblinSelfGoodsCategory
selfGoodsCategory
)
{
public
AjaxResult
addSave
(
GoblinSelfGoodsCategory
selfGoodsCategory
)
{
// TODO: 2022/1/14 zhanggb valid
// TODO: 2022/1/14 zhanggb valid
if
(
selfGoodsCategory
.
getGrade
().
equals
(
"1"
))
{
selfGoodsCategory
.
setCatePid
(
null
);
}
selfGoodsCategory
.
setCateId
(
IDGenerator
.
nextMilliId2
());
selfGoodsCategory
.
setCateId
(
IDGenerator
.
nextMilliId2
());
selfGoodsCategory
.
setDelFlg
(
"0"
);
selfGoodsCategory
.
setDelFlg
(
"0"
);
if
(
null
==
selfGoodsCategory
.
getSort
())
{
if
(
null
==
selfGoodsCategory
.
getSort
())
{
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/docu/db_ln_goblin_initialdata.sql
View file @
633f6a04
...
@@ -74,7 +74,7 @@ create table goblin_self_goods_category
...
@@ -74,7 +74,7 @@ create table goblin_self_goods_category
mid
bigint
auto_increment
primary
key
,
mid
bigint
auto_increment
primary
key
,
cate_id
varchar
(
30
)
not
null
comment
'商铺分类id'
,
cate_id
varchar
(
30
)
not
null
comment
'商铺分类id'
,
name
varchar
(
50
)
not
null
comment
'分类名称'
,
name
varchar
(
50
)
not
null
comment
'分类名称'
,
icon
varchar
(
50
)
null
comment
'分类图标'
,
icon
varchar
(
256
)
null
comment
'分类图标'
,
sort
int
default
0
comment
'排序[数值越小,排序越前]'
,
sort
int
default
0
comment
'排序[数值越小,排序越前]'
,
grade
char
null
comment
'分类层级[1-一级|2-二级|3-三级]'
,
grade
char
null
comment
'分类层级[1-一级|2-二级|3-三级]'
,
cate_pid
varchar
(
30
)
null
comment
'分类父id'
,
cate_pid
varchar
(
30
)
null
comment
'分类父id'
,
...
...
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