Showing
1 changed file
with
4 additions
and
0 deletions
| ... | ... | @@ -191,6 +191,10 @@ |
| 191 | 191 | <if test="vo.orderingUnitName != null and vo.orderingUnitName != ''"> |
| 192 | 192 | AND cu.name LIKE CONCAT('%', #{vo.orderingUnitName},'%') |
| 193 | 193 | </if> |
| 194 | + <if test="vo.searchKey != null and vo.searchKey != ''"> | |
| 195 | + AND (cu.name LIKE CONCAT('%', #{vo.searchKey},'%') | |
| 196 | + or tb.order_no LIKE CONCAT('%', #{vo.searchKey},'%')) | |
| 197 | + </if> | |
| 194 | 198 | <if test="vo.orderDateStart != null"> |
| 195 | 199 | AND tb.order_date >= #{vo.orderDateStart} |
| 196 | 200 | </if> | ... | ... |