Browse Source

业绩指标计划、业绩指标考评新需求问题修改

hlf 11 months ago
parent
commit
6016ae001f

+ 1 - 1
ims-service/ims-eval/src/main/resources/mappers/EvaluationDeptBusinessAssessmentMapper.xml

@@ -65,7 +65,7 @@
                 AND edba.stage = #{stage}
             </if>
         </where>
-        order by ed.serial_number asc
+        order by edba.appraisal_year desc, ed.serial_number asc
     </select>
 
     <select id="selectEvaluationDeptBusinessAssessmentByYear" resultType="com.ims.eval.entity.EvaluationDeptBusinessAssessment">

+ 1 - 1
ims-service/ims-eval/src/main/resources/mappers/EvaluationDeptBusinessPlanMapper.xml

@@ -65,7 +65,7 @@
                 AND edbp.stage = #{stage}
             </if>
         </where>
-        order by ed.serial_number asc
+        order by edbp.appraisal_year desc, ed.serial_number asc
     </select>
 
     <select id="selectEvaluationDeptBusinessPlanByYear" resultType="com.ims.eval.entity.EvaluationDeptBusinessPlan">