diff --git a/openhis-server/openhis-application/src/main/resources/mapper/outpatientmanage/OutpatientManageMapper.xml b/openhis-server/openhis-application/src/main/resources/mapper/outpatientmanage/OutpatientManageMapper.xml index b7e36897..6e7c1d37 100644 --- a/openhis-server/openhis-application/src/main/resources/mapper/outpatientmanage/OutpatientManageMapper.xml +++ b/openhis-server/openhis-application/src/main/resources/mapper/outpatientmanage/OutpatientManageMapper.xml @@ -44,11 +44,11 @@ - AND e.bus_no LIKE CONCAT('%',#{encounterBusNo}, '%') + AND e.bus_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.encounterBusNo}, '%') - AND sr.prescription_no LIKE CONCAT('%',#{prescriptionNo}, '%') + AND sr.prescription_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.prescriptionNo}, '%') @@ -94,12 +94,12 @@ - AND e.bus_no LIKE CONCAT('%',#{encounterBusNo}, '%') + AND e.bus_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.encounterBusNo}, '%') - AND sr.prescription_no LIKE CONCAT('%',#{prescriptionNo}, '%') + AND sr.prescription_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.prescriptionNo}, '%')