数据集是用的两个,没有共用一个,并且下拉框不手动输入直接选择是可以的,就很奇怪 条件是这个,如果每个空间单独写一个数据源就会变成手动输入可以,下拉直接点不行了 where 1=1 and a.YJLX is not null ${if(len(XH) == 0,"","and a.XH = '" + XH + "'")}${if(len(XM) == 0,"","and a.XM = '" + XM + "'")} and YJLX='${YJLX}' and LB='${LB}'${if(len(xyjc) == 0,"","and c.xyjc = '" + xyjc + "'")} ${if(len(bj) == 0,"","and a.bj = '" + bj + "'")}${if(len(ZYMC) == 0,"","and b.ZYMC = '" + ZYMC + "'")} |