Commit 24f7c869 by qwmqiuwenmin

fix

parent 99874cac
......@@ -36,6 +36,8 @@ public class DepartmentDTO implements Serializable {
private Integer staffCount;
private String wxEnterpriseId;
private Integer type;
private static final long serialVersionUID = 1L;
......@@ -166,6 +168,14 @@ public class DepartmentDTO implements Serializable {
public void setStaffCount(Integer staffCount) {
this.staffCount = staffCount;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
......
......@@ -272,9 +272,15 @@ public class DepartmentContoller extends WebBaseController{
if(dto == null) {
DepartmentDTO unBindDTO = new DepartmentDTO();
unBindDTO.setRelatedId(departmentDTO.getId());
unBindDTO.setIsStore(departmentDTO.getType());
Integer storeType = departmentDTO.getType();
if(storeType == 3){
unBindDTO.setIsStore(1);
}else{
unBindDTO.setIsStore(0);
}
unBindDTO.setDepartmentName(departmentDTO.getName());
unBindDTO.setDepartmentId(departmentDTO.getId());
unBindDTO.setType(type);
dtoList.add(unBindDTO);
}
}
......
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