|
|
@ -29,6 +29,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="remark" column="remark" /> |
|
|
<result property="remark" column="remark" /> |
|
|
<result property="matchingToType" column="matching_to_type" /> |
|
|
<result property="matchingToType" column="matching_to_type" /> |
|
|
<result property="matchingToId" column="matching_to_id" /> |
|
|
<result property="matchingToId" column="matching_to_id" /> |
|
|
|
|
|
<result property="zoneDeptId" column="zone_dept_id" /> |
|
|
|
|
|
<result property="zoneDeptName" column="zone_dept_name" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectEnterprisePubQrcodeVo"> |
|
|
<sql id="selectEnterprisePubQrcodeVo"> |
|
|
@ -36,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
matching_status, matching_message, download_status, dept_name, dept_id, user_name, user_id, |
|
|
matching_status, matching_message, download_status, dept_name, dept_id, user_name, user_id, |
|
|
create_time, create_by, qr_code_path, last_qr_code_time, |
|
|
create_time, create_by, qr_code_path, last_qr_code_time, |
|
|
import_row_num, import_file_name, import_file_id, remark, |
|
|
import_row_num, import_file_name, import_file_id, remark, |
|
|
matching_to_type, matching_to_id |
|
|
matching_to_type, matching_to_id, zone_dept_id, zone_dept_name |
|
|
from enterprise_pub_qrcode |
|
|
from enterprise_pub_qrcode |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
@ -140,6 +142,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="remark != null and remark != ''">remark,</if> |
|
|
<if test="remark != null and remark != ''">remark,</if> |
|
|
<if test="matchingToType != null and matchingToType != ''">matching_to_type,</if> |
|
|
<if test="matchingToType != null and matchingToType != ''">matching_to_type,</if> |
|
|
<if test="matchingToId != null and matchingToId != ''">matching_to_id,</if> |
|
|
<if test="matchingToId != null and matchingToId != ''">matching_to_id,</if> |
|
|
|
|
|
<if test="zoneDeptId != null and zoneDeptId != ''">zone_dept_id,</if> |
|
|
|
|
|
<if test="zoneDeptName != null and zoneDeptName != ''">zone_dept_name,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null and id != ''">#{id},</if> |
|
|
<if test="id != null and id != ''">#{id},</if> |
|
|
@ -166,6 +170,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="remark != null and remark != ''">#{remark},</if> |
|
|
<if test="remark != null and remark != ''">#{remark},</if> |
|
|
<if test="matchingToType != null and matchingToType != ''">#{matchingToType},</if> |
|
|
<if test="matchingToType != null and matchingToType != ''">#{matchingToType},</if> |
|
|
<if test="matchingToId != null and matchingToId != ''">#{matchingToId},</if> |
|
|
<if test="matchingToId != null and matchingToId != ''">#{matchingToId},</if> |
|
|
|
|
|
<if test="zoneDeptId != null and zoneDeptId != ''">#{zoneDeptId},</if> |
|
|
|
|
|
<if test="zoneDeptName != null and zoneDeptName != ''">#{zoneDeptName},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
|
@ -195,6 +201,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="remark != null and remark != ''">remark = #{remark},</if> |
|
|
<if test="remark != null and remark != ''">remark = #{remark},</if> |
|
|
<if test="matchingToType != null and matchingToType != ''">matching_to_type = #{matchingToType},</if> |
|
|
<if test="matchingToType != null and matchingToType != ''">matching_to_type = #{matchingToType},</if> |
|
|
<if test="matchingToId != null and matchingToId != ''">matching_to_id = #{matchingToId},</if> |
|
|
<if test="matchingToId != null and matchingToId != ''">matching_to_id = #{matchingToId},</if> |
|
|
|
|
|
<if test="zoneDeptId != null and zoneDeptId != ''">zone_dept_id = #{zoneDeptId},</if> |
|
|
|
|
|
<if test="zoneDeptName != null and zoneDeptName != ''">zone_dept_name = #{zoneDeptName},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
where id = #{id} |
|
|
where id = #{id} |
|
|
</update> |
|
|
</update> |
|
|
|