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