| | |
| | | <include refid="selectTmsPayableFeeItemVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <select id="selectTmsPayableFeeItemByDispatchNo" resultType="com.ruoyi.tms.domain.TmsPayableFeeItem"> |
| | | select tpf.system_no as payable_no,tpf.dispatch_no, thisTab.fee_type, thisTab.fee_name, thisTab.type_id, thisTab.register_time, thisTab.register_amount, thisTab.currency, thisTab.head_id, thisTab.service_provider_id, thisTab.service_provider_name, thisTab.create_time, thisTab.service_provider_type, thisTab.update_time from tms_payable_fee_item AS thisTab |
| | | left JOIN tms_payable_fee tpf on thisTab.head_id = tpf.id |
| | | where tpf.`status` != 2 and tpf.dispatch_no in |
| | | <foreach item="dispatchNo" collection="dispatchNos" open="(" separator="," close=")"> |
| | | #{dispatchNo} |
| | | </foreach> |
| | | </select> |
| | | <select id="selectTmsPayableFeeItemCount" parameterType="com.ruoyi.tms.domain.TmsPayableFeeItem" resultType="int"> |
| | | <include refid="selectTmsPayableFeeItemVoCount"/> |
| | | <where> |