Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -35,10 +35,10 @@ | @@ -35,10 +35,10 @@ | ||
| 35 | <if test="vo.createBy != null and vo.createBy != ''"> | 35 | <if test="vo.createBy != null and vo.createBy != ''"> |
| 36 | AND tb.create_by LIKE CONCAT('%', #{vo.createBy},'%') | 36 | AND tb.create_by LIKE CONCAT('%', #{vo.createBy},'%') |
| 37 | </if> | 37 | </if> |
| 38 | - <if test="vo.createTimeStart != null"> | 38 | + <if test="vo.createTimeStart != null and vo.createTimeStart != ''"> |
| 39 | AND tb.create_time >= #{vo.createTimeStart} | 39 | AND tb.create_time >= #{vo.createTimeStart} |
| 40 | </if> | 40 | </if> |
| 41 | - <if test="vo.createTimeEnd != null"> | 41 | + <if test="vo.createTimeEnd != null and vo.createTimeEnd != ''"> |
| 42 | <![CDATA[ | 42 | <![CDATA[ |
| 43 | AND tb.create_time <= #{vo.createTimeEnd} | 43 | AND tb.create_time <= #{vo.createTimeEnd} |
| 44 | ]]> | 44 | ]]> |