|
@@ -24,8 +24,8 @@ import java.util.List;
|
|
|
*/
|
|
|
@RestController
|
|
|
@RequestMapping("/order/split")
|
|
|
-@Api(tags={"【app-分账记录】"})
|
|
|
-public class PcOrderSplitController extends BaseController{
|
|
|
+@Api(tags = {"【app-分账记录】"})
|
|
|
+public class PcOrderSplitController extends BaseController {
|
|
|
@Autowired
|
|
|
private IOrderSplitService orderSplitService;
|
|
|
|
|
@@ -34,16 +34,17 @@ public class PcOrderSplitController extends BaseController{
|
|
|
*/
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperation("查询分账记录列表")
|
|
|
- @ApiImplicitParams({
|
|
|
- @ApiImplicitParam(name = "pageNum",value = "当前页码" ,dataType = "int", paramType = "query", required = false),
|
|
|
- @ApiImplicitParam(name = "pageSize",value = "每页数据量" , dataType = "int", paramType = "query", required = false),
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "当前页码", dataType = "int", paramType = "query", required = false),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页数据量", dataType = "int", paramType = "query", required = false),
|
|
|
})
|
|
|
- public ResponsePageInfo<OrderSplit> list(@ModelAttribute OrderSplit orderSplit){
|
|
|
+ public ResponsePageInfo<OrderSplit> list(@ModelAttribute OrderSplit orderSplit) {
|
|
|
startPage();
|
|
|
List<OrderSplit> list = orderSplitService.selectOrderSplitList(orderSplit);
|
|
|
return toResponsePageInfo(list);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 获取分账记录详细信息
|
|
@@ -53,10 +54,9 @@ public class PcOrderSplitController extends BaseController{
|
|
|
public Response<OrderSplit> getInfo(
|
|
|
@ApiParam(name = "id", value = "分账记录参数", required = true)
|
|
|
@PathVariable("id") Long id
|
|
|
- ){
|
|
|
+ ) {
|
|
|
return Response.success(orderSplitService.getById(id));
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
}
|