fix(ccdi-project): 添加updateParamValue方法到Mapper接口

This commit is contained in:
wkc
2026-03-09 08:53:19 +08:00
parent afbaa34500
commit d825d3649a

View File

@@ -45,4 +45,20 @@ public interface CcdiModelParamMapper extends BaseMapper<CcdiModelParam> {
* @return 影响行数
*/
int insertBatch(@Param("list") List<CcdiModelParam> list);
/**
* 更新参数值
*
* @param projectId 项目ID
* @param modelCode 模型编码
* @param paramCode 参数编码
* @param paramValue 参数值
* @return 影响行数
*/
int updateParamValue(
@Param("projectId") Long projectId,
@Param("modelCode") String modelCode,
@Param("paramCode") String paramCode,
@Param("paramValue") String paramValue
);
}