| | |
| | | </foreach> |
| | | </delete> |
| | | |
| | | <!--根据关联账单编号批量更新应付费用管理记录,清除关联账单编号并将状态改为0(待生成账单)--> |
| | | <update id="updatePayableFeeManagementByRelatedBillNo" parameterType="String"> |
| | | update payable_fee_management |
| | | set related_bill_no = null, status = '0', update_time = now() |
| | | where related_bill_no = #{relatedBillNo} |
| | | </update> |
| | | |
| | | <!--根据应付费用ID数组查询应付费用管理列表--> |
| | | <select id="selectPayableFeeManagementByIds" parameterType="Integer" resultMap="PayableFeeManagementResult"> |
| | | <include refid="selectPayableFeeManagementVo"/> |
| | | where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </select> |
| | | |
| | | </mapper> |