mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 查询占桩订单详情接口
This commit is contained in:
@@ -11,6 +11,7 @@ import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.pile.domain.OrderPileOccupy;
|
||||
import com.jsowell.pile.dto.GenerateOccupyOrderDTO;
|
||||
import com.jsowell.pile.service.OrderPileOccupyService;
|
||||
import com.jsowell.pile.vo.uniapp.OccupyOrderDetailVO;
|
||||
import com.jsowell.pile.vo.uniapp.OrderPileOccupyVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -88,7 +89,8 @@ public class OccupyOrderController extends BaseController {
|
||||
logger.info("查询占桩订单详情页 param:{}", occupyCode);
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
orderPileOccupyService.getOccupyOrderDetail(occupyCode);
|
||||
OccupyOrderDetailVO vo = orderPileOccupyService.getOccupyOrderDetail(occupyCode);
|
||||
response = new RestApiResponse<>(vo);
|
||||
} catch (Exception e) {
|
||||
logger.error("查询占桩订单详情页 error,", e);
|
||||
response = new RestApiResponse<>(e);
|
||||
|
||||
Reference in New Issue
Block a user