WH01243 пре 1 година
родитељ
комит
a84044eb0e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      clueSync/jobutil.go

+ 1 - 1
clueSync/jobutil.go

@@ -469,7 +469,7 @@ func CalculateProportion(deptNameMap map[string]interface{}) int64 {
 	sum(1) as  count
 FROM
 	order_work a
-	INNER JOIN approval_record b ON a.creator_time > "%s" 
+	INNER JOIN approval_record b ON a.creator_time >= "%s" 
 	AND FIND_IN_SET( a.department_no ,  "%s") 
 	AND a.work_order_no = b.work_order_no
 	and  (b.new_status!= 1 or  b.new_status   is null )