增加字段和模型本地缓存

This commit is contained in:
2025-02-12 14:03:24 +08:00
parent 554286c88c
commit 58204692a6
9 changed files with 302 additions and 2 deletions

View File

@@ -167,4 +167,6 @@ public interface FieldMapper extends BaseMapper<Field> {
public Field findByFieldCnbyorganId(Map<String, Object> paramMap);
List<Field> selectFieldListByEns(@Param("ens")List<String> ens);
List<Field> getAllFieldList();
}

View File

@@ -367,6 +367,12 @@
<!-- )-->
</update>
<select id="getAllFieldList" resultType="com.fibo.ddp.common.model.datax.datamanage.Field">
select
<include refid="Base_Column"></include>
from t_field
</select>
<select id="getFieldList" parameterType="map" resultType="com.fibo.ddp.common.model.datax.datamanage.Field">
select
t.id,

View File

@@ -16,4 +16,7 @@ public interface MachineLearningModelsMapper extends BaseMapper<MachineLearningM
* @return
*/
List<MachineLearningModels> getModelsListByOrganId(@Param("organId") Integer organId, @Param("searchString") String searchString);
List<MachineLearningModels> getAllModelList();
}

View File

@@ -15,4 +15,12 @@
and (model_name like CONCAT('%',TRIM('${searchString}'),'%' ) or description like CONCAT('%',TRIM('${searchString}'),'%' ))
</if>
</select>
<select id="getAllModelList" resultType="com.fibo.ddp.common.model.strategyx.aimodel.MachineLearningModels">
select
<include refid="Base_Column_List" />
from t_machine_learning_models
where status = 1
</select>
</mapper>