Commit 562ec1ee by guojuxing

数据权限添加:无归属门店权限字段

parent d830f1ad
...@@ -27,6 +27,11 @@ public class DataAuthDTO implements Serializable{ ...@@ -27,6 +27,11 @@ public class DataAuthDTO implements Serializable{
private String onlinePerformance; private String onlinePerformance;
/** /**
* 无归属门店权限 1:勾选 0:不勾选
*/
private Integer noOwnerStore;
/**
* 门店资源,门店选择器ID * 门店资源,门店选择器ID
*/ */
private Integer storeWidgetId; private Integer storeWidgetId;
...@@ -159,4 +164,13 @@ public class DataAuthDTO implements Serializable{ ...@@ -159,4 +164,13 @@ public class DataAuthDTO implements Serializable{
this.memberCount = memberCount; this.memberCount = memberCount;
return this; return this;
} }
public Integer getNoOwnerStore() {
return noOwnerStore;
}
public DataAuthDTO setNoOwnerStore(Integer noOwnerStore) {
this.noOwnerStore = noOwnerStore;
return this;
}
} }
...@@ -27,6 +27,11 @@ public class TabSysDataAuth { ...@@ -27,6 +27,11 @@ public class TabSysDataAuth {
private String onlinePerformance; private String onlinePerformance;
/** /**
* 无归属门店权限 1:勾选 0:不勾选
*/
private Integer noOwnerStore;
/**
* 门店资源,门店选择器ID * 门店资源,门店选择器ID
*/ */
private Integer storeWidgetId; private Integer storeWidgetId;
...@@ -145,4 +150,13 @@ public class TabSysDataAuth { ...@@ -145,4 +150,13 @@ public class TabSysDataAuth {
this.updateTime = updateTime; this.updateTime = updateTime;
return this; return this;
} }
public Integer getNoOwnerStore() {
return noOwnerStore;
}
public TabSysDataAuth setNoOwnerStore(Integer noOwnerStore) {
this.noOwnerStore = noOwnerStore;
return this;
}
} }
\ No newline at end of file
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<result column="data_auth_name" jdbcType="VARCHAR" property="dataAuthName" /> <result column="data_auth_name" jdbcType="VARCHAR" property="dataAuthName" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" /> <result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
<result column="online_performance" jdbcType="VARCHAR" property="onlinePerformance" /> <result column="online_performance" jdbcType="VARCHAR" property="onlinePerformance" />
<result column="no_owner_store" jdbcType="INTEGER" property="noOwnerStore" />
<result column="store_widget_id" jdbcType="INTEGER" property="storeWidgetId" /> <result column="store_widget_id" jdbcType="INTEGER" property="storeWidgetId" />
<result column="member_card_auth" jdbcType="VARCHAR" property="memberCardAuth" /> <result column="member_card_auth" jdbcType="VARCHAR" property="memberCardAuth" />
<result column="goods_area_auth" jdbcType="VARCHAR" property="goodsAreaAuth" /> <result column="goods_area_auth" jdbcType="VARCHAR" property="goodsAreaAuth" />
...@@ -14,7 +15,7 @@ ...@@ -14,7 +15,7 @@
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
data_auth_id, data_auth_name, enterprise_id, online_performance, store_widget_id, data_auth_id, data_auth_name, enterprise_id, online_performance, no_owner_store, store_widget_id,
member_card_auth, goods_area_auth, status, create_time, update_time member_card_auth, goods_area_auth, status, create_time, update_time
</sql> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
...@@ -29,11 +30,11 @@ ...@@ -29,11 +30,11 @@
</delete> </delete>
<insert id="insert" parameterType="com.gic.cloud.entity.TabSysDataAuth" useGeneratedKeys="true" keyProperty="dataAuthId"> <insert id="insert" parameterType="com.gic.cloud.entity.TabSysDataAuth" useGeneratedKeys="true" keyProperty="dataAuthId">
insert into tab_sys_data_auth (data_auth_id, data_auth_name, enterprise_id, insert into tab_sys_data_auth (data_auth_id, data_auth_name, enterprise_id,
online_performance, store_widget_id, member_card_auth, online_performance, no_owner_store, store_widget_id, member_card_auth,
goods_area_auth, status, create_time, goods_area_auth, status, create_time,
update_time) update_time)
values (#{dataAuthId,jdbcType=INTEGER}, #{dataAuthName,jdbcType=VARCHAR}, #{enterpriseId,jdbcType=INTEGER}, values (#{dataAuthId,jdbcType=INTEGER}, #{dataAuthName,jdbcType=VARCHAR}, #{enterpriseId,jdbcType=INTEGER},
#{onlinePerformance,jdbcType=VARCHAR}, #{storeWidgetId,jdbcType=INTEGER}, #{memberCardAuth,jdbcType=VARCHAR}, #{onlinePerformance,jdbcType=VARCHAR}, #{noOwnerStore,jdbcType=INTEGER}, #{storeWidgetId,jdbcType=INTEGER}, #{memberCardAuth,jdbcType=VARCHAR},
#{goodsAreaAuth,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{goodsAreaAuth,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP}) #{updateTime,jdbcType=TIMESTAMP})
</insert> </insert>
...@@ -52,6 +53,9 @@ ...@@ -52,6 +53,9 @@
<if test="onlinePerformance != null"> <if test="onlinePerformance != null">
online_performance, online_performance,
</if> </if>
<if test="noOwnerStore != null">
no_owner_store,
</if>
<if test="storeWidgetId != null"> <if test="storeWidgetId != null">
store_widget_id, store_widget_id,
</if> </if>
...@@ -84,6 +88,9 @@ ...@@ -84,6 +88,9 @@
<if test="onlinePerformance != null"> <if test="onlinePerformance != null">
#{onlinePerformance,jdbcType=VARCHAR}, #{onlinePerformance,jdbcType=VARCHAR},
</if> </if>
<if test="noOwnerStore != null">
#{noOwnerStore,jdbcType=INTEGER},
</if>
<if test="storeWidgetId != null"> <if test="storeWidgetId != null">
#{storeWidgetId,jdbcType=INTEGER}, #{storeWidgetId,jdbcType=INTEGER},
</if> </if>
...@@ -116,6 +123,9 @@ ...@@ -116,6 +123,9 @@
<if test="onlinePerformance != null"> <if test="onlinePerformance != null">
online_performance = #{onlinePerformance,jdbcType=VARCHAR}, online_performance = #{onlinePerformance,jdbcType=VARCHAR},
</if> </if>
<if test="noOwnerStore != null">
no_owner_store = #{noOwnerStore,jdbcType=INTEGER},
</if>
<if test="storeWidgetId != null"> <if test="storeWidgetId != null">
store_widget_id = #{storeWidgetId,jdbcType=INTEGER}, store_widget_id = #{storeWidgetId,jdbcType=INTEGER},
</if> </if>
...@@ -142,6 +152,7 @@ ...@@ -142,6 +152,7 @@
set data_auth_name = #{dataAuthName,jdbcType=VARCHAR}, set data_auth_name = #{dataAuthName,jdbcType=VARCHAR},
enterprise_id = #{enterpriseId,jdbcType=INTEGER}, enterprise_id = #{enterpriseId,jdbcType=INTEGER},
online_performance = #{onlinePerformance,jdbcType=VARCHAR}, online_performance = #{onlinePerformance,jdbcType=VARCHAR},
no_owner_store = #{noOwnerStore,jdbcType=INTEGER},
store_widget_id = #{storeWidgetId,jdbcType=INTEGER}, store_widget_id = #{storeWidgetId,jdbcType=INTEGER},
member_card_auth = #{memberCardAuth,jdbcType=VARCHAR}, member_card_auth = #{memberCardAuth,jdbcType=VARCHAR},
goods_area_auth = #{goodsAreaAuth,jdbcType=VARCHAR}, goods_area_auth = #{goodsAreaAuth,jdbcType=VARCHAR},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment