生产工序 新增 产线设备

highway
A0010407 1 year ago
parent 1ef5bd2bde
commit 67447b6164

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

@ -61,6 +61,8 @@ public class ProProcess extends BaseEntity
private String workCenter;
//工作时长
private Double workTime;
//线体设备
private String equipment;
public List<BaseFile> getFiles() {
return files;
@ -200,6 +202,14 @@ public class ProProcess extends BaseEntity
return attr4;
}
public void setEquipment(String equipment)
{
this.equipment = equipment;
}
public String getEquipment()
{
return equipment;
}
@Override
public String toString() {
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="workCenter" column="work_center"/>
<result property="workTime" column="work_time"/>
<result property="equipment" column="equipment"/>
</resultMap>
<sql id="selectProProcessVo">
select process_id, process_code, process_name, attention,
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
</sql>
@ -85,6 +86,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sync != null">sync,</if>
<if test="workCenter != null">work_center,</if>
<if test="workTime != null">work_time,</if>
<if test="equipment != null">equipment,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
#{processId},
@ -106,6 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="sync != null">#{sync},</if>
<if test="workCenter != null">#{workCenter},</if>
<if test="workTime != null">#{workTime},</if>
<if test="equipment != null">#{equipment},</if>
</trim>
</insert>
<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="workCenter != null">work_center = #{workCenter},</if>
<if test="workTime != null">work_time = #{workTime},</if>
<if test="equipment != null">equipment = #{equipment},</if>
</trim>
where process_id = #{processId}
</update>

Loading…
Cancel
Save