Browse Source

任务按照优先级排序

hcst_sunzhen 4 years ago
parent
commit
68f312dd65
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/cn/com/ctop/okr/mapper/xml/OkrTaskInfoMapper.xml

+ 1 - 0
src/main/java/cn/com/ctop/okr/mapper/xml/OkrTaskInfoMapper.xml

@@ -17,6 +17,7 @@
         type = #{type}
         and
         status = 1
+        order by priority
     </select>
 
     <!-- 增加任务 -->