From bb5d729a62fa5e6875114018562458ea29ea1649 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期五, 17 十一月 2023 18:07:43 +0800
Subject: [PATCH] 打印入库-自制导出excel 增加对取消的统计

---
 controllers/operation_type.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/controllers/operation_type.go b/controllers/operation_type.go
index 7246617..5faabe7 100644
--- a/controllers/operation_type.go
+++ b/controllers/operation_type.go
@@ -142,7 +142,7 @@
 			list[k].FinishCount = value.Count
 		}
 		if value, ok := mapStatistics[strconv.Itoa(v.Id)+string(constvar.OperationStatus_Cancel)]; ok {
-			list[k].FinishCount = value.Count
+			list[k].CancelCount = value.Count
 		}
 	}
 	util.ResponseFormatListWithPage(c, code.Success, list, cast.ToInt(total), params.Page, params.PageSize)

--
Gitblit v1.8.0