我设置了参数为空默认显示全部,用了下拉复选框控件,但是我只选了一个人,出来的还是所有人,另外还有后面圈起来的格式哪儿出问题了,SQL语句和截图在下面 select PERNR,VORNA, DEPTX ,DATUM,LANGT,TPROG,TIME_S,TIME_E FROM origin_schedule_cs A LEFT JOIN gz_time B ON A.TPROG = B.ID where DEPTX is not null and DEPTX<>'' ${if(len(姓名)=0,"","and VORNA in ('"+姓名+"')")} |