package com.dy.pipIrrDemo.mp; import com.dy.pipIrrGlobal.daoDemo.DemoMpMapper; import com.dy.pipIrrGlobal.pojoDemo.DemoMp; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class DemoMpSv { @Autowired private DemoMpMapper demoMpMapper ; public DemoMp selectById(Long id){ return this.demoMpMapper.selectById(id); } public List selectBatchIds(List ids){ return this.demoMpMapper.selectBatchIds(ids); } public int insert(DemoMp po){ return this.demoMpMapper.insert(po) ; } public int updateById(DemoMp po){ return this.demoMpMapper.updateById(po) ; } }