类 PayOrderController

  • 所有已实现的接口:
    net.guerlab.smart.platform.server.controller.FindController<net.guerlab.smart.pay.core.domain.PayOrderDTO,​net.guerlab.smart.pay.service.entity.PayOrder,​net.guerlab.smart.pay.service.service.PayOrderService,​net.guerlab.smart.pay.core.searchparams.PayOrderSearchParams,​java.lang.Long>, net.guerlab.smart.platform.server.controller.IController<net.guerlab.smart.pay.service.entity.PayOrder,​net.guerlab.smart.pay.service.service.PayOrderService,​java.lang.Long>

    @RestController("/user/payOrder")
    @RequestMapping("/user/payOrder")
    @EnableBinding(net.guerlab.smart.pay.stream.binders.PayOrderStatusChangeSenderChannel.class)
    public class PayOrderController
    extends net.guerlab.smart.platform.server.controller.BaseFindController<net.guerlab.smart.pay.core.domain.PayOrderDTO,​net.guerlab.smart.pay.service.entity.PayOrder,​net.guerlab.smart.pay.service.service.PayOrderService,​net.guerlab.smart.pay.core.searchparams.PayOrderSearchParams,​java.lang.Long>
    支付订单
    作者:
    guer
    • 字段概要

      • 从类继承的字段 net.guerlab.smart.platform.server.controller.AbstractControllerImpl

        service
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      net.guerlab.smart.pay.core.domain.PayOrderDTO confirmPayed​(java.lang.Long id)  
      void exportExcel​(javax.servlet.http.HttpServletResponse response, net.guerlab.smart.pay.core.searchparams.PayOrderSearchParams searchParams)  
      net.guerlab.smart.pay.core.domain.PayOrderDTO markException​(java.lang.Long id, ExceptionDTO dto)  
      protected net.guerlab.commons.exception.ApplicationException nullPointException()  
      net.guerlab.smart.pay.core.domain.PayOrderDTO removeMarkException​(java.lang.Long id)  
      void setLogService​(net.guerlab.smart.pay.service.service.PayLogService logService)  
      void setOperationLogApi​(net.guerlab.smart.user.api.OperationLogApi operationLogApi)  
      void setStatusChangeSender​(net.guerlab.smart.pay.stream.binders.PayOrderStatusChangeSenderChannel statusChangeSender)  
      void sync​(java.lang.Long id)  
      • 从类继承的方法 net.guerlab.smart.platform.server.controller.AbstractControllerImpl

        findOne0, getService, newEntity, setService
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 net.guerlab.smart.platform.server.controller.FindController

        beforeFind, findAll, findList, findOne
      • 从接口继承的方法 net.guerlab.smart.platform.server.controller.IController

        findOne0, getService, newEntity
    • 构造器详细资料

      • PayOrderController

        public PayOrderController()
    • 方法详细资料

      • nullPointException

        protected net.guerlab.commons.exception.ApplicationException nullPointException()
        覆盖:
        nullPointException 在类中 net.guerlab.smart.platform.server.controller.AbstractControllerImpl<net.guerlab.smart.pay.core.domain.PayOrderDTO,​net.guerlab.smart.pay.service.entity.PayOrder,​net.guerlab.smart.pay.service.service.PayOrderService,​java.lang.Long>
      • exportExcel

        @GetMapping("/exportExcel")
        public void exportExcel​(javax.servlet.http.HttpServletResponse response,
                                net.guerlab.smart.pay.core.searchparams.PayOrderSearchParams searchParams)
                         throws java.io.IOException
        抛出:
        java.io.IOException
      • confirmPayed

        @PostMapping("/{id}/confirmPayed")
        @Transactional(rollbackFor=java.lang.Exception.class)
        public net.guerlab.smart.pay.core.domain.PayOrderDTO confirmPayed​(@PathVariable
                                                                          java.lang.Long id)
      • markException

        @PostMapping("/{id}/markException")
        @Transactional(rollbackFor=java.lang.Exception.class)
        public net.guerlab.smart.pay.core.domain.PayOrderDTO markException​(@PathVariable
                                                                           java.lang.Long id,
                                                                           @RequestBody
                                                                           ExceptionDTO dto)
      • removeMarkException

        @PostMapping("/{id}/removeMarkException")
        @Transactional(rollbackFor=java.lang.Exception.class)
        public net.guerlab.smart.pay.core.domain.PayOrderDTO removeMarkException​(@PathVariable
                                                                                 java.lang.Long id)
      • sync

        @PostMapping("/{id}/sync")
        public void sync​(@PathVariable
                         java.lang.Long id)
      • setLogService

        @Autowired
        public void setLogService​(net.guerlab.smart.pay.service.service.PayLogService logService)
      • setStatusChangeSender

        @Autowired
        public void setStatusChangeSender​(net.guerlab.smart.pay.stream.binders.PayOrderStatusChangeSenderChannel statusChangeSender)
      • setOperationLogApi

        @Autowired
        public void setOperationLogApi​(net.guerlab.smart.user.api.OperationLogApi operationLogApi)