Procházet zdrojové kódy

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

hlf před 11 měsíci
rodič
revize
6016ae001f

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

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