| | |
| | | import com.walker.infrastructure.utils.PhoneNumberUtils; |
| | | import com.walker.infrastructure.utils.StringUtils; |
| | | import com.walker.web.ResponseValue; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | * @Author wh |
| | | * @Date 2023/7/17 14:16 |
| | | */ |
| | | @Api(value = "机构用户信息", tags = "机构用户信息") |
| | | @RestController |
| | | @RequestMapping("/pc/fin/sys/tenant/user") |
| | | public class FinSysTenantUserController extends BaseController { |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "根据机构id查询用户", notes = "根据机构id查询用户") |
| | | @ApiImplicitParam(name = "tenantId", value = "机构id", required = true, dataType = "Long", paramType = "query") |
| | | @GetMapping("/query/user") |
| | | public ResponseValue queryUserByTenantId(Long tenantId) { |
| | | |
| | | FinSysTenantUser finSysTenantUser = new FinSysTenantUser(); |
| | | finSysTenantUser.setTenantId(String.valueOf(tenantId)); |
| | | List<FinSysTenantUser> result = finSysTenantUserService.select(finSysTenantUser); |
| | | return ResponseValue.success(result); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * @Description 新增 |
| | | * @Author wh |