Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
cd31faac
Commit
cd31faac
authored
Nov 19, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.fixBug:修复日常巡检单保存数据丢失问题
parent
fa33466c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ServiceHGZL003.java
.../java/com/baosight/hggp/hg/zl/service/ServiceHGZL003.java
+6
-1
HGZL003.jsp
src/main/webapp/HG/ZL/HGZL003.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/zl/service/ServiceHGZL003.java
View file @
cd31faac
...
@@ -110,7 +110,12 @@ public class ServiceHGZL003 extends ServiceBase {
...
@@ -110,7 +110,12 @@ public class ServiceHGZL003 extends ServiceBase {
newZl003
.
setCheckCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
HGZL003_CHECK_CODE
));
newZl003
.
setCheckCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
HGZL003_CHECK_CODE
));
newZl003
.
setCheckBy
(
UserSessionUtils
.
getLoginName
());
newZl003
.
setCheckBy
(
UserSessionUtils
.
getLoginName
());
newZl003
.
setCheckName
(
UserSessionUtils
.
getLoginCName
());
newZl003
.
setCheckName
(
UserSessionUtils
.
getLoginCName
());
newZl003
.
setCheckDate
(
DateUtils
.
shortDate
());
newZl003
.
setCheckDate
(
DateUtils
.
formatShort
(
fZl003
.
getCheckDate
()));
newZl003
.
setQuantity
(
fZl003
.
getQuantity
());
newZl003
.
setUnpassQuantity
(
fZl003
.
getUnpassQuantity
());
newZl003
.
setPassQuantity
(
fZl003
.
getQuantity
()
-
fZl003
.
getUnpassQuantity
());
newZl003
.
setWorkBy
(
fZl003
.
getWorkBy
());
newZl003
.
setWorkBy
(
fZl003
.
getWorkName
());
DaoUtils
.
insert
(
HGZL003
.
INSERT
,
newZl003
);
DaoUtils
.
insert
(
HGZL003
.
INSERT
,
newZl003
);
// 生成整改通知单
// 生成整改通知单
HGZLTools
.
HgZl004
.
addByHGZL003
(
newZl003
);
HGZLTools
.
HgZl004
.
addByHGZL003
(
newZl003
);
...
...
src/main/webapp/HG/ZL/HGZL003.jsp
View file @
cd31faac
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<EF:EFColumn
ename=
"taskCode"
cname=
"生产任务单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"taskCode"
cname=
"生产任务单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"checkCode"
cname=
"质检单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"checkCode"
cname=
"质检单号"
width=
"130"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"checkDate"
cname=
"质检日期"
width=
"120"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"checkDate"
cname=
"质检日期"
width=
"120"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd'
, 'yyyy-MM-dd'
]"
required=
"true"
/>
<EF:EFColumn
ename=
"processName"
cname=
"工序"
width=
"100"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"processName"
cname=
"工序"
width=
"100"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productCode"
cname=
"存货编码"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productCode"
cname=
"存货编码"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productName"
cname=
"存货名称"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productName"
cname=
"存货名称"
width=
"90"
enable=
"false"
readonly=
"true"
align=
"center"
/>
...
...
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