<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="com.ruoyi.study.mapper.TStudyInductionMapper">
|
|
<select id="induceExclude" resultType="com.ruoyi.study.domain.TStudyInduction">
|
select sl.*
|
from t_study_induction sl
|
left join t_study s on sl.studyId = s.id
|
<where>
|
sl.disabled = 0
|
and s.disabled = 0
|
and sl.day = #{day}
|
and sl.week = #{week}
|
and s.quarter = #{quarter}
|
</where>
|
</select>
|
</mapper>
|