|
|
|
@ -51,7 +51,7 @@ public class JEnterpriseContactController extends BaseController {
|
|
|
|
|
* @param jEnterpriseContactRequest 查询实体
|
|
|
|
|
* @return 所有数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
|
|
|
|
|
@ApiOperation(value = "分页查询所有数据", response = JEnterpriseContact.class)
|
|
|
|
|
@GetMapping
|
|
|
|
|
public AjaxResult selectAll(Page<JEnterpriseContact> page, JEnterpriseContactRequest jEnterpriseContactRequest) {
|
|
|
|
@ -82,7 +82,7 @@ public class JEnterpriseContactController extends BaseController {
|
|
|
|
|
* @param id 主键
|
|
|
|
|
* @return 单条数据
|
|
|
|
|
*/
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent')")
|
|
|
|
|
@PreAuthorize("@ss.hasAnyRoles('admin,other-gov,gov,ent,sightseer')")
|
|
|
|
|
@ApiOperation(value = "通过主键查询单条数据", response = JEnterpriseContact.class)
|
|
|
|
|
@GetMapping("{id}")
|
|
|
|
|
public AjaxResult selectOne(@PathVariable Serializable id) {
|
|
|
|
|