81,122
社区成员




map.put("eventid", eventid);
EventHistory last=dao.findLastEventId(map2);
public EventHistory findLastEventId(Map<String,Object> map2);
<select id="findLastEventId" parameterType="map"
resultType="com.zjhy.spring.entity.EventHistory">
select * from event_history where submit_time=(select max(submit_time) from event_history) and eventid=#{eventid}
</select>