|
@@ -95,7 +95,7 @@ public class SbPositionServiceImpl extends BaseServiceImpl<SbPositionMapper, SbP
|
|
|
SbPosition parent = mapper.selectByPrimaryKeyForUpdate(parentId);
|
|
|
|
|
|
// 之前没有编码,则设置编码
|
|
|
- if(StringUtils.isBlank(model.getCode())){
|
|
|
+ /* if(StringUtils.isBlank(model.getCode())){
|
|
|
if (StringUtils.isNotBlank(parentId)) {
|
|
|
Weekend<SbPosition> weekendCount = new Weekend<>(SbPosition.class);
|
|
|
WeekendCriteria<SbPosition, Object> weekendCriteriaCount = weekendCount.weekendCriteria();
|
|
@@ -120,7 +120,7 @@ public class SbPositionServiceImpl extends BaseServiceImpl<SbPositionMapper, SbP
|
|
|
String newCode = parent.getCode() + model.getCode().substring(model.getCode().length()-3);
|
|
|
model.setCode(newCode);
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
super.modModelByDTO(model);
|
|
|
}
|
|
|
|