结算记录优化

This commit is contained in:
liang.chao 2024-10-15 13:39:32 +08:00
parent ae6f93ef4a
commit 440a6d5935
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectIdByProjectIdAndMonth" resultType="java.lang.String">
select id from project_month_costs
where project_id = #{projectId} and month = #{month} and cost_bearing_party = #{costBearingParty}
where project_id = #{projectId} and month = #{month}
</select>
<delete id="deleteCalcRecord" parameterType="com.bonus.sgzb.material.domain.CalMonthlyBean">
@ -101,7 +101,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<delete id="deleteCostByProjectIdAndMonth">
delete from project_month_costs
where project_id = #{projectId} and month = #{month} and cost_bearing_party = #{costBearingParty}
where project_id = #{projectId} and month = #{month}
</delete>
<delete id="deleteDetailsByProMonthCostId">
delete from project_month_detail