修改交班落地数据逻辑

This commit is contained in:
19991905653
2024-04-03 09:05:40 +08:00
parent 8fe9d11d99
commit 9221d56653
5 changed files with 22 additions and 4 deletions

View File

@@ -44,6 +44,10 @@
resultType="com.chaozhanggui.system.cashierservice.entity.ShopUserDuty">
select * from tb_shop_user_duty where shop_id = #{shopId} and trade_day = #{day} and token_id = #{tokenId};
</select>
<select id="selectByShopIdAndTrade"
resultType="com.chaozhanggui.system.cashierservice.entity.ShopUserDuty">
select * from tb_shop_user_duty where trade_day = #{day} and shop_id = #{shopId}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tb_shop_user_duty
where id = #{id,jdbcType=INTEGER}