Commit 0cc5d391 by liuzz

模板对照sql

parent 02c07e5e
......@@ -21,7 +21,7 @@
left join meta_field mf on df.field = mf.id
left join (select *
from data_field
where template_id = #{param.oldTemplateId} and field is not null) df2
where template_id = #{param.oldTemplateId} and field is not null group by field) df2
on df2.field = df.field
<where>
<if test="param.templateId != null and param.templateId != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment