| | |
| | | <if test="loc_no!=null and loc_no!='' "> |
| | | and loc_no like '%' + #{loc_no} + '%' |
| | | </if> |
| | | <if test="matnr!=null and matnr!='' "> |
| | | and matnr like '%' + #{matnr} + '%' |
| | | <if test="mat_no!=null and mat_no!='' "> |
| | | and mat_no like '%' + #{mat_no} + '%' |
| | | </if> |
| | | <if test="maktx!=null and maktx!='' "> |
| | | and (maktx like '%' + #{maktx} + '%' |
| | | or matnr like '%' + #{maktx} + '%' |
| | | or lgnum like '%' + #{maktx} + '%' |
| | | or tbnum like '%' + #{maktx} + '%' |
| | | or tbpos like '%' + #{maktx} + '%' |
| | | or zmatid like '%' + #{maktx} + '%' |
| | | or maktx like '%' + #{maktx} + '%' |
| | | or werks like '%' + #{maktx} + '%' |
| | | or anfme like '%' + #{maktx} + '%' |
| | | or altme like '%' + #{maktx} + '%' |
| | | or zpallet like '%' + #{maktx} + '%' |
| | | or bname like '%' + #{maktx} + '%' |
| | | <if test="mat_name!=null and mat_name!='' "> |
| | | and (loc_no like '%' + #{mat_name} + '%' |
| | | or mat_name like '%' + #{mat_name} + '%' |
| | | or specs like '%' + #{mat_name} + '%' |
| | | or size like '%' + #{mat_name} + '%' |
| | | or color like '%' + #{mat_name} + '%' |
| | | or weight like '%' + #{mat_name} + '%' |
| | | or qty like '%' + #{qty} + '%' |
| | | or unit like '%' + #{mat_name} + '%' |
| | | or zpallet like '%' + #{mat_name} + '%' |
| | | ) |
| | | </if> |
| | | <if test="begin_date!=null and begin_date!='' "> |
| | |
| | | <if test="loc_no!=null and loc_no!='' "> |
| | | and loc_no like '%' + #{loc_no} + '%' |
| | | </if> |
| | | <if test="matnr!=null and matnr!='' "> |
| | | and matnr like '%' + #{matnr} + '%' |
| | | <if test="mat_no!=null and mat_no!='' "> |
| | | and mat_no like '%' + #{mat_no} + '%' |
| | | </if> |
| | | <if test="maktx!=null and maktx!='' "> |
| | | and (maktx like '%' + #{maktx} + '%' |
| | | or matnr like '%' + #{maktx} + '%' |
| | | or lgnum like '%' + #{maktx} + '%' |
| | | or tbnum like '%' + #{maktx} + '%' |
| | | or tbpos like '%' + #{maktx} + '%' |
| | | or zmatid like '%' + #{maktx} + '%' |
| | | or maktx like '%' + #{maktx} + '%' |
| | | or werks like '%' + #{maktx} + '%' |
| | | or anfme like '%' + #{maktx} + '%' |
| | | or altme like '%' + #{maktx} + '%' |
| | | or zpallet like '%' + #{maktx} + '%' |
| | | or bname like '%' + #{maktx} + '%' |
| | | <if test="mat_name!=null and mat_name!='' "> |
| | | and (loc_no like '%' + #{mat_name} + '%' |
| | | or mat_name like '%' + #{mat_name} + '%' |
| | | or specs like '%' + #{mat_name} + '%' |
| | | or size like '%' + #{mat_name} + '%' |
| | | or color like '%' + #{mat_name} + '%' |
| | | or weight like '%' + #{mat_name} + '%' |
| | | or qty like '%' + #{qty} + '%' |
| | | or unit like '%' + #{mat_name} + '%' |
| | | or zpallet like '%' + #{mat_name} + '%' |
| | | ) |
| | | </if> |
| | | <if test="begin_date!=null and begin_date!='' "> |