班级信息bug和月计划

This commit is contained in:
paidaxing444
2020-08-18 18:51:45 +08:00
parent 343046356f
commit 7c5ac8e992
17 changed files with 1117 additions and 30 deletions

View File

@ -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>-->
<!--&lt;!&ndash; 数据范围过滤 &ndash;&gt;-->
<!--${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>