添加结算打印小票

This commit is contained in:
韩鹏辉
2024-04-03 14:20:39 +08:00
parent 2c46de7e9d
commit 9b518d8426
6 changed files with 29 additions and 7 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>