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