生产工序 新增 产线设备

highway
A0010407 1 year ago
parent 1ef5bd2bde
commit 67447b6164

@ -14,12 +14,12 @@ spring:
nacos: nacos:
discovery: discovery:
namespace: lanju-op namespace: lanju-op
group: ywl group: jgy
# 服务注册地址 # 服务注册地址
server-addr: 140.249.53.142:8848 server-addr: 140.249.53.142:8848
config: config:
namespace: lanju-op namespace: lanju-op
group: ywl group: jgy
#命名空间 #命名空间
#group: local #group: local
# 配置中心地址 # 配置中心地址

@ -61,6 +61,8 @@ public class ProProcess extends BaseEntity
private String workCenter; private String workCenter;
//工作时长 //工作时长
private Double workTime; private Double workTime;
//线体设备
private String equipment;
public List<BaseFile> getFiles() { public List<BaseFile> getFiles() {
return files; return files;
@ -200,6 +202,14 @@ public class ProProcess extends BaseEntity
return attr4; return attr4;
} }
public void setEquipment(String equipment)
{
this.equipment = equipment;
}
public String getEquipment()
{
return equipment;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

@ -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>

Loading…
Cancel
Save