fix(系统设置): 项目管理选择自定义模版后再次查看发现恢复到默认

--bug=1018650 --user=李玉号 【系统设置】项目管理选择自定义模版后再次查看发现恢复到默认
https://www.tapd.cn/55049933/s/1273646
This commit is contained in:
shiziyuan9527 2022-10-24 10:57:35 +08:00 committed by lyh
parent 8c30823e87
commit 8d59b53933
1 changed files with 5 additions and 2 deletions

View File

@ -396,7 +396,7 @@
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="io.metersphere.base.domain.Project">
UPDATE project
update project
<set>
<if test="workspaceId != null">
workspace_id = #{workspaceId,jdbcType=VARCHAR},
@ -449,11 +449,14 @@
<if test="versionEnable != null">
version_enable = #{versionEnable,jdbcType=BIT},
</if>
<if test="apiTemplateId != null">
api_template_id = #{apiTemplateId,jdbcType=VARCHAR},
</if>
<if test="issueConfig != null">
issue_config = #{issueConfig,jdbcType=LONGVARCHAR},
</if>
</set>
WHERE id = #{id,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update id="updateByPrimaryKeyWithBLOBs" parameterType="io.metersphere.base.domain.Project">
UPDATE project