Commit 0af64ced authored by 赵灿灿's avatar 赵灿灿

修改类型

parent 0653e1c3
Pipeline #21463 passed with stages
in 3 minutes and 42 seconds
...@@ -89,15 +89,15 @@ public class ExpertInformation { ...@@ -89,15 +89,15 @@ public class ExpertInformation {
/** /**
* 专家科室ID * 专家科室ID
*/ */
private Integer groupId; private Long groupId;
/** /**
* 专家部门ID * 专家部门ID
*/ */
private Integer departmentId; private Long departmentId;
/** /**
* 专家用户ID * 专家用户ID
*/ */
private Integer userId; private Long userId;
/** /**
* 专家满意度均分 * 专家满意度均分
*/ */
...@@ -128,7 +128,7 @@ public class ExpertInformation { ...@@ -128,7 +128,7 @@ public class ExpertInformation {
/** /**
* 仓储还原 * 仓储还原
*/ */
public ExpertInformation(Integer id, String name, String gender, String mailbox, String telephone, String userName, Date employmentDate, String department, String group, String position, String scopeBusiness, String state, String specializesFields, String expertIntroduction, String organizationalCode, Date recordTime, Date updateTime, String photo, Integer groupId, Integer departmentId, Integer userId, BigDecimal satisfactionScore, String level, String disabled, String regionCode, Integer sort) { public ExpertInformation(Integer id, String name, String gender, String mailbox, String telephone, String userName, Date employmentDate, String department, String group, String position, String scopeBusiness, String state, String specializesFields, String expertIntroduction, String organizationalCode, Date recordTime, Date updateTime, String photo, Long groupId, Long departmentId, Long userId, BigDecimal satisfactionScore, String level, String disabled, String regionCode, Integer sort) {
this.id = id; this.id = id;
this.name = name; this.name = name;
this.gender = gender; this.gender = gender;
...@@ -234,15 +234,16 @@ public class ExpertInformation { ...@@ -234,15 +234,16 @@ public class ExpertInformation {
return photo; return photo;
} }
public Integer getGroupId() { public Long getGroupId() {
return groupId; return groupId;
} }
public Integer getDepartmentId() { // This method returns the departmentId
public Long getDepartmentId() {
return departmentId; return departmentId;
} }
public Integer getUserId() { public Long getUserId() {
return userId; return userId;
} }
......
...@@ -278,9 +278,9 @@ public class ExpertInformationRepository implements IExpertInformationRepository ...@@ -278,9 +278,9 @@ public class ExpertInformationRepository implements IExpertInformationRepository
rs.getTimestamp("EI_RECORD_TIME"), rs.getTimestamp("EI_RECORD_TIME"),
rs.getTimestamp("EI_UPDATE_TIME"), rs.getTimestamp("EI_UPDATE_TIME"),
rs.getString("EI_PHOTO"), rs.getString("EI_PHOTO"),
rs.getObject("EI_GROUP_ID") != null ? rs.getInt("EI_GROUP_ID") : null, rs.getObject("EI_GROUP_ID") != null ? rs.getLong("EI_GROUP_ID") : null,
rs.getObject("EI_DEPARTMENT_ID") != null ? rs.getInt("EI_DEPARTMENT_ID") : null, rs.getObject("EI_DEPARTMENT_ID") != null ? rs.getLong("EI_DEPARTMENT_ID") : null,
rs.getObject("EI_USER_ID") != null ? rs.getInt("EI_USER_ID") : null, rs.getObject("EI_USER_ID") != null ? rs.getLong("EI_USER_ID") : null,
rs.getBigDecimal("EI_SATISFACTION_SCORE"), rs.getBigDecimal("EI_SATISFACTION_SCORE"),
rs.getString("EI_LEVEL"), rs.getString("EI_LEVEL"),
rs.getString("EI_DISABLED"), rs.getString("EI_DISABLED"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment