Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
625ef753
Commit
625ef753
authored
Jan 22, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单据日期不应该去除横杠,前端控制即可
parent
d08c38aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
ServiceHPKC001.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
+0
-2
ServiceHPKC002.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
+0
-2
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
View file @
625ef753
...
...
@@ -79,8 +79,6 @@ public class ServiceHPKC001 extends ServiceBase {
insertEntity
.
setMaterialTypeName
(
InventTypeEnun
.
getNameByCode
(
insertEntity
.
getMaterialType
()));
// 生成单据号
insertEntity
.
setDocumentCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
HPKC001_NUMBER
));
// 去除日期字符串中的-
insertEntity
.
setDocumentTime
(
StringUtil
.
removeHorizontalLine
(
insertEntity
.
getDocumentTime
()));
insertEntity
.
setStatus
(
1
);
insertEntity
.
setApprovalStatus
(
0
);
dao
.
insert
(
"HPKC001.insert"
,
insertEntity
);
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC002.java
View file @
625ef753
...
...
@@ -79,8 +79,6 @@ public class ServiceHPKC002 extends ServiceBase {
insertEntity
.
setMaterialTypeName
(
InventTypeEnun
.
getNameByCode
(
insertEntity
.
getMaterialType
()));
// 生成单据号
insertEntity
.
setDocumentCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
HPKC002_NUMBER
));
// 去除日期字符串中的-
insertEntity
.
setDocumentTime
(
StringUtil
.
removeHorizontalLine
(
insertEntity
.
getDocumentTime
()));
insertEntity
.
setStatus
(
1
);
insertEntity
.
setApprovalStatus
(
0
);
dao
.
insert
(
"HPKC002.insert"
,
insertEntity
);
...
...
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