Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes
Commits
842fc66d
Commit
842fc66d
authored
Oct 24, 2024
by
温志超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产报工增加异常原因
parent
5b5ed993
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
ProFeedback.java
mes/src/main/java/com/ximai/mes/pro/domain/ProFeedback.java
+2
-0
ProFeedbackVo.java
.../main/java/com/ximai/mes/pro/domain/vo/ProFeedbackVo.java
+2
-0
ProFeedbackMapper.xml
mes/src/main/resources/mapper/pro/ProFeedbackMapper.xml
+5
-1
No files found.
mes/src/main/java/com/ximai/mes/pro/domain/ProFeedback.java
View file @
842fc66d
...
...
@@ -320,6 +320,8 @@ public class ProFeedback extends BaseEntity {
/** 异常原因 */
private
String
abnormalReason
;
/** 异常原因 备注*/
private
String
abnormalRemark
;
...
...
mes/src/main/java/com/ximai/mes/pro/domain/vo/ProFeedbackVo.java
View file @
842fc66d
...
...
@@ -285,4 +285,6 @@ public class ProFeedbackVo {
/** 异常原因 */
private
String
abnormalReason
;
/** 异常原因 备注*/
private
String
abnormalRemark
;
}
mes/src/main/resources/mapper/pro/ProFeedbackMapper.xml
View file @
842fc66d
...
...
@@ -112,7 +112,8 @@
it.sap_item_code,
f.abnormal_id,
f.abnormal_type,
f.abnormal_reason
f.abnormal_reason,
f.abnormal_remark
from pro_feedback f
-- 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
...
...
@@ -227,6 +228,7 @@
<if
test=
"abnormalId != null"
>
abnormal_id,
</if>
<if
test=
"abnormalType != null"
>
abnormal_type,
</if>
<if
test=
"abnormalReason != null"
>
abnormal_reason,
</if>
<if
test=
"abnormalRemark != null"
>
abnormal_remark,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"feedbackType !=null "
>
#{feedbackType},
</if>
...
...
@@ -285,6 +287,7 @@
<if
test=
"abnormalId != null"
>
#{abnormalId},
</if>
<if
test=
"abnormalType != null"
>
#{abnormalType},
</if>
<if
test=
"abnormalReason != null"
>
#{abnormalReason},
</if>
<if
test=
"abnormalRemark != null"
>
#{abnormalRemark},
</if>
</trim>
</insert>
...
...
@@ -345,6 +348,7 @@
<if
test=
"abnormalId != null"
>
abnormal_id = #{abnormalId},
</if>
<if
test=
"abnormalType != null"
>
abnormal_type = #{abnormalType},
</if>
<if
test=
"abnormalReason != null"
>
abnormal_reason = #{abnormalReason},
</if>
<if
test=
"abnormalRemark != null"
>
abnormal_remark = #{abnormalRemark},
</if>
</trim>
where record_id = #{recordId}
</update>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment