Commit 01426073 authored by 黄奎's avatar 黄奎

查询修改

parent 4d2bf3de
using Edu.Model.Entity.Course; using Edu.Common.Enum;
using Edu.Model.Entity.Course;
using Edu.Model.ViewModel.Course; using Edu.Model.ViewModel.Course;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
...@@ -28,6 +29,7 @@ SELECT * ...@@ -28,6 +29,7 @@ SELECT *
FROM RB_Class_Type FROM RB_Class_Type
WHERE 1=1 WHERE 1=1
"); ");
builder.AppendFormat(" AND {0}={1} ", nameof(RB_Class_Type_ViewModel.Status), (int)DateStateEnum.Normal);
if (query != null) if (query != null)
{ {
if (query.Group_Id > 0) if (query.Group_Id > 0)
......
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