大佬们,好像是我分组的位置不正确,但是我不知道怎么改,帮忙看下${if(len(oop)!=0 && oop != "00000001" && len(yg)==0 , "select xx.dwmc, sum(dm.xmdzzjf) zs from dm_jyshxxm_info dm left join xx_yxsdwjbsj xx on dm.dwh=xx.dwh where 1=1 and (dm.dwh = '" +oop+ "' or dm.lsdwh = '" +oop+ "') " + if(len(tbsj_ks) == 0,"","and tjny >= '" +tbsj_ks + "'") + if(len(tbsj_js) == 0,"","and tjny <= '" +tbsj_js + "'") group by xx.dwmc, "") } |