|
@@ -676,10 +676,10 @@
|
|
|
AND ipiis.id = #{settlementQueryVo.settlementId}
|
|
AND ipiis.id = #{settlementQueryVo.settlementId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="settlementQueryVo.settlementDateStart != null and settlementQueryVo.settlementDateStart != ''">
|
|
<if test="settlementQueryVo.settlementDateStart != null and settlementQueryVo.settlementDateStart != ''">
|
|
|
- AND ipiis.create_time >= date(#{settlementQueryVo.settlementDateStart})
|
|
|
|
|
|
|
+ AND ipiis.create_time >= #{settlementQueryVo.settlementDateStart}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="settlementQueryVo.settlementDateEndStr != null and settlementQueryVo.settlementDateEndStr != ''">
|
|
|
|
|
- AND ipiis.create_time <= date(#{settlementQueryVo.settlementDateEndStr})
|
|
|
|
|
|
|
+ <if test="settlementQueryVo.settlementDateEnd != null and settlementQueryVo.settlementDateEnd != ''">
|
|
|
|
|
+ AND ipiis.create_time < DATE_ADD(#{settlementQueryVo.settlementDateEnd}, INTERVAL 1 DAY)
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
group by
|
|
group by
|