增加字段和模型本地缓存
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
}
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user