| | |
| | | import com.ruoyi.sales.dto.ReceiptPaymentDto; |
| | | import com.ruoyi.sales.pojo.ReceiptPayment; |
| | | import com.ruoyi.sales.service.ReceiptPaymentService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.math.BigDecimal; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | |
| | | return AjaxResult.success(receiptPaymentService.bindInvoiceNoRegPage(page,receiptPaymentDto)); |
| | | } |
| | | |
| | | @ApiModelProperty("导出回款登记") |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArrayList<Long> ids) { |
| | | //ids选择就是全导出 |
| | | // if (ids == null || ids.size() == 0) { |
| | | // receiptPaymentService.exportPaymentList(response); |
| | | // } |
| | | receiptPaymentService.exportPaymentList(response, ids); |
| | | } |
| | | |
| | | /** |
| | | * 开票台账详情 |
| | | * @param id |