Fancy
2024-07-10 2bc94fed189ef2da4112f9f836343a6a579b93c6
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);
        }
    }