package com.yssh.service.impl;
|
|
import com.yssh.dao.YsshSuYuan500Mapper;
|
import com.yssh.entity.YsshSuYuanX00;
|
import com.yssh.entity.dto.YsshSuYuanX00UpdateBatchParam;
|
import com.yssh.service.YsshSuYuan500Service;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
/**
|
* @author lishijia
|
* @ClassName YsshSuYuan500ServiceImpl
|
* @Description TODO
|
* @date 2022/11/28 10:47
|
* @Version 1.0
|
*/
|
@Service
|
public class YsshSuYuan500ServiceImpl implements YsshSuYuan500Service {
|
@Autowired
|
private YsshSuYuan500Mapper ysshSuYuan500Mapper;
|
|
@Override
|
public List<YsshSuYuanX00> query(String name) {
|
return ysshSuYuan500Mapper.query(name);
|
}
|
@Override
|
public List<YsshSuYuanX00> queryByIds(List<Integer> ids) {
|
return ysshSuYuan500Mapper.queryByIds(ids);
|
}
|
@Override
|
public List<YsshSuYuanX00> getAll() {
|
return ysshSuYuan500Mapper.getAll();
|
}
|
@Override
|
public int insert(YsshSuYuanX00 ysshSuYuan) {
|
return ysshSuYuan500Mapper.insert(ysshSuYuan);
|
}
|
@Override
|
public int delete(String id) {
|
return ysshSuYuan500Mapper.delete(id);
|
}
|
@Override
|
public int update(YsshSuYuanX00 ysshSuYuan) {
|
return ysshSuYuan500Mapper.update(ysshSuYuan);
|
}
|
@Override
|
public int updateBatch(YsshSuYuanX00UpdateBatchParam param) {
|
return ysshSuYuan500Mapper.updateBatch(param);
|
}
|
}
|