!important
这个作用就是提高指定样式规则的应用优先权,例如
height: 417px!important;
这个作用就是讲其作为一个临时表,例如 with test as(select *…)
深入查看
PTL_SEC_VALUTION --> 组合资产估值
NVL(a,b)就是判断a是否是NULL,如果不是返回a的值,如果是返回b的值,b可以是一个固定值或者也可以是重新嵌套的函数求出的值
具体查看
PTL_SEC_VALUTION ---> 组合资产估值表
COMMENT ON TABLE PTL_SEC_VALUTION
IS
'组合资产估值';
COMMENT ON COLUMN PTL_SEC_VALUTION.CDATE
IS
'日期';
COMMENT ON COLUMN PTL_SEC_VALUTION.PORTFOLIO_ID
IS
'组合代码';
COMMENT ON COLUMN PTL_SEC_VALUTION.FINPROD_ID
IS
'金融产品代码';
COMMENT ON COLUMN PTL_SEC_VALUTION.INV_AIM
IS
'投资目的';
COMMENT ON COLUMN PTL_SEC_VALUTION.CCY
IS
'币种';
COMMENT ON COLUMN PTL_SEC_VALUTION.SHARE_AMT
IS
'数量';
COMMENT ON COLUMN PTL_SEC_VALUTION.DSC_COST_AMT
IS
'摊销总成本';
COMMENT ON COLUMN PTL_SEC_VALUTION.DSC_CLEAN_PRICE
IS
'摊销成本净价';
COMMENT ON COLUMN PTL_SEC_VALUTION.BUY_COST_AMT
IS
'买入总成本';
COMMENT ON COLUMN PTL_SEC_VALUTION.BUY_CLEAN_PRICE
IS
'买入成本净价';
COMMENT ON COLUMN PTL_SEC_VALUTION.MARKET_VALUE
IS
'市值';
COMMENT ON COLUMN PTL_SEC_VALUTION.MARKET_CLEAN_PRICE
IS
'市价净价';
COMMENT ON COLUMN PTL_SEC_VALUTION.TDY_INTINCEXP
IS
'当日应计利息';
COMMENT ON COLUMN PTL_SEC_VALUTION.TDY_DSCINCEXP_ADD
IS
'当日发生摊销收入';
COMMENT ON COLUMN PTL_SEC_VALUTION.TDY_INTINCEXP_ADD
IS
'当日发生利息收入';
COMMENT ON COLUMN PTL_SEC_VALUTION.TDY_DSCLOSS_ADD
IS
'当日发生价差收入';
COMMENT ON COLUMN PTL_SEC_VALUTION.TDY_FLOAT_INGPL_ADD
IS
'当日发生浮动盈亏';
COMMENT ON COLUMN PTL_SEC_VALUTION.TDY_FEE_ADD
IS
'当日发生费用支出';
COMMENT ON COLUMN PTL_SEC_VALUTION.ACCU_NET_VALUE
IS
'累计单位净值';
COMMENT ON COLUMN PTL_SEC_VALUTION.CREATE_USER
IS
'创建人';
COMMENT ON COLUMN PTL_SEC_VALUTION.CREATE_DEPT
IS
'创建部门';
COMMENT ON COLUMN PTL_SEC_VALUTION.CREATE_TIME
IS
'创建时间';
COMMENT ON COLUMN PTL_SEC_VALUTION.UPDATE_USER
IS
'更新人';
COMMENT ON COLUMN PTL_SEC_VALUTION.UPDATE_TIME
IS
'更新时间';
PTL_PORTFOLIO ---> 组合表
COMMENT ON TABLE PTL_PORTFOLIO
IS
'组合';
COMMENT ON COLUMN PTL_PORTFOLIO.PORTFOLIO_ID
IS
'组合代码';
COMMENT ON COLUMN PTL_PORTFOLIO.PORTFOLIO_TYPE
IS
'组合类型,管理组合、投资组合、资金单元、过渡组合';
COMMENT ON COLUMN PTL_PORTFOLIO.PORTFOLIO_NAME
IS
'组合名称';
COMMENT ON COLUMN PTL_PORTFOLIO.VDATE
IS
'组合开始日';
COMMENT ON COLUMN PTL_PORTFOLIO.MDATE
IS
'组合结束日';
COMMENT ON COLUMN PTL_PORTFOLIO.PROFIT_TYPE
IS
'收益类型,预期收益型/净值型/货币型';
COMMENT ON COLUMN PTL_PORTFOLIO.CREATE_USER
IS
'创建人';
COMMENT ON COLUMN PTL_PORTFOLIO.CREATE_DEPT
IS
'创建部门';
COMMENT ON COLUMN PTL_PORTFOLIO.CREATE_TIME
IS
'创建时间';
COMMENT ON COLUMN PTL_PORTFOLIO.UPDATE_USER
IS
'更新人';
COMMENT ON COLUMN PTL_PORTFOLIO.UPDATE_TIME
IS
'更新时间';
FIN_PRODUCT ---> 标的类金融产品
COMMENT ON TABLE FIN_PRODUCT
IS
'标的类金融产品,按金融资产类型分区。';
COMMENT ON COLUMN FIN_PRODUCT.FINPROD_ID
IS
'金融产品代码,组装规则:金融产品类型(投管分类) _ 市场代码 _通道代码,如重复,则加4位流水后缀(0001开始)';
COMMENT ON COLUMN FIN_PRODUCT.FINPROD_TYPE
IS
'金融产品类型(估值核算),债券、理财产品、基金、理财产品模板、理财产品分层';
COMMENT ON COLUMN FIN_PRODUCT.FINPROD_TYPE2
IS
'金融产品类型(投管分类),债券、理财产品、基金、理财产品模板、理财产品分层';
COMMENT ON COLUMN FIN_PRODUCT.FINPROD_ABBR
IS
'金融产品简称';
COMMENT ON COLUMN FIN_PRODUCT.FINPROD_NAME
IS
'金融产品全称';
COMMENT ON COLUMN FIN_PRODUCT.PROFIT_TYPE
IS
'收益类型,净值、预期收益、货币、结构';
COMMENT ON COLUMN FIN_PRODUCT.COUPON_SPECIES
IS
'息票品种,贴现、附息';
COMMENT ON COLUMN FIN_PRODUCT.CHL_FINPROD_ID
IS
'通道代码';
COMMENT ON COLUMN FIN_PRODUCT.FINPROD_MARKET_ID
IS
'市场代码,可以按规则生成,或者手输,不校验唯一。对于理财产品分层,同母金融产品代码对应的市场代码。';
COMMENT ON COLUMN FIN_PRODUCT.ISSUE_ID
IS
'发行认购代码';
COMMENT ON COLUMN FIN_PRODUCT.ISSUE_PRICE
IS
'发行价';
COMMENT ON COLUMN FIN_PRODUCT.ISSUE_AMT
IS
'发行规模';
COMMENT ON COLUMN FIN_PRODUCT.CCY
IS
'币种(本金币种、募集币种)';
COMMENT ON COLUMN FIN_PRODUCT.BLN_AREA
IS
'境内外';
COMMENT ON COLUMN FIN_PRODUCT.TRADE_MARKET
IS
'交易场所';
COMMENT ON COLUMN FIN_PRODUCT.CALENDAR_ID
IS
'交易日历';
COMMENT ON COLUMN FIN_PRODUCT.ISSUE_TYPE
IS
'发行方式/募集方式,公募、私募';
COMMENT ON COLUMN FIN_PRODUCT.OPERATION_TYPE
IS
'运作方式,开放式、封闭式';
COMMENT ON COLUMN FIN_PRODUCT.ENTRUST_TYPE
IS
'委托方式,单一、集合';
COMMENT ON COLUMN FIN_PRODUCT.ENTRUSTER
IS
'委托方,对于理财产品存各分行,对资产存推荐分行';
COMMENT ON COLUMN FIN_PRODUCT.TRUSTEE_ID
IS
'托管人';
COMMENT ON COLUMN FIN_PRODUCT.ISSUER
IS
'发行人,存债券发行人、基金管理人、通道管理人等';
COMMENT ON COLUMN FIN_PRODUCT.IDATE
IS
'发行日';
COMMENT ON COLUMN FIN_PRODUCT.VDATE
IS
'起息日';
COMMENT ON COLUMN FIN_PRODUCT.MDATE
IS
'到期日';
COMMENT ON COLUMN FIN_PRODUCT.TERM_DAYS
IS
'期限天数,到期日-起息日';
COMMENT ON COLUMN FIN_PRODUCT.ACTMDATE
IS
'实际到期日';
COMMENT ON COLUMN FIN_PRODUCT.LIQUIDATION_DATE
IS
'清盘日';
COMMENT ON COLUMN FIN_PRODUCT.IS_CHL
IS
'是否通道产品';
COMMENT ON COLUMN FIN_PRODUCT.IS_SUS
IS
'是否永续';
COMMENT ON COLUMN FIN_PRODUCT.SUSTAINABLE_REMARK
IS
'永续条款';
COMMENT ON COLUMN FIN_PRODUCT.IS_RIGHT
IS
'是否含权';
COMMENT ON COLUMN FIN_PRODUCT.CAPI_INCOME_FEATURE
IS
'本金收益特征,保本、非保本';
COMMENT ON COLUMN FIN_PRODUCT.P_FINPROD_ID
IS
'母金融产品代码';
COMMENT ON COLUMN FIN_PRODUCT.O_FINPROD_ID
IS
'原金融产品代码,发生标的转换时用';
COMMENT ON COLUMN FIN_PRODUCT.REGIST_ORG
IS
'登记托管机构,中债、上清、中证等';
COMMENT ON COLUMN FIN_PRODUCT.REMARK
IS
'备注';
COMMENT ON COLUMN FIN_PRODUCT.CREATE_USER
IS
'创建人';
COMMENT ON COLUMN FIN_PRODUCT.CREATE_DEPT
IS
'创建部门';
COMMENT ON COLUMN FIN_PRODUCT.CREATE_TIME
IS
'创建时间';
COMMENT ON COLUMN FIN_PRODUCT.UPDATE_USER
IS
'更新人';
COMMENT ON COLUMN FIN_PRODUCT.UPDATE_TIME
IS
'更新时间';
PTL_PORTFOLIO_VALUATION ---> 组合估值表
COMMENT ON TABLE PTL_PORTFOLIO_VALUATION
IS
'组合估值';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.CDATE
IS
'日期';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.PORTFOLIO_ID
IS
'组合代码';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.CCY
IS
'估值币种';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.TDY_ASSET_NETVALUE
IS
'当日资产净值';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.TDY_ASSET_VALUE
IS
'当日资产总值';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.CREATE_USER
IS
'创建人';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.CREATE_DEPT
IS
'创建部门';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.CREATE_TIME
IS
'创建时间';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.UPDATE_USER
IS
'更新人';
COMMENT ON COLUMN PTL_PORTFOLIO_VALUATION.UPDATE_TIME
IS
'更新时间';
null portFolioName,等同于null as portFolioName,即赋值为null
public static <T> List<T> asList(T... a)
public <T> List<T>
代码中一共出现了三个T,第一个是定义泛型的意思,第二个是返回的类型,第三个是参数的类型,这三个类型可以说是由参数的类型来决定的。
点击可查看详细
@RequestParam注解和@PathVariable注解的区别,从字面上可以看出前者是获取请求里边携带的参数;后者是获取请求路径里边的变量参数。
(例如:127.0.0.1/user/{userId}?userName=zhangshan,userId是路径上的变量,userName才是请求参数信息)
点击查看详细
基本语法
(parameters) -> expression或(parameters) ->{ statements;}
简单例子
// 1. 不需要参数,返回值为 5
() -> 5
// 2. 接收一个参数(数字类型),返回其2倍的值
x -> 2 * x
// 3. 接受2个参数(数字),并返回他们的差值
(x, y) -> x – y
// 4. 接收2个int型整数,返回他们的和
(int x, int y) -> x + y
// 5. 接受一个 string 对象,并在控制台打印,不返回任何值(看起来像是返回void)
(String s) -> System.out.print(s)
详细查看