29 lines
752 B
C#
29 lines
752 B
C#
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 ProgramButton: RoadFlowRepository<RoadFlow.Model.rf_programbutton>,IProgramButton, ITransient
|
|
{
|
|
/// <summary>
|
|
/// 按programId获取
|
|
/// </summary>
|
|
/// <param name="programId"></param>
|
|
/// <returns></returns>
|
|
public List<Model.rf_programbutton> GetAllByProgramId(string programId)
|
|
{
|
|
return this.GetListBy(x => x.ProgramId == programId).ToList();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|