|
@@ -30,7 +30,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="kaTypeAmIn" column="ka_type_am_in" />
|
|
|
<result property="kaTypeAmOut" column="ka_type_am_out" />
|
|
|
<result property="kaTypePmIn" column="ka_type_pm_in" />
|
|
|
- <result property="kaTypePmOut" column="ka_type_pm_out" />
|
|
|
+ <result property="kaTypePmOut" column="ka_am_in_photo" />
|
|
|
+ <result property="kaAmInPhoto" column="ka_am_out_photo" />
|
|
|
+ <result property="kaAmOutPhoto" column="ka_type_pm_out" />
|
|
|
+ <result property="kaPmInPhoto" column="ka_pm_in_photo" />
|
|
|
+ <result property="kaPmOutPhoto" column="ka_pm_out_photo" />
|
|
|
<result property="kaStatus" column="ka_status" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -43,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectKaoqinRecordVo">
|
|
|
- select record_id, user_id, user_name, dept_id, dept_name, ancestors, ka_year, ka_month, ka_day, ka_week, ka_time, ka_address_am_in, ka_log, ka_lat, ka_sort, ka_address_am_out, ka_address_pm_in, ka_address_pm_out, ka_time_am_in, ka_time_am_out, ka_time_pm_in, ka_time_pm_out, ka_type_am_in, ka_type_am_out, ka_type_pm_in, ka_type_pm_out, ka_status, create_by, create_time, update_by, update_time, remark_am_in, remark_am_out, remark_pm_in, remark_pm_out from kaoqin_record
|
|
|
+ select record_id, user_id, user_name, dept_id, dept_name, ancestors, ka_year, ka_month, ka_day, ka_week, ka_time, ka_address_am_in, ka_log, ka_lat, ka_sort, ka_address_am_out, ka_address_pm_in, ka_address_pm_out, ka_time_am_in, ka_time_am_out, ka_time_pm_in, ka_time_pm_out, ka_type_am_in, ka_type_am_out, ka_type_pm_in, ka_type_pm_out,ka_am_in_photo,ka_am_out_photo,ka_pm_in_photo,ka_pm_out_photo, ka_status, create_by, create_time, update_by, update_time, remark_am_in, remark_am_out, remark_pm_in, remark_pm_out from kaoqin_record
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectKaoqinRecordList" parameterType="KaoqinRecord" resultMap="KaoqinRecordResult">
|
|
@@ -115,6 +119,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="kaTypeAmOut != null">ka_type_am_out,</if>
|
|
|
<if test="kaTypePmIn != null">ka_type_pm_in,</if>
|
|
|
<if test="kaTypePmOut != null">ka_type_pm_out,</if>
|
|
|
+ <if test="kaAmInPhoto != null">ka_type_pm_out,</if>
|
|
|
+ <if test="kaAmOutPhoto != null">ka_am_in_photo,</if>
|
|
|
+ <if test="kaPmInPhoto != null">ka_pm_in_photo,</if>
|
|
|
+ <if test="kaPmOutPhoto != null">ka_pm_out_photo,</if>
|
|
|
<if test="kaStatus != null">ka_status,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -151,6 +159,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="kaTypeAmOut != null">#{kaTypeAmOut},</if>
|
|
|
<if test="kaTypePmIn != null">#{kaTypePmIn},</if>
|
|
|
<if test="kaTypePmOut != null">#{kaTypePmOut},</if>
|
|
|
+ <if test="kaAmInPhoto != null">#{kaAmInPhoto},</if>
|
|
|
+ <if test="kaAmOutPhoto != null">#{kaAmOutPhoto},</if>
|
|
|
+ <if test="kaPmInPhoto != null">#{kaPmInPhoto},</if>
|
|
|
+ <if test="kaPmOutPhoto != null">#{kaPmOutPhoto},</if>
|
|
|
<if test="kaStatus != null">#{kaStatus},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -191,6 +203,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="kaTypeAmOut != null">ka_type_am_out = #{kaTypeAmOut},</if>
|
|
|
<if test="kaTypePmIn != null">ka_type_pm_in = #{kaTypePmIn},</if>
|
|
|
<if test="kaTypePmOut != null">ka_type_pm_out = #{kaTypePmOut},</if>
|
|
|
+ <if test="kaAmInPhoto != null">ka_am_in_photo = #{kaAmInPhoto},</if>
|
|
|
+ <if test="kaAmOutPhoto != null">ka_am_out_photo = #{kaAmOutPhoto},</if>
|
|
|
+ <if test="kaPmInPhoto != null">ka_pm_in_photo = #{kaPmInPhoto},</if>
|
|
|
+ <if test="kaPmOutPhoto != null">ka_pm_out_photo = #{kaPmOutPhoto},</if>
|
|
|
<if test="kaStatus != null">ka_status = #{kaStatus},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|