修改会员添加报错

This commit is contained in:
韩鹏辉
2024-05-31 15:16:24 +08:00
parent 689db4cf1b
commit 70b29bd3ff
8 changed files with 70 additions and 20 deletions

View File

@@ -98,7 +98,7 @@
FROM
tb_shop_user_duty_pay
WHERE
duty_id = #{dutyId}
duty_id = #{dutyId} and type!='deposit'
</select>
<select id="selectCetoryBydutyId" resultType="java.util.Map">

View File

@@ -383,4 +383,11 @@
<select id="selectByShopIdAndDdynamicCode" resultMap="BaseResultMap">
select * from tb_shop_user where shop_id=#{shopId} and dynamic_code=#{memberAccount}
</select>
<select id="selectByShopIdAndPhone" resultMap="BaseResultMap">
select * from tb_shop_user where shop_id=#{shopId} and telephone = #{phone}
order by id desc
</select>
</mapper>