|
@@ -9,6 +9,7 @@
|
|
|
<result column="city_" property="city" />
|
|
|
<result column="linkman_" property="linkman" />
|
|
|
<result column="mobile_no_" property="mobileNo" />
|
|
|
+ <result column="name_of_referrer_" property="nameOfReferrer" />
|
|
|
<result column="student_num_level_" property="studentNumLevel" />
|
|
|
<result column="create_time_" property="createTime" />
|
|
|
<result column="call_back_time_" property="callBackTime" />
|
|
@@ -33,8 +34,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_,student_num_level_,create_time_,call_back_time_,call_back_log_)
|
|
|
- VALUES(#{id},#{name},#{city},#{linkman},#{mobileNo},#{studentNumLevel},#{createTime},#{callBackTime},#{callBackLog})
|
|
|
+ (id_,name_,city_,linkman_,mobile_no_,student_num_level_,name_of_referrer_,create_time_,call_back_time_,call_back_log_)
|
|
|
+ VALUES(#{id},#{name},#{city},#{linkman},#{mobileNo},#{studentNumLevel},#{nameOfReferrer},#{createTime},#{callBackTime},#{callBackLog})
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -59,6 +60,9 @@
|
|
|
<if test="studentNumLevel != null">
|
|
|
student_num_level_ = #{studentNumLevel},
|
|
|
</if>
|
|
|
+ <if test="nameOfReferrer != null">
|
|
|
+ name_of_referrer_ = #{nameOfReferrer},
|
|
|
+ </if>
|
|
|
<if test="callBackTime != null">
|
|
|
call_back_time_ = #{callBackTime},
|
|
|
</if>
|