请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
yzm128012(uid:2049335)
职业资格认证:尚未取得认证
  •  SQL 中 to_char(SORTRESTIMESTAMP,"+"'"+"yyyy-mm-dd hh24:mi:ss"+"')"+" between "+"'"+starttime+"'"+" and "+ "'"+endtime+"'" 不起作用SORTRESTIMESTAMP为oracle 时间戳字段TIMESTAMP(6),如果SORTRESTIMESTAMP为时间字段 OKSQL 代码片段:WHERE CMDSTATUS=70 AND SORTRESULTSORTER='Successful Sort.' AND PHYSICALSORTERCODE='DSPSORTER' and1=1 ${if(len(barcode)> 0,"and  barcode ='"+barcode+"'", "and to_char(SORTRESTIMESTAMP,"+"'"+"yyyy-mm-dd hh24:mi:ss"+"')"+" between "+"'"+starttime+"'"+" and "+ "'"+endtime+"'")                 }
  • 决策报表报表块分页,&A5 % 5 = 0结果是每一条记录分为一页
  • SELECT a.longbarcode ,e.materialname 条码品牌,b.logisticsid 物流号,b.inshiftid 班次,b.boxid 码垛次序  , a.fxjid 封箱机号,a.laneno 分拣道号,a.inserttime 一号工程码打码时间 ,c.createtime 物流建立时间,b.producetime 码垛时间,c.intime 上架时间,c.nowposition 位置,c.lane 排,c.bay 列,c.floor 层,a.orderstatusFROM (SELECT longbarcode,inserttime,fxjid,laneno,orderstatus FROM T_ARTICALINPICK_INTF where 1=1 ${if(len(barcode)> 0,"and  longbarcode ='"+barcode+"'",  if((len(fxjid)==0) && (len(brandcode)==0),       "",       if(len(fxjid)==0 ,         "and substr(longbarcode,0,16)='"+brandcode+"'",         if(len(brandcode)==0,          "and fxjid='"+fxjid+"'",          "and substr(longbarcode,0,16)='"+brandcode+"'"+"and fxjid='"+fxjid+"'" )        )    )+"and to_char(inserttime,"+"'"+"yyyy-mm-dd hh24:mi:ss"+"')"+" between "+"'"+starttime +"'"+" and"+ "'"+endtime+"'"  )} )  aLEFT JOIN( select *  from ( SELECT barcode,logisticsid,boxid,inshiftid,producetime FROM T_UNIT UNION ALL SELECT barcode,logisticsid,boxid, inshiftid,producetime FROM T_UNITHISTORY) where 1=1 ${if(len(barcode)> 0,"and  barcode ='"+barcode+"'","and to_char(producetime,"+"'"+"yyyy-mm-dd hh24:mi:ss"+"')"+" between "+"'"+starttime +"'"+" and"+ "'"+endtime+"'")         }) b ON b.barcode=a.longbarcodeLEFT JOIN( select * from (SELECT logisticsid,materialid, createtime,intime,nowposition,lane,bay,floor  FROM T_LOGISTICSUNION ALLSELECT logisticsid,materialid, createtime,intime,nowposition,lane,bay,floor FROM T_LOGISTICSHISTORY) where 1=1 ${if(len(barcode)> 0,"", "and to_char(createtime,"+"'"+"yyyy-mm-dd hh24:mi:ss"+"')"+" between "+"'"+starttime +"'"+" and"+ "'"+endtime+"'")                 }) c ON c.logisticsid=b.logisticsid LEFT JOIN( SELECT materialname,barcode FROM c_material WHERE materialname LIKE'%)' ) e ON e.barcode=SUBSTR(a.longbarcode,1,16)order by  a.inserttime desc
  • 如何使用多个${},多重选择,需要嵌套${}select * from T_ARTICALINPICK_INTF  where 1=1 ${if(len(barcode)> 0,"and  longbarcode ='"+barcode+"'",  if((len(fxjid)==0) and (len(brandcode)==0),       "",       if(len(fxjid)==0 ,         "and substr(longbarcode,1,32)='"+brandcode+"'",         if(len(brandcode)==0,          "and fxjid='"+fxjid+"'",          "and substr(longbarcode,1,32)='"+brandcode+"'"+"and fxjid='"+fxjid+"'" )        )    )+"and to_char(inserttime,"+"'"+"yyyy-mm-dd hh24:mi:ss"+"')"+" between "+"'"+starttime +"'"+" and"+ "'"+endtime+"'"  )}调不通
  •  select * from T_ARTICALINPICK_INTF  where 1=1 ${if(len('${brandcode}') =0,"","and  longbarcode='${brandcode}'")}第一个${} 是SQL 中拼接符,第二个、第三个是参数
  • js脚本中,报表块的数据如何清空?report3.setCellValue(1,1," "); 无效 
  • 决策报表中对象间参数传递?点击视图树末端节点,获得值,作为参数,传递给其它报表var b = this.getValue();/*alert(b);*/var code=b;p0=code;alert(p0);var s=b;p1=s;p0  p1 参数

27

4

27

10

123
个人成就
内容被浏览11,697
加入社区2年97天
返回顶部