|
@@ -22,10 +22,7 @@ import com.ruoyi.zdsz.mapper.ZEngineeringMaterialMapper;
|
|
|
import com.ruoyi.zdsz.service.IZEngineeringMaterialService;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-import java.util.Collection;
|
|
|
+import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
@@ -185,7 +182,9 @@ public class ZEngineeringMaterialServiceImpl implements IZEngineeringMaterialSer
|
|
|
inlist.stream().forEach(i -> {
|
|
|
if (item.getId() == i) {
|
|
|
ZEngineeringMaterial update2 = BeanUtil.toBean(item, ZEngineeringMaterial.class);
|
|
|
+
|
|
|
update2.setDetailsId(Infobo.getId());
|
|
|
+ update2.setUpdateTime(new Date());
|
|
|
zEngineeringMaterialList.add(update2);
|
|
|
}
|
|
|
});
|