|
@@ -38,15 +38,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="strq" column="strq" />
|
|
<result property="strq" column="strq" />
|
|
<result property="phone" column="phone" />
|
|
<result property="phone" column="phone" />
|
|
<result property="zw" column="zw" />
|
|
<result property="zw" column="zw" />
|
|
|
|
+ <result property="userId" column="user_id" />
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
|
|
+ <result property="type" column="type" />
|
|
|
|
+ <result property="progress" column="progress" />
|
|
|
|
+ <result property="deptId" column="dept_id" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
+ <result property="isDel" column="is_del" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="updateTime" column="update_time" />
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
|
|
+ <result property="cjdId" column="cjd_id" />
|
|
|
|
+ <result property="cjdName" column="cjd_name" />
|
|
|
|
+ <result property="isMeet" column="is_meet" />
|
|
|
|
+ <result property="meetRemark" column="meet_remark" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectZsyzSbbzbVo">
|
|
<sql id="selectZsyzSbbzbVo">
|
|
- select id, sbdw, tbrq, zszxfzr, xmbh, xmxsmc, sfwlhxxxm, yzdq_id, yzdq_name, yzss_name, ntze, cylx_id, cylx_name, xmlb, tzlb, nlhd, czpt, tzzt, xmjz, gtzzrsfzhm, qytzrxyzdm, qybj, tzfjj, sndxse, sndnse, tzrxm, tzrzw, tzrdh, xmjj, name, strq, phone, zw, create_by, create_time, update_by, update_time, remark from zsyz_sbbzb
|
|
|
|
|
|
+ select id, sbdw, tbrq, zszxfzr, xmbh, xmxsmc, sfwlhxxxm, yzdq_id, yzdq_name, yzss_name, ntze, cylx_id, cylx_name, xmlb, tzlb, nlhd, czpt, tzzt, xmjz, gtzzrsfzhm, qytzrxyzdm, qybj, tzfjj, sndxse, sndnse, tzrxm, tzrzw, tzrdh, xmjj, name, strq, phone, zw, user_id, create_by, type, progress, dept_id, create_time, update_by, is_del, update_time, remark, cjd_id, cjd_name, is_meet, meet_remark from zsyz_sbbzb
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectZsyzSbbzbList" parameterType="ZsyzSbbzb" resultMap="ZsyzSbbzbResult">
|
|
<select id="selectZsyzSbbzbList" parameterType="ZsyzSbbzb" resultMap="ZsyzSbbzbResult">
|
|
@@ -84,6 +93,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="strq != null "> and strq = #{strq}</if>
|
|
<if test="strq != null "> and strq = #{strq}</if>
|
|
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
|
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|
|
<if test="zw != null and zw != ''"> and zw = #{zw}</if>
|
|
<if test="zw != null and zw != ''"> and zw = #{zw}</if>
|
|
|
|
+ <if test="userId != null "> and user_id = #{userId}</if>
|
|
|
|
+ <if test="type != null and type != ''"> and type = #{type}</if>
|
|
|
|
+ <if test="progress != null and progress != ''"> and progress = #{progress}</if>
|
|
|
|
+ <if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
|
+ <if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
|
|
+ <if test="cjdId != null "> and cjd_id = #{cjdId}</if>
|
|
|
|
+ <if test="cjdName != null and cjdName != ''"> and cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
|
|
+ <if test="isMeet != null and isMeet != ''"> and is_meet = #{isMeet}</if>
|
|
|
|
+ <if test="meetRemark != null and meetRemark != ''"> and meet_remark = #{meetRemark}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -127,11 +145,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="strq != null">strq,</if>
|
|
<if test="strq != null">strq,</if>
|
|
<if test="phone != null and phone != ''">phone,</if>
|
|
<if test="phone != null and phone != ''">phone,</if>
|
|
<if test="zw != null and zw != ''">zw,</if>
|
|
<if test="zw != null and zw != ''">zw,</if>
|
|
|
|
+ <if test="userId != null">user_id,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
|
|
+ <if test="type != null">type,</if>
|
|
|
|
+ <if test="progress != null">progress,</if>
|
|
|
|
+ <if test="deptId != null">dept_id,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
+ <if test="isDel != null">is_del,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="remark != null">remark,</if>
|
|
<if test="remark != null">remark,</if>
|
|
|
|
+ <if test="cjdId != null">cjd_id,</if>
|
|
|
|
+ <if test="cjdName != null">cjd_name,</if>
|
|
|
|
+ <if test="isMeet != null">is_meet,</if>
|
|
|
|
+ <if test="meetRemark != null">meet_remark,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="sbdw != null and sbdw != ''">#{sbdw},</if>
|
|
<if test="sbdw != null and sbdw != ''">#{sbdw},</if>
|
|
@@ -166,11 +193,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="strq != null">#{strq},</if>
|
|
<if test="strq != null">#{strq},</if>
|
|
<if test="phone != null and phone != ''">#{phone},</if>
|
|
<if test="phone != null and phone != ''">#{phone},</if>
|
|
<if test="zw != null and zw != ''">#{zw},</if>
|
|
<if test="zw != null and zw != ''">#{zw},</if>
|
|
|
|
+ <if test="userId != null">#{userId},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
|
+ <if test="type != null">#{type},</if>
|
|
|
|
+ <if test="progress != null">#{progress},</if>
|
|
|
|
+ <if test="deptId != null">#{deptId},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
+ <if test="isDel != null">#{isDel},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
|
|
+ <if test="cjdId != null">#{cjdId},</if>
|
|
|
|
+ <if test="cjdName != null">#{cjdName},</if>
|
|
|
|
+ <if test="isMeet != null">#{isMeet},</if>
|
|
|
|
+ <if test="meetRemark != null">#{meetRemark},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -209,11 +245,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="strq != null">strq = #{strq},</if>
|
|
<if test="strq != null">strq = #{strq},</if>
|
|
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
|
<if test="phone != null and phone != ''">phone = #{phone},</if>
|
|
<if test="zw != null and zw != ''">zw = #{zw},</if>
|
|
<if test="zw != null and zw != ''">zw = #{zw},</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="type != null">type = #{type},</if>
|
|
|
|
+ <if test="progress != null">progress = #{progress},</if>
|
|
|
|
+ <if test="deptId != null">dept_id = #{deptId},</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>
|
|
|
|
+ <if test="isDel != null">is_del = #{isDel},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
|
+ <if test="cjdId != null">cjd_id = #{cjdId},</if>
|
|
|
|
+ <if test="cjdName != null">cjd_name = #{cjdName},</if>
|
|
|
|
+ <if test="isMeet != null">is_meet = #{isMeet},</if>
|
|
|
|
+ <if test="meetRemark != null">meet_remark = #{meetRemark},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|