Exemplo n.º 1
0
        public IEnumerable <Glsf> GetGlifListByGroupNameDesc(GetGlifListByGroupNameDescRequestApi getGlifListByGroupNameDescRequestApi)
        {
            var where = new StringBuilder();
            where.AppendFormat("glsf.swseqno = 0");

            if (!string.IsNullOrWhiteSpace(getGlifListByGroupNameDescRequestApi.groupnm))
            {
                where.AppendFormatWithEscape(" AND glsf.groupnm BEGINS '{0}'", getGlifListByGroupNameDescRequestApi.groupnm);
            }
            if (!string.IsNullOrWhiteSpace(getGlifListByGroupNameDescRequestApi.gltitle))
            {
                where.AppendFormatWithEscape(" AND glsf.gltitle BEGINS '{0}'", getGlifListByGroupNameDescRequestApi.gltitle);
            }
            return(this.glsfRepository.GetList(where.ToString(), getGlifListByGroupNameDescRequestApi.batchsize, getGlifListByGroupNameDescRequestApi.fldlist));
        }
Exemplo n.º 2
0
 public IEnumerable <Glsf> GetGlifListByGroupNameDesc(GetGlifListByGroupNameDescRequestApi getGlifListByGroupNameDescRequestApi)
 {
     return(this.glsfService.GetGlifListByGroupNameDesc(getGlifListByGroupNameDescRequestApi));
 }