and a.loc_no like '%' + #{map.loc_no} + '%' and a.matnr like '%' + #{map.matnr} + '%' and a.maktx like '%' + #{map.maktx} + '%' and a.batch like '%' + #{map.batch} + '%' and a.anfme like '%' + #{map.anfme} + '%' and a.modi_time between #{map.startTime} and #{map.endTime} and a.memo like '%' + #{map.memo} + '%' and a.memo is not null and a.memo !=''