班级园历bug
This commit is contained in:
@ -44,9 +44,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
from by_schoolcalendar_class s, by_class c
|
from by_schoolcalendar_class s, by_class c
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectBySchoolcalendarClassList" parameterType="BySchoolcalendarClass" resultMap="BySchoolcalendarClassResult">
|
<select id="selectBySchoolcalendarClassList" parameterType="BySchoolcalendarClass"
|
||||||
|
resultMap="BySchoolcalendarClassResult">
|
||||||
<include refid="selectBySchoolcalendarClassVo"/>
|
<include refid="selectBySchoolcalendarClassVo"/>
|
||||||
<where>
|
where s.classid=c.bjbh
|
||||||
|
|
||||||
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
|
<if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
|
||||||
<if test="type != null and type != ''">and type = #{type}</if>
|
<if test="type != null and type != ''">and type = #{type}</if>
|
||||||
<if test="classid != null and classid != ''">and classid = #{classid}</if>
|
<if test="classid != null and classid != ''">and classid = #{classid}</if>
|
||||||
@ -57,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="stylecolor != null and stylecolor != ''">and stylecolor = #{stylecolor}</if>
|
<if test="stylecolor != null and stylecolor != ''">and stylecolor = #{stylecolor}</if>
|
||||||
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
<if test="createuserid != null ">and createuserid = #{createuserid}</if>
|
||||||
<if test="createtime != null ">and createtime = #{createtime}</if>
|
<if test="createtime != null ">and createtime = #{createtime}</if>
|
||||||
</where>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectBySchoolcalendarClassById" parameterType="Long" resultMap="BySchoolcalendarClassResult">
|
<select id="selectBySchoolcalendarClassById" parameterType="Long" resultMap="BySchoolcalendarClassResult">
|
||||||
|
Reference in New Issue
Block a user