Browse Source

修改项目查询

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

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

@@ -849,7 +849,7 @@
   	left join admin d on a.task_receiver=d.id left join t_order_new e on a.order_no=e.order_no left join user f on e.buyer_id=f.id
     left join department h on e.order_dep=h.id left join (select task_id , sum(already_number) as alreadyNumber from task_progress 
     group by task_id) i on a.id=i.task_id  left join (select order_no,name from outsource_organization
-  	group by order_no ) j on a.order_no=j.order_no where e.delete_sign=0  and e.order_status not in (5,7)
+  	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">
     and a.task_receiver= #{aid,jdbcType=VARCHAR}