|
@@ -42,6 +42,7 @@
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="createBy" column="create_by"/>
|
|
<result property="type" column="type"/>
|
|
<result property="type" column="type"/>
|
|
<result property="progress" column="progress"/>
|
|
<result property="progress" column="progress"/>
|
|
|
|
+ <result property="xmStatus" column="xm_status"/>
|
|
<result property="deptId" column="dept_id"/>
|
|
<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"/>
|
|
@@ -215,6 +216,7 @@
|
|
create_by,
|
|
create_by,
|
|
type,
|
|
type,
|
|
progress,
|
|
progress,
|
|
|
|
+ xm_status,
|
|
dept_id,
|
|
dept_id,
|
|
create_time,
|
|
create_time,
|
|
update_by,
|
|
update_by,
|
|
@@ -234,7 +236,7 @@
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
- s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress, s.dept_id, s.create_time, s.update_by,
|
|
|
|
|
|
+ s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress,s.xm_status, s.dept_id, s.create_time, s.update_by,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.cjd_name, s.is_meet, s.meet_remark,s.shjg,
|
|
s.cjd_name, s.is_meet, s.meet_remark,s.shjg,
|
|
q.id, q.xm_id, q.xmbh, q.xmmc, q.dfqyr, q.wfqyr, q.tbrq, q.qyrq,q.xytzely, q.xytze, q.swzj, q.gdzctze,
|
|
q.id, q.xm_id, q.xmbh, q.xmmc, q.dfqyr, q.wfqyr, q.tbrq, q.qyrq,q.xytzely, q.xytze, q.swzj, q.gdzctze,
|
|
@@ -292,6 +294,7 @@
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
<if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
<if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">and xm_status = #{xmStatus})</if>
|
|
<if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
<if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
@@ -315,7 +318,7 @@
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
- s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress, s.dept_id, s.create_time, s.update_by,
|
|
|
|
|
|
+ s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress,s.xm_status, s.dept_id, s.create_time, s.update_by,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.cjd_name, s.is_meet, s.meet_remark,s.shjg
|
|
s.cjd_name, s.is_meet, s.meet_remark,s.shjg
|
|
from zsyz_sbbzb s
|
|
from zsyz_sbbzb s
|
|
@@ -327,7 +330,7 @@
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
- s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress, s.dept_id, s.create_time, s.update_by,
|
|
|
|
|
|
+ s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress,s.xm_status, s.dept_id, s.create_time, s.update_by,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.cjd_name, s.is_meet, s.meet_remark,
|
|
s.cjd_name, s.is_meet, s.meet_remark,
|
|
q.id, q.xm_id, q.xmbh, q.xmmc, q.dfqyr, q.wfqyr, q.tbrq, q.qyrq,q.xytzely, q.xytze, q.swzj, q.gdzctze,
|
|
q.id, q.xm_id, q.xmbh, q.xmmc, q.dfqyr, q.wfqyr, q.tbrq, q.qyrq,q.xytzely, q.xytze, q.swzj, q.gdzctze,
|
|
@@ -384,7 +387,8 @@
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
- <if test="progress != null and progress != ''">and s.progress = #{progress}</if>
|
|
|
|
|
|
+ <if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
|
|
<if test="deptId != null ">and s.dept_id = #{deptId}</if>
|
|
<if test="deptId != null ">and s.dept_id = #{deptId}</if>
|
|
<if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
<if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
@@ -441,6 +445,7 @@
|
|
s.create_by,
|
|
s.create_by,
|
|
s.type,
|
|
s.type,
|
|
s.progress,
|
|
s.progress,
|
|
|
|
+ s.xm_status,
|
|
s.dept_id,
|
|
s.dept_id,
|
|
s.create_time,
|
|
s.create_time,
|
|
s.update_by,
|
|
s.update_by,
|
|
@@ -457,6 +462,7 @@
|
|
and d.dept_id = #{deptId}
|
|
and d.dept_id = #{deptId}
|
|
<if test="xmxsmc != null and xmxsmc != ''">and s.xmxsmc = #{xmxsmc}</if>
|
|
<if test="xmxsmc != null and xmxsmc != ''">and s.xmxsmc = #{xmxsmc}</if>
|
|
<if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
<if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
|
|
<if test="cjdId != null ">and cjd_id = #{cjdId}</if>
|
|
<if test="cjdId != null ">and cjd_id = #{cjdId}</if>
|
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
<if test="params.beginTime != null and params.beginTime != ''"><!-- 开始时间检索 -->
|
|
AND date_format(s.create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
AND date_format(s.create_time,'%y%m%d') >= date_format(#{params.beginTime},'%y%m%d')
|
|
@@ -471,7 +477,7 @@
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
|
|
- s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress, s.dept_id, s.create_time, s.update_by,
|
|
|
|
|
|
+ s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress,s.xm_status, s.dept_id, s.create_time, s.update_by,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.is_del, s.update_time, s.remark, s.cjd_id,
|
|
s.cjd_name, s.is_meet, s.meet_remark,
|
|
s.cjd_name, s.is_meet, s.meet_remark,
|
|
j.id,j.xm_id,j.xmbh,j.xmmc,j.dept_id,j.shrxm,j.xmjd,j.shjg,j.shyj,j.shsj
|
|
j.id,j.xm_id,j.xmbh,j.xmmc,j.dept_id,j.shrxm,j.xmjd,j.shjg,j.shyj,j.shsj
|
|
@@ -514,8 +520,8 @@
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
- <if test="progress != null and progress != ''">and s.progress in (#{progress})</if>
|
|
|
|
- <if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
|
|
|
|
+ <if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
|
|
<if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
|
|
@@ -572,8 +578,8 @@
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
- <if test="progress != null and progress != ''">and s.progress in (#{progress})</if>
|
|
|
|
- <if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
|
|
|
|
+ <if test="progress != null and progress != ''">and and find_in_set(s.progress , #{progress})</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
|
|
<if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
|
|
@@ -628,8 +634,8 @@
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="zw != null and zw != ''">and s.zw = #{zw}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="userId != null ">and s.user_id = #{userId}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
<if test="type != null and type != ''">and s.type = #{type}</if>
|
|
- <if test="progress != null and progress != ''">and s.progress in (#{progress})</if>
|
|
|
|
- <if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
|
|
|
|
|
|
+ <if test="progress != null and progress != ''">and find_in_set(s.progress , #{progress})</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">and s.xm_status = #{xmStatus}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
|
|
<if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
|
|
<if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
|
|
@@ -699,6 +705,7 @@
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="type != null">type,</if>
|
|
<if test="type != null">type,</if>
|
|
<if test="progress != null">progress,</if>
|
|
<if test="progress != null">progress,</if>
|
|
|
|
+ <if test="xmStatus != null">xm_status,</if>
|
|
<if test="deptId != null">dept_id,</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>
|
|
@@ -748,6 +755,7 @@
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="type != null">#{type},</if>
|
|
<if test="type != null">#{type},</if>
|
|
<if test="progress != null">#{progress},</if>
|
|
<if test="progress != null">#{progress},</if>
|
|
|
|
+ <if test="xmStatus != null">#{xmStatus},</if>
|
|
<if test="deptId != null">#{deptId},</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>
|
|
@@ -801,6 +809,7 @@
|
|
<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="type != null">type = #{type},</if>
|
|
<if test="progress != null">progress = #{progress},</if>
|
|
<if test="progress != null">progress = #{progress},</if>
|
|
|
|
+ <if test="xmStatus != null">xm_status = #{xmStatus},</if>
|
|
<if test="deptId != null">dept_id = #{deptId},</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>
|
|
@@ -819,6 +828,7 @@
|
|
update zsyz_sbbzb
|
|
update zsyz_sbbzb
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="progress != null">progress = #{progress},</if>
|
|
<if test="progress != null">progress = #{progress},</if>
|
|
|
|
+ <if test="xmStatus != null">xm_status = #{xmStatus},</if>
|
|
<if test="cjdId != null">cjd_id = #{cjdId},</if>
|
|
<if test="cjdId != null">cjd_id = #{cjdId},</if>
|
|
<if test="cjdName != null">cjd_name = #{cjdName},</if>
|
|
<if test="cjdName != null">cjd_name = #{cjdName},</if>
|
|
</trim>
|
|
</trim>
|
|
@@ -836,9 +846,10 @@
|
|
update zsyz_sbbzb
|
|
update zsyz_sbbzb
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<if test="progress != null and progress != ''">progress = #{progress},</if>
|
|
<if test="progress != null and progress != ''">progress = #{progress},</if>
|
|
|
|
+ <if test="xmStatus != null and xmStatus != ''">xm_status = #{xmStatus},</if>
|
|
<if test="shjg != null and shjg != ''">shjg = #{shjg},</if>
|
|
<if test="shjg != null and shjg != ''">shjg = #{shjg},</if>
|
|
- <if test=" progress == 2">cjd_id = null,</if>
|
|
|
|
- <if test=" progress == 2">cjd_name = null,</if>
|
|
|
|
|
|
+ <if test=" progress == 1">cjd_id = null,</if>
|
|
|
|
+ <if test=" progress == 1">cjd_name = null,</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|