|
|
|
@ -23,6 +23,7 @@ import org.springblade.core.mp.base.BaseServiceImpl;
|
|
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
import java.util.Comparator; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
@ -78,6 +79,8 @@ public class FactoryNodePushServiceImpl extends BaseServiceImpl<FactoryNodePushM
|
|
|
|
|
} |
|
|
|
|
List<FactoryNodePushEntity> factoryNodePushEntities = baseMapper.selectBatchIds(ids); |
|
|
|
|
if(CollUtil.isNotEmpty(factoryNodePushEntities)){ |
|
|
|
|
// 按 创建时间排序正序
|
|
|
|
|
factoryNodePushEntities.sort(Comparator.comparing(FactoryNodePushEntity::getCreateTime)); |
|
|
|
|
for (FactoryNodePushEntity factoryNodePushEntity : factoryNodePushEntities) { |
|
|
|
|
if(ObjectUtil.isNotEmpty(factoryNodePushEntity)){ |
|
|
|
|
log.info("重新推送工厂:{}", JSONUtil.toJsonStr(factoryNodePushEntity)); |
|
|
|
|