Commit 0174fb0429003e8c04c61e86f66678d86989106d

Authored by 房远帅
1 parent 84444505

采购:价格表搜索

@@ -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 ]]>