Showing
1 changed file
with
4 additions
and
0 deletions
| ... | ... | @@ -175,6 +175,10 @@ |
| 175 | 175 | <if test="vo.orderingUnitName != null and vo.orderingUnitName != ''"> |
| 176 | 176 | AND cu.name LIKE CONCAT('%', #{vo.orderingUnitName},'%') |
| 177 | 177 | </if> |
| 178 | + <if test="vo.searchKey != null and vo.searchKey != ''"> | |
| 179 | + AND (cu.name LIKE CONCAT('%', #{vo.searchKey},'%') | |
| 180 | + or tb.order_no LIKE CONCAT('%', #{vo.searchKey},'%')) | |
| 181 | + </if> | |
| 178 | 182 | <if test="vo.orderDateStart != null"> |
| 179 | 183 | AND tb.order_date >= #{vo.orderDateStart} |
| 180 | 184 | </if> | ... | ... |