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