|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoIr.IrGroupUnit; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoIr.IrIrrigateGroup; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author :WuZeYu | 
|---|
|  |  |  | 
|---|
|  |  |  | //增 | 
|---|
|  |  |  | int insertSelective(IrGroupUnit record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //删 | 
|---|
|  |  |  | int deleteLogicById(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //删by unitId groupId | 
|---|
|  |  |  | int deleteByUnitIdGroupId(IrGroupUnit record); | 
|---|
|  |  |  | 
|---|
|  |  |  | int deleteByUnitId(Long unitId); | 
|---|
|  |  |  | //删by  groupId | 
|---|
|  |  |  | int deleteByGroupId(Long groupId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //查一个轮灌组绑定的灌溉单元id | 
|---|
|  |  |  | List<Long> getGroupBindUnits(Long groupId); | 
|---|
|  |  |  | //查未绑定轮灌组的灌溉单元id | 
|---|
|  |  |  | List<Long> getNotBindUnits(); | 
|---|
|  |  |  | } | 
|---|