commit | author | age
|
a18bfa
|
1 |
package com.changhong.epc.tenant.controller.bill; |
Z |
2 |
|
|
3 |
import com.changhong.epc.bean.parsing.BillInfo; |
|
4 |
import com.changhong.epc.constter.tenant.TenantUrlConst; |
|
5 |
import com.changhong.epc.tenant.service.bill.BillInfoService; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
import org.springframework.web.bind.annotation.RestController; |
|
9 |
|
|
10 |
import javax.annotation.Resource; |
|
11 |
|
|
12 |
/** |
|
13 |
* 票据信息 |
|
14 |
*/ |
|
15 |
@RestController |
|
16 |
public class BillInfoController implements TenantUrlConst { |
|
17 |
|
|
18 |
@Resource |
|
19 |
private BillInfoService billInfoService; |
|
20 |
|
|
21 |
/** |
|
22 |
* 修改票据状态 |
|
23 |
* @param billInfo |
|
24 |
* @return |
|
25 |
*/ |
|
26 |
@PostMapping(REST_TENANT_BILLINFO_UPDATE_START) |
|
27 |
public int updateBillStart(@RequestBody BillInfo billInfo){ |
|
28 |
return billInfoService.updateStart(billInfo.getOrderCode()); |
|
29 |
} |
|
30 |
|
|
31 |
} |