Browse Source

采购申请单上增加刀具寿命,实例号 ,备注 2022年12月22日 sxm

master
[li_she] 3 years ago
parent
commit
2b5cb77f0e
  1. 5
      src/main/java/com/gaotao/modules/purchaseorder/entity/PRDetail.java
  2. 10
      src/main/resources/mapper/purchaseorder/PRDetailMapper.xml

5
src/main/java/com/gaotao/modules/purchaseorder/entity/PRDetail.java

@ -211,4 +211,9 @@ public class PRDetail {
private int stepId;
private String nameDesc;
private int lifespan;
private String toolInstanceId;
}

10
src/main/resources/mapper/purchaseorder/PRDetailMapper.xml

@ -59,7 +59,7 @@
,isnull(C.can_auth_flag ,'N') as strCanAuthFlag
,(case B.ApproveResult when 'Y' then '已通过' else '未通过' end) as strApproveResult
,B.EnterDate as enterDate ,brl.role_desc
,D.FamilyName as familyName
,D.FamilyName as familyName,A.lifespan , A.toolInstanceId tool_instance_id
from PRDetail A
left join PRHeader B on A.RequisitionNo = B.RequisitionNo and A.Site = B.Site
left join business_role_list brl on brl.role_item_no = B.OrderType
@ -206,7 +206,9 @@
<if test="outworkorderflag!=null">OutWorkOrderFlag,</if>
<if test="internalleadtime!=null">InternalLeadTime,</if>
<if test="lastupdateby!=null">LastUpdateBy,</if>
<if test="prtopotemp!=null">PRTOPOTemp</if>
<if test="prtopotemp!=null">PRTOPOTemp,</if>
<if test="lifespan!=null">lifespan,</if>
<if test="toolInstanceId!=null">toolInstanceId</if>
</trim>
VALUES
<trim prefix="(" suffix=")" suffixOverrides=",">
@ -240,7 +242,9 @@
<if test="outworkorderflag!=null">#{outworkorderflag,jdbcType=CHAR},</if>
<if test="internalleadtime!=null">#{internalleadtime,jdbcType=FLOAT},</if>
<if test="lastupdateby!=null">#{lastupdateby,jdbcType=VARCHAR},</if>
<if test="prtopotemp!=null">#{prtopotemp,jdbcType=VARCHAR}</if>
<if test="prtopotemp!=null">#{prtopotemp,jdbcType=VARCHAR},</if>
<if test="lifespan!=null">#{lifespan},</if>
<if test="toolInstanceId!=null">#{toolInstanceId}</if>
</trim>
</insert>
<update id="updatePRDetail">

Loading…
Cancel
Save