|
|
@@ -16,8 +16,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="isSettlement" column="is_settlement" />
|
|
|
<result property="deptId" column="dept_id" />
|
|
|
<result property="agentId" column="agent_id" />
|
|
|
- <result property="leftAgentId" column="left_agent_id" />
|
|
|
+ <result property="leafAgentId" column="leaf_agent_id" />
|
|
|
<result property="campusId" column="campus_id" />
|
|
|
+ <result property="assignLocation" column="assign_location" />
|
|
|
+ <result property="assignExamType" column="assign_exam_type" />
|
|
|
<result property="assignSchoolId" column="assign_school_id" />
|
|
|
<result property="schoolId" column="school_id" />
|
|
|
<result property="classId" column="class_id" />
|
|
|
@@ -38,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectDzCardsVo">
|
|
|
- select card_id, card_no, password, type, status, distribute_status, time_status, pay_status, is_settlement, dept_id, agent_id, left_agent_id, campus_id, assign_school_id, school_id, class_id, year, end_year, open_id, remark, distribute_time, out_date, open_time, pay_time, active_time, settlement_time, refund_time, close_time, create_time, update_time from dz_cards
|
|
|
+ select card_id, card_no, password, type, status, distribute_status, time_status, pay_status, is_settlement, dept_id, agent_id, leaf_agent_id, campus_id, assign_location,assign_exam_type,assign_school_id, school_id, class_id, year, end_year, open_id, remark, distribute_time, out_date, open_time, pay_time, active_time, settlement_time, refund_time, close_time, create_time, update_time from dz_cards
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectDzCardsList" parameterType="DzCards" resultMap="DzCardsResult">
|
|
|
@@ -54,8 +56,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isSettlement != null "> and is_settlement = #{isSettlement}</if>
|
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
<if test="agentId != null "> and agent_id = #{agentId}</if>
|
|
|
- <if test="leftAgentId != null "> and left_agent_id = #{leftAgentId}</if>
|
|
|
+ <if test="leafAgentId != null "> and leaf_agent_id = #{leafAgentId}</if>
|
|
|
<if test="campusId != null "> and campus_id = #{campusId}</if>
|
|
|
+ <if test="assignLocation != null "> and assign_location = #{assignLocation}</if>
|
|
|
+ <if test="assignExamType != null "> and assign_exam_type = #{assignExamType}</if>
|
|
|
<if test="assignSchoolId != null "> and assign_school_id = #{assignSchoolId}</if>
|
|
|
<if test="schoolId != null "> and school_id = #{schoolId}</if>
|
|
|
<if test="classId != null "> and class_id = #{classId}</if>
|
|
|
@@ -91,9 +95,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isSettlement != null">is_settlement,</if>
|
|
|
<if test="deptId != null">dept_id,</if>
|
|
|
<if test="agentId != null">agent_id,</if>
|
|
|
- <if test="leftAgentId != null">left_agent_id,</if>
|
|
|
+ <if test="leafAgentId != null">leaf_agent_id,</if>
|
|
|
<if test="campusId != null">campus_id,</if>
|
|
|
- <if test="assignSchoolId != null">assign_school_id,</if>
|
|
|
+ assign_location,assign_exam_type,assign_school_id,
|
|
|
<if test="schoolId != null">school_id,</if>
|
|
|
<if test="classId != null">class_id,</if>
|
|
|
<if test="year != null">year,</if>
|
|
|
@@ -122,9 +126,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isSettlement != null">#{isSettlement},</if>
|
|
|
<if test="deptId != null">#{deptId},</if>
|
|
|
<if test="agentId != null">#{agentId},</if>
|
|
|
- <if test="leftAgentId != null">#{leftAgentId},</if>
|
|
|
+ <if test="leafAgentId != null">#{leafAgentId},</if>
|
|
|
<if test="campusId != null">#{campusId},</if>
|
|
|
- <if test="assignSchoolId != null">#{assignSchoolId},</if>
|
|
|
+ #{assignLocation},#{assignExamType},#{assignSchoolId},
|
|
|
<if test="schoolId != null">#{schoolId},</if>
|
|
|
<if test="classId != null">#{classId},</if>
|
|
|
<if test="year != null">#{year},</if>
|
|
|
@@ -157,9 +161,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isSettlement != null">is_settlement = #{isSettlement},</if>
|
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
<if test="agentId != null">agent_id = #{agentId},</if>
|
|
|
- <if test="leftAgentId != null">left_agent_id = #{leftAgentId},</if>
|
|
|
+ <if test="leafAgentId != null">leaf_agent_id = #{leafAgentId},</if>
|
|
|
<if test="campusId != null">campus_id = #{campusId},</if>
|
|
|
- <if test="assignSchoolId != null">assign_school_id = #{assignSchoolId},</if>
|
|
|
+ assign_location = #{assignLocation},assign_exam_type = #{assignExamType},assign_school_id = #{assignSchoolId},
|
|
|
<if test="schoolId != null">school_id = #{schoolId},</if>
|
|
|
<if test="classId != null">class_id = #{classId},</if>
|
|
|
<if test="year != null">year = #{year},</if>
|
|
|
@@ -207,8 +211,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isSettlement != null "> and is_settlement = #{isSettlement}</if>
|
|
|
<if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
<if test="agentId != null "> and agent_id = #{agentId}</if>
|
|
|
- <if test="leftAgentId != null "> and left_agent_id = #{leftAgentId}</if>
|
|
|
+ <if test="leafAgentId != null "> and leaf_agent_id = #{leafAgentId}</if>
|
|
|
<if test="campusId != null "> and campus_id = #{campusId}</if>
|
|
|
+ <if test="assignLocation != null "> and assign_location = #{assignLocation}</if>
|
|
|
+ <if test="assignExamType != null "> and assign_exam_type = #{assignExamType}</if>
|
|
|
<if test="assignSchoolId != null "> and assign_school_id = #{assignSchoolId}</if>
|
|
|
<if test="schoolId != null "> and school_id = #{schoolId}</if>
|
|
|
<if test="classId != null "> and class_id = #{classId}</if>
|