Browse Source

'优化官网-栏目查询、官网-栏目新增、官网-栏目修改三个接口,在栏目类文件中新增'栏目样式'字段'

james 1 year ago
parent
commit
de59bad8a3

+ 5 - 0
service-website/service-website-biz/src/main/java/com/usky/website/domain/SiteCategory.java

@@ -100,6 +100,11 @@ public class SiteCategory implements Serializable {
      */
     private Integer modelType;
 
+    /**
+     * 栏目样式:1、样式一 2、样式二 3、样式三 4、样式四 5、样式五
+     */
+    private Integer categoryStyle;
+
     /**
      * 子级
      */

+ 1 - 0
service-website/service-website-biz/src/main/resources/mapper/website/SiteCategoryMapper.xml

@@ -18,6 +18,7 @@
         <result column="sortindex" property="sortindex" />
         <result column="status" property="status" />
         <result column="model_type" property="modelType" />
+        <result column="category_style" property="categoryStyle" />
     </resultMap>
 
 </mapper>