up
This commit is contained in:
@@ -44,11 +44,11 @@
|
||||
|
||||
<!-- 门诊号 查询条件-->
|
||||
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != ''">
|
||||
AND e.bus_no LIKE CONCAT('%',#{encounterBusNo}, '%')
|
||||
AND e.bus_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.encounterBusNo}, '%')
|
||||
</if>
|
||||
<!-- 处方号 查询条件-->
|
||||
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != ''">
|
||||
AND sr.prescription_no LIKE CONCAT('%',#{prescriptionNo}, '%')
|
||||
AND sr.prescription_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.prescriptionNo}, '%')
|
||||
</if>
|
||||
|
||||
<!-- 手机号 查询条件-->
|
||||
@@ -94,12 +94,12 @@
|
||||
|
||||
<!-- 门诊号 查询条件-->
|
||||
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != null and OutpatientSkinTestRecordSearchParam.encounterBusNo != ''">
|
||||
AND e.bus_no LIKE CONCAT('%',#{encounterBusNo}, '%')
|
||||
AND e.bus_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.encounterBusNo}, '%')
|
||||
</if>
|
||||
|
||||
<!-- 处方号 查询条件-->
|
||||
<if test="OutpatientSkinTestRecordSearchParam != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != null and OutpatientSkinTestRecordSearchParam.prescriptionNo != ''">
|
||||
AND sr.prescription_no LIKE CONCAT('%',#{prescriptionNo}, '%')
|
||||
AND sr.prescription_no LIKE CONCAT('%',#{OutpatientSkinTestRecordSearchParam.prescriptionNo}, '%')
|
||||
</if>
|
||||
|
||||
<!-- 手机号 查询条件-->
|
||||
|
||||
Reference in New Issue
Block a user