导入信息采集数据信息
This commit is contained in:
@ -21,7 +21,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="shjz" column="shjz" />
|
||||
<result property="dbry" column="dbry" />
|
||||
<result property="rysfzs" column="rysfzs" />
|
||||
<result property="ry" column="ry" />
|
||||
<result property="sj" column="sj" />
|
||||
<result property="yx" column="yx" />
|
||||
<result property="qt" column="qt" />
|
||||
@ -29,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectCjStudentVo">
|
||||
select id, xm,sydsh, sydshi, xb, zy,xy, bynf, zgyl, gzdw, dwxz, dwdz, zwjb, shjz, dbry, rysfzs, ry,sj, yx, qt, sfqr from cj_student
|
||||
select id, xm, xb, zy,xy,sydsh, sydshi, bynf, zgyl, gzdw, dwxz, dwdz, zwjb, shjz, dbry, rysfzs,sj, yx, qt, sfqr from cj_student
|
||||
</sql>
|
||||
|
||||
<select id="selectCjStudentList" parameterType="CjStudent" resultMap="CjStudentResult">
|
||||
@ -80,7 +79,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="shjz != null">shjz,</if>
|
||||
<if test="dbry != null">dbry,</if>
|
||||
<if test="rysfzs != null">rysfzs,</if>
|
||||
<if test="ry != null">ry,</if>
|
||||
<if test="sj != null">sj,</if>
|
||||
<if test="yx != null">yx,</if>
|
||||
<if test="qt != null">qt,</if>
|
||||
@ -103,13 +101,41 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="dbry != null">#{dbry},</if>
|
||||
<if test="rysfzs != null">#{rysfzs},</if>
|
||||
<if test="ry != null">#{ry},</if>
|
||||
<if test="sj != null">#{sj},</if>
|
||||
<if test="yx != null">#{yx},</if>
|
||||
<if test="qt != null">#{qt},</if>
|
||||
<if test="sfqr != null">#{sfqr},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<insert id="insertCjStudentBatch" parameterType="list">
|
||||
insert into cj_student
|
||||
(xm, xb, zy,xy,sydsh, sydshi, bynf, zgyl, gzdw, dwxz, dwdz, zwjb, shjz, dbry, rysfzs,sj, yx, qt, sfqr)
|
||||
VALUES
|
||||
<foreach item="item" collection="list" separator=",">
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
#{item.xm},
|
||||
#{item.xb},
|
||||
#{item.zy},
|
||||
#{item.xy},
|
||||
#{item.sydsh},
|
||||
#{item.sydshi},
|
||||
#{item.bynf},
|
||||
#{item.zgyl},
|
||||
#{item.gzdw},
|
||||
#{item.dwxz},
|
||||
#{item.dwdz},
|
||||
#{item.zwjb},
|
||||
#{item.shjz},
|
||||
#{item.dbry},
|
||||
#{item.rysfzs},
|
||||
#{item.sj},
|
||||
#{item.yx},
|
||||
#{item.qt},
|
||||
#{item.sfqr}
|
||||
</trim>
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
<update id="updateCjStudent" parameterType="CjStudent">
|
||||
update cj_student
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
@ -127,7 +153,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="shjz != null">shjz = #{shjz},</if>
|
||||
<if test="dbry != null">dbry = #{dbry},</if>
|
||||
<if test="rysfzs != null">rysfzs = #{rysfzs},</if>
|
||||
<if test="ry != null">ry = #{ry},</if>
|
||||
<if test="sj != null">sj = #{sj},</if>
|
||||
<if test="yx != null">yx = #{yx},</if>
|
||||
<if test="qt != null">qt = #{qt},</if>
|
||||
|
Reference in New Issue
Block a user