班级信息bug和月计划
This commit is contained in:
@ -44,9 +44,9 @@
|
||||
<if test="zbjs != null ">and zbjs = #{zbjs}</if>
|
||||
<if test="pbjs != null ">and pbjs = #{pbjs}</if>
|
||||
<if test="zljs != null ">and zljs = #{zljs}</if>
|
||||
<if test="zbjsxm != null and zbjsxm != ''" >and zbjsxm like concat('%', #{zbjsxm}, '%')</if>
|
||||
<if test="pbjsxm != null and pbjsxm != ''" >and pbjsxm like concat('%', #{pbjsxm}, '%')</if>
|
||||
<if test="zljsxm != null and zljsxm != ''" >and zljsxm like concat('%', #{zljsxm}, '%')</if>
|
||||
<if test="zbjsxm != null and zbjsxm != ''">and zbjsxm like concat('%', #{zbjsxm}, '%')</if>
|
||||
<if test="pbjsxm != null and pbjsxm != ''">and pbjsxm like concat('%', #{pbjsxm}, '%')</if>
|
||||
<if test="zljsxm != null and zljsxm != ''">and zljsxm like concat('%', #{zljsxm}, '%')</if>
|
||||
<if test="isdel != null and isdel != ''">and isdel = #{isdel}</if>
|
||||
<if test="createtime != null ">and createtime = #{createtime}</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
@ -60,13 +60,26 @@
|
||||
where bjbh = #{bjbh}
|
||||
</select>
|
||||
|
||||
<!--<select id="selectByClassByUserId" parameterType="ByClass" resultMap="ByClassResult">-->
|
||||
<!--<include refid="selectByClassVo"/>-->
|
||||
<!--<where>-->
|
||||
<!--<if test="zbjs != null ">or zbjs = #{zbjs}</if>-->
|
||||
<!--<if test="pbjs != null ">or pbjs = #{pbjs}</if>-->
|
||||
<!--<if test="zljs != null ">or zljs = #{zljs}</if>-->
|
||||
<!--and isdel = 0-->
|
||||
<!--</where>-->
|
||||
<!--<!– 数据范围过滤 –>-->
|
||||
<!--${dataScope}-->
|
||||
<!--</select>-->
|
||||
|
||||
<select id="selectByClassByUserId" parameterType="ByClass" resultMap="ByClassResult">
|
||||
<include refid="selectByClassVo"/>
|
||||
<where>
|
||||
<if test="zbjs != null ">or zbjs = #{zbjs}</if>
|
||||
<if test="pbjs != null ">or pbjs = #{pbjs}</if>
|
||||
<if test="zljs != null ">or zljs = #{zljs}</if>
|
||||
</where>
|
||||
where
|
||||
(zbjs = #{zbjs}
|
||||
or pbjs = #{pbjs}
|
||||
or zljs = #{zljs}
|
||||
)
|
||||
and isdel = 0
|
||||
<!-- 数据范围过滤 -->
|
||||
${dataScope}
|
||||
</select>
|
||||
@ -115,9 +128,9 @@
|
||||
<if test="bjmc != null and bjmc != ''">bjmc = #{bjmc},</if>
|
||||
<if test="bjrych != null and bjrych != ''">bjrych = #{bjrych},</if>
|
||||
<if test="jbny != null ">jbny = #{jbny},</if>
|
||||
<if test="zbjs != null ">zbjs = #{zbjs},</if>
|
||||
<if test="pbjs != null ">pbjs = #{pbjs},</if>
|
||||
<if test="zljs != null ">zljs = #{zljs},</if>
|
||||
zbjs = #{zbjs},
|
||||
pbjs = #{pbjs},
|
||||
zljs = #{zljs},
|
||||
<if test="isdel != null and isdel != ''">isdel = #{isdel},</if>
|
||||
<if test="createtime != null ">createtime = #{createtime},</if>
|
||||
</trim>
|
||||
|
Reference in New Issue
Block a user