Browse Source

# 修复站点编辑修改机构排序问题

zhongwei
haungxing 8 months ago
parent
commit
6fef653b07
  1. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/station/service/impl/StationServiceImpl.java

@ -656,7 +656,9 @@ public class StationServiceImpl extends BaseServiceImpl<StationMapper, StationEn
request.setDeptName(stationEntity.getName());
request.setParentId(Func.isNotEmpty(stationEntity.getHigherDept()) ? stationEntity.getHigherDept() : request.getParentId());
request.setDeptCategory(StationConstants.DeptCategoryEnum.STATION.getValue());
request.setSort(1);
if(Func.isEmpty(request.getSort())) {
request.setSort(1);
}
R<Void> buildResult = deptClient.createOrUpdateDept(request);
if (buildResult.isSuccess()) {
// 所属机构回传

Loading…
Cancel
Save