|
|
@@ -28,9 +28,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
<if test="logsId != null "> and l.logs_id = #{logsId}</if>
|
|
|
<if test="companyId != null "> and l.company_id = #{companyId}</if>
|
|
|
- <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and l.create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
|
|
|
+ <if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and l.create_time >= CONCAT(#{params.beginCreateTime}," 00:00:00") and l.create_time <= CONCAT(#{params.endCreateTime}," 23:59:59")</if>
|
|
|
<if test="logsType != null "> and l.logs_type = #{logsType}</if>
|
|
|
</where>
|
|
|
+ order by l.create_time desc
|
|
|
</select>
|
|
|
|
|
|
<select id="selectCompanyRedPacketBalanceLogsByLogsId" parameterType="Long" resultMap="CompanyRedPacketBalanceLogsResult">
|