package com.yssh.service.impl; import com.yssh.dao.YsshPfshMapper; import com.yssh.entity.YsshPfsh; import com.yssh.service.YsshPfshService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * @author wMeng * @ClassName YsshQxshServiceImpl * @Description TODO * @date 2022/10/31 14:45 * @Version 1.0 */ @Service public class YsshPfshServiceImpl implements YsshPfshService { @Autowired private YsshPfshMapper ysshPfshMapper; @Override public List query(String name) { return ysshPfshMapper.query(name); } @Override public List getAll() { return ysshPfshMapper.getAll(); } @Override public int insert(YsshPfsh ysshPfsh) { return ysshPfshMapper.insert(ysshPfsh); } @Override public int delete(String id) { return ysshPfshMapper.delete(id); } }