package com.yssh.service.impl;
|
|
import com.yssh.dao.YsshSuYuanMapper;
|
import com.yssh.entity.YsshQxsh;
|
import com.yssh.entity.YsshSuYuan;
|
import com.yssh.service.YsshSuYuanService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* @author wMeng
|
* @ClassName YsshSuYuanServiceImpl
|
* @Description TODO
|
* @date 2022/11/5 10:47
|
* @Version 1.0
|
*/
|
@Service
|
public class YsshSuYuanServiceImpl implements YsshSuYuanService {
|
@Autowired
|
private YsshSuYuanMapper ysshSuYuanMapper;
|
|
@Override
|
public List<YsshSuYuan> query(String name) {
|
return ysshSuYuanMapper.query(name);
|
}
|
@Override
|
public List<YsshSuYuan> queryByIds(List<Integer> ids) {
|
return ysshSuYuanMapper.queryByIds(ids);
|
}
|
@Override
|
public List<YsshSuYuan> getAll() {
|
return ysshSuYuanMapper.getAll();
|
}
|
@Override
|
public int insert(YsshSuYuan ysshSuYuan) {
|
return ysshSuYuanMapper.insert(ysshSuYuan);
|
}
|
@Override
|
public int delete(String id) {
|
return ysshSuYuanMapper.delete(id);
|
}
|
@Override
|
public int update(YsshSuYuan ysshSuYuan) {
|
return ysshSuYuanMapper.update(ysshSuYuan);
|
}
|
}
|