Commit d85dd5d1 authored by zhuangxinwei's avatar zhuangxinwei

方舱导入

parent 0723b59f
...@@ -249,10 +249,12 @@ public class FcryServiceImpl implements IFcryService ...@@ -249,10 +249,12 @@ public class FcryServiceImpl implements IFcryService
} }
if (!updateList.isEmpty()) { if (!updateList.isEmpty()) {
for (Fcry fcry : updateList) { for (Fcry fcry : updateList) {
List<Fcry> fcries = new ArrayList<>();
fcry.setCreateBy(String.valueOf(SecurityUtils.getUserId())); fcry.setCreateBy(String.valueOf(SecurityUtils.getUserId()));
fcry.setUpdateTime(DateUtils.getNowDate()); fcry.setUpdateTime(DateUtils.getNowDate());
fcries.add(fcry);
fcryMapper.updateBatchFcry(fcries);
} }
fcryMapper.updateBatchFcry(updateList);
} }
if (!trueList.isEmpty()){ if (!trueList.isEmpty()){
for (Fcry fcry1 : trueList) { for (Fcry fcry1 : trueList) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment