修改交班数据
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
<result column="telephone" jdbcType="VARCHAR" property="telephone" />
|
||||
<result column="is_vip" jdbcType="TINYINT" property="isVip" />
|
||||
<result column="code" jdbcType="VARCHAR" property="code" />
|
||||
|
||||
<result column="dynamic_code" jdbcType="VARCHAR" property="dynamicCode" />
|
||||
<result column="is_attention" jdbcType="TINYINT" property="isAttention" />
|
||||
<result column="attention_at" jdbcType="INTEGER" property="attentionAt" />
|
||||
<result column="is_shareholder" jdbcType="TINYINT" property="isShareholder" />
|
||||
@@ -35,7 +37,7 @@
|
||||
id, amount, credit_amount, consume_amount, consume_number, level_consume, status,
|
||||
merchant_id, shop_id, user_id, parent_id, parent_level, name, head_img, sex, birth_day,
|
||||
telephone, is_vip, code, is_attention, attention_at, is_shareholder, level, distribute_type,
|
||||
sort, created_at, updated_at, mini_open_id
|
||||
sort, created_at, updated_at, mini_open_id,dynamic_code
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
@@ -377,4 +379,8 @@
|
||||
<select id="selectByUserIdAndShopId" resultMap="BaseResultMap">
|
||||
select * from tb_shop_user where user_id=#{userId} and shop_id =#{shopId}
|
||||
</select>
|
||||
|
||||
<select id="selectByShopIdAndDdynamicCode" resultMap="BaseResultMap">
|
||||
select * from tb_shop_user where shop_id=#{shopId} and dynamic_code=#{memberAccount}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user