|
|
|
@ -15,6 +15,7 @@ import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
@Service |
|
|
|
@ -68,6 +69,7 @@ public class EntrustServiceOrderApplicationService extends BaseApplicationServic |
|
|
|
if (isAccept) { |
|
|
|
//红娘接单 |
|
|
|
entrustServiceOrder.setStatus(EntrustServiceStatusEnum.ACCEPTED); |
|
|
|
entrustServiceOrder.setAcceptedTime(LocalDateTime.now()); |
|
|
|
entrustServiceOrderAggregate.edit(entrustServiceOrder); |
|
|
|
} else { |
|
|
|
//红娘拒接单 |
|
|
|
|