同步班级代码到新生信息

This commit is contained in:
zhy
2025-09-07 22:07:48 +08:00
parent 77d6bc824c
commit a522a20021
7 changed files with 243 additions and 6 deletions

View File

@@ -998,4 +998,13 @@
(#{item.XSXM}, #{item.KSH}, #{item.SFZH}, #{item.SJH},#{item.XB},#{item.ZZMM},#{item.MZ},#{item.XY},#{item.ZY},#{item.lastSchool},#{item.famNowAddr},#{item.sfzAddr},#{item.createTime},#{item.createBy},#{item.BJ},#{item.BJDM})
</foreach>
</insert>
<select id="listXsxxTemp" resultType="GxsdxySjzx009Temp2024xsxx" parameterType="GxsdxySjzx009Temp2024xsxx">
select a.* from gxsdxy_sjzx_009_temp_2024xsxx as a
<where>
<if test="临时学号报到后给新的 != null and 临时学号报到后给新的 != ''">and a.临时学号_报到后给新的 like CONCAT('%',#{临时学号报到后给新的},'%')</if>
<if test="教务系统班级编号 != null and 教务系统班级编号 != ''">and a.教务系统_班级编号 = #{教务系统班级编号}</if>
</where>
order by a.临时学号_报到后给新的 asc
</select>
</mapper>