|
@@ -124,8 +124,9 @@
|
|
|
scene_statue_ids=replace(replace(replace(scene_statue_ids, concat(#{sceneBzId}, ','), ''), concat(',', #{sceneBzId}), ''),#{sceneBzId}, ''),
|
|
|
</if>
|
|
|
<if test="sceneFhId != null and sceneFhId!=''">
|
|
|
- scene_generalization_ids=replace(replace(replace(scene_generalization_ids, concat(#{sceneFhId}, ','), ''), concat(',', #{sceneFhId}), ''),#{sceneFhId}, ''),
|
|
|
+ scene_generalization_ids='',
|
|
|
scene_num='0',
|
|
|
+ template_id ='',
|
|
|
</if>
|
|
|
<if test="modifyUserId != null and modifyUserId!=''">
|
|
|
modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
|
|
@@ -146,10 +147,10 @@
|
|
|
<if test="sceneBzId != null and sceneBzId != ''">
|
|
|
and scene_statue_ids like CONCAT('%',#{sceneBzId,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
+
|
|
|
<if test="sceneFhId != null and sceneFhId != ''">
|
|
|
- and scene_generalization_ids like CONCAT('%',#{sceneFhId,jdbcType=VARCHAR},'%')
|
|
|
+ and template_id =#{sceneFhId}
|
|
|
</if>
|
|
|
-
|
|
|
</update>
|
|
|
|
|
|
|
|
@@ -175,10 +176,10 @@
|
|
|
</select>
|
|
|
<select id="selectPackageFhById" parameterType="api.common.pojo.param.scene.SceneDeleteParam"
|
|
|
resultType="api.common.pojo.po.scene.ScenePackageSublistPO">
|
|
|
- select root_id,scene_num,sublist_id,
|
|
|
+ select root_id,scene_num,sublist_id
|
|
|
from simulation.scene_package_sublist
|
|
|
where is_deleted = '0'
|
|
|
- and scene_generalization_ids like CONCAT('%',#{sceneFhId,jdbcType=VARCHAR},'%')
|
|
|
+ and template_id =#{sceneFhId}
|
|
|
|
|
|
</select>
|
|
|
</mapper>
|