|  |  | 
 |  |  | import com.dy.pmsGlobal.pojoPr.PrWorkingInstruction; | 
 |  |  | import com.dy.pmsGlobal.util.UserUtil; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.apache.commons.collections4.CollectionUtils; | 
 |  |  | import org.apache.dubbo.common.utils.PojoUtils; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.beans.factory.annotation.Value; | 
 |  |  | 
 |  |  |             } | 
 |  |  |             return null; | 
 |  |  |         }).filter(work -> work != null).toList(); | 
 |  |  |         workDao.insertMany(workList); | 
 |  |  |         if(CollectionUtils.isNotEmpty(workList)){ | 
 |  |  |             workDao.insertMany(workList); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  |