wangliang 1 rok pred
rodič
commit
8c1c7f26c3

+ 2 - 2
sop-business/src/main/resources/mapper/TBDingApplyMapper.xml

@@ -25,7 +25,7 @@
             </foreach>
         </if>
         and ari.TYPE_ = 'candidate'
-        <include refid="flowTaskUnDoneListFoot" />) t order by tbda.ding_exception_no desc
+        <include refid="flowTaskUnDoneListFoot" />) t order by t.code desc
     </select>
 
     <sql id="flowTaskUnDoneListHeader">
@@ -274,6 +274,6 @@
                 </choose>
             </if>
         </where>
-            order by tbda.ding_exception_no desc
+            order by t.code desc
     </select>
 </mapper>

+ 1 - 0
sop-business/src/main/resources/mapper/TBSopInfoMapper.xml

@@ -134,6 +134,7 @@
                     </otherwise>
                 </choose>
             </if>
+                and tffa.status <![CDATA[ <> ]]> 'END'
             <!--and EXISTS(
             select t.* from(select cast(art.PROC_INST_ID_ as Decimal(24)) as flowId
             from