请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
难过的过(uid:1020997)
职业资格认证:FCA-FineReport | FCA-FineBI | FCP-报表交付工程师
  • 一个表中有多条数据,有结束时间和开始时间字段,现在需要利用KETTLE使里面的每一条数据在开始时间后每20分钟后执行一次,一直到结束时间,比如100分钟的话,就执行5次,另外在添加一条最开始的数据:未开始生产时20分钟清洁工作为单独一条,但是每条数据都有这个前工序
  • database_dictionary_list.zip
  • 在选择按月份时展示折线图,选择按年份时展示柱形图
  • SELECTPROJECT_NAME AS 项目,IF(LEN(PROJECT)==0,PROJECT_TYPE,YEAR_MONTHS) AS  分类,NET_PROFIT_ACT AS 动态版净利润,NET_PROFIT_TAR AS 方案版净利润,NET_PROFIT_DEVIATION AS 净利润偏差,NET_INTEREST_RATE_ACT AS 动态版净利率,NET_INTEREST_RATE_TAR AS 方案版净利率,NET_INTEREST_RATE_DEVIATION AS 净利率偏差,CARGO_VALUE_ACT AS 动态版货值,CARGO_VALUE_TAR AS 方案版货值,CARGO_VALUE_DEVIATION AS 货值偏差,CARGO_COST_ACT AS 动态版成本,CARGO_COST_TAR AS 方案版成本,CARGO_COST_DEVIATION AS 成本偏差FROM IF(LEN(PROJECT)==0,DW_LR_FINANCE_INDEX_BY_PRO,DW_LR_FINANCE_INDEX_BY_PRO_MONTH)WHERE${IF(LEN(PROJECT)==0 AND TYPE !='全部项目' ,WHERE PROJECT_TYPE = '"+TYPE+"',WHERE PROJECT_NAME = '"+PROJECT+"')} ${IF(LEN(PROJECT)==0 AND TYPE ='全部项目' ,WHERE PROJECT_NAME = '"+PROJECT+"')}
  • SELECTPROJECT_NAME AS 项目,IF(LEN(PROJECT)==0,PROJECT_TYPE,YEAR_MONTHS) AS  分类,NET_PROFIT_ACT AS 动态版净利润,NET_PROFIT_TAR AS 方案版净利润,NET_PROFIT_DEVIATION AS 净利润偏差,NET_INTEREST_RATE_ACT AS 动态版净利率,NET_INTEREST_RATE_TAR AS 方案版净利率,NET_INTEREST_RATE_DEVIATION AS 净利率偏差,CARGO_VALUE_ACT AS 动态版货值,CARGO_VALUE_TAR AS 方案版货值,CARGO_VALUE_DEVIATION AS 货值偏差,CARGO_COST_ACT AS 动态版成本,CARGO_COST_TAR AS 方案版成本,CARGO_COST_DEVIATION AS 成本偏差FROM IF(LEN(PROJECT)==0,DW_LR_FINANCE_INDEX_BY_PRO,DW_LR_FINANCE_INDEX_BY_PRO_MONTH)WHERE IF(AND(LEN(PROJECT)==0,TYPE!='全部项目') ,PROJECT_TYPE = '${TYPE}',PROJECT_NAME = '${PROJECT}')IF(AND(LEN(PROJECT)==0,TYPE='全部项目') ,,PROJECT_NAME = '${PROJECT}')
  • 当只有第一个控件值时,分类为项目,当第一个和第二个控件都有值的时以月份分类,有两张表,sql怎样写,而且要使第一个控件选择为全部时显示全部项目不过滤${IF(LEN(PROJECT)=0,   "SELECT PROJECT_NAME AS 项目, PROJECT_TYPE AS 项目分期, NET_PROFIT_ACT/100000000 AS 动态版净利润, NET_PROFIT_TAR/100000000 AS 方案版净利润, NET_PROFIT_DEVIATION/100000000 AS 净利润偏差, NET_INTEREST_RATE_ACT AS 动态版净利率, NET_INTEREST_RATE_TAR AS 方案版净利率, NET_INTEREST_RATE_DEVIATION AS 净利率偏差, CARGO_VALUE_ACT/100000000 AS 动态版货值, CARGO_VALUE_TAR/100000000 AS 方案版货值, CARGO_VALUE_DEVIATION/100000000 AS 货值偏差, CARGO_COST_ACT/100000000 AS 动态版成本, CARGO_COST_TAR/100000000 AS 方案版成本, CARGO_COST_DEVIATION/100000000 AS 成本偏差FROM WR_LR_FINANCE_INDEX_BY_PROWHERE PROJECT_TYPE = '" + TYPE + "' ","SELECT DISTINCT LEFT(MDM_TIME.FYMDAY,7) AS 年月, WLFI.PROJECT_NAME AS 项目, -- WLFI.YEAR_MONTHS AS 年月, WLFI.NET_PROFIT_ACT/100000000 AS 动态版净利润, WLFI.NET_PROFIT_TAR/100000000 AS 方案版净利润, WLFI.NET_PROFIT_DEVIATION/100000000 AS 净利润偏差, WLFI.NET_INTEREST_RATE_ACT AS 动态版净利率, WLFI.NET_INTEREST_RATE_TAR AS 方案版净利率, WLFI.NET_INTEREST_RATE_DEVIATION AS 净利率偏差, WLFI.CARGO_VALUE_ACT/100000000 AS 动态版货值, WLFI.CARGO_VALUE_TAR/100000000 AS 方案版货值, WLFI.CARGO_VALUE_DEVIATION/100000000 AS 货值偏差, WLFI.CARGO_COST_ACT/100000000 AS 动态版成本, WLFI.CARGO_COST_TAR/100000000 AS 方案版成本, WLFI.CARGO_COST_DEVIATION/100000000 AS 成本偏差FROM MDM_TIMELEFT JOIN WR_LR_FINANCE_INDEX_BY_PRO_MONTH WLFI ON WLFI.YEAR_MONTHS = LEFT(MDM_TIME.FYMDAY,7)WHERE WLFI.PROJECT_NAME =  '"+ PROJECT +"' AND MDM_TIME.FYEAR = CONVERT(VARCHAR(4),GETDATE(),120)","")}

26

4

26

10

123下一页
个人成就
内容被浏览8,510
加入社区2年323天
返回顶部