ソースを参照

Merge branch 'dev_v1.5.36.3_wh' of jianyu/datatools into hotfix/v1.5.36.3

王浩 1 ヶ月 前
コミット
3655da891d
1 ファイル変更1 行追加2 行削除
  1. 1 2
      clueSync/jobutil.go

+ 1 - 2
clueSync/jobutil.go

@@ -481,8 +481,7 @@ func CalculateProportion(deptNumb int64) int64 {
 	data := WorkOrder.SelectBySql(`SELECT
 	sum(1) as  count
 FROM
-	order_work_allocation_record  where   create_time >? and   company_dept_numb=? )
-	`, cfg.AllocationTime, deptNumb)
+	order_work_allocation_record  where   create_time >? and   company_dept_numb=? `, cfg.AllocationTime, deptNumb)
 	count := int64(0)
 	if data != nil && len(*data) > 0 {
 		count = gconv.Int64((*data)[0]["count"])