|
@@ -149,9 +149,10 @@ public class SbInfoServiceImpl extends BaseServiceImpl<SbInfoMapper, SbInfo, SbI
|
|
|
UserInfo userInfo = SecurityUtils.getUserInfo();
|
|
|
sbIds.forEach(item->{
|
|
|
SbInfo sbInfo = new SbInfo();
|
|
|
- sbInfo.setStatus(SbInfoStatusEnum.IN_USE.getValue());
|
|
|
+ sbInfo.setId(item);
|
|
|
+ sbInfo.setStatus(sbInfoDTO.getStatus());
|
|
|
sbInfo.setPositionId(sbInfoDTO.getPositionId());
|
|
|
-
|
|
|
+ mapper.updateByPrimaryKeySelective(sbInfo);
|
|
|
SbMeasureLog log = new SbMeasureLog();
|
|
|
log.setSbId(item);
|
|
|
log.setId(IdGeneratorUtils.getObjectId());
|