mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2024-12-27 18:34:28 +08:00
feat.增加根据id获取信息接口
This commit is contained in:
parent
2234c11c07
commit
515f664c21
4 changed files with 52 additions and 8 deletions
|
@ -85,4 +85,17 @@ public class AdsenseController {
|
|||
public void queryAdsense(InputObject inputObject, OutputObject outputObject) {
|
||||
adsenseService.queryList(inputObject, outputObject);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id获取广告位
|
||||
*
|
||||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "queryAdsenseById", value = "根据id获取广告位", method = "POST", allUse = "2")
|
||||
@ApiImplicitParams({@ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/AdsenseController/queryAdsenseById")
|
||||
public void queryAdsenseById(InputObject inputObject, OutputObject outputObject) {
|
||||
adsenseService.selectById(inputObject, outputObject);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,23 +64,35 @@ public class ShopDeliveryCompanyController {
|
|||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "deleteDeliveryById", value = "批量删除快递公司信息", method = "DELETE", allUse = "2")
|
||||
@ApiImplicitParams({@ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/ShopDeliveryCompanyController/deleteDeliveryById")
|
||||
@ApiOperation(id = "deleteDeliveryByIds", value = "批量删除快递公司信息", method = "DELETE", allUse = "2")
|
||||
@ApiImplicitParams({@ApiImplicitParam(id = "ids", name = "ids", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/ShopDeliveryCompanyController/deleteDeliveryByIds")
|
||||
public void deleteDeliveryByIds(InputObject inputObject, OutputObject outputObject) {
|
||||
shopDeliveryCompanyService.deleteByIds(inputObject, outputObject);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取全部已启用广告位管理信息
|
||||
* 获取全部已启用快递公司信息
|
||||
*
|
||||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "queryDelivery", value = "获取全部已启用广告位管理信息", method = "POST", allUse = "0")
|
||||
@ApiOperation(id = "queryDelivery", value = "获取全部已启用快递公司信息", method = "POST", allUse = "0")
|
||||
@RequestMapping("/post/ShopDeliveryCompanyController/queryDelivery")
|
||||
public void queryDelivery(InputObject inputObject, OutputObject outputObject) {
|
||||
shopDeliveryCompanyService.queryList(inputObject, outputObject);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id获取快递公司信息
|
||||
*
|
||||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "queryDeliveryById", value = "根据id获取快递公司信息", method = "POST", allUse = "2")
|
||||
@ApiImplicitParams({@ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/ShopDeliveryCompanyController/queryDeliveryById")
|
||||
public void queryDeliveryById(InputObject inputObject, OutputObject outputObject) {
|
||||
shopDeliveryCompanyService.selectById(inputObject, outputObject);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||
public class ShopDeliveryTemplateChargeController {
|
||||
|
||||
@Autowired
|
||||
private ShopDeliveryTemplateChargeService shopDeliveryTemplateChargeService;
|
||||
private ShopDeliveryTemplateChargeService shopDeliveryTemplateChargeService;
|
||||
|
||||
/**
|
||||
* 新增/编辑快递运费费用模版信息
|
||||
|
@ -83,4 +83,17 @@ public class ShopDeliveryTemplateChargeController {
|
|||
public void queryShopDeliveryTemplateCharge(InputObject inputObject, OutputObject outputObject) {
|
||||
shopDeliveryTemplateChargeService.queryList(inputObject, outputObject);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id获取快递运费模版信息
|
||||
*
|
||||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "queryShopDeliveryTemplateChargeById", value = "根据id获取快递运费模版信息", method = "POST", allUse = "2")
|
||||
@ApiImplicitParams({@ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/shopDeliveryTemplateChargeController/queryShopDeliveryTemplateChargeById")
|
||||
public void queryShopDeliveryTemplateChargeById(InputObject inputObject, OutputObject outputObject) {
|
||||
shopDeliveryTemplateChargeService.selectById(inputObject, outputObject);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,7 +85,13 @@ public class ShopDeliveryTemplateController {
|
|||
shopDeliveryTemplateService.queryList(inputObject, outputObject);
|
||||
}
|
||||
|
||||
@ApiOperation(id = "selectShopDeliveryTemplateById", value = "根据id查询快递运费模版信息", method = "POST", allUse = "2")
|
||||
/**
|
||||
* 根据id获取快递运费模版信息
|
||||
*
|
||||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "selectShopDeliveryTemplateById", value = "根据id获取快递运费模版信息", method = "POST", allUse = "2")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/ShopDeliveryTemplateController/selectShopDeliveryTemplateById")
|
||||
|
|
Loading…
Reference in a new issue