From 4d690f6eb008ae70bc0bc66915570bc63ca959ca Mon Sep 17 00:00:00 2001 From: cjy Date: Tue, 29 Oct 2024 19:18:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DS.Module.ExcelModule/ExcelService.cs | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/ds-wms-service/DS.Module.ExcelModule/ExcelService.cs b/ds-wms-service/DS.Module.ExcelModule/ExcelService.cs index 17e35091..90026e32 100644 --- a/ds-wms-service/DS.Module.ExcelModule/ExcelService.cs +++ b/ds-wms-service/DS.Module.ExcelModule/ExcelService.cs @@ -82,18 +82,19 @@ namespace DS.Module.ExcelModule { var columnSet = req.ColumnSets[n]; var key = columnSet.DataIndex; - if (temp[key].ObjToString().ToLower()== "false") - { - info.Add(columnSet.Title, "否"); - } - if (temp[key].ObjToString().ToLower() == "true") - { - info.Add(columnSet.Title, "是"); - } - else - { - info.Add(columnSet.Title, temp[key]); - } + info.Add(columnSet.Title, temp[key]); + //if (temp[key].ObjToString().ToLower()== "false") + //{ + // info.Add(columnSet.Title, "否"); + //} + //if (temp[key].ObjToString().ToLower() == "true") + //{ + // info.Add(columnSet.Title, "是"); + //} + //else + //{ + // info.Add(columnSet.Title, temp[key]); + //} } values.Add(info); }