string strTripID = string.Join(",", model.TripList.Select(s => "'" + s.TripID + "'"));   

var togetherList = itogetheremployeeservice.GetTogetherEmployee(strTripID);

    public List<T_TOGETHEREMPLOYEE> GetTogetherEmployee(string bizID)
    {
        var tmpList = Filter(item => bizID.Contains(item.BizID)).ToList();
        return tmpList;
    }




string strTripID = string.Join(",", returnValue.TripList.Select(s => "'" + s.TripID + "'"));
string sqlStr = " select * from T_TOGETHEREMPLOYEE where BizID in (" + strTripID + ") ";
var togetherList = AppBaseServiceHelper.GetList<TOGETHEREMPLOYEEModel>(sqlStr, null);

相关文章:

  • 2022-02-06
  • 2022-02-12
  • 2022-12-23
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
相关资源
相似解决方案