Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
097485fb
Commit
097485fb
authored
Nov 25, 2023
by
YG8999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
c62b93ff
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
9 deletions
+12
-9
SOrderController.java
...in/java/share/web/controller/system/SOrderController.java
+0
-3
SStoreController.java
...in/java/share/web/controller/system/SStoreController.java
+2
-2
SCleanRecords.java
...stem/src/main/java/share/system/domain/SCleanRecords.java
+4
-4
SStoreRequest.java
...tem/src/main/java/share/system/request/SStoreRequest.java
+2
-0
SCleanRecordsServiceImpl.java
...a/share/system/service/impl/SCleanRecordsServiceImpl.java
+3
-0
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+1
-0
No files found.
share-front/src/main/java/share/web/controller/system/SOrderController.java
View file @
097485fb
...
@@ -43,11 +43,8 @@ public class SOrderController extends BaseController
...
@@ -43,11 +43,8 @@ public class SOrderController extends BaseController
{
{
@Autowired
@Autowired
private
ISOrderService
sOrderService
;
private
ISOrderService
sOrderService
;
@Autowired
@Autowired
private
RedisUtil
redisUtil
;
private
RedisUtil
redisUtil
;
@Autowired
private
DeviceLogService
deviceLogService
;
/**
/**
* 查询订单列表
* 查询订单列表
...
...
share-front/src/main/java/share/web/controller/system/SStoreController.java
View file @
097485fb
...
@@ -61,8 +61,8 @@ public class SStoreController extends BaseController
...
@@ -61,8 +61,8 @@ public class SStoreController extends BaseController
* 查询门店列表
* 查询门店列表
*/
*/
@ApiOperation
(
value
=
"按距离排序查询门店列表"
)
@ApiOperation
(
value
=
"按距离排序查询门店列表"
)
@RequestMapping
(
value
=
"/listVo"
,
method
=
RequestMethod
.
POS
T
)
@RequestMapping
(
value
=
"/listVo"
,
method
=
RequestMethod
.
GE
T
)
public
R
<
List
<
SStoreVo
>>
listVo
(
@RequestBody
SStoreRequest
request
)
public
R
<
List
<
SStoreVo
>>
listVo
(
SStoreRequest
request
)
{
{
startPage
();
startPage
();
return
R
.
ok
(
sStoreService
.
listVo
(
request
));
return
R
.
ok
(
sStoreService
.
listVo
(
request
));
...
...
share-system/src/main/java/share/system/domain/SCleanRecords.java
View file @
097485fb
...
@@ -35,8 +35,8 @@ public class SCleanRecords extends BaseEntity
...
@@ -35,8 +35,8 @@ public class SCleanRecords extends BaseEntity
private
Long
consumerId
;
private
Long
consumerId
;
/** 开始时间 */
/** 开始时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
@Excel
(
name
=
"开始时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"开始时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
)
private
Date
startDate
;
private
Date
startDate
;
/** 保洁前照片 */
/** 保洁前照片 */
...
@@ -44,8 +44,8 @@ public class SCleanRecords extends BaseEntity
...
@@ -44,8 +44,8 @@ public class SCleanRecords extends BaseEntity
private
String
startImage
;
private
String
startImage
;
/** 结束时间 */
/** 结束时间 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd
HH:mm:ss
"
)
@Excel
(
name
=
"结束时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"结束时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
)
private
Date
endDate
;
private
Date
endDate
;
/** 保洁后照片 */
/** 保洁后照片 */
...
...
share-system/src/main/java/share/system/request/SStoreRequest.java
View file @
097485fb
...
@@ -52,4 +52,6 @@ public class SStoreRequest implements Serializable {
...
@@ -52,4 +52,6 @@ public class SStoreRequest implements Serializable {
@ApiModelProperty
(
value
=
"门店类型 1:标准店 2: 形象店 3:旗舰店"
)
@ApiModelProperty
(
value
=
"门店类型 1:标准店 2: 形象店 3:旗舰店"
)
private
String
storeType
;
private
String
storeType
;
}
}
share-system/src/main/java/share/system/service/impl/SCleanRecordsServiceImpl.java
View file @
097485fb
...
@@ -186,6 +186,9 @@ public class SCleanRecordsServiceImpl implements ISCleanRecordsService
...
@@ -186,6 +186,9 @@ public class SCleanRecordsServiceImpl implements ISCleanRecordsService
queryWrapper
.
eq
(
SCleanRecords:
:
getStatus
,
0
);
queryWrapper
.
eq
(
SCleanRecords:
:
getStatus
,
0
);
queryWrapper
.
ge
(
SCleanRecords:
:
getCreateTime
,
DateUtil
.
offsetMinute
(
DateUtil
.
date
(),
-
30
));
queryWrapper
.
ge
(
SCleanRecords:
:
getCreateTime
,
DateUtil
.
offsetMinute
(
DateUtil
.
date
(),
-
30
));
List
<
SCleanRecords
>
list
=
sCleanRecordsMapper
.
selectList
(
queryWrapper
);
List
<
SCleanRecords
>
list
=
sCleanRecordsMapper
.
selectList
(
queryWrapper
);
if
(
list
.
size
()
==
0
)
{
return
Boolean
.
FALSE
;
}
for
(
SCleanRecords
sCleanRecords
:
list
)
{
for
(
SCleanRecords
sCleanRecords
:
list
)
{
sCleanRecords
.
setStatus
(
2
);
sCleanRecords
.
setStatus
(
2
);
sCleanRecords
.
setStartDate
(
DateUtil
.
date
());
sCleanRecords
.
setStartDate
(
DateUtil
.
date
());
...
...
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
097485fb
...
@@ -148,6 +148,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -148,6 +148,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
break
;
break
;
}
}
}
}
queryWrapper
.
orderByDesc
(
true
,
SOrder:
:
getCreateTime
);
List
<
SOrder
>
orders
=
baseMapper
.
selectList
(
queryWrapper
);
List
<
SOrder
>
orders
=
baseMapper
.
selectList
(
queryWrapper
);
return
convertDosToVos
(
orders
);
return
convertDosToVos
(
orders
);
}
}
...
...
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