|
@@ -34,7 +34,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select * from e_equity_message_record
|
|
|
where user_id = #{userId} and del_flag = '0'
|
|
|
<if test="emr.msgType != null and emr.msgType != ''"> and msg_type = #{emr.msgType}</if>
|
|
|
- <!-- <if test="emr.msgTime != null "> and msg_time = #{emr.msgTime}</if>-->
|
|
|
|
|
|
<if test="emr.selectDate != null and emr.selectDate != ''">
|
|
|
and msg_time >= DATE(#{emr.selectDate})
|
|
@@ -43,10 +42,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and msg_time < DATE(DATE_ADD(#{emr.selectDate}, INTERVAL 1 DAY))
|
|
|
</if>
|
|
|
|
|
|
- <!--<if test="emr.msgTime != null and emr.msgTime != ''">
|
|
|
- and DATE(msg_time) <= DATE(#{emr.selectDate})
|
|
|
- </if>-->
|
|
|
-
|
|
|
<if test="emr.isRead != null and emr.isRead != ''">
|
|
|
and is_read =
|
|
|
<choose>
|