解决单据不能按照时间查询的bug
This commit is contained in:
@@ -63,10 +63,10 @@
|
|||||||
and dh.Id in (${dhIds})
|
and dh.Id in (${dhIds})
|
||||||
</if>
|
</if>
|
||||||
<if test="beginTime != null">
|
<if test="beginTime != null">
|
||||||
and dh.OperTime >= (${beginTime})
|
and dh.OperTime >= '${beginTime}'
|
||||||
</if>
|
</if>
|
||||||
<if test="endTime != null">
|
<if test="endTime != null">
|
||||||
and dh.OperTime <= (${endTime})
|
and dh.OperTime <= '${endTime}'
|
||||||
</if>
|
</if>
|
||||||
and ifnull(dh.delete_Flag,'0') !='1'
|
and ifnull(dh.delete_Flag,'0') !='1'
|
||||||
order by dh.Id desc
|
order by dh.Id desc
|
||||||
@@ -92,10 +92,10 @@
|
|||||||
and Id in (${dhIds})
|
and Id in (${dhIds})
|
||||||
</if>
|
</if>
|
||||||
<if test="beginTime != null">
|
<if test="beginTime != null">
|
||||||
and OperTime >= (${beginTime})
|
and OperTime >= '${beginTime}'
|
||||||
</if>
|
</if>
|
||||||
<if test="endTime != null">
|
<if test="endTime != null">
|
||||||
and OperTime <= (${endTime})
|
and OperTime <= '${endTime}'
|
||||||
</if>
|
</if>
|
||||||
and ifnull(delete_Flag,'0') !='1'
|
and ifnull(delete_Flag,'0') !='1'
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user