用下拉框,你可以用查询的按钮把下拉框的右边遮住,然后给这个下拉框做任何你想要的判断
${if(len(textEditor00)=0,'',"and (cdc.PDIM_CN like'%"+textEditor00+"%'")}
${if(len(textEditor00)=0,'',"or cdc.SUB_DIM_CN like'%"+textEditor00+"%'")}
${if(len(textEditor00)=0,'',"or cdc.cpi_name like'%"+textEditor00+"%'")}
${if(len(textEditor00)=0,'',"or cdc.Scope_cn like'%"+textEditor00+"%'")}
${if(len(textEditor00)=0,'',"or cdc.data like'%"+textEditor00+"%'")}
${if(len(textEditor00)=0,'',"or ir.uint like'%"+textEditor00+"%'")}
${if(len(textEditor00)=0,''," or cde.entrydata like'%"+textEditor00+"%')")}
注意第一个用and 后面用or