Commit 7513023d by qwmqiuwenmin

fix

parent 6216cf91
......@@ -201,7 +201,7 @@ public class DepartmentContoller extends WebBaseController{
department.setIsStore(0);
department.setIsStore(departmentAddQO.getStoreFlag());
department.setLevel(dto.getLevel() + 1);
department.setRelatedId(dto.getRelatedId());
department.setRelatedId(departmentAddQO.getRelatedId());
HaobanResponse hr = departmentApiService.add(department);
if(hr.getErrorCode() != 1) {
continue;
......
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