diff --git a/ruoyi-ui/src/views/benyi/themetermplan/index.vue b/ruoyi-ui/src/views/benyi/themetermplan/index.vue index d1384e766..e63c1fe60 100644 --- a/ruoyi-ui/src/views/benyi/themetermplan/index.vue +++ b/ruoyi-ui/src/views/benyi/themetermplan/index.vue @@ -115,7 +115,7 @@ > <template slot-scope="scope"> <router-link - :to="'/benyi_course/themetermplan/data/' + scope.row.id" + :to="'/benyi_course/themetermplanprint/table/' + scope.row.id" class="link-type" > <span>{{ scope.row.name }}</span> diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByMathPlanMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByMathPlanMapper.xml index 3f56bedf5..aae22bd50 100644 --- a/ruoyi/src/main/resources/mybatis/benyi/ByMathPlanMapper.xml +++ b/ruoyi/src/main/resources/mybatis/benyi/ByMathPlanMapper.xml @@ -36,6 +36,7 @@ <if test="suggest != null and suggest != ''">and suggest = #{suggest}</if> <if test="createtime != null ">and createtime = #{createtime}</if> </where> + order by createtime desc </select> <select id="selectByMathPlanById" parameterType="Long" resultMap="ByMathPlanResult"> diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByMathTermplanMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByMathTermplanMapper.xml index 6ca8adde9..6f57bf396 100644 --- a/ruoyi/src/main/resources/mybatis/benyi/ByMathTermplanMapper.xml +++ b/ruoyi/src/main/resources/mybatis/benyi/ByMathTermplanMapper.xml @@ -40,6 +40,7 @@ <if test="spyj != null and spyj != ''">and spyj = #{spyj}</if> <if test="createuserid != null ">and createuserid = #{createuserid}</if> </where> + order by createtime desc </select> <select id="selectByMathTermplanById" parameterType="String" resultMap="ByMathTermplanResult"> diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByThemeTermplanMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByThemeTermplanMapper.xml index db11c98bf..92217f141 100644 --- a/ruoyi/src/main/resources/mybatis/benyi/ByThemeTermplanMapper.xml +++ b/ruoyi/src/main/resources/mybatis/benyi/ByThemeTermplanMapper.xml @@ -40,6 +40,7 @@ <if test="sptime != null ">and sptime = #{sptime}</if> <if test="shyj != null and shyj != ''">and shyj = #{shyj}</if> </where> + order by createtime desc </select> <select id="selectByThemeTermplanById" parameterType="String" resultMap="ByThemeTermplanResult">