|
@@ -10,6 +10,7 @@
|
|
|
<result property="cardNum" column="card_num"/>
|
|
<result property="cardNum" column="card_num"/>
|
|
|
<result property="college" column="college"/>
|
|
<result property="college" column="college"/>
|
|
|
<result property="location" column="location"/>
|
|
<result property="location" column="location"/>
|
|
|
|
|
+ <result property="locationId" column="location_id"/>
|
|
|
<result property="operate" column="operate"/>
|
|
<result property="operate" column="operate"/>
|
|
|
<result property="subjectId" column="subject_id"/>
|
|
<result property="subjectId" column="subject_id"/>
|
|
|
<result property="subjectName" column="subject_name"/>
|
|
<result property="subjectName" column="subject_name"/>
|
|
@@ -30,6 +31,7 @@
|
|
|
card_num,
|
|
card_num,
|
|
|
college,
|
|
college,
|
|
|
location,
|
|
location,
|
|
|
|
|
+ location_id,
|
|
|
operate,
|
|
operate,
|
|
|
subject_id,
|
|
subject_id,
|
|
|
subject_name,
|
|
subject_name,
|
|
@@ -52,6 +54,7 @@
|
|
|
<if test="cardNum != null and cardNum != ''">and t.card_num = #{cardNum}</if>
|
|
<if test="cardNum != null and cardNum != ''">and t.card_num = #{cardNum}</if>
|
|
|
<if test="college != null and college != null">and t.college = #{college}</if>
|
|
<if test="college != null and college != null">and t.college = #{college}</if>
|
|
|
<if test="location != null and location != '' ">and t.location = #{location}</if>
|
|
<if test="location != null and location != '' ">and t.location = #{location}</if>
|
|
|
|
|
+ <if test="locationId != null ">and t.location_id = #{locationId}</if>
|
|
|
<if test="operate != null ">and t.operate = #{operate}</if>
|
|
<if test="operate != null ">and t.operate = #{operate}</if>
|
|
|
<if test="subject_id != null ">and t.subject_id = #{subjectId}</if>
|
|
<if test="subject_id != null ">and t.subject_id = #{subjectId}</if>
|
|
|
<if test="subjectName != null ">and t.subject_name = #{subjectName}</if>
|
|
<if test="subjectName != null ">and t.subject_name = #{subjectName}</if>
|
|
@@ -78,6 +81,7 @@
|
|
|
<if test="cardNum != null">card_num,</if>
|
|
<if test="cardNum != null">card_num,</if>
|
|
|
<if test="college != null">college,</if>
|
|
<if test="college != null">college,</if>
|
|
|
<if test="location != null">location,</if>
|
|
<if test="location != null">location,</if>
|
|
|
|
|
+ <if test="locationId != null">location_id,</if>
|
|
|
<if test="operate != null">operate,</if>
|
|
<if test="operate != null">operate,</if>
|
|
|
<if test="subjectId != null">subject_id,</if>
|
|
<if test="subjectId != null">subject_id,</if>
|
|
|
<if test="subjectName != null">subject_name,</if>
|
|
<if test="subjectName != null">subject_name,</if>
|
|
@@ -95,6 +99,7 @@
|
|
|
<if test="cardNum != null">#{cardNum},</if>
|
|
<if test="cardNum != null">#{cardNum},</if>
|
|
|
<if test="college != null">#{college},</if>
|
|
<if test="college != null">#{college},</if>
|
|
|
<if test="location != null">#{location},</if>
|
|
<if test="location != null">#{location},</if>
|
|
|
|
|
+ <if test="locationId != null">#{locationId},</if>
|
|
|
<if test="operate != null">#{operate},</if>
|
|
<if test="operate != null">#{operate},</if>
|
|
|
<if test="subjectId != null">#{subjectId},</if>
|
|
<if test="subjectId != null">#{subjectId},</if>
|
|
|
<if test="subjectName != null">#{subjectName},</if>
|
|
<if test="subjectName != null">#{subjectName},</if>
|
|
@@ -114,9 +119,9 @@
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="cardNum != null">card_name = #{cardNum},</if>
|
|
<if test="cardNum != null">card_name = #{cardNum},</if>
|
|
|
<if test="cardNum != null">card_num = #{cardNum},</if>
|
|
<if test="cardNum != null">card_num = #{cardNum},</if>
|
|
|
-
|
|
|
|
|
<if test="college != null">college = #{college},</if>
|
|
<if test="college != null">college = #{college},</if>
|
|
|
<if test="location != null">location = #{location},</if>
|
|
<if test="location != null">location = #{location},</if>
|
|
|
|
|
+ <if test="locationId != null">location = #{locationId},</if>
|
|
|
<if test="operate != null">operate = #{operate},</if>
|
|
<if test="operate != null">operate = #{operate},</if>
|
|
|
<if test="subjectId != null">subject_id = #{subjectId},</if>
|
|
<if test="subjectId != null">subject_id = #{subjectId},</if>
|
|
|
<if test="subjectName != null">subject_name = #{subjectName},</if>
|
|
<if test="subjectName != null">subject_name = #{subjectName},</if>
|