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
4df53dda
Commit
4df53dda
authored
Jan 29, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' into dev-lms
parents
afb83b77
75df9d06
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
6 deletions
+12
-6
Constants.java
...common/src/main/java/share/common/constant/Constants.java
+1
-1
SRoomVo.java
...-system/src/main/java/share/system/domain/vo/SRoomVo.java
+5
-0
OrderPayServiceImpl.java
...n/java/share/system/service/impl/OrderPayServiceImpl.java
+2
-2
OrderRefundServiceImpl.java
...ava/share/system/service/impl/OrderRefundServiceImpl.java
+2
-2
SStoreServiceImpl.java
...ain/java/share/system/service/impl/SStoreServiceImpl.java
+2
-1
No files found.
share-common/src/main/java/share/common/constant/Constants.java
View file @
4df53dda
...
...
@@ -20,7 +20,7 @@ public class Constants
public
final
static
Integer
ROMM_LOCK_LAZY_MINUTE
=
0
;
public
static
final
String
CONFIG_KEY_SITE_URL
=
"https://
www.coujio
.com"
;
//域名
public
static
final
String
CONFIG_KEY_SITE_URL
=
"https://
coujiao.pseer
.com"
;
//域名
public
static
final
String
CONFIG_KEY_API_URL
=
"https://www.coujio.com"
;
//admin接口地址
// 订单取消Key
public
static
final
String
ORDER_AUTO_CANCEL_KEY
=
"order_auto_cancel_key"
;
...
...
share-system/src/main/java/share/system/domain/vo/SRoomVo.java
View file @
4df53dda
...
...
@@ -119,6 +119,11 @@ public class SRoomVo extends BaseEntity
private
Long
recordsId
;
/**
* 保洁人员id
*/
private
Long
recordsUserId
;
/**
* 是否脏房
*/
private
Integer
isDirtyRoom
;
...
...
share-system/src/main/java/share/system/service/impl/OrderPayServiceImpl.java
View file @
4df53dda
...
...
@@ -143,7 +143,7 @@ public class OrderPayServiceImpl implements OrderPayService {
*/
private
CreateOrderRequestVo
getUnifiedorderVo
(
SOrder
sOrder
,
String
openid
,
String
appId
,
String
mchId
,
String
signKey
)
{
// 获取域名
String
apiDomain
=
Constants
.
CONFIG_KEY_
API
_URL
;
String
apiDomain
=
Constants
.
CONFIG_KEY_
SITE
_URL
;
AttachVo
attachVo
=
new
AttachVo
(
OrderTypeEnum
.
getEnumByCode
(
sOrder
.
getOrderType
()).
getValue
(),
sOrder
.
getConsumerId
());
CreateOrderRequestVo
vo
=
new
CreateOrderRequestVo
();
...
...
@@ -205,7 +205,7 @@ public class OrderPayServiceImpl implements OrderPayService {
*/
private
SaobeiMiniPayRequestVo
getSaobeiUnifiedOrderVo
(
SOrder
sOrder
,
String
openid
,
String
appId
,
String
mchId
,
String
signKey
)
{
// 获取域名
String
apiDomain
=
Constants
.
CONFIG_KEY_
API
_URL
;
String
apiDomain
=
Constants
.
CONFIG_KEY_
SITE
_URL
;
AttachVo
attachVo
=
new
AttachVo
(
OrderTypeEnum
.
getEnumByCode
(
sOrder
.
getOrderType
()).
getValue
(),
sOrder
.
getConsumerId
());
SaobeiMiniPayRequestVo
vo
=
new
SaobeiMiniPayRequestVo
();
...
...
share-system/src/main/java/share/system/service/impl/OrderRefundServiceImpl.java
View file @
4df53dda
...
...
@@ -77,8 +77,8 @@ public class OrderRefundServiceImpl extends ServiceImpl<SOrderMapper, SOrder> im
String
appId
=
weChatConfig
.
getAppId
();
String
mchId
=
weChatConfig
.
getMchId
();
String
signKey
=
weChatConfig
.
getSignKey
();
String
path
=
weChatConfig
.
getCertPath
();
//TODO 商户证书路径p12(待提供)
String
apiDomain
=
Constants
.
CONFIG_KEY_
API
_URL
;
String
path
=
weChatConfig
.
getCertPath
();
String
apiDomain
=
Constants
.
CONFIG_KEY_
SITE
_URL
;
//统一下单数据
WxRefundVo
wxRefundVo
=
new
WxRefundVo
();
wxRefundVo
.
setAppid
(
appId
);
...
...
share-system/src/main/java/share/system/service/impl/SStoreServiceImpl.java
View file @
4df53dda
...
...
@@ -126,7 +126,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
sCouponList
.
stream
().
forEach
(
item1
->
{
if
(
item
.
getDealgroupId
().
equals
(
item1
.
getDealgroupId
()))
{
if
(
StringUtils
.
isNotEmpty
(
item
.
getStoreIds
()))
{
if
(
item1
.
getStoreIds
().
contain
s
(
item
.
getStoreIds
()))
{
if
(
item1
.
getStoreIds
().
equal
s
(
item
.
getStoreIds
()))
{
return
;
}
else
{
SCoupon
sCoupon
=
new
SCoupon
();
...
...
@@ -404,6 +404,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
SCleanRecords
records
=
recordsMap
.
get
(
room
.
getId
()).
get
(
0
);
room
.
setRecordsStatus
(
records
.
getStatus
());
room
.
setRecordsId
(
records
.
getId
());
room
.
setRecordsUserId
(
records
.
getConsumerId
());
}
}
...
...
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