Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
test
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
邬友楠
test
Commits
c17a25b2
Commit
c17a25b2
authored
Apr 22, 2021
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编码回收功能API去掉一个方法
parent
6d6e0b1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
CodeGenerator.java
...p/src/main/java/com/huigou/uasp/bmp/fn/CodeGenerator.java
+0
-8
CodeGeneratorImpl.java
...n/java/com/huigou/uasp/bmp/fn/impl/CodeGeneratorImpl.java
+4
-2
No files found.
huigou-uasp/src/main/java/com/huigou/uasp/bmp/fn/CodeGenerator.java
View file @
c17a25b2
...
...
@@ -37,12 +37,4 @@ public interface CodeGenerator {
*/
void
recycleCodeNos
(
String
code
,
String
[]
codesNos
);
/**
* 使用回收自定义编号值
* @param code 自定义编号
* @param quantity 使用数量
* @return
*/
List
<
String
>
useRecycleCode
(
String
code
,
int
quantity
);
}
huigou-uasp/src/main/java/com/huigou/uasp/bmp/fn/impl/CodeGeneratorImpl.java
View file @
c17a25b2
...
...
@@ -160,8 +160,10 @@ public class CodeGeneratorImpl extends AbstractDaoFunction implements CodeGenera
return
df
.
format
(
date
);
}
@Override
public
List
<
String
>
useRecycleCode
(
String
code
,
int
quantity
)
{
/*
使用回收自定义编号值
*/
private
List
<
String
>
useRecycleCode
(
String
code
,
int
quantity
)
{
CodeRecycleQuery
query
=
new
CodeRecycleQuery
();
query
.
setCode
(
code
);
query
.
setIsRecycle
(
"0"
);
...
...
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