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
de9f9c98
Commit
de9f9c98
authored
Nov 15, 2023
by
YG8999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保洁记录
parent
33a89f09
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
SCleanRecordsController.java
.../share/web/controller/system/SCleanRecordsController.java
+2
-1
WechatPayInfoService.java
.../main/java/share/system/service/WechatPayInfoService.java
+4
-0
SCleanRecordsServiceImpl.java
...a/share/system/service/impl/SCleanRecordsServiceImpl.java
+8
-1
SCleanRecordsMapper.xml
.../src/main/resources/mapper/system/SCleanRecordsMapper.xml
+2
-0
No files found.
share-front/src/main/java/share/web/controller/system/SCleanRecordsController.java
View file @
de9f9c98
...
@@ -90,7 +90,8 @@ public class SCleanRecordsController extends BaseController
...
@@ -90,7 +90,8 @@ public class SCleanRecordsController extends BaseController
@GetMapping
(
value
=
"/{id}"
)
@GetMapping
(
value
=
"/{id}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
public
AjaxResult
getInfo
(
@PathVariable
(
"id"
)
Long
id
)
{
{
return
success
(
sCleanRecordsService
.
selectSCleanRecordsById
(
id
));
SCleanRecords
sCleanRecords
=
sCleanRecordsService
.
selectSCleanRecordsById
(
id
);
return
success
(
sCleanRecords
);
}
}
/**
/**
...
...
share-system/src/main/java/share/system/service/WechatPayInfoService.java
View file @
de9f9c98
...
@@ -14,4 +14,7 @@ public interface WechatPayInfoService extends IService<WechatPayInfo> {
...
@@ -14,4 +14,7 @@ public interface WechatPayInfoService extends IService<WechatPayInfo> {
* @return WechatPayInfo
* @return WechatPayInfo
*/
*/
WechatPayInfo
getByNo
(
String
outTradeNo
);
WechatPayInfo
getByNo
(
String
outTradeNo
);
}
}
\ No newline at end of file
share-system/src/main/java/share/system/service/impl/SCleanRecordsServiceImpl.java
View file @
de9f9c98
...
@@ -50,7 +50,14 @@ public class SCleanRecordsServiceImpl implements ISCleanRecordsService
...
@@ -50,7 +50,14 @@ public class SCleanRecordsServiceImpl implements ISCleanRecordsService
@Override
@Override
public
SCleanRecords
selectSCleanRecordsById
(
Long
id
)
public
SCleanRecords
selectSCleanRecordsById
(
Long
id
)
{
{
return
sCleanRecordsMapper
.
selectSCleanRecordsById
(
id
);
SCleanRecords
sCleanRecords
=
sCleanRecordsMapper
.
selectSCleanRecordsById
(
id
);
if
(
sCleanRecords
!=
null
)
{
SStore
store
=
sStoreMapper
.
selectSStoreById
(
sCleanRecords
.
getStoreId
());
SRoom
room
=
sRoomMapper
.
selectSRoomById
(
sCleanRecords
.
getRoomId
());
sCleanRecords
.
setsStore
(
store
);
sCleanRecords
.
setsRoom
(
room
);
}
return
sCleanRecords
;
}
}
/**
/**
...
...
share-system/src/main/resources/mapper/system/SCleanRecordsMapper.xml
View file @
de9f9c98
...
@@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where t1.status = 0 and
where t1.status = 0 and
t1.store_id in (select store_id from s_store_consumer where consumer_id = #{consumerId})
t1.store_id in (select store_id from s_store_consumer where consumer_id = #{consumerId})
<if
test=
"storeName != null and storeName != ''"
>
and t2.name = #{storeName}
</if>
<if
test=
"storeName != null and storeName != ''"
>
and t2.name = #{storeName}
</if>
order by update_time, create_time desc
</select>
</select>
<select
id=
"myCleanList"
parameterType=
"SCleanRecords"
resultMap=
"SCleanRecordsResult"
>
<select
id=
"myCleanList"
parameterType=
"SCleanRecords"
resultMap=
"SCleanRecordsResult"
>
...
@@ -83,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -83,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where t1.consumer_id = #{consumerId}
where t1.consumer_id = #{consumerId}
<if
test=
"status != null "
>
and t1.status = #{status}
</if>
<if
test=
"status != null "
>
and t1.status = #{status}
</if>
<if
test=
"storeName != null and storeName != ''"
>
and t2.name = #{storeName}
</if>
<if
test=
"storeName != null and storeName != ''"
>
and t2.name = #{storeName}
</if>
order by update_time, create_time desc
</select>
</select>
<insert
id=
"insertSCleanRecords"
parameterType=
"SCleanRecords"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertSCleanRecords"
parameterType=
"SCleanRecords"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
...
...
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