GatherInfoServiceImpl.java 733 字节
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;

/**
 * @author zhangfan
 * @web www.sy.com
 * @company 郑州商友科技有限公司
 * @time 2018-11-28 16:52
 */
@Service
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;
    }
}