Commit a2f42753 authored by 黄奎's avatar 黄奎

新增页面

parent c7377e2e
...@@ -40,7 +40,7 @@ WHERE 1=1 ...@@ -40,7 +40,7 @@ WHERE 1=1
} }
if (!string.IsNullOrEmpty(query.QMonth)) if (!string.IsNullOrEmpty(query.QMonth))
{ {
builder.AppendFormat(" AND DATE_FORMAT(A.{0},'%y/%m')= DATE_FORMAT('{1}','%y/%m') ", nameof(RB_Class_Plan_ViewModel.ClassDate), query.QMonth); builder.AppendFormat(" AND DATE_FORMAT(A.{0},'%y/%m')= DATE_FORMAT('{1}-01','%y/%m') ", nameof(RB_Class_Plan_ViewModel.ClassDate), query.QMonth);
} }
} }
return Get<RB_Class_Plan_ViewModel>(builder.ToString()).ToList(); return Get<RB_Class_Plan_ViewModel>(builder.ToString()).ToList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment