|
@@ -7,26 +7,32 @@
|
|
|
<resultMap type="com.zglc.kg.entity.AlgorithmEntity" id="algorithmMap">
|
|
|
<result property="id" column="id"/>
|
|
|
<result property="algorithm_type" column="algorithm_type"/>
|
|
|
- <result property="algorithm_title" column="algorithm_title"/>
|
|
|
- <result property="algorithm_method_name" column="algorithm_method_name"/>
|
|
|
+ <result property="algorithm_name" column="algorithm_name"/>
|
|
|
<result property="algorithm_format" column="algorithm_format"/>
|
|
|
- <result property="algorithm_des" column="algorithm_des"/>
|
|
|
+ <result property="device_name" column="device_name"/>
|
|
|
<result property="create_time" column="create_time"/>
|
|
|
- <result property="create_user" column="create_user"/>
|
|
|
- <result property="is_enable" column="is_enable"/>
|
|
|
- <result property="parent_id" column="parent_id"/>
|
|
|
- <result property="is_fusion_method" column="is_fusion_method"/>
|
|
|
- <result property="assess_method" column="assess_method"/>
|
|
|
- <result property="assess_model" column="assess_model"/>
|
|
|
- <result property="environment_load" column="environment_load"/>
|
|
|
- <result property="show_type" column="show_type"/>
|
|
|
- <result property="r_type" column="r_type"/>
|
|
|
- <result property="m_type" column="m_type"/>
|
|
|
- <result property="data_file_path" column="data_file_path"/>
|
|
|
- <result property="is_zh" column="is_zh"/>
|
|
|
- <result property="apply_type" column="apply_type"/>
|
|
|
- <result property="is_open" column="is_open"/>
|
|
|
- <result property="is_algorithm_model" column="is_algorithm_model"/>
|
|
|
+ <result property="algorithm_path" column="algorithm_path"/>
|
|
|
+ <result property="remarks" column="remarks"/>
|
|
|
+<!-- <result property="algorithm_title" column="algorithm_title"/>-->
|
|
|
+<!-- <result property="algorithm_method_name" column="algorithm_method_name"/>-->
|
|
|
+<!-- <result property="algorithm_format" column="algorithm_format"/>-->
|
|
|
+<!-- <result property="algorithm_des" column="algorithm_des"/>-->
|
|
|
+<!-- <result property="create_time" column="create_time"/>-->
|
|
|
+<!-- <result property="create_user" column="create_user"/>-->
|
|
|
+<!-- <result property="is_enable" column="is_enable"/>-->
|
|
|
+<!-- <result property="parent_id" column="parent_id"/>-->
|
|
|
+<!-- <result property="is_fusion_method" column="is_fusion_method"/>-->
|
|
|
+<!-- <result property="assess_method" column="assess_method"/>-->
|
|
|
+<!-- <result property="assess_model" column="assess_model"/>-->
|
|
|
+<!-- <result property="environment_load" column="environment_load"/>-->
|
|
|
+<!-- <result property="show_type" column="show_type"/>-->
|
|
|
+<!-- <result property="r_type" column="r_type"/>-->
|
|
|
+<!-- <result property="m_type" column="m_type"/>-->
|
|
|
+<!-- <result property="data_file_path" column="data_file_path"/>-->
|
|
|
+<!-- <result property="is_zh" column="is_zh"/>-->
|
|
|
+<!-- <result property="apply_type" column="apply_type"/>-->
|
|
|
+<!-- <result property="is_open" column="is_open"/>-->
|
|
|
+<!-- <result property="is_algorithm_model" column="is_algorithm_model"/>-->
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="listAll" resultMap="algorithmMap">
|
|
@@ -37,7 +43,7 @@
|
|
|
|
|
|
<select id="findByName" parameterType="String" resultMap="algorithmMap">
|
|
|
select * from t_algorithm
|
|
|
- where algorithm_title like #{name}
|
|
|
+ where algorithm_name like #{name}
|
|
|
</select>
|
|
|
|
|
|
<select id="getCount" resultType="java.lang.Integer">
|