init commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using Furion.DependencyInjection;
|
||||
using Microsoft.Extensions.Caching.Memory;
|
||||
using Microsoft.Extensions.Localization;
|
||||
using RoadFlow.Utility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RoadFlow.Data
|
||||
{
|
||||
public class ProgramQuery: RoadFlowRepository<RoadFlow.Model.rf_programquery>, IProgramQuery, ITransient
|
||||
{
|
||||
/// <summary>
|
||||
/// 按programId获取
|
||||
/// </summary>
|
||||
/// <param name="programId"></param>
|
||||
/// <returns></returns>
|
||||
public List<Model.rf_programquery> GetAllByProgramId(string programId)
|
||||
{
|
||||
return this.GetListBy(x => x.ProgramId == programId).ToList();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user