| | |
| | | t.comp_id, |
| | | t1.contract_no, |
| | | t2.company_name AS busGuestName, |
| | | t.bw_request_result, |
| | | t1.party_b |
| | | FROM |
| | | contract_invoice t |
| | |
| | | <if test="queryDTO.invoiceCategory !=null and queryDTO.invoiceCategory !=''"> |
| | | AND t.invoice_category = #{queryDTO.invoiceCategory} |
| | | </if> |
| | | <if test="queryDTO.bwRequestResult !=null and queryDTO.bwRequestResult !=''"> |
| | | AND t.bw_request_result = #{queryDTO.bwRequestResult} |
| | | </if> |
| | | <if test="queryDTO.contractNo !=null and queryDTO.contractNo !=''"> |
| | | AND t1.contract_no LIKE CONCAT('%', #{queryDTO.contractNo}, '%') |
| | | </if> |