|
@@ -116,7 +116,7 @@ public class DmInformationServiceImpl implements DmInformationService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void update(DmInformation resources,String ... statusList) {
|
|
|
DmInformation dmInformation = dmInformationRepository.findById(resources.getId()).orElseGet(DmInformation::new);
|
|
|
- if (StringUtils.isNotBlank(dmInformation.getIsValid())){
|
|
|
+ if (StringUtils.isNotBlank(dmInformation.getStatus())){
|
|
|
dmInformation.setReleaseTime(new Timestamp(System.currentTimeMillis()));
|
|
|
}
|
|
|
ValidationUtil.isNull( dmInformation.getId(),"DmInformation","id",resources.getId());
|