From d520ce0c5e3240f7b810867ae182817e4ff2e8f3 Mon Sep 17 00:00:00 2001 From: jianweie code Date: Wed, 6 Dec 2023 15:45:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=A1=A8=E5=8D=95=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE?= =?UTF-8?q?mysql=E4=B8=8B=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IntelligentForms/CoreCmsFormSubmitRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreCms.Net.Repository/IntelligentForms/CoreCmsFormSubmitRepository.cs b/CoreCms.Net.Repository/IntelligentForms/CoreCmsFormSubmitRepository.cs index af6e3ec3..ed76dabb 100644 --- a/CoreCms.Net.Repository/IntelligentForms/CoreCmsFormSubmitRepository.cs +++ b/CoreCms.Net.Repository/IntelligentForms/CoreCmsFormSubmitRepository.cs @@ -189,7 +189,7 @@ namespace CoreCms.Net.Repository .GroupBy(p => new { p.createTime, p.formId }) .Select(p => new FormStatisticsDto() { - day = SqlFunc.MappingColumn(p.createTime, "CONVERT(varchar(100), createTime, 111)").ToString(), + day = p.createTime.ToString("yyyy-MM-dd"), nums = SqlFunc.AggregateCount(p.id), formId = p.formId })