请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
bluejq(uid:57870)
职业资格认证:尚未取得认证
  • 报表的链接在我这边应该是外网直接访问的链接吧? 直接在报表系统中点击对应报表获取如下链接? http://*.*.*.*:8080/WebReport/ReportServer?reportlet=IT%2F%5B54c1%5D%5B724c%5D%5B767b%5D%5B8bb0%5D.cpt&op=write(填报) 然后把ReportServer?改为WeiXinServer? 然后转换下? 或者我获取链接的方式不对?
  • select dense_rank() over(order by b.prod_int_qty desc , b.prod_int_val desc , a.prod_cls_num ) as prod_rand , a.owner_id , sys_unit.unit_name , a.pmc_id , pmc.pmc_name , a.prod_cls_num , prod_cls_user.prod_name , prod_cls_user.description , prod_cls_user.full_name , prod_cls_user.edition , prod_cls_user.main_type , prod_cls_user.gender , prod_cls_user.year_val , prod_cls_user.std_unit_price , prod_cls_user.input_code , a.color_name , a.color_int_qty , a.color_int_val , b.prod_int_qty , b.prod_int_val from (select sys_unit.owner_id , ori.pmc_id , prod_cls.prod_cls_num , prod_color.color_name , sum(ori_dtl.int_qty) as color_int_qty, sum(ori_dtl.int_val) as color_int_val from ori, ori_dtl , sys_unit , product , prod_cls , prod_color where ori.unit_id = ori_dtl.unit_id and ori.ori_num = ori_dtl.ori_num and ori.unit_id = sys_unit.unit_id and ori_dtl.prod_id = product.prod_id and product.prod_cls_id = prod_cls.prod_cls_id and prod_color.color_id = product.color_id and ori.cancelled = 'F' group by sys_unit.owner_id , ori.pmc_id , prod_cls.prod_cls_num , prod_color.color_name) as a inner join (select sys_unit.owner_id , ori.pmc_id , prod_cls.prod_cls_num , sum(ori_dtl.int_qty) as prod_int_qty, sum(ori_dtl.int_val) as prod_int_val from ori, ori_dtl , sys_unit , product , prod_cls where ori.unit_id = ori_dtl.unit_id and ori.ori_num = ori_dtl.ori_num and ori.unit_id = sys_unit.unit_id and ori_dtl.prod_id = product.prod_id and product.prod_cls_id = prod_cls.prod_cls_id and ori.cancelled = 'F' group by sys_unit.owner_id , ori.pmc_id , prod_cls.prod_cls_num ) as b on a.owner_id = b.owner_id and a.pmc_id = b.pmc_id and a.prod_cls_num = b.prod_cls_num left join pmc on pmc.pmc_id = a.pmc_id and pmc.unit_id = a.owner_id left join prod_cls_user on prod_cls_user.prod_cls_num = a.prod_cls_num /*prod_cls_user为视图,因为需要调用太多表而且使用频率很高,所有就做了个视图*/ left join sys_unit on a.owner_id = sys_unit.unit_id where 1=1 ${if(len(pmc_name) == 0, "", "and pmc_name in ('" + pmc_name + "')")} ${if(len(unit_name) == 0, "", "and unit_name in ('" + unit_name + "')")} ${if(len(main_type) == 0, "", "and main_type in ('" + main_type + "')")} ${if(len(full_name) == 0, "", "and full_name in ('" + full_name + "')")} /*红色部分两个参数全部是通过视图来查询出来的,目前这两个参数查询的时候比不过滤还慢*/ order by b.prod_int_qty desc , b.prod_int_val desc , a.prod_cls_num 是不是因为视图的原因才出现main_type和full_name这两个参数一旦进行过滤就慢了?
  • left join (select code_type , code , description as size_group from SYS_CODE_DTL ) as main_style on main_style.code = prod_cls.main_style and main_style.code_type = 'main_style' ${if(len(size_group) == 0, "", "and size_group in ('" +size_group + "')")} 要通过size_group内容进行过滤,发现全部是通过检索出全部内容之后再次过滤来实现,效率实在是太慢了。 该如何修改? sys_code_dtl中有N个属性字段,全部需要进行过滤的,依据为code_type对应主表的字段名
  • 25167251682517025171 查询字段的字符类型为NUMeric(4,0),通过模版参数来查询的
  • 有两个数据连接,SIE、interlink通过什么方式比较好, 通过sie-jh.stylenoinfo字段和interlink-PROD_CLS.PROD_CLS_NUM匹配

15

16

15

10

12
个人成就
内容被浏览5,275
加入社区9年353天
返回顶部