|
|
|
@ -5,6 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<mapper namespace="com.da.dangan.mapper.DaCzrkdjMapper">
|
|
|
|
<mapper namespace="com.da.dangan.mapper.DaCzrkdjMapper">
|
|
|
|
<resultMap type="DaCzrkdj" id="DaCzrkdjResult">
|
|
|
|
<resultMap type="DaCzrkdj" id="DaCzrkdjResult">
|
|
|
|
<result property="id" column="id" />
|
|
|
|
<result property="id" column="id" />
|
|
|
|
|
|
|
|
<result property="taskId" column="task_id" />
|
|
|
|
<result property="ywType" column="yw_type" />
|
|
|
|
<result property="ywType" column="yw_type" />
|
|
|
|
<result property="muId" column="mu_id" />
|
|
|
|
<result property="muId" column="mu_id" />
|
|
|
|
<result property="muPath" column="mu_path" />
|
|
|
|
<result property="muPath" column="mu_path" />
|
|
|
|
@ -66,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectDaCzrkdjVo">
|
|
|
|
<sql id="selectDaCzrkdjVo">
|
|
|
|
select id, yw_type, mu_id, mu_path, relation, name, other_name, used_name, sex, jhr1, jhgx1, jhr2, jhgx2, gmcszqfrq, birthday, address, yj, nation, zjxy, whcd, hyzk, zyjfwcs, bxsqtzz, gmzdhhmqfjgjrq, hsyhdqlbxshsdjhk, hsybxshcqlhsdjhk, hshyqwhd, zxhkrq, zxhkyy, hkdjsxbgjznrsjjblrz1, hkdjsxbgjznrsjjblrz2, jiguan, xzz, hz_name, hb, djrq, byzk, height, blood, zy, sl_reason, sljmsfzqm, qfyj, yxrq, card_id, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_czrkdj
|
|
|
|
select id, task_id, yw_type, mu_id, mu_path, relation, name, other_name, used_name, sex, jhr1, jhgx1, jhr2, jhgx2, gmcszqfrq, birthday, address, yj, nation, zjxy, whcd, hyzk, zyjfwcs, bxsqtzz, gmzdhhmqfjgjrq, hsyhdqlbxshsdjhk, hsybxshcqlhsdjhk, hshyqwhd, zxhkrq, zxhkyy, hkdjsxbgjznrsjjblrz1, hkdjsxbgjznrsjjblrz2, jiguan, xzz, hz_name, hb, djrq, byzk, height, blood, zy, sl_reason, sljmsfzqm, qfyj, yxrq, card_id, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_czrkdj
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectDaCzrkdjList" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult">
|
|
|
|
<select id="selectDaCzrkdjList" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult">
|
|
|
|
@ -74,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
left join da_user_catalog uc on c.mu_id = uc.mu_id
|
|
|
|
left join da_user_catalog uc on c.mu_id = uc.mu_id
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="userId != null "> and uc.user_id = #{userId}</if>
|
|
|
|
<if test="userId != null "> and uc.user_id = #{userId}</if>
|
|
|
|
|
|
|
|
<if test="taskId != null "> and task_id = #{taskId}</if>
|
|
|
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
|
|
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
|
|
|
<if test="muId != null "> and c.mu_id = #{muId}</if>
|
|
|
|
<if test="muId != null "> and c.mu_id = #{muId}</if>
|
|
|
|
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
|
|
|
|
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
|
|
|
|
@ -144,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
left join da_user_catalog uc on c.mu_id = uc.mu_id
|
|
|
|
left join da_user_catalog uc on c.mu_id = uc.mu_id
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="userId != null "> and uc.user_id = #{userId}</if>
|
|
|
|
<if test="userId != null "> and uc.user_id = #{userId}</if>
|
|
|
|
|
|
|
|
<if test="taskId != null "> and task_id = #{taskId}</if>
|
|
|
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
|
|
|
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
|
|
|
|
<if test="muId != null "> and c.mu_id = #{muId}</if>
|
|
|
|
<if test="muId != null "> and c.mu_id = #{muId}</if>
|
|
|
|
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
|
|
|
|
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
|
|
|
|
@ -217,6 +220,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<insert id="insertDaCzrkdj" parameterType="DaCzrkdj" useGeneratedKeys="true" keyProperty="id">
|
|
|
|
<insert id="insertDaCzrkdj" parameterType="DaCzrkdj" useGeneratedKeys="true" keyProperty="id">
|
|
|
|
insert into da_czrkdj
|
|
|
|
insert into da_czrkdj
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
|
|
<if test="taskId != null">task_id,</if>
|
|
|
|
<if test="ywType != null">yw_type,</if>
|
|
|
|
<if test="ywType != null">yw_type,</if>
|
|
|
|
<if test="muId != null">mu_id,</if>
|
|
|
|
<if test="muId != null">mu_id,</if>
|
|
|
|
<if test="muPath != null">mu_path,</if>
|
|
|
|
<if test="muPath != null">mu_path,</if>
|
|
|
|
@ -277,6 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
|
|
<if test="taskId != null">#{taskId},</if>
|
|
|
|
<if test="ywType != null">#{ywType},</if>
|
|
|
|
<if test="ywType != null">#{ywType},</if>
|
|
|
|
<if test="muId != null">#{muId},</if>
|
|
|
|
<if test="muId != null">#{muId},</if>
|
|
|
|
<if test="muPath != null">#{muPath},</if>
|
|
|
|
<if test="muPath != null">#{muPath},</if>
|
|
|
|
@ -341,6 +346,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<update id="updateDaCzrkdj" parameterType="DaCzrkdj">
|
|
|
|
<update id="updateDaCzrkdj" parameterType="DaCzrkdj">
|
|
|
|
update da_czrkdj
|
|
|
|
update da_czrkdj
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
|
|
|
<if test="taskId != null">task_id = #{taskId},</if>
|
|
|
|
<if test="ywType != null">yw_type = #{ywType},</if>
|
|
|
|
<if test="ywType != null">yw_type = #{ywType},</if>
|
|
|
|
<if test="muId != null">mu_id = #{muId},</if>
|
|
|
|
<if test="muId != null">mu_id = #{muId},</if>
|
|
|
|
<if test="muPath != null">mu_path = #{muPath},</if>
|
|
|
|
<if test="muPath != null">mu_path = #{muPath},</if>
|
|
|
|
|