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