50,639
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
public Map insert()
{
Map<String, Object> retMap = MapHelperUtil.hashMap();
Map<String, Object> resp = MapHelperUtil.hashMap();;
Map<String,Object> reqMap = getRequestData();
List<Map<String, Object>> rows = accidentAnalysisService.getAccidentAnalysisList(reqMap);
for (Map<String, Object> map : rows)
{
SGDin sgdin = new SGDin();
SGDout sgdout = GD.getSGDout(sgdin); //调用dll
}
retMap.put(MsgCode.RESULT_CDDE, MsgCode.SUCCESS);
retMap.put("version", "1.0");
resp.put("resp", rows);
return resp;
}
public class GD
{
public static native SGDout getSGDout(SGDin sgdin);
static
{
System.load(Constants.getDllPath()+"GD.dll");
}
}