|
@@ -1,133 +1,145 @@
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE mapper
|
|
<!DOCTYPE mapper
|
|
-PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
-"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
|
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.ruoyi.project.sems.his.mapper.TSpechiYlgdMapper">
|
|
<mapper namespace="com.ruoyi.project.sems.his.mapper.TSpechiYlgdMapper">
|
|
|
|
|
|
<resultMap type="TSpechiYlgd" id="TSpechiYlgdResult">
|
|
<resultMap type="TSpechiYlgd" id="TSpechiYlgdResult">
|
|
- <result property="id" column="id" />
|
|
|
|
- <result property="plantCode" column="plant_code" />
|
|
|
|
- <result property="unit" column="unit" />
|
|
|
|
- <result property="devname" column="devname" />
|
|
|
|
- <result property="devno" column="devno" />
|
|
|
|
- <result property="submitdate" column="submitdate" />
|
|
|
|
- <result property="status" column="status" />
|
|
|
|
- <result property="delFlag" column="del_flag" />
|
|
|
|
- <result property="createrCode" column="creater_code" />
|
|
|
|
- <result property="createdate" column="createdate" />
|
|
|
|
- <result property="updaterCode" column="updater_code" />
|
|
|
|
- <result property="updatedate" column="updatedate" />
|
|
|
|
- <result property="deptId" column="dept_id" />
|
|
|
|
- <result property="remarks" column="remarks" />
|
|
|
|
- <result property="approveStatus" column="approve_status" />
|
|
|
|
- <result property="regno" column="regno" />
|
|
|
|
- <result property="useno" column="useno" />
|
|
|
|
- <result property="warnDate" column="warn_date" />
|
|
|
|
- <result property="warnCycle" column="warn_cycle" />
|
|
|
|
- <result property="nextWarnDate" column="next_warn_date" />
|
|
|
|
- <result property="warnFlag" column="warn_flag" />
|
|
|
|
- <result property="grade" column="grade" />
|
|
|
|
- <result property="designer" column="designer" />
|
|
|
|
- <result property="installer" column="installer" />
|
|
|
|
- <result property="material" column="material" />
|
|
|
|
- <result property="dia" column="dia" />
|
|
|
|
- <result property="scheduleNo" column="schedule_no" />
|
|
|
|
- <result property="length" column="length" />
|
|
|
|
- <result property="starting" column="starting" />
|
|
|
|
- <result property="ending" column="ending" />
|
|
|
|
- <result property="desPressure" column="des_pressure" />
|
|
|
|
- <result property="desTemp" column="des_temp" />
|
|
|
|
- <result property="optPressure" column="opt_pressure" />
|
|
|
|
- <result property="optTemp" column="opt_temp" />
|
|
|
|
- <result property="medium" column="medium" />
|
|
|
|
- <result property="checkConclusion" column="check_conclusion" />
|
|
|
|
- <result property="checkUnit" column="check_unit" />
|
|
|
|
- <result property="safeClass" column="safe_class" />
|
|
|
|
- <result property="reportNo" column="report_no" />
|
|
|
|
- <result property="approveTime" column="approve_time" />
|
|
|
|
- <result property="changeTime" column="change_time" />
|
|
|
|
- <result property="plantMaint" column="plant_maint" />
|
|
|
|
- <result property="engineer" column="engineer" />
|
|
|
|
- <result property="weldNumber" column="weld_number" />
|
|
|
|
- <result property="layingMethod" column="laying_method" />
|
|
|
|
- <result property="adiabatic" column="adiabatic" />
|
|
|
|
- <result property="antiCorrosion" column="anti_corrosion" />
|
|
|
|
- <result property="adiabaticThickness" column="adiabatic_thickness" />
|
|
|
|
- <result property="isDanger" column="is_danger" />
|
|
|
|
- <result property="installDate" column="install_date" />
|
|
|
|
- <result property="yearWarnDate" column="year_warn_date" />
|
|
|
|
- <result property="yearNextWarnDate" column="year_next_warn_date" />
|
|
|
|
- <result property="yearReportNo" column="year_report_no" />
|
|
|
|
- <result property="devId" column="dev_id" />
|
|
|
|
- <result property="hiType" column="hi_type" />
|
|
|
|
- <result property="deptName" column="dept_name" />
|
|
|
|
|
|
+ <result property="id" column="id"/>
|
|
|
|
+ <result property="plantCode" column="plant_code"/>
|
|
|
|
+ <result property="unit" column="unit"/>
|
|
|
|
+ <result property="devname" column="devname"/>
|
|
|
|
+ <result property="devno" column="devno"/>
|
|
|
|
+ <result property="submitdate" column="submitdate"/>
|
|
|
|
+ <result property="status" column="status"/>
|
|
|
|
+ <result property="delFlag" column="del_flag"/>
|
|
|
|
+ <result property="createrCode" column="creater_code"/>
|
|
|
|
+ <result property="createdate" column="createdate"/>
|
|
|
|
+ <result property="updaterCode" column="updater_code"/>
|
|
|
|
+ <result property="updatedate" column="updatedate"/>
|
|
|
|
+ <result property="deptId" column="dept_id"/>
|
|
|
|
+ <result property="remarks" column="remarks"/>
|
|
|
|
+ <result property="approveStatus" column="approve_status"/>
|
|
|
|
+ <result property="regno" column="regno"/>
|
|
|
|
+ <result property="useno" column="useno"/>
|
|
|
|
+ <result property="warnDate" column="warn_date"/>
|
|
|
|
+ <result property="warnCycle" column="warn_cycle"/>
|
|
|
|
+ <result property="nextWarnDate" column="next_warn_date"/>
|
|
|
|
+ <result property="warnFlag" column="warn_flag"/>
|
|
|
|
+ <result property="grade" column="grade"/>
|
|
|
|
+ <result property="designer" column="designer"/>
|
|
|
|
+ <result property="installer" column="installer"/>
|
|
|
|
+ <result property="material" column="material"/>
|
|
|
|
+ <result property="dia" column="dia"/>
|
|
|
|
+ <result property="scheduleNo" column="schedule_no"/>
|
|
|
|
+ <result property="length" column="length"/>
|
|
|
|
+ <result property="starting" column="starting"/>
|
|
|
|
+ <result property="ending" column="ending"/>
|
|
|
|
+ <result property="desPressure" column="des_pressure"/>
|
|
|
|
+ <result property="desTemp" column="des_temp"/>
|
|
|
|
+ <result property="optPressure" column="opt_pressure"/>
|
|
|
|
+ <result property="optTemp" column="opt_temp"/>
|
|
|
|
+ <result property="medium" column="medium"/>
|
|
|
|
+ <result property="checkConclusion" column="check_conclusion"/>
|
|
|
|
+ <result property="checkUnit" column="check_unit"/>
|
|
|
|
+ <result property="safeClass" column="safe_class"/>
|
|
|
|
+ <result property="reportNo" column="report_no"/>
|
|
|
|
+ <result property="approveTime" column="approve_time"/>
|
|
|
|
+ <result property="changeTime" column="change_time"/>
|
|
|
|
+ <result property="plantMaint" column="plant_maint"/>
|
|
|
|
+ <result property="engineer" column="engineer"/>
|
|
|
|
+ <result property="weldNumber" column="weld_number"/>
|
|
|
|
+ <result property="layingMethod" column="laying_method"/>
|
|
|
|
+ <result property="adiabatic" column="adiabatic"/>
|
|
|
|
+ <result property="antiCorrosion" column="anti_corrosion"/>
|
|
|
|
+ <result property="adiabaticThickness" column="adiabatic_thickness"/>
|
|
|
|
+ <result property="isDanger" column="is_danger"/>
|
|
|
|
+ <result property="installDate" column="install_date"/>
|
|
|
|
+ <result property="yearWarnDate" column="year_warn_date"/>
|
|
|
|
+ <result property="yearNextWarnDate" column="year_next_warn_date"/>
|
|
|
|
+ <result property="yearReportNo" column="year_report_no"/>
|
|
|
|
+ <result property="devId" column="dev_id"/>
|
|
|
|
+ <result property="hiType" column="hi_type"/>
|
|
|
|
+ <result property="deptName" column="dept_name"/>
|
|
|
|
+ <result property="operName" column="oper_name"/>
|
|
|
|
+ <result property="operTime" column="oper_time"/>
|
|
|
|
+ <result property="operType" column="oper_type"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTSpechiYlgdVo">
|
|
<sql id="selectTSpechiYlgdVo">
|
|
- select d.id, d.plant_code, d.unit, d.devname, d.devno, d.submitdate, d.status, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.approve_status, d.regno, d.useno, d.warn_date, d.warn_cycle, d.next_warn_date, d.warn_flag, d.grade, d.designer, d.installer, d.material, d.dia, d.schedule_no, d.length, d.starting, d.ending, d.des_pressure, d.des_temp, d.opt_pressure, d.opt_temp, d.medium, d.check_conclusion, d.check_unit, d.safe_class, d.report_no, d.approve_time, d.change_time, d.plant_maint, d.engineer, d.weld_number, d.laying_method, d.adiabatic, d.anti_corrosion, d.adiabatic_thickness, d.is_danger, d.install_date, d.year_warn_date, d.year_next_warn_date, d.year_report_no, d.dev_id, d.hi_type ,s.dept_name from t_spechi_ylgd d
|
|
|
|
- left join sys_dept s on s.dept_id = d.dept_id
|
|
|
|
|
|
+ select d.id,
|
|
|
|
+ d.plant_code,
|
|
|
|
+ d.oper_name,
|
|
|
|
+ d.oper_time,
|
|
|
|
+ d.oper_type,
|
|
|
|
+ d.unit,
|
|
|
|
+ d.devname,
|
|
|
|
+ d.devno,
|
|
|
|
+ d.submitdate,
|
|
|
|
+ d.status,
|
|
|
|
+ d.del_flag,
|
|
|
|
+ d.creater_code,
|
|
|
|
+ d.createdate,
|
|
|
|
+ d.updater_code,
|
|
|
|
+ d.updatedate,
|
|
|
|
+ d.dept_id,
|
|
|
|
+ d.remarks,
|
|
|
|
+ d.approve_status,
|
|
|
|
+ d.regno,
|
|
|
|
+ d.useno,
|
|
|
|
+ d.warn_date,
|
|
|
|
+ d.warn_cycle,
|
|
|
|
+ d.next_warn_date,
|
|
|
|
+ d.warn_flag,
|
|
|
|
+ d.grade,
|
|
|
|
+ d.designer,
|
|
|
|
+ d.installer,
|
|
|
|
+ d.material,
|
|
|
|
+ d.dia,
|
|
|
|
+ d.schedule_no,
|
|
|
|
+ d.length,
|
|
|
|
+ d.starting,
|
|
|
|
+ d.ending,
|
|
|
|
+ d.des_pressure,
|
|
|
|
+ d.des_temp,
|
|
|
|
+ d.opt_pressure,
|
|
|
|
+ d.opt_temp,
|
|
|
|
+ d.medium,
|
|
|
|
+ d.check_conclusion,
|
|
|
|
+ d.check_unit,
|
|
|
|
+ d.safe_class,
|
|
|
|
+ d.report_no,
|
|
|
|
+ d.approve_time,
|
|
|
|
+ d.change_time,
|
|
|
|
+ d.plant_maint,
|
|
|
|
+ d.engineer,
|
|
|
|
+ d.weld_number,
|
|
|
|
+ d.laying_method,
|
|
|
|
+ d.adiabatic,
|
|
|
|
+ d.anti_corrosion,
|
|
|
|
+ d.adiabatic_thickness,
|
|
|
|
+ d.is_danger,
|
|
|
|
+ d.install_date,
|
|
|
|
+ d.year_warn_date,
|
|
|
|
+ d.year_next_warn_date,
|
|
|
|
+ d.year_report_no,
|
|
|
|
+ d.dev_id,
|
|
|
|
+ d.hi_type,
|
|
|
|
+ s.dept_name
|
|
|
|
+ from t_spechi_ylgd d
|
|
|
|
+ left join sys_dept s on s.dept_id = d.dept_id
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectTSpechiYlgdList" parameterType="TSpechiYlgd" resultMap="TSpechiYlgdResult">
|
|
<select id="selectTSpechiYlgdList" parameterType="TSpechiYlgd" resultMap="TSpechiYlgdResult">
|
|
<include refid="selectTSpechiYlgdVo"/>
|
|
<include refid="selectTSpechiYlgdVo"/>
|
|
<where>
|
|
<where>
|
|
- <if test="plantCode != null and plantCode != ''"> and plant_code = #{plantCode}</if>
|
|
|
|
- <if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
|
|
|
- <if test="devname != null and devname != ''"> and devname like concat(concat('%', #{devname}), '%')</if>
|
|
|
|
- <if test="devno != null and devno != ''"> and devno = #{devno}</if>
|
|
|
|
- <if test="submitdate != null "> and submitdate = #{submitdate}</if>
|
|
|
|
- <if test="status != null "> and status = #{status}</if>
|
|
|
|
- <if test="createrCode != null "> and creater_code = #{createrCode}</if>
|
|
|
|
- <if test="createdate != null "> and createdate = #{createdate}</if>
|
|
|
|
- <if test="updaterCode != null "> and updater_code = #{updaterCode}</if>
|
|
|
|
- <if test="updatedate != null "> and updatedate = #{updatedate}</if>
|
|
|
|
- <if test="deptId != null "> and dept_id = #{deptId}</if>
|
|
|
|
- <if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if>
|
|
|
|
- <if test="approveStatus != null "> and approve_status = #{approveStatus}</if>
|
|
|
|
- <if test="regno != null and regno != ''"> and regno = #{regno}</if>
|
|
|
|
- <if test="useno != null and useno != ''"> and useno = #{useno}</if>
|
|
|
|
- <if test="warnDate != null "> and warn_date = #{warnDate}</if>
|
|
|
|
- <if test="warnCycle != null "> and warn_cycle = #{warnCycle}</if>
|
|
|
|
- <if test="nextWarnDate != null "> and next_warn_date = #{nextWarnDate}</if>
|
|
|
|
- <if test="warnFlag != null "> and warn_flag = #{warnFlag}</if>
|
|
|
|
- <if test="grade != null and grade != ''"> and grade = #{grade}</if>
|
|
|
|
- <if test="designer != null and designer != ''"> and designer = #{designer}</if>
|
|
|
|
- <if test="installer != null and installer != ''"> and installer = #{installer}</if>
|
|
|
|
- <if test="material != null and material != ''"> and material = #{material}</if>
|
|
|
|
- <if test="dia != null and dia != ''"> and dia = #{dia}</if>
|
|
|
|
- <if test="scheduleNo != null and scheduleNo != ''"> and schedule_no = #{scheduleNo}</if>
|
|
|
|
- <if test="length != null and length != ''"> and length = #{length}</if>
|
|
|
|
- <if test="starting != null and starting != ''"> and starting = #{starting}</if>
|
|
|
|
- <if test="ending != null and ending != ''"> and ending = #{ending}</if>
|
|
|
|
- <if test="desPressure != null and desPressure != ''"> and des_pressure = #{desPressure}</if>
|
|
|
|
- <if test="desTemp != null and desTemp != ''"> and des_temp = #{desTemp}</if>
|
|
|
|
- <if test="optPressure != null and optPressure != ''"> and opt_pressure = #{optPressure}</if>
|
|
|
|
- <if test="optTemp != null and optTemp != ''"> and opt_temp = #{optTemp}</if>
|
|
|
|
- <if test="medium != null and medium != ''"> and medium = #{medium}</if>
|
|
|
|
- <if test="checkConclusion != null "> and check_conclusion = #{checkConclusion}</if>
|
|
|
|
- <if test="checkUnit != null and checkUnit != ''"> and check_unit = #{checkUnit}</if>
|
|
|
|
- <if test="safeClass != null and safeClass != ''"> and safe_class = #{safeClass}</if>
|
|
|
|
- <if test="reportNo != null and reportNo != ''"> and report_no = #{reportNo}</if>
|
|
|
|
- <if test="approveTime != null "> and approve_time = #{approveTime}</if>
|
|
|
|
- <if test="changeTime != null "> and change_time = #{changeTime}</if>
|
|
|
|
- <if test="plantMaint != null and plantMaint != ''"> and plant_maint = #{plantMaint}</if>
|
|
|
|
- <if test="engineer != null and engineer != ''"> and engineer = #{engineer}</if>
|
|
|
|
- <if test="weldNumber != null and weldNumber != ''"> and weld_number = #{weldNumber}</if>
|
|
|
|
- <if test="layingMethod != null and layingMethod != ''"> and laying_method = #{layingMethod}</if>
|
|
|
|
- <if test="adiabatic != null and adiabatic != ''"> and adiabatic = #{adiabatic}</if>
|
|
|
|
- <if test="antiCorrosion != null and antiCorrosion != ''"> and anti_corrosion = #{antiCorrosion}</if>
|
|
|
|
- <if test="adiabaticThickness != null and adiabaticThickness != ''"> and adiabatic_thickness = #{adiabaticThickness}</if>
|
|
|
|
- <if test="isDanger != null "> and is_danger = #{isDanger}</if>
|
|
|
|
- <if test="installDate != null "> and install_date = #{installDate}</if>
|
|
|
|
- <if test="yearWarnDate != null "> and year_warn_date = #{yearWarnDate}</if>
|
|
|
|
- <if test="yearNextWarnDate != null "> and year_next_warn_date = #{yearNextWarnDate}</if>
|
|
|
|
- <if test="yearReportNo != null and yearReportNo != ''"> and year_report_no = #{yearReportNo}</if>
|
|
|
|
- <if test="devId != null "> and dev_id = #{devId}</if>
|
|
|
|
- <if test="hiType != null "> and hi_type = #{hiType}</if>
|
|
|
|
|
|
+ <if test="operName != null and operName != ''"> and oper_name like concat(concat('%', #{operName}), '%')</if>
|
|
|
|
+ <if test="operTime != null "> and oper_time = #{operTime}</if>
|
|
|
|
+ <if test="operType != null and operType != ''"> and oper_type like concat(concat('%', #{operType}), '%')</if>
|
|
and d.del_flag = 0
|
|
and d.del_flag = 0
|
|
|
|
+ and d.hi_type = 2
|
|
</where>
|
|
</where>
|
|
- <!-- 数据范围过滤 -->
|
|
|
|
- ${params.dataScope}
|
|
|
|
|
|
+ order by d.oper_time desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectTSpechiYlgdById" parameterType="Long" resultMap="TSpechiYlgdResult">
|
|
<select id="selectTSpechiYlgdById" parameterType="Long" resultMap="TSpechiYlgdResult">
|
|
@@ -157,7 +169,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="devno != null">devno,</if>
|
|
<if test="devno != null">devno,</if>
|
|
<if test="submitdate != null">submitdate,</if>
|
|
<if test="submitdate != null">submitdate,</if>
|
|
<if test="status != null">status,</if>
|
|
<if test="status != null">status,</if>
|
|
- <if test="delFlag != null">del_flag,</if>
|
|
|
|
<if test="createrCode != null">creater_code,</if>
|
|
<if test="createrCode != null">creater_code,</if>
|
|
<if test="createdate != null">createdate,</if>
|
|
<if test="createdate != null">createdate,</if>
|
|
<if test="updaterCode != null">updater_code,</if>
|
|
<if test="updaterCode != null">updater_code,</if>
|
|
@@ -205,7 +216,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="yearReportNo != null">year_report_no,</if>
|
|
<if test="yearReportNo != null">year_report_no,</if>
|
|
<if test="devId != null">dev_id,</if>
|
|
<if test="devId != null">dev_id,</if>
|
|
<if test="hiType != null">hi_type,</if>
|
|
<if test="hiType != null">hi_type,</if>
|
|
- </trim>
|
|
|
|
|
|
+ </trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
<if test="plantCode != null">#{plantCode},</if>
|
|
<if test="plantCode != null">#{plantCode},</if>
|
|
@@ -214,7 +225,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="devno != null">#{devno},</if>
|
|
<if test="devno != null">#{devno},</if>
|
|
<if test="submitdate != null">#{submitdate},</if>
|
|
<if test="submitdate != null">#{submitdate},</if>
|
|
<if test="status != null">#{status},</if>
|
|
<if test="status != null">#{status},</if>
|
|
- <if test="delFlag != null">#{delFlag},</if>
|
|
|
|
<if test="createrCode != null">#{createrCode},</if>
|
|
<if test="createrCode != null">#{createrCode},</if>
|
|
<if test="createdate != null">#{createdate},</if>
|
|
<if test="createdate != null">#{createdate},</if>
|
|
<if test="updaterCode != null">#{updaterCode},</if>
|
|
<if test="updaterCode != null">#{updaterCode},</if>
|
|
@@ -262,7 +272,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="yearReportNo != null">#{yearReportNo},</if>
|
|
<if test="yearReportNo != null">#{yearReportNo},</if>
|
|
<if test="devId != null">#{devId},</if>
|
|
<if test="devId != null">#{devId},</if>
|
|
<if test="hiType != null">#{hiType},</if>
|
|
<if test="hiType != null">#{hiType},</if>
|
|
- </trim>
|
|
|
|
|
|
+ </trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
<insert id="insertTSpechiYlgdByDev" parameterType="com.ruoyi.project.sems.domain.TSpecdevYlgd">
|
|
<insert id="insertTSpechiYlgdByDev" parameterType="com.ruoyi.project.sems.domain.TSpecdevYlgd">
|
|
@@ -278,7 +288,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="devno != null">devno,</if>
|
|
<if test="devno != null">devno,</if>
|
|
<if test="submitdate != null">submitdate,</if>
|
|
<if test="submitdate != null">submitdate,</if>
|
|
<if test="status != null">status,</if>
|
|
<if test="status != null">status,</if>
|
|
- <if test="delFlag != null">del_flag,</if>
|
|
|
|
<if test="createrCode != null">creater_code,</if>
|
|
<if test="createrCode != null">creater_code,</if>
|
|
<if test="createdate != null">createdate,</if>
|
|
<if test="createdate != null">createdate,</if>
|
|
<if test="updaterCode != null">updater_code,</if>
|
|
<if test="updaterCode != null">updater_code,</if>
|
|
@@ -326,6 +335,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="yearReportNo != null">year_report_no,</if>
|
|
<if test="yearReportNo != null">year_report_no,</if>
|
|
<if test="devId != null">dev_id,</if>
|
|
<if test="devId != null">dev_id,</if>
|
|
<if test="hiType != null">hi_type,</if>
|
|
<if test="hiType != null">hi_type,</if>
|
|
|
|
+ <if test="createBy != null">oper_name,</if>
|
|
|
|
+ <if test="createTime != null">oper_time,</if>
|
|
|
|
+ <if test="remark != null">oper_type,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
@@ -335,7 +347,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="devno != null">#{devno},</if>
|
|
<if test="devno != null">#{devno},</if>
|
|
<if test="submitdate != null">#{submitdate},</if>
|
|
<if test="submitdate != null">#{submitdate},</if>
|
|
<if test="status != null">#{status},</if>
|
|
<if test="status != null">#{status},</if>
|
|
- <if test="delFlag != null">#{delFlag},</if>
|
|
|
|
<if test="createrCode != null">#{createrCode},</if>
|
|
<if test="createrCode != null">#{createrCode},</if>
|
|
<if test="createdate != null">#{createdate},</if>
|
|
<if test="createdate != null">#{createdate},</if>
|
|
<if test="updaterCode != null">#{updaterCode},</if>
|
|
<if test="updaterCode != null">#{updaterCode},</if>
|
|
@@ -383,6 +394,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="yearReportNo != null">#{yearReportNo},</if>
|
|
<if test="yearReportNo != null">#{yearReportNo},</if>
|
|
<if test="devId != null">#{devId},</if>
|
|
<if test="devId != null">#{devId},</if>
|
|
<if test="hiType != null">#{hiType},</if>
|
|
<if test="hiType != null">#{hiType},</if>
|
|
|
|
+ <if test="createBy != null">#{createBy},</if>
|
|
|
|
+ <if test="createTime != null">#{createTime},</if>
|
|
|
|
+ <if test="remark != null">#{remark},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -448,7 +462,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="deleteTSpechiYlgdById" parameterType="Long">
|
|
<update id="deleteTSpechiYlgdById" parameterType="Long">
|
|
- update t_spechi_ylgd set del_flag = 2 where id = #{id}
|
|
|
|
|
|
+ update t_spechi_ylgd
|
|
|
|
+ set del_flag = 2
|
|
|
|
+ where id = #{id}
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="deleteTSpechiYlgdByIds" parameterType="String">
|
|
<update id="deleteTSpechiYlgdByIds" parameterType="String">
|
|
@@ -459,7 +475,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="deleteTSpechiYlgdByDevId" parameterType="Long">
|
|
<update id="deleteTSpechiYlgdByDevId" parameterType="Long">
|
|
- update t_spechi_ylgd set del_flag = 2 where dev_id = #{devId} and hi_type = 1
|
|
|
|
|
|
+ update t_spechi_ylgd
|
|
|
|
+ set del_flag = 2
|
|
|
|
+ where dev_id = #{devId}
|
|
|
|
+ and hi_type = 1
|
|
</update>
|
|
</update>
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|