mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-23 08:39:46 +08:00
update 设置dept等级
This commit is contained in:
@@ -313,6 +313,8 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
|||||||
sysDept.setLeader(pileStationInfo.getStationAdminName());
|
sysDept.setLeader(pileStationInfo.getStationAdminName());
|
||||||
sysDept.setPhone(pileStationInfo.getStationTel());
|
sysDept.setPhone(pileStationInfo.getStationTel());
|
||||||
sysDept.setUpdateTime(DateUtils.getNowDate());
|
sysDept.setUpdateTime(DateUtils.getNowDate());
|
||||||
|
sysDept.setDeptLevel("3");
|
||||||
|
// 修改站点对应的部门
|
||||||
sysDeptService.updateDept(sysDept);
|
sysDeptService.updateDept(sysDept);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -317,6 +317,7 @@ public class SysDeptServiceImpl implements SysDeptService {
|
|||||||
dept.setParentId(parentDeptId);
|
dept.setParentId(parentDeptId);
|
||||||
dept.setOrderNum(Constants.zero);
|
dept.setOrderNum(Constants.zero);
|
||||||
dept.setDeptName(StringUtils.trim(stationName));
|
dept.setDeptName(StringUtils.trim(stationName));
|
||||||
|
dept.setDeptLevel("3");
|
||||||
dept.setLeader(StringUtils.trim(stationAdminName));
|
dept.setLeader(StringUtils.trim(stationAdminName));
|
||||||
dept.setPhone(StringUtils.trim(stationTel));
|
dept.setPhone(StringUtils.trim(stationTel));
|
||||||
dept.setStatus(Constants.ZERO);
|
dept.setStatus(Constants.ZERO);
|
||||||
|
|||||||
Reference in New Issue
Block a user