mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-02-28 17:33:25 +08:00
联系人查询修改为批量查询
This commit is contained in:
parent
e426c13d2a
commit
b8f6f24815
1 changed files with 5 additions and 5 deletions
|
@ -73,17 +73,17 @@ public class ContactsController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 根据id获取联系人信息
|
||||
* 根据id批量获取联系人信息
|
||||
*
|
||||
* @param inputObject 入参以及用户信息等获取对象
|
||||
* @param outputObject 出参以及提示信息的返回值对象
|
||||
*/
|
||||
@ApiOperation(id = "queryContactsById", value = "根据id获取联系人信息", method = "GET", allUse = "2")
|
||||
@ApiOperation(id = "queryContactsByIds", value = "根据id批量获取联系人信息", method = "POST", allUse = "2")
|
||||
@ApiImplicitParams(value = {
|
||||
@ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/ContactsController/queryContactsById")
|
||||
@ApiImplicitParam(id = "ids", name = "ids", value = "主键id", required = "required")})
|
||||
@RequestMapping("/post/ContactsController/queryContactsByIds")
|
||||
public void queryContactsById(InputObject inputObject, OutputObject outputObject) {
|
||||
contactsService.selectById(inputObject, outputObject);
|
||||
contactsService.selectByIds(inputObject, outputObject);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue