|
@@ -9,15 +9,14 @@
|
|
|
<result property="cardName" column="card_name"/>
|
|
<result property="cardName" column="card_name"/>
|
|
|
<result property="cardNum" column="card_num"/>
|
|
<result property="cardNum" column="card_num"/>
|
|
|
<result property="college" column="college"/>
|
|
<result property="college" column="college"/>
|
|
|
|
|
+ <result property="collegeId" column="college_id"/>
|
|
|
<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"/>
|
|
|
<result property="deptId" column="dept_id"/>
|
|
<result property="deptId" column="dept_id"/>
|
|
|
<result property="deptName" column="dept_name"/>
|
|
<result property="deptName" column="dept_name"/>
|
|
|
<result property="isStart" column="is_start"/>
|
|
<result property="isStart" column="is_start"/>
|
|
|
-
|
|
|
|
|
<result property="userId" column="user_id"/>
|
|
<result property="userId" column="user_id"/>
|
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="createBy" column="create_by"/>
|
|
|
<result property="createTime" column="create_time"/>
|
|
<result property="createTime" column="create_time"/>
|
|
@@ -30,8 +29,8 @@
|
|
|
card_name,
|
|
card_name,
|
|
|
card_num,
|
|
card_num,
|
|
|
college,
|
|
college,
|
|
|
|
|
+ college_id
|
|
|
location,
|
|
location,
|
|
|
- location_id,
|
|
|
|
|
operate,
|
|
operate,
|
|
|
subject_id,
|
|
subject_id,
|
|
|
subject_name,
|
|
subject_name,
|
|
@@ -53,10 +52,10 @@
|
|
|
<if test="cardName != null and cardName != null">and t.card_name = #{cardName}</if>
|
|
<if test="cardName != null and cardName != null">and t.card_name = #{cardName}</if>
|
|
|
<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="collegeId != null">and t.college_id = #{collegeId}</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="subjectId != 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>
|
|
|
<if test="deptId != null ">and t.dept_id = #{deptId}</if>
|
|
<if test="deptId != null ">and t.dept_id = #{deptId}</if>
|
|
|
<if test="deptName != null ">and t.dept_name = #{deptName}</if>
|
|
<if test="deptName != null ">and t.dept_name = #{deptName}</if>
|
|
@@ -80,8 +79,8 @@
|
|
|
<if test="cardName != null">card_name,</if>
|
|
<if test="cardName != null">card_name,</if>
|
|
|
<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="collegeId != null">college_id,</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>
|
|
@@ -98,8 +97,8 @@
|
|
|
<if test="cardName != null">#{cardName},</if>
|
|
<if test="cardName != null">#{cardName},</if>
|
|
|
<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="collegeId != null">#{collegeId},</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>
|
|
@@ -120,8 +119,8 @@
|
|
|
<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="collegeId != null">college_id = #{collegeId},</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>
|
|
@@ -129,7 +128,6 @@
|
|
|
<if test="deptName != null">dept_name = #{deptName},</if>
|
|
<if test="deptName != null">dept_name = #{deptName},</if>
|
|
|
<if test="isStart != null">is_start = #{isStart},</if>
|
|
<if test="isStart != null">is_start = #{isStart},</if>
|
|
|
<if test="userId != null">user_id = #{userId},</if>
|
|
<if test="userId != null">user_id = #{userId},</if>
|
|
|
-
|
|
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|