Showing
2 changed files
with
9 additions
and
0 deletions
| ... | ... | @@ -73,6 +73,9 @@ |
| 73 | 73 | <if test="vo.searchKey != null and vo.searchKey != ''"> |
| 74 | 74 | AND (tb.code LIKE CONCAT('%', #{vo.searchKey},'%') OR cu.name LIKE CONCAT('%', #{vo.searchKey},'%')) |
| 75 | 75 | </if> |
| 76 | + <if test="vo.status != null and vo.status != ''"> | |
| 77 | + AND tb.status = #{vo.status} | |
| 78 | + </if> | |
| 76 | 79 | </where> |
| 77 | 80 | order by tb.create_time desc |
| 78 | 81 | </select> | ... | ... |