protected EntZdgzFieldBase(EntZdgzRepository.EntZczbChangeDto entRankingDto) { EntZczbDto = entRankingDto; //服务前端缓存中分页, //SqlBuildSubQuery.Paging = $" and r between {EntZczbDto.BeginPagNum} and {EntZczbDto.EndPagNum} "; switch (EntZczbDto.UpRate) { case 1: //一年增长超过30% UpRate = " >=30 "; break; case 2: //两年增长超过20% UpRate = " >=20 "; break; case 3: //三年增长超过10% UpRate = " >=10 "; break; default: throw new Exception("重点关注企业未知查询策略命令"); } }
protected EntZdgzFactoryBase(EntZdgzRepository.EntZczbChangeDto entZczbChangeDto) { switch (entZczbChangeDto.EnumTargetField) { case EnumTargetField.Tax: EntRankFieldTypeBase = new EntZdgzFieldTypeTax(entZczbChangeDto); break; case EnumTargetField.Qjsr: EntRankFieldTypeBase = new EntZdgzFieldTypeQjsr(entZczbChangeDto); break; case EnumTargetField.Gdp: EntRankFieldTypeBase = new EntZdgzFieldTypeGdp(entZczbChangeDto); break; case EnumTargetField.Pl: throw new Exception("社会消费品零售额指标暂无"); case EnumTargetField.Gdzc: throw new Exception("全社会固定资产投资指标暂无"); case EnumTargetField.Cyry: EntRankFieldTypeBase = new EntZdgzFieldTypeCyry(entZczbChangeDto); break; case EnumTargetField.Yysr: EntRankFieldTypeBase = new EntZdgzFieldTypeYysr(entZczbChangeDto); break; case EnumTargetField.Zczj: EntRankFieldTypeBase = new EntZdgzFieldTypeZczj(entZczbChangeDto); break; case EnumTargetField.Lrze: EntRankFieldTypeBase = new EntZdgzFieldTypeLrze(entZczbChangeDto); break; case EnumTargetField.Nh: EntRankFieldTypeBase = new EntZdgzFieldTypeNh(entZczbChangeDto); break; case EnumTargetField.Sh: EntRankFieldTypeBase = new EntZdgzFieldTypeSh(entZczbChangeDto); break; default: throw new Exception("未知指标查询指令"); } }
public EntZdgzFieldTypeQjsr(EntZdgzRepository.EntZczbChangeDto entRankingDto) : base(entRankingDto) { }
public EntZdgzFactory(EntZdgzRepository.EntZczbChangeDto entZczbChangeDto) : base(entZczbChangeDto) { }
public EntZdgzFieldTypeTax(EntZdgzRepository.EntZczbChangeDto entZczbDto) : base(entZczbDto) { }