2 changed files with 57 additions and 0 deletions
@ -0,0 +1,38 @@ |
|||
package cn.chjyj.szwh.controller.admin; |
|||
|
|||
import cn.chjyj.szwh.controller.BaseController; |
|||
import com.alibaba.fastjson.JSONObject; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
/** |
|||
* 发票管理 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/admin/order.InvoiceManagement") |
|||
public class AdminInvoiceMgtController extends BaseController { |
|||
|
|||
/** |
|||
* 发票列表 |
|||
* @param request |
|||
* @return |
|||
*/ |
|||
@PostMapping("/list") |
|||
public JSONObject ivlist(HttpServletRequest request){ |
|||
//发票编号
|
|||
String invoNumber=request.getParameter("invoice_number"); |
|||
|
|||
// $invoice_number = $this->request->post('invoice_number');
|
|||
// $seller = $this->request->post('seller');
|
|||
// $buy = $this->request->post('buy');
|
|||
// $batchcode = $this->request->post('batchcode');
|
|||
// $status = $this->request->post('status');
|
|||
// $createtime = $this->request->post('createtime');
|
|||
// $page = $this->request->post('page', 1);
|
|||
// $limit = $this->request->post('limit', 20);
|
|||
return jsonObject; |
|||
} |
|||
} |
|||
@ -0,0 +1,19 @@ |
|||
package cn.chjyj.szwh.mapper; |
|||
|
|||
import cn.chjyj.szwh.bean.Ticket; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 发票mapper |
|||
*/ |
|||
@Component |
|||
public interface TicketMapper { |
|||
/** |
|||
* 根据发票编号查找 |
|||
* @param ticketId |
|||
* @return |
|||
*/ |
|||
List<Ticket> getTicketLikeTid(String ticketId); |
|||
} |
|||
Loading…
Reference in new issue