审查视图

src/main/java/com/sy/service/impl/GatherInfoServiceImpl.java 705 字节
1 2
package com.sy.service.impl;
zhangFan authored
3 4
import com.sy.mapper.GatherInfoMapper;
import com.sy.model.GatherInfo;
5 6 7 8
import com.sy.service.GatherInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
9
@Service("GatherInfoServiceImpl")
10 11 12
public class GatherInfoServiceImpl implements GatherInfoService {

    @Autowired
zhangFan authored
13
    private GatherInfoMapper infoMapper;
14 15

    @Override
zhangFan authored
16
    public int save(GatherInfo info) {
17 18 19 20 21 22 23 24
        int row = 0;
        try {
            row =infoMapper.insert(info);
        }catch (Exception e){
            e.printStackTrace();
        }
        return row;
    }
朱兆平 authored
25 26 27 28 29

    @Override
    public void handel(GatherInfo info){

    }
30
}