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
de3253e5
Commit
de3253e5
authored
May 29, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工序质检单生成
parent
f1b15ddb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
HGConstant.java
src/main/java/com/baosight/hggp/hg/constant/HGConstant.java
+2
-0
HGZLTools.java
src/main/java/com/baosight/hggp/hg/zl/tools/HGZLTools.java
+3
-0
No files found.
src/main/java/com/baosight/hggp/hg/constant/HGConstant.java
View file @
de3253e5
...
...
@@ -73,6 +73,8 @@ public class HGConstant {
public
static
final
String
HGSC007_TASK_CODE
=
"HGSC007_TASK_CODE"
;
//生产报工
public
static
final
String
HGSC008_WORK_CODE
=
"HGSC008_WORK_CODE"
;
//工序质检
public
static
final
String
HGZL002_CHECK_CODE
=
"HGZL002_CHECK_CODE"
;
//生产任务订单
public
static
final
String
PROD_TASK_NO
=
"PROD_TASK_NO"
;
//售后维修单号
...
...
src/main/java/com/baosight/hggp/hg/zl/tools/HGZLTools.java
View file @
de3253e5
...
...
@@ -3,11 +3,13 @@ package com.baosight.hggp.hg.zl.tools;
import
com.baosight.hggp.common.CheckStatusEnum
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.constant.HGSqlConstant
;
import
com.baosight.hggp.hg.sc.domain.HGSC008
;
import
com.baosight.hggp.hg.zl.domain.HGZL001
;
import
com.baosight.hggp.hg.zl.domain.HGZL002
;
import
com.baosight.hggp.util.AssertUtils
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.beans.BeanUtils
;
...
...
@@ -91,6 +93,7 @@ public class HGZLTools {
hgzl002
.
setWorkCode
(
hgsc008
.
getWorkCode
());
hgzl002
.
setWorkBy
(
hgsc008
.
getCreatedBy
());
hgzl002
.
setWorkName
(
hgsc008
.
getCreatedName
());
hgzl002
.
setCheckCode
(
SequenceGenerator
.
getNextSequence
(
HGConstant
.
SequenceId
.
HGZL002_CHECK_CODE
));
DaoUtils
.
insert
(
HGZL002
.
INSERT
,
hgzl002
);
return
hgzl002
;
}
...
...
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