审查视图

src/main/java/com/sy/service/impl/CommandInfoImpl.java 692 字节
1 2 3 4
package com.sy.service.impl;


import com.sy.mapper.commandInfoMapper;
5
import com.sy.model.CommandInfoX22;
6 7
import com.sy.service.CommandInfoService;
import org.springframework.beans.factory.annotation.Autowired;
zhangFan authored
8
import org.springframework.stereotype.Service;
9
zhangFan authored
10
@Service
11 12 13 14 15 16
public class CommandInfoImpl implements CommandInfoService {

    @Autowired
    private commandInfoMapper infoMapper;

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

    @Override
    public void handel(CommandInfoX22 info) {

    }
31
}