liuxm
2024-06-06 cda0faf3128ed97e7519d1ca04be079aea64dd93
pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/process/ProcessSv.java
@@ -15,6 +15,7 @@
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;
@@ -124,7 +125,9 @@
            }
            return null;
        }).filter(work -> work != null).toList();
        workDao.insertMany(workList);
        if(CollectionUtils.isNotEmpty(workList)){
            workDao.insertMany(workList);
        }
    }