|
@@ -7,6 +7,8 @@ import com.fdkankan.manage_jp.service.ISceneCopyLogService;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
@@ -35,4 +37,17 @@ public class SceneCopyLogServiceImpl extends ServiceImpl<ISceneCopyLogMapper, Sc
|
|
|
wrapper.eq(SceneCopyLog::getNewNum,num);
|
|
|
return this.list(wrapper);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public HashMap<String, String> getByNewNumList(List<String> sceneNumList) {
|
|
|
+ HashMap<String, String> map = new HashMap<>();
|
|
|
+ if(sceneNumList.isEmpty()){
|
|
|
+ return map;
|
|
|
+ }
|
|
|
+ LambdaQueryWrapper<SceneCopyLog> wrapper = new LambdaQueryWrapper<>();
|
|
|
+ wrapper.in(SceneCopyLog::getNewNum,sceneNumList);
|
|
|
+ List<SceneCopyLog> list = this.list(wrapper);
|
|
|
+ list.forEach(e-> map.put(e.getNewNum(),e.getCreateTime()));
|
|
|
+ return map;
|
|
|
+ }
|
|
|
}
|