|
|
|
@ -78,7 +78,6 @@
|
|
|
|
|
|
|
|
|
|
<if test="udiwmsBasicSkPrescribeRequest.code != null and udiwmsBasicSkPrescribeRequest.code != ''">
|
|
|
|
|
and ( STOOUT_NO = #{udiwmsBasicSkPrescribeRequest.code}
|
|
|
|
|
or PHYSIC_CODE = #{udiwmsBasicSkPrescribeRequest.code}
|
|
|
|
|
or PRESCRIBE_NUMBER = #{udiwmsBasicSkPrescribeRequest.code}
|
|
|
|
|
)
|
|
|
|
|
</if>
|
|
|
|
@ -88,7 +87,6 @@
|
|
|
|
|
<if test="udiwmsBasicSkPrescribeRequest.key != null and udiwmsBasicSkPrescribeRequest.key != ''
|
|
|
|
|
and udiwmsBasicSkPrescribeRequest.databaseProductName == 'Oracle'">
|
|
|
|
|
and (STOOUT_NO like '%' || #{udiwmsBasicSkPrescribeRequest.key} || '%'
|
|
|
|
|
or PHYSIC_CODE like '%' || #{udiwmsBasicSkPrescribeRequest.key} || '%'
|
|
|
|
|
or PRESCRIBE_NUMBER like '%' || #{udiwmsBasicSkPrescribeRequest.key} || '%'
|
|
|
|
|
)
|
|
|
|
|
</if>
|
|
|
|
@ -97,9 +95,6 @@
|
|
|
|
|
and (STOOUT_NO like concat('%'
|
|
|
|
|
, #{udiwmsBasicSkPrescribeRequest.key}
|
|
|
|
|
, '%')
|
|
|
|
|
or PHYSIC_CODE like concat('%'
|
|
|
|
|
, #{udiwmsBasicSkPrescribeRequest.key}
|
|
|
|
|
, '%')
|
|
|
|
|
or PRESCRIBE_NUMBER like concat('%'
|
|
|
|
|
, #{udiwmsBasicSkPrescribeRequest.key}
|
|
|
|
|
, '%')
|
|
|
|
|