This commit is contained in:
19991905653
2024-04-03 14:34:51 +08:00
8 changed files with 57 additions and 22 deletions

View File

@@ -224,4 +224,8 @@
<update id="updateStatusByTokenId">
update tb_shop_user_duty set status = '1' , login_out_time = now(),user_id = #{staffId} where shop_id = #{shopId} and trade_day = #{day} and status = '0'
</update>
<select id="selectByShopIdAndDay" resultMap="BaseResultMap">
select * from tb_shop_user_duty where trade_day = #{day} and shop_id = #{shopId} order by id desc limit 1
</select>
</mapper>