|
|
@ -24,12 +24,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="sync" column="sync"/>
|
|
|
|
<result property="sync" column="sync"/>
|
|
|
|
<result property="workCenter" column="work_center"/>
|
|
|
|
<result property="workCenter" column="work_center"/>
|
|
|
|
<result property="workTime" column="work_time"/>
|
|
|
|
<result property="workTime" column="work_time"/>
|
|
|
|
|
|
|
|
<result property="equipment" column="equipment"/>
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectProProcessVo">
|
|
|
|
<sql id="selectProProcessVo">
|
|
|
|
select process_id, process_code, process_name, attention,
|
|
|
|
select process_id, process_code, process_name, attention,
|
|
|
|
enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time,
|
|
|
|
enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time,
|
|
|
|
update_by, update_time,split_merge,split_merg_num,sync,work_center,work_time
|
|
|
|
update_by, update_time,split_merge,split_merg_num,sync,work_center,work_time,equipment
|
|
|
|
from pro_process
|
|
|
|
from pro_process
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
@ -85,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="sync != null">sync,</if>
|
|
|
|
<if test="sync != null">sync,</if>
|
|
|
|
<if test="workCenter != null">work_center,</if>
|
|
|
|
<if test="workCenter != null">work_center,</if>
|
|
|
|
<if test="workTime != null">work_time,</if>
|
|
|
|
<if test="workTime != null">work_time,</if>
|
|
|
|
|
|
|
|
<if test="equipment != null">equipment,</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
#{processId},
|
|
|
|
#{processId},
|
|
|
@ -106,6 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="sync != null">#{sync},</if>
|
|
|
|
<if test="sync != null">#{sync},</if>
|
|
|
|
<if test="workCenter != null">#{workCenter},</if>
|
|
|
|
<if test="workCenter != null">#{workCenter},</if>
|
|
|
|
<if test="workTime != null">#{workTime},</if>
|
|
|
|
<if test="workTime != null">#{workTime},</if>
|
|
|
|
|
|
|
|
<if test="equipment != null">#{equipment},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<update id="updateProProcess" parameterType="ProProcess">
|
|
|
|
<update id="updateProProcess" parameterType="ProProcess">
|
|
|
@ -129,6 +132,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="sync != null">sync = #{sync},</if>
|
|
|
|
<if test="sync != null">sync = #{sync},</if>
|
|
|
|
<if test="workCenter != null">work_center = #{workCenter},</if>
|
|
|
|
<if test="workCenter != null">work_center = #{workCenter},</if>
|
|
|
|
<if test="workTime != null">work_time = #{workTime},</if>
|
|
|
|
<if test="workTime != null">work_time = #{workTime},</if>
|
|
|
|
|
|
|
|
<if test="equipment != null">equipment = #{equipment},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where process_id = #{processId}
|
|
|
|
where process_id = #{processId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|