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 })