Browse Source

外包任务派单修改

anderx 6 years ago
parent
commit
958b006398
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

+ 2 - 2
src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

@@ -851,7 +851,7 @@
     group by task_id) i on a.id=i.task_id  left join (select order_no,name from outsource_organization
   	group by order_no,name ) j on a.order_no=j.order_no where e.delete_sign=0  and e.order_status not in (5,7)
     and e.outsource= #{outsource,jdbcType=INTEGER}
-    <if test="specially == 0">
+    <if test="specially == 0 or specially == 0">
     and a.task_receiver= #{aid,jdbcType=VARCHAR}
     </if>
     <if test="orderNo != null">
@@ -890,7 +890,7 @@
     left join department h on g.department_id=h.id
     where e.delete_sign=0  and e.order_status not in (5,7)
     and e.outsource= #{outsource,jdbcType=INTEGER}
-    <if test="specially == 0">
+    <if test="specially == 0 or specially == 1">
     and a.task_receiver= #{aid,jdbcType=VARCHAR}
     </if>
     <if test="orderNo != null">