修改交班落地数据逻辑
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user