Commit 8dff1e95 by wnb0128

车家智能数据服务开发 场景模板名字相同校验--think.wang

1 parent 5a93ef5f
...@@ -445,6 +445,9 @@ ...@@ -445,6 +445,9 @@
<if test="userId != null and userId != ''"> <if test="userId != null and userId != ''">
and t.user_id = #{userId,jdbcType=BIGINT} and t.user_id = #{userId,jdbcType=BIGINT}
</if> </if>
<if test="sceneName != null and sceneName != ''">
and t.scene_name = #{sceneName,jdbcType=VARCHAR}
</if>
</where> </where>
order by t.create_time desc order by t.create_time desc
</select> </select>
......
...@@ -472,6 +472,9 @@ ...@@ -472,6 +472,9 @@
<if test="status != null"> <if test="status != null">
and t.status = #{status,jdbcType=TINYINT} and t.status = #{status,jdbcType=TINYINT}
</if> </if>
<if test="sceneName != null and sceneName != ''">
and t.scene_name = #{sceneName,jdbcType=VARCHAR}
</if>
</where> </where>
order by t.create_time desc order by t.create_time desc
</select> </select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!