比如这个: ${if(len(startdate) == 0,""," and b.InDuctionDate>=concat('"+ startdate+"',' 00:00:00.000')")} ${if(len(enddate) == 0,""," and b.InductionDate<=concat('"+enddate+"',' 23:59:59.999')")} --员工工号 --选择员工 员工搜索选择文本框 empno ${if(len(empno) == 0,""," and eb.EmpNo='"+ empno +"'")} --员工姓名 --员工姓名 文本框 empname ${if(len(empname) == 0,""," and eb.EmpName='"+ empname +"'")} |