| | |
| | | SELECT customer_name from pending_settlement_business group by customer_name |
| | | |
| | | </select> |
| | | <select id="selectPendingSettlementBusinessDispatchNos" resultType="java.lang.String"> |
| | | SELECT dispatch_no from pending_settlement_business where bill_id = #{id} |
| | | |
| | | </select> |
| | | |
| | | <!-- 新增 --> |
| | | <insert id="insertPendingSettlementBusiness" parameterType="com.ruoyi.cwgl.domain.PendingSettlementBusiness" useGeneratedKeys="true" keyProperty="id"> |
| | |
| | | #{item} |
| | | </foreach> |
| | | </update> |
| | | <update id="updatePendingSettlementBusinessByBillId"> |
| | | UPDATE pending_settlement_business set bill_name = #{billName} |
| | | where bill_id = #{id} |
| | | |
| | | </update> |
| | | |
| | | <!--删除--> |
| | | <delete id="deletePendingSettlementBusinessById" parameterType="Integer"> |
| | |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | <delete id="cancelRelevancy"> |
| | | UPDATE pending_settlement_business set bill_id = null ,bill_name = null |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | </mapper> |