王先生 2 gadi atpakaļ
vecāks
revīzija
885ac93594

+ 1 - 1
eladmin-system/src/main/java/me/zhengjie/modules/dm/information/service/impl/DmInformationServiceImpl.java

@@ -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());