|
@@ -86,20 +86,20 @@ public class SysDept extends BaseEntity
|
|
|
*/
|
|
|
private String purchaseServices;
|
|
|
|
|
|
- public List<Long> getDeptList() {
|
|
|
+ /**
|
|
|
+ * 查询全部or指定部门
|
|
|
+ */
|
|
|
+ @TableField(exist = false)
|
|
|
+ private List<Integer> deptList;
|
|
|
+
|
|
|
+ public List<Integer> getDeptList() {
|
|
|
return deptList;
|
|
|
}
|
|
|
|
|
|
- public void setDeptList(List<Long> deptList) {
|
|
|
+ public void setDeptList(List<Integer> deptList) {
|
|
|
this.deptList = deptList;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * 查询全部or指定部门
|
|
|
- */
|
|
|
- @TableField(exist = false)
|
|
|
- private List<Long> deptList;
|
|
|
-
|
|
|
public String getProjectContact() {
|
|
|
return projectContact;
|
|
|
}
|
|
@@ -282,15 +282,41 @@ public class SysDept extends BaseEntity
|
|
|
this.purchaseServices = purchaseServices;
|
|
|
}
|
|
|
|
|
|
+ public SysDept() {
|
|
|
+ }
|
|
|
+
|
|
|
+ public SysDept(Long deptId, Long parentId, String ancestors, String deptName, Integer orderNum, String leader, String phone, String email, String status, String delFlag, String parentName, List<SysDept> children, String remarks, String address, String projectContact, String bankAccountName, String bankOfDeposit, String accountNumber, String purchaseServices, List<Integer> deptList) {
|
|
|
+ this.deptId = deptId;
|
|
|
+ this.parentId = parentId;
|
|
|
+ this.ancestors = ancestors;
|
|
|
+ this.deptName = deptName;
|
|
|
+ this.orderNum = orderNum;
|
|
|
+ this.leader = leader;
|
|
|
+ this.phone = phone;
|
|
|
+ this.email = email;
|
|
|
+ this.status = status;
|
|
|
+ this.delFlag = delFlag;
|
|
|
+ this.parentName = parentName;
|
|
|
+ this.children = children;
|
|
|
+ this.remarks = remarks;
|
|
|
+ this.address = address;
|
|
|
+ this.projectContact = projectContact;
|
|
|
+ this.bankAccountName = bankAccountName;
|
|
|
+ this.bankOfDeposit = bankOfDeposit;
|
|
|
+ this.accountNumber = accountNumber;
|
|
|
+ this.purchaseServices = purchaseServices;
|
|
|
+ this.deptList = deptList;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("deptId", getDeptId())
|
|
|
- .append("parentId", getParentId())
|
|
|
- .append("ancestors", getAncestors())
|
|
|
- .append("deptName", getDeptName())
|
|
|
- .append("orderNum", getOrderNum())
|
|
|
- .append("leader", getLeader())
|
|
|
+ return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
+ .append("deptId", getDeptId())
|
|
|
+ .append("parentId", getParentId())
|
|
|
+ .append("ancestors", getAncestors())
|
|
|
+ .append("deptName", getDeptName())
|
|
|
+ .append("orderNum", getOrderNum())
|
|
|
+ .append("leader", getLeader())
|
|
|
.append("phone", getPhone())
|
|
|
.append("email", getEmail())
|
|
|
.append("status", getStatus())
|