请上传宽度大于 1200px,高度大于 164px 的封面图片
    调整图片尺寸与位置
    滚轮可以放大缩小图片尺寸,按住图片拖动可调整位置,多余的会自动被裁剪掉
取消
用户W5SzQ5073(uid:271779)
职业资格认证:尚未取得认证
  • SELECT ${IF(LEN($AREA)>0,"地市,","")}${IF(LEN($XMFL)>0,"项目段,","")}(-),(-),(-),(-),(-),(-),(-),(-),(-),(-),(-),(-),(-)FROM(SELECT * FROM(SELECT ${IF(LEN($AREA)>0,"地市,","")}${IF(LEN($XMFL)>0,"项目段,","")}SUM(case when  科目描述 like'%实际%' then 本币余额  else 0 end)/10000  as ,SUM(case when  科目描述 like'%暂估%'   then 本币余额  else 0 end)/10000  as ,SUM(case when  <> '未核销收款'  then 本币余额  else 0 end)/10000  as ,SUM(case when <> '未核销收款'  then else 0 end)/10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0  end )/10000 as ,SUM(case when <> '未核销收款'  then  else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0 end) /10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0 end)/10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000  as ,SUM(case when <> '未核销收款'  then else 0 end )as   FROM 应收预收账龄余额表 where left(,4)='1131' and 来源='应收账款'   and 日期='2023-03-23'  and 公司段说明='分公司'  ${IF(LEN(AREA)>0," AND 地市 in ('"+AREA+"')","")}  ${IF(LEN(XMFL)>0," AND 项目段 in ('"+XMFL+"')","")}   ${IF(LEN(XMFL)>0&&LEN(AREA)>0," group by 地市,项目段","")}  ${IF(LEN(XMFL)>0&&LEN(AREA)=0," group by 项目段","")}  ${IF(LEN(XMFL)=0&&LEN(AREA)>0," group by 地市","")}) a  left JOIN  ( SELECT${IF(LEN($AREA)>0,"地市,","")}${IF(LEN($XMFL)>0,"项目段,","")}SUM(case when  科目描述 like'%实际%' then 本币余额  else 0 end)/10000  as ,SUM(case when  科目描述 like'%暂估%'   then 本币余额  else 0 end)/10000  as ,SUM(case when  <> '未核销收款'  then 本币余额  else 0 end)/10000  as ,SUM(case when <> '未核销收款'  then else 0 end)/10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0  end )/10000 as ,SUM(case when <> '未核销收款'  then  else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0 end) /10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000 as ,SUM(case when <> '未核销收款'  then else 0 end)/10000 as ,SUM(case when <> '未核销收款'  then else 0 end )/10000  as ,SUM(case when <> '未核销收款'  then else 0 end )as   FROM 应收预收账龄余额表 where left(,4)='1131' and 来源='应收账款'   and 日期='2023-02-27'  and 公司段说明='分公司'  ${IF(LEN(AREA)>0," AND 地市 in ('"+AREA+"')","")}  ${IF(LEN(XMFL)>0," AND 项目段 in ('"+XMFL+"')","")}   ${IF(LEN(XMFL)>0&&LEN(AREA)>0," group by 地市,项目段","")}  ${IF(LEN(XMFL)>0&&LEN(AREA)=0," group by 项目段","")}  ${IF(LEN(XMFL)=0&&LEN(AREA)>0," group by 地市","")}) b  on  ${IF(LEN(XMFL)>0&&LEN(AREA)>0," a.地市=b.地区,a.项目段=b.项目类","")}  ${IF(LEN(XMFL)>0&&LEN(AREA)=0," group by a.项目段=b.项目类","")}  ${IF(LEN(XMFL)=0&&LEN(AREA)>0," group by a.地市=b.地区","")})main 
  • sql('Szgc_Data',"select MAX(日期) from 应收预收账龄余额表  where LEFT(日期,7)='"+format($TD,"yyyy-MM")+"'",1,1)
  • 帆软if怎改再多套一层判断,满足B单元,取AV地市关键字,AV取不到同样满足B,取J列单元格地市关键字,满足B单元,AV,J都取不到则返回‘本级’,不满足B的条件则就返回‘其他’?IF(B4="建设有限公司分公司",IF(FIND("南宁",AV4) != 0,"南宁",IF(FIND("桂林",AV4) != 0,"桂林",IF(FIND("柳州",AV4) != 0,"柳州",IF(FIND("玉林",AV4) != 0,"玉林",IF(FIND("百色",AV4) != 0,"百色",IF(FIND("河池",AV4) != 0,"河池",IF(FIND("贵港",AV4) != 0,"贵港",IF(FIND("钦州",AV4) != 0,"钦州",IF(FIND("梧州",AV4) != 0,"梧州",IF(FIND("北海",AV4) != 0,"北海",IF(FIND("崇左",AV4) != 0,"崇左",IF(FIND("来宾",AV4) != 0,"来宾",IF(FIND("贺州",AV4) != 0,"贺州",IF(FIND("防城",AV4) != 0,"防城","本级")))))))))))))),"其他")
  • 十万级左右的数据导入清洗,有什么好的解决方案?

97

0

97

10

个人成就
内容被浏览26,351
加入社区5年26天
返回顶部