|
|
@@ -10,9 +10,8 @@ import com.chinaitop.depot.storage.service.XwkZljcService;
|
|
10
|
10
|
import org.springframework.stereotype.Service;
|
|
11
|
11
|
|
|
12
|
12
|
import javax.annotation.Resource;
|
|
13
|
|
-import java.util.HashMap;
|
|
14
|
13
|
import java.util.List;
|
|
15
|
|
-import java.util.Map;
|
|
|
14
|
+import java.util.concurrent.ConcurrentHashMap;
|
|
16
|
15
|
|
|
17
|
16
|
@Service
|
|
18
|
17
|
public class XwkZljcServiceImpl implements XwkZljcService {
|
|
|
@@ -29,8 +28,8 @@ public class XwkZljcServiceImpl implements XwkZljcService {
|
|
29
|
28
|
}
|
|
30
|
29
|
|
|
31
|
30
|
@Override
|
|
32
|
|
- public Map<String, Object> loadDataById(String id) {
|
|
33
|
|
- Map<String,Object> retMap = new HashMap<String,Object>();
|
|
|
31
|
+ public ConcurrentHashMap<String, Object> loadDataById(String id) {
|
|
|
32
|
+ ConcurrentHashMap<String,Object> retMap = new ConcurrentHashMap<String,Object>();
|
|
34
|
33
|
if(id!=null){
|
|
35
|
34
|
XwkZljc xwkZljc = xwkZljcMapper.selectByPrimaryKey(id);
|
|
36
|
35
|
retMap.put("xwkZljc",xwkZljc);
|