|
|
@ -10,9 +10,6 @@
|
|
|
|
FROM trace_record tr
|
|
|
|
FROM trace_record tr
|
|
|
|
LEFT JOIN trace_record_detail trd ON trd.recordIdFk = tr.id) trmid ON trmid.recordCode = tor.recordCodeFk
|
|
|
|
LEFT JOIN trace_record_detail trd ON trd.recordIdFk = tr.id) trmid ON trmid.recordCode = tor.recordCodeFk
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="id != '' and id != null">
|
|
|
|
|
|
|
|
and id = #{id}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="udiCode != '' and udiCode != null">
|
|
|
|
<if test="udiCode != '' and udiCode != null">
|
|
|
|
and udiCode = #{udiCode}
|
|
|
|
and udiCode = #{udiCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|