Skip to content

/src/main/java/com/imooc/service/impl/OrderServiceImpl.java有误 #18

Open
@imleonmax

Description

@imleonmax

if(orderDTO.getOrderStatus().equals(OrderStatusEnum.NEW.getCode())){

这里的判断应该是取反吧。
if(!orderDTO.getOrderStatus().equals(OrderStatusEnum.NEW.getCode())){

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions