package com.sy.service.impl; import com.sy.mapper.GatherInfoMapper; import com.sy.model.GatherInfo; import com.sy.service.GatherInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service("GatherInfoServiceImpl") public class GatherInfoServiceImpl implements GatherInfoService { @Autowired private GatherInfoMapper infoMapper; @Override public int save(GatherInfo info) { int row = 0; try { row =infoMapper.insert(info); }catch (Exception e){ e.printStackTrace(); } return row; } @Override public void handel(GatherInfo info){ } }