Commit 842fc66d authored by 温志超's avatar 温志超

生产报工增加异常原因

parent 5b5ed993
...@@ -320,6 +320,8 @@ public class ProFeedback extends BaseEntity { ...@@ -320,6 +320,8 @@ public class ProFeedback extends BaseEntity {
/** 异常原因 */ /** 异常原因 */
private String abnormalReason; private String abnormalReason;
/** 异常原因 备注*/
private String abnormalRemark;
......
...@@ -285,4 +285,6 @@ public class ProFeedbackVo { ...@@ -285,4 +285,6 @@ public class ProFeedbackVo {
/** 异常原因 */ /** 异常原因 */
private String abnormalReason; private String abnormalReason;
/** 异常原因 备注*/
private String abnormalRemark;
} }
...@@ -112,7 +112,8 @@ ...@@ -112,7 +112,8 @@
it.sap_item_code, it.sap_item_code,
f.abnormal_id, f.abnormal_id,
f.abnormal_type, f.abnormal_type,
f.abnormal_reason f.abnormal_reason,
f.abnormal_remark
from pro_feedback f from pro_feedback f
-- left join pro_task_assist_process ptap on f.task_workunit_id = ptap.task_workunit_id -- left join pro_task_assist_process ptap on f.task_workunit_id = ptap.task_workunit_id
left join pro_task pt on f.task_id = pt.task_id left join pro_task pt on f.task_id = pt.task_id
...@@ -227,6 +228,7 @@ ...@@ -227,6 +228,7 @@
<if test="abnormalId != null">abnormal_id,</if> <if test="abnormalId != null">abnormal_id,</if>
<if test="abnormalType != null">abnormal_type,</if> <if test="abnormalType != null">abnormal_type,</if>
<if test="abnormalReason != null">abnormal_reason,</if> <if test="abnormalReason != null">abnormal_reason,</if>
<if test="abnormalRemark != null">abnormal_remark,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="feedbackType !=null ">#{feedbackType},</if> <if test="feedbackType !=null ">#{feedbackType},</if>
...@@ -285,6 +287,7 @@ ...@@ -285,6 +287,7 @@
<if test="abnormalId != null">#{abnormalId},</if> <if test="abnormalId != null">#{abnormalId},</if>
<if test="abnormalType != null">#{abnormalType},</if> <if test="abnormalType != null">#{abnormalType},</if>
<if test="abnormalReason != null">#{abnormalReason},</if> <if test="abnormalReason != null">#{abnormalReason},</if>
<if test="abnormalRemark != null">#{abnormalRemark},</if>
</trim> </trim>
</insert> </insert>
...@@ -345,6 +348,7 @@ ...@@ -345,6 +348,7 @@
<if test="abnormalId != null">abnormal_id = #{abnormalId},</if> <if test="abnormalId != null">abnormal_id = #{abnormalId},</if>
<if test="abnormalType != null">abnormal_type = #{abnormalType},</if> <if test="abnormalType != null">abnormal_type = #{abnormalType},</if>
<if test="abnormalReason != null">abnormal_reason = #{abnormalReason},</if> <if test="abnormalReason != null">abnormal_reason = #{abnormalReason},</if>
<if test="abnormalRemark != null">abnormal_remark = #{abnormalRemark},</if>
</trim> </trim>
where record_id = #{recordId} where record_id = #{recordId}
</update> </update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment