Эх сурвалжийг харах

[fix]
恢复默认的数据填充

limeng 4 сар өмнө
parent
commit
3ab90607b9

+ 1 - 1
application-webadmin/src/main/java/com/tourism/webadmin/back/service/impl/TourismProjectTravelNotesWriteServiceImpl.java

@@ -63,7 +63,7 @@ public class TourismProjectTravelNotesWriteServiceImpl extends BaseService<Touri
     @Override
     public void saveNewBatch(List<TourismProjectTravelNotesWrite> tourismProjectTravelNotesWriteList) {
         if (CollUtil.isNotEmpty(tourismProjectTravelNotesWriteList)) {
-//            tourismProjectTravelNotesWriteList.forEach(this::buildDefaultValue);
+            tourismProjectTravelNotesWriteList.forEach(this::buildDefaultValue);
             tourismProjectTravelNotesWriteMapper.insertList(tourismProjectTravelNotesWriteList);
         }
     }