cloud-server-course/src/main/resources/mapper/TCoursePackagePaymentMapper.xml
@@ -43,7 +43,19 @@ UNION ALL SELECT * FROM t_course_package_payment5 WHERE user_id = #{stuId} WHERE 1=1 <if test=" stuId != null"> and studentId = #{stuId} </if> <if test="appUserId != null"> and appUserId = #{appUserId} </if> <if test="startTime != null and endTime != null"> and (insertTime between #{startTime} and #{endTime}) </if> <if test="coursePackId != null "> and coursePackageId = #{coursePackId} </if> </select>