fix:优化拼团与订单集成逻辑

This commit is contained in:
puhui999
2023-07-24 17:29:51 +08:00
parent 8d13ecc9c8
commit 7957cfa50d
7 changed files with 70 additions and 19 deletions

View File

@ -24,7 +24,8 @@ public interface CombinationApi {
* @param userId 用户编号
* @param orderId 订单编号
*/
Integer getRecordStatus(Long userId, Long orderId);
boolean validateRecordStatusIsSuccess(Long userId, Long orderId);
/**
* 更新开团记录状态
@ -41,6 +42,7 @@ public interface CombinationApi {
* @param userId 用户编号
* @param orderId 订单编号
* @param status 状态值
* @return
*/
void updateRecordStatusAndStartTime(Long userId, Long orderId, Integer status);