feat(ccdi-project): 在Mapper XML中添加批量查询SQL

This commit is contained in:
wkc
2026-03-06 17:06:53 +08:00
parent 9f6ee35638
commit b484f1226f

View File

@@ -39,7 +39,12 @@
order by model_code
</select>
<!-- 关键:只更新 param_value 字段,使用 CASE WHEN 批量更新 -->
<!-- 根据项目ID查询所有模型参数 -->
<select id="selectByProjectId" resultType="CcdiModelParam">
<include refid="selectModelParamVo"/>
WHERE project_id = #{projectId}
ORDER BY model_code, sort_order
</select>
<update id="batchUpdateParamValues">
update ccdi_model_param
<set>