Ver código fonte

首页专区背景色

zhijiezhao 1 mês atrás
pai
commit
722f3678e3

+ 2 - 0
src/main/java/com/caimei365/commodity/model/vo/NewPageZone.java

@@ -12,6 +12,8 @@ public class NewPageZone implements Serializable {
     private String floorTitle;
     private String floorDetail;
     private String sort;
+
+    private String backColor;
     /**
      * Pc端状态 0停用 1启用
      */

+ 4 - 1
src/main/resources/mapper/PageMapper.xml

@@ -27,6 +27,7 @@
         <result property="sort" column="sort"/>
         <result property="wwwEnabledStatus" column="wwwEnabledStatus"/>
         <result property="crmEnabledStatus" column="crmEnabledStatus"/>
+        <result property="backColor" column="backColor"/>
 
         <collection property="products" ofType="com.caimei365.commodity.model.vo.ProductItemVo">
             <id property="productId" column="productId"/>
@@ -1789,6 +1790,7 @@
         npz.floorDetail,
         npz.wwwEnabledStatus,
         npz.crmEnabledStatus,
+        npz.backColor,
         p.productId,
         p.name,
         p.mainImage,
@@ -1922,7 +1924,8 @@
                floorTitle,
                floorDetail,
                wwwEnabledStatus,
-               crmEnabledStatus
+               crmEnabledStatus,
+               backColor
         from new_page_zone
         where id = #{zoneId}
     </select>