|
@@ -145,12 +145,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectRedPacketByCompanyId" resultType="com.fs.course.domain.FsUserCourseVideoRedPackage">
|
|
|
- select * from fs_user_course_video_red_package
|
|
|
- <where>
|
|
|
- <if test="videoId != null "> and video_id =#{videoId}</if>
|
|
|
- <if test="companyId != null "> and company_id = #{companyId}</if>
|
|
|
- <if test="periodId != null "> and period_id = #{periodId}</if>
|
|
|
- </where>
|
|
|
- </select>
|
|
|
+<!-- <select id="selectRedPacketByCompanyId" resultType="com.fs.course.domain.FsUserCourseVideoRedPackage">-->
|
|
|
+<!-- select * from fs_user_course_video_red_package-->
|
|
|
+<!-- <where>-->
|
|
|
+<!-- <if test="videoId != null "> and video_id =#{videoId}</if>-->
|
|
|
+<!-- <if test="companyId != null "> and company_id = #{companyId}</if>-->
|
|
|
+<!-- <if test="periodId != null "> and period_id = #{periodId}</if>-->
|
|
|
+<!-- </where>-->
|
|
|
+<!-- </select>-->
|
|
|
</mapper>
|