Commit 4df53dda by 吕明尚

Merge branch 'test' into dev-lms

parents afb83b77 75df9d06
...@@ -20,7 +20,7 @@ public class Constants ...@@ -20,7 +20,7 @@ public class Constants
public final static Integer ROMM_LOCK_LAZY_MINUTE = 0; 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接口地址 public static final String CONFIG_KEY_API_URL = "https://www.coujio.com"; //admin接口地址
// 订单取消Key // 订单取消Key
public static final String ORDER_AUTO_CANCEL_KEY = "order_auto_cancel_key"; public static final String ORDER_AUTO_CANCEL_KEY = "order_auto_cancel_key";
......
...@@ -119,6 +119,11 @@ public class SRoomVo extends BaseEntity ...@@ -119,6 +119,11 @@ public class SRoomVo extends BaseEntity
private Long recordsId; private Long recordsId;
/** /**
* 保洁人员id
*/
private Long recordsUserId;
/**
* 是否脏房 * 是否脏房
*/ */
private Integer isDirtyRoom; private Integer isDirtyRoom;
......
...@@ -143,7 +143,7 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -143,7 +143,7 @@ public class OrderPayServiceImpl implements OrderPayService {
*/ */
private CreateOrderRequestVo getUnifiedorderVo(SOrder sOrder, String openid, String appId, String mchId, String signKey) { 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()); AttachVo attachVo = new AttachVo(OrderTypeEnum.getEnumByCode(sOrder.getOrderType()).getValue(), sOrder.getConsumerId());
CreateOrderRequestVo vo = new CreateOrderRequestVo(); CreateOrderRequestVo vo = new CreateOrderRequestVo();
...@@ -205,7 +205,7 @@ public class OrderPayServiceImpl implements OrderPayService { ...@@ -205,7 +205,7 @@ public class OrderPayServiceImpl implements OrderPayService {
*/ */
private SaobeiMiniPayRequestVo getSaobeiUnifiedOrderVo(SOrder sOrder, String openid, String appId, String mchId, String signKey) { 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()); AttachVo attachVo = new AttachVo(OrderTypeEnum.getEnumByCode(sOrder.getOrderType()).getValue(), sOrder.getConsumerId());
SaobeiMiniPayRequestVo vo = new SaobeiMiniPayRequestVo(); SaobeiMiniPayRequestVo vo = new SaobeiMiniPayRequestVo();
......
...@@ -77,8 +77,8 @@ public class OrderRefundServiceImpl extends ServiceImpl<SOrderMapper, SOrder> im ...@@ -77,8 +77,8 @@ public class OrderRefundServiceImpl extends ServiceImpl<SOrderMapper, SOrder> im
String appId = weChatConfig.getAppId(); String appId = weChatConfig.getAppId();
String mchId = weChatConfig.getMchId(); String mchId = weChatConfig.getMchId();
String signKey = weChatConfig.getSignKey(); String signKey = weChatConfig.getSignKey();
String path = weChatConfig.getCertPath(); //TODO 商户证书路径p12(待提供) String path = weChatConfig.getCertPath();
String apiDomain = Constants.CONFIG_KEY_API_URL; String apiDomain = Constants.CONFIG_KEY_SITE_URL;
//统一下单数据 //统一下单数据
WxRefundVo wxRefundVo = new WxRefundVo(); WxRefundVo wxRefundVo = new WxRefundVo();
wxRefundVo.setAppid(appId); wxRefundVo.setAppid(appId);
......
...@@ -126,7 +126,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme ...@@ -126,7 +126,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
sCouponList.stream().forEach(item1 -> { sCouponList.stream().forEach(item1 -> {
if (item.getDealgroupId().equals(item1.getDealgroupId())) { if (item.getDealgroupId().equals(item1.getDealgroupId())) {
if (StringUtils.isNotEmpty(item.getStoreIds())) { if (StringUtils.isNotEmpty(item.getStoreIds())) {
if (item1.getStoreIds().contains(item.getStoreIds())) { if (item1.getStoreIds().equals(item.getStoreIds())) {
return; return;
} else { } else {
SCoupon sCoupon = new SCoupon(); SCoupon sCoupon = new SCoupon();
...@@ -404,6 +404,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme ...@@ -404,6 +404,7 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
SCleanRecords records = recordsMap.get(room.getId()).get(0); SCleanRecords records = recordsMap.get(room.getId()).get(0);
room.setRecordsStatus(records.getStatus()); room.setRecordsStatus(records.getStatus());
room.setRecordsId(records.getId()); room.setRecordsId(records.getId());
room.setRecordsUserId(records.getConsumerId());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment