|
@@ -11,8 +11,8 @@
|
|
|
<result property="postal" column="postal" jdbcType="INTEGER"/>
|
|
|
<result property="natureType" column="nature_type" jdbcType="INTEGER"/>
|
|
|
<result property="schoolType" column="school_type" jdbcType="INTEGER"/>
|
|
|
- <result property="canteenType" column="canteen_type" jdbcType="INTEGER"/>
|
|
|
- <result property="recruitType" column="recruit_type" jdbcType="INTEGER"/>
|
|
|
+ <result property="canteenType" column="canteen_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="recruitType" column="recruit_type" jdbcType="VARCHAR"/>
|
|
|
<result property="competentDepartment" column="competent_department" jdbcType="VARCHAR"/>
|
|
|
<result property="superviseTel" column="supervise_tel" jdbcType="VARCHAR"/>
|
|
|
<result property="contactTel" column="contact_tel" jdbcType="VARCHAR"/>
|
|
@@ -44,8 +44,8 @@
|
|
|
<result property="postal" column="postal" jdbcType="INTEGER"/>
|
|
|
<result property="natureType" column="nature_type" jdbcType="INTEGER"/>
|
|
|
<result property="schoolType" column="school_type" jdbcType="INTEGER"/>
|
|
|
- <result property="canteenType" column="canteen_type" jdbcType="INTEGER"/>
|
|
|
- <result property="recruitType" column="recruit_type" jdbcType="INTEGER"/>
|
|
|
+ <result property="canteenType" column="canteen_type" jdbcType="VARCHAR"/>
|
|
|
+ <result property="recruitType" column="recruit_type" jdbcType="VARCHAR"/>
|
|
|
<result property="competentDepartment" column="competent_department" jdbcType="VARCHAR"/>
|
|
|
<result property="superviseTel" column="supervise_tel" jdbcType="VARCHAR"/>
|
|
|
<result property="contactTel" column="contact_tel" jdbcType="VARCHAR"/>
|
|
@@ -173,10 +173,10 @@
|
|
|
<if test="schoolType != null">
|
|
|
school_type = #{schoolType},
|
|
|
</if>
|
|
|
- <if test="canteenType != null">
|
|
|
+ <if test="canteenType != null and canteenType !=''">
|
|
|
canteen_type = #{canteenType},
|
|
|
</if>
|
|
|
- <if test="recruitType != null">
|
|
|
+ <if test="recruitType != null and recruitType !=''">
|
|
|
recruit_type = #{recruitType},
|
|
|
</if>
|
|
|
<if test="competentDepartment != null">
|