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
fafddce1
Commit
fafddce1
authored
Dec 12, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断用户今天是否发布过商品
parent
44e118b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
ch-dao/src/main/java/com/wwdz/ch/db/impl/distribution/SupplierItemDaoImpl.java
...com/wwdz/ch/db/impl/distribution/SupplierItemDaoImpl.java
+1
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/UserSigninServiceImpl.java
.../main/java/com/wwdz/ch/wx/impl/UserSigninServiceImpl.java
+1
-0
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/impl/distribution/SupplierItemDaoImpl.java
View file @
fafddce1
...
@@ -342,6 +342,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao {
...
@@ -342,6 +342,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao {
SupplierItemExample
.
Criteria
criteria
=
example
.
createCriteria
();
SupplierItemExample
.
Criteria
criteria
=
example
.
createCriteria
();
JdbcHelper
.
ifPresent
(
dto
.
getStartCreateTime
(),
criteria:
:
andCreateTimeGreaterThanOrEqualTo
);
JdbcHelper
.
ifPresent
(
dto
.
getStartCreateTime
(),
criteria:
:
andCreateTimeGreaterThanOrEqualTo
);
JdbcHelper
.
ifPresent
(
dto
.
getEndCreateTime
(),
criteria:
:
andCreateTimeLessThanOrEqualTo
);
JdbcHelper
.
ifPresent
(
dto
.
getEndCreateTime
(),
criteria:
:
andCreateTimeLessThanOrEqualTo
);
JdbcHelper
.
ifPresent
(
dto
.
getCreatorId
(),
criteria:
:
andCreatorIdEqualTo
);
criteria
.
andIsDeletedEqualTo
(
false
);
criteria
.
andIsDeletedEqualTo
(
false
);
criteria
.
andStockGreaterThan
(
0
);
criteria
.
andStockGreaterThan
(
0
);
return
supplierItemMapper
.
countByExample
(
example
)
>
0
;
return
supplierItemMapper
.
countByExample
(
example
)
>
0
;
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/UserSigninServiceImpl.java
View file @
fafddce1
...
@@ -411,6 +411,7 @@ public class UserSigninServiceImpl implements UserSigninService {
...
@@ -411,6 +411,7 @@ public class UserSigninServiceImpl implements UserSigninService {
Date
endDate
=
Date
.
from
(
endOfDay
.
atZone
(
java
.
time
.
ZoneId
.
systemDefault
()).
toInstant
());
Date
endDate
=
Date
.
from
(
endOfDay
.
atZone
(
java
.
time
.
ZoneId
.
systemDefault
()).
toInstant
());
supplierItemRequestDto
.
setStartCreateTime
(
startDate
);
supplierItemRequestDto
.
setStartCreateTime
(
startDate
);
supplierItemRequestDto
.
setEndCreateTime
(
endDate
);
supplierItemRequestDto
.
setEndCreateTime
(
endDate
);
supplierItemRequestDto
.
setCreatorId
(
userId
);
if
(
supplierItemDao
.
isUploadItem
(
supplierItemRequestDto
))
{
if
(
supplierItemDao
.
isUploadItem
(
supplierItemRequestDto
))
{
resultMap
.
put
(
"todayIsUpload"
,
true
);
resultMap
.
put
(
"todayIsUpload"
,
true
);
}
else
{
}
else
{
...
...
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