CollegesDictMapper.xml
670 Bytes
<?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.subsidy.mapper.CollegesDictMapper">
<select id="getPreliminaryProjectList" resultType="com.subsidy.model.ProjectDO">
select
p.*
from project p
left join teacher s on s.id = p.teacher_id
where
p.match_id = #{matchId}
and p.project_schedule = #{projectSchedule}
and p.delete_date is null
and s.delete_date is null
and p.college_id = #{collegeId}
order by p.id
</select>
</mapper>