|
@@ -46,7 +46,7 @@ public class TaInvoiceItemTplController extends BaseController {
|
46
|
46
|
* @param pageSize
|
47
|
47
|
* @return
|
48
|
48
|
*/
|
49
|
|
- @RequestMapping(value="/taInvoiceItemTpl",method= RequestMethod.GET)
|
|
49
|
+ @RequestMapping(value="/admin/taInvoiceItemTpl",method= RequestMethod.GET)
|
50
|
50
|
@ApiOperation(value="列表", notes = "列表", httpMethod = "GET", response = ResponseBean.class)
|
51
|
51
|
public ResponseBean taInvoiceItemTplList(@ApiParam("页码") @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
52
|
52
|
@ApiParam("单页数据量") @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize) throws Exception{
|
|
@@ -64,7 +64,7 @@ public class TaInvoiceItemTplController extends BaseController {
|
64
|
64
|
* @param taInvoiceItemTpl 实体对象
|
65
|
65
|
* @return
|
66
|
66
|
*/
|
67
|
|
- @RequestMapping(value="/taInvoiceItemTpl",method= RequestMethod.POST)
|
|
67
|
+ @RequestMapping(value="/admin/taInvoiceItemTpl",method= RequestMethod.POST)
|
68
|
68
|
@ApiOperation(value="保存", notes = "保存", httpMethod = "POST", response = ResponseBean.class)
|
69
|
69
|
public ResponseBean taInvoiceItemTplAdd(@ApiParam("保存内容") @RequestBody TaInvoiceItemTpl taInvoiceItemTpl) throws Exception{
|
70
|
70
|
|
|
@@ -79,7 +79,7 @@ public class TaInvoiceItemTplController extends BaseController {
|
79
|
79
|
* 根据id删除对象
|
80
|
80
|
* @param id 实体ID
|
81
|
81
|
*/
|
82
|
|
- @RequestMapping(value="/taInvoiceItemTpl/{id}", method= RequestMethod.DELETE)
|
|
82
|
+ @RequestMapping(value="/admin/taInvoiceItemTpl/{id}", method= RequestMethod.DELETE)
|
83
|
83
|
@ApiOperation(value="删除", notes = "删除", httpMethod = "DELETE", response = ResponseBean.class)
|
84
|
84
|
public ResponseBean taInvoiceItemTplDelete(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
|
85
|
85
|
if(iTaInvoiceItemTplService.removeById(id)){
|
|
@@ -95,7 +95,7 @@ public class TaInvoiceItemTplController extends BaseController {
|
95
|
95
|
* @param taInvoiceItemTpl 实体对象
|
96
|
96
|
* @return
|
97
|
97
|
*/
|
98
|
|
- @RequestMapping(value="/taInvoiceItemTpl/{id}",method= RequestMethod.PUT)
|
|
98
|
+ @RequestMapping(value="/admin/taInvoiceItemTpl/{id}",method= RequestMethod.PUT)
|
99
|
99
|
@ApiOperation(value="更新", notes = "更新", httpMethod = "PUT", response = ResponseBean.class)
|
100
|
100
|
public ResponseBean taInvoiceItemTplUpdate(@ApiParam("对象ID") @PathVariable Integer id,
|
101
|
101
|
@ApiParam("更新内容") @RequestBody TaInvoiceItemTpl taInvoiceItemTpl) throws Exception{
|
|
@@ -111,7 +111,7 @@ public class TaInvoiceItemTplController extends BaseController {
|
111
|
111
|
* 根据id查询对象
|
112
|
112
|
* @param id 实体ID
|
113
|
113
|
*/
|
114
|
|
- @RequestMapping(value="/taInvoiceItemTpl/{id}",method= RequestMethod.GET)
|
|
114
|
+ @RequestMapping(value="/admin/taInvoiceItemTpl/{id}",method= RequestMethod.GET)
|
115
|
115
|
@ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
|
116
|
116
|
public ResponseBean taInvoiceItemTplGet(@ApiParam("对象ID") @PathVariable Integer id) throws Exception{
|
117
|
117
|
return ResponseBean.success(iTaInvoiceItemTplService.getById(id));
|