提交 08695adf 作者: zgz

区分正式、测试数据

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