|
@@ -182,7 +182,7 @@
|
|
|
AND del_flag ='0'
|
|
|
AND company_id = #{companyId}
|
|
|
</where>
|
|
|
- ORDER BY a.order_num
|
|
|
+ ORDER BY a.index_num
|
|
|
</select>
|
|
|
<select id="fingByIds" resultType="com.jeeplus.modules.projectAccessory.entity.ProjectTemplateInfo">
|
|
|
SELECT <include refid="workReviewStandardColumns"/>
|
|
@@ -198,7 +198,7 @@
|
|
|
AND company_id = #{companyId}
|
|
|
AND parent_ids like concat('%',#{parentIds},'%')
|
|
|
</where>
|
|
|
- ORDER BY a.order_num
|
|
|
+ ORDER BY a.index_num
|
|
|
</select>
|
|
|
|
|
|
<select id="findByParentIdsLike" resultType="com.jeeplus.modules.projectAccessory.entity.ProjectTemplateInfo">
|
|
@@ -208,7 +208,7 @@
|
|
|
WHERE a.del_flag = #{DEL_FLAG_NORMAL} AND (a.parent_ids LIKE
|
|
|
<if test="dbName == 'mysql'">concat('%,',#{parentIds},',%')</if>
|
|
|
OR a.id = #{id})
|
|
|
- ORDER BY a.order_num
|
|
|
+ ORDER BY a.index_num
|
|
|
</select>
|
|
|
|
|
|
<update id="updateParentIds">
|
|
@@ -219,7 +219,7 @@
|
|
|
</update>
|
|
|
|
|
|
<select id="selectOrderNum" resultType="java.lang.String">
|
|
|
- SELECT MAX(order_num) FROM project_template_structure_info WHERE parent_id = #{parentId}
|
|
|
+ SELECT MAX(index_num) FROM project_template_structure_info WHERE parent_id = #{parentId}
|
|
|
</select>
|
|
|
|
|
|
<select id="getByDetail" resultType="com.jeeplus.modules.projectAccessory.entity.ProjectTemplateInfo">
|