Mybatis调用存储过程

service中:

List, Object>> DataCompare(Map, Object> map);

mapper中:


java中调用:

Map, Object> map = new HashMap<>();
map.put("AreaCode",areacode);
map.put("AreaUnits",areaunits);
map.put("BeginTime",begindate);
map.put("EndTime",enddate);
tStationInfoMapper.DataCompare(map);

你可能感兴趣的:(热门框架)