app医生个人信息添加sex性别
This commit is contained in:
parent
b70cd5d87c
commit
9d80ec4800
@ -112,7 +112,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
// 过滤请求
|
||||
.authorizeRequests()
|
||||
// 对于登录login 注册register 验证码captchaImage 允许匿名访问
|
||||
.antMatchers("/login", "/register", "/captchaImage","/newapp/login/appLogin").anonymous()
|
||||
.antMatchers("/login", "/register", "/captchaImage","/newapp/login/appLogin","/system/hospitalPerson/*").anonymous()
|
||||
// 静态资源,可匿名访问
|
||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
||||
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**").permitAll()
|
||||
|
||||
@ -81,7 +81,7 @@ public class HospitalPersonInfoController extends BaseController {
|
||||
* 获取健康咨询-科室人员信息详细信息
|
||||
*/
|
||||
@ApiOperation("获取健康咨询-科室人员信息详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('system:hospitalPerson:query')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:hospitalPerson:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||
return AjaxResult.success(hospitalPersonInfoService.selectHospitalPersonInfoById(id));
|
||||
|
||||
@ -83,6 +83,8 @@ public class HospitalPersonInfo extends BaseDomain implements Serializable {
|
||||
@NotBlank(message = "科室人员地址不能为空!", groups = {Insert.class, Update.class})
|
||||
@Length(max = 300, message = "科室人员地址不能超过300位", groups = {Insert.class, Update.class})
|
||||
private String personAddress;
|
||||
/**性别*/
|
||||
private String sex;
|
||||
|
||||
/**
|
||||
* 身份证号
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
<result property="personName" column="person_name"/>
|
||||
<result property="personPhone" column="person_phone"/>
|
||||
<result property="personAddress" column="person_address"/>
|
||||
<result property="sex" column="sex"/>
|
||||
<result property="cardNo" column="card_no"/>
|
||||
<result property="academicTitle" column="academic_title"/>
|
||||
<result property="consultingFee" column="consulting_fee"/>
|
||||
@ -197,6 +198,7 @@
|
||||
hpi.person_name,
|
||||
hpi.person_phone,
|
||||
hpi.person_address,
|
||||
hpi.sex,
|
||||
hpi.card_no,
|
||||
hpi.academic_title,
|
||||
hpi.consulting_fee,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user