package com.dy.pipIrrBase.district; import com.dy.pipIrrGlobal.daoBa.BaDistrictMapper; import com.dy.pipIrrGlobal.pojoBa.BaDistrict; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Slf4j @Service public class DistrictSv { private BaDistrictMapper baDistrictMapper ; @Autowired private void setBaDistrictMapper(BaDistrictMapper baDistrictMapper){ this.baDistrictMapper = baDistrictMapper ; } public int save(BaDistrict po){ return this.baDistrictMapper.insert(po) ; } }