|
@@ -61,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="answerRightRate != null "> and answer_right_rate = #{answerRightRate}</if>
|
|
|
<if test="redPacketNum != null "> and red_packet_num = #{redPacketNum}</if>
|
|
|
<if test="redPacketAmount != null "> and red_packet_amount = #{redPacketAmount}</if>
|
|
|
+ <if test="companyBelongOwner != null "> and company_belong_owner like concat('%', #{companyBelongOwner}, '%')</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -120,6 +121,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="answerRightRate != null "> and answer_right_rate = #{answerRightRate}</if>
|
|
|
<if test="redPacketNum != null "> and red_packet_num = #{redPacketNum}</if>
|
|
|
<if test="redPacketAmount != null "> and red_packet_amount = #{redPacketAmount}</if>
|
|
|
+ <if test="companyBelongOwner != null "> and company_belong_owner like concat('%', #{companyBelongOwner}, '%')</if>
|
|
|
</where>
|
|
|
group by fs_user_watch_course_statistics.company_id, course_start_date_time
|
|
|
</select>
|