Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
11780448
Commit
11780448
authored
Mar 27, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建分享链接
parent
a32dcc62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/DistributorShareRecordServiceImpl.java
.../impl/distribution/DistributorShareRecordServiceImpl.java
+1
-5
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/DistributorShareRecordServiceImpl.java
View file @
11780448
...
@@ -56,11 +56,7 @@ public class DistributorShareRecordServiceImpl implements DistributorShareRecord
...
@@ -56,11 +56,7 @@ public class DistributorShareRecordServiceImpl implements DistributorShareRecord
if
(
record
!=
null
&&
StringUtils
.
hasLength
(
record
.
getShareId
()))
{
if
(
record
!=
null
&&
StringUtils
.
hasLength
(
record
.
getShareId
()))
{
return
Result
.
success
(
new
HashMap
<
String
,
String
>(){{
put
(
"shareId"
,
record
.
getShareId
());}});
return
Result
.
success
(
new
HashMap
<
String
,
String
>(){{
put
(
"shareId"
,
record
.
getShareId
());}});
}
}
SupplierItem
supplierItem
=
supplierItemDao
.
findById
(
dto
.
getItemId
());
// SupplierItem supplierItem = supplierItemDao.findById(dto.getItemId());
long
supplierPrice
=
supplierItem
.
getDistributionPrice
();
if
(
supplierPrice
>
PriceUtil
.
convertPriceFromStr
(
dto
.
getPrice
()))
{
return
Result
.
failed
(
"售价不能低于分销价"
);
}
DistributorShareRecord
distributorShareRecord
=
new
DistributorShareRecord
();
DistributorShareRecord
distributorShareRecord
=
new
DistributorShareRecord
();
String
shareRecordId
=
UUID
.
fastUUID
().
toString
(
true
);
String
shareRecordId
=
UUID
.
fastUUID
().
toString
(
true
);
distributorShareRecord
.
setShareId
(
shareRecordId
);
distributorShareRecord
.
setShareId
(
shareRecordId
);
...
...
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