提交 08695adf 作者: zgz

区分正式、测试数据

上级 df3fd5e5
......@@ -97,6 +97,9 @@
#{item}
</foreach>
</if>
<if test="subjectCondition.environment !=null and subjectCondition.environment !=''">
and d.environment =#{subjectCondition.environment}
</if>
<if test="subjectCondition.id !=null and subjectCondition.id !=''">
and d.id =#{subjectCondition.id}
</if>
......
......@@ -89,6 +89,9 @@
<if test="username!=null and username != ''">
and s.create_by = #{username}
</if>
<if test="environment!=null and environment != ''">
and s.environment = #{environment}
</if>
) m
inner join subject_type_map stm on m.id = stm.type_id
inner join
......@@ -103,6 +106,9 @@
<if test="username!=null and username != ''">
and s.create_by = #{username}
</if>
<if test="environment!=null and environment != ''">
and s.environment = #{environment}
</if>
) n on stm.subject_id = n.id
) x
order by x.create_time desc
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论