| | |
| | | */ |
| | | package org.springblade.modules.member.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.member.entity.Member; |
| | | import org.springblade.modules.member.vo.MemberVO; |
| | | import org.springblade.modules.member.service.IMemberService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.modules.member.vo.MemberVO; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | | /** |
| | | * 控制器 |
| | |
| | | return R.status(memberService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | /** |
| | | * 主要管理员信息 |
| | | * @param creditcode |
| | | * @return |
| | | */ |
| | | @PostMapping("/selectMemberInfo") |
| | | public R<IPage<MemberVO>> selectMemberInfo(String creditcode,Query query) { |
| | | IPage<MemberVO> pages = memberService.selectMemberInfo(Condition.getPage(query), creditcode); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | } |