src/main/resources/mapper/sales/SalesLedgerMapper.xml
@@ -57,6 +57,8 @@ T1.tenant_id, T1.contract_amount, T1.execution_date, T1.is_pass, T1.sales_type, T2.nick_name AS entry_person_name, T1.payment_method FROM @@ -81,6 +83,9 @@ <if test="salesLedgerDto.entryDateEnd != null and salesLedgerDto.entryDateEnd != '' "> AND T1.entry_date <= DATE_FORMAT(#{salesLedgerDto.entryDateEnd},'%Y-%m-%d') </if> <if test="salesLedgerDto.isPass != null"> AND T1.is_pass =#{salesLedgerDto.isPass} </if> </where> </select> </mapper>