修改交班落地数据逻辑
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}
|
||||
update tb_shop_user_duty set status = '1' , login_out_time = now() where shop_id = #{shopId} and trade_day = #{day} and status = '0'
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -913,6 +913,7 @@
|
||||
AND product_id = #{productId}
|
||||
AND `status` = 'create'
|
||||
and master_id = #{masterId}
|
||||
and trade_day = #{day}
|
||||
group by shop_id,product_id
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user