|
|
@ -3,7 +3,7 @@
|
|
|
|
<mapper namespace="com.glxp.api.dao.trace.TraceRecordMapper">
|
|
|
|
<mapper namespace="com.glxp.api.dao.trace.TraceRecordMapper">
|
|
|
|
<select id="filterTraces" parameterType="com.glxp.api.req.trace.TraceRecordRequest"
|
|
|
|
<select id="filterTraces" parameterType="com.glxp.api.req.trace.TraceRecordRequest"
|
|
|
|
resultType="com.glxp.api.res.trace.TraceRecordResponse">
|
|
|
|
resultType="com.glxp.api.res.trace.TraceRecordResponse">
|
|
|
|
SELECT tr.recordCode, tr.remark, trd.*
|
|
|
|
SELECT tr.recordCode, tr.remark,tr.createUser, trd.*
|
|
|
|
FROM trace_record_log tr
|
|
|
|
FROM trace_record_log tr
|
|
|
|
LEFT JOIN trace_product_record trd ON trd.id = tr.traceProductIdFk
|
|
|
|
LEFT JOIN trace_product_record trd ON trd.id = tr.traceProductIdFk
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|