修改交班落地数据逻辑

This commit is contained in:
19991905653
2024-04-03 10:03:22 +08:00
parent 433a03ebb8
commit a2f467038b
3 changed files with 4 additions and 3 deletions

View File

@@ -222,6 +222,6 @@
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateStatusByTokenId">
update tb_shop_user_duty set status = '1' , login_out_time = now() where shop_id = #{shopId} and trade_day = #{day} and status = '0'
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>
</mapper>