/** * @param innerCode * @return */ private String getValue1(int innerCode,Function<FP_BasicInfoRow, String> params) { SecuMainAllRow secuMainAllRow = SecuMainAll.of().enumrator().getRowByInnerCode(innerCode); if(secuMainAllRow!=null){ FP_BasicInfoRow fp_BasicInfoRow = FP_BasicInfo.of().enumrator().getRowByFinProCode(secuMainAllRow.getGilCode()); if(fp_BasicInfoRow!=null){ FP_IndicatorRow fp_IndicatorRow = FP_Indicator.of().enumrator().getRowByGilCode(params.apply(fp_BasicInfoRow)); if(fp_IndicatorRow!=null){ return fp_IndicatorRow.getChiName(); } } } return SVALUE; }
@ApiInfo(Name="BFP_INFO_SUBUNIT",Code={"41187"},ZhDescription="认购本金币种",ResultType=EFieldType.STRING,ApiType=APIType.Bank) @APIParam(ZhName="内部编码",EnName="InnerCode",ParamType=EFieldType.INT,Required=true,Info="内部编码") public String getBFP_INFO_SUBUNIT(int innerCode){ return getValue1(innerCode,FP_BasicInfoRow::getCurrencyUnit); }
标签:Function,fp,return,FP,BasicInfoRow,IndicatorRow,apply,innerCode From: https://www.cnblogs.com/ZhangZiXue/p/17492907.html