根据站点id逻辑删除 分润配置

This commit is contained in:
Guoqs
2025-04-03 14:09:11 +08:00
parent a86ee0d870
commit 905b5fb24d
4 changed files with 36 additions and 4 deletions

View File

@@ -51,7 +51,14 @@
update station_split_config
set del_flag = '1', update_by = #{updateBy}, update_time = #{updateTime}
where del_flag = '0'
<!--and merchant_id = #{merchantId}-->
and merchant_id = #{merchantId}
and station_id = #{stationId}
</update>
<update id="deleteByStationId">
update station_split_config
set del_flag = '1', update_by = #{updateBy}, update_time = #{updateTime}
where del_flag = '0'
and station_id = #{stationId}
</update>
</mapper>