|
@@ -9,6 +9,7 @@
|
|
|
<result column="city_" property="city" />
|
|
|
<result column="linkman_" property="linkman" />
|
|
|
<result column="mobile_no_" property="mobileNo" />
|
|
|
+ <result column="student_num_level_" property="studentNumLevel" />
|
|
|
<result column="create_time_" property="createTime" />
|
|
|
<result column="call_back_time_" property="callBackTime" />
|
|
|
<result column="call_back_log_" property="callBackLog" />
|
|
@@ -32,8 +33,8 @@
|
|
|
<!-- <selectKey resultClass="int" keyProperty="id" > SELECT SEQ_WSDEFINITION_ID.nextval
|
|
|
AS ID FROM DUAL </selectKey> -->
|
|
|
INSERT INTO tenant_apply
|
|
|
- (id_,name_,city_,linkman_,mobile_no_,create_time_,call_back_time_,call_back_log_)
|
|
|
- VALUES(#{id},#{name},#{city},#{linkman},#{mobileNo},#{createTime},#{callBackTime},#{callBackLog})
|
|
|
+ (id_,name_,city_,linkman_,mobile_no_,student_num_level_,create_time_,call_back_time_,call_back_log_)
|
|
|
+ VALUES(#{id},#{name},#{city},#{linkman},#{mobileNo},#{studentNumLevel},#{createTime},#{callBackTime},#{callBackLog})
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -55,6 +56,9 @@
|
|
|
<if test="mobileNo != null">
|
|
|
mobile_no_ = #{mobileNo},
|
|
|
</if>
|
|
|
+ <if test="studentNumLevel != null">
|
|
|
+ student_num_level_ = #{studentNumLevel},
|
|
|
+ </if>
|
|
|
<if test="callBackTime != null">
|
|
|
call_back_time_ = #{callBackTime},
|
|
|
</if>
|