员工登录 重复账号问题

This commit is contained in:
2024-08-02 09:26:52 +08:00
parent 6c528e3ac6
commit cc5fea21e8
3 changed files with 8 additions and 1 deletions

View File

@@ -202,4 +202,10 @@
<select id="selectByAccount" resultMap="BaseResultMap">
select * from tb_pluss_shop_staff where account=#{account}
</select>
<select id="selectByAccountAndShopId" resultMap="BaseResultMap">
select * from tb_pluss_shop_staff where account=#{account}
<if test="shopId != null and shopId!=''">
and shop_id=#{shopId}
</if>
</select>
</mapper>