returnthis.Where($" {columnName}>=@spBeginTime AND {columnName}<= @spEndTime",new{spBeginTime=beginTime,spEndTime=endTime}).SplitTable(tas=>tas.Where(y=>y.Date>=beginTime&&y.Date<=endTime));
returnthis.Where($" {columnName}>=@spBeginTime AND {columnName}<= @spEndTime",new{spBeginTime=beginTime,spEndTime=endTime}).SplitTable(tas=>{
Check.Exception(true,ErrorMessage.GetThrowMessage("Child objects do not support tenant methods, var childDb= Db.GetConnection(confid) ,Db is master ","Db子对象不支持租户方法,请使用主对象,例如:var childDb= Db.GetConnection(confid) Db是主对象,childDb是子对象 "));