Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
82c8b945
提交
82c8b945
authored
12月 21, 2020
作者:
吴德鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
属性管理
上级
ec53ab1a
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
15 行删除
+15
-15
AttributesController.java
...in/java/com/platform/controller/AttributesController.java
+5
-1
AttributesEntity.java
...n/src/main/java/com/platform/entity/AttributesEntity.java
+7
-11
attributes.html
...rm-admin/src/main/webapp/WEB-INF/page/sys/attributes.html
+3
-3
没有找到文件。
platform-admin/src/main/java/com/platform/controller/AttributesController.java
浏览文件 @
82c8b945
...
...
@@ -114,6 +114,10 @@ public class AttributesController {
return
R
.
ok
().
put
(
"list"
,
list
);
}
/**
* 查询所有
* @return
*/
@RequestMapping
(
"/queryAttrNames"
)
@ResponseBody
@IgnoreAuth
...
...
@@ -156,7 +160,7 @@ public class AttributesController {
}
/**
* 新版商品属性(整合旧版)
* 新版商品属性(整合旧版
数据
)
*
* @param itemId
* @return
...
...
platform-admin/src/main/java/com/platform/entity/AttributesEntity.java
浏览文件 @
82c8b945
...
...
@@ -36,7 +36,7 @@ public class AttributesEntity implements Serializable {
/**
* 是否必须 0:否 1:是
*/
private
String
isNeed
;
private
boolean
isNeed
;
/**
* 创建时间
*/
...
...
@@ -111,19 +111,15 @@ public class AttributesEntity implements Serializable {
public
Integer
getSort
()
{
return
sort
;
}
/**
* 设置:是否必须 0:否 1:是
*/
public
void
setIsNeed
(
String
isNeed
)
{
this
.
isNeed
=
isNeed
;
}
/**
* 获取:是否必须 0:否 1:是
*/
public
String
getIsNeed
()
{
public
boolean
isNeed
()
{
return
isNeed
;
}
public
void
setNeed
(
boolean
need
)
{
isNeed
=
need
;
}
/**
* 设置:创建时间
*/
...
...
platform-admin/src/main/webapp/WEB-INF/page/sys/attributes.html
浏览文件 @
82c8b945
...
...
@@ -52,10 +52,10 @@
</Form-item>
<Form-item
label=
"是否必填"
prop=
"updateTime"
>
<Radio-group
v-model=
"attributes.isNeed"
>
<Radio
label=
"
1
"
>
<Radio
label=
"
true
"
>
<span>
开启
</span>
</Radio>
<Radio
label=
"
0
"
>
<Radio
label=
"
false
"
>
<span>
关闭
</span>
</Radio>
</Radio-group>
...
...
@@ -75,4 +75,4 @@
<script
src=
"${rc.contextPath}/js/sys/attributes.js?_${date.systemTime}"
></script>
</body>
</html>
\ No newline at end of file
</html>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论