|  |  | 
 |  |  |  | 
 |  |  | import com.dy.common.webUtil.QueryResultVo; | 
 |  |  | import com.dy.pipIrrGlobal.daoRm.UgRtuControllerMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoRm.UgRtuController; | 
 |  |  | import com.dy.pipIrrGlobal.pojoUg.UgRtuController; | 
 |  |  | import com.dy.pipIrrGlobal.voPr.VoController; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.apache.dubbo.common.utils.PojoUtils; | 
 |  |  | 
 |  |  |     public int save(UgRtuController po){ | 
 |  |  |         return this.dao.insertSelective(po) ; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 删除所有 | 
 |  |  |      * @param taskId 任务主键 | 
 |  |  |      * @return 数量 | 
 |  |  |      */ | 
 |  |  |     @Transactional | 
 |  |  |     public int deleteAll(Long taskId){ | 
 |  |  |         return this.dao.deleteByTaskId(taskId) ; | 
 |  |  |     } | 
 |  |  |     /** | 
 |  |  |      * 删除 | 
 |  |  |      * @param id 主键 | 
 |  |  |      * @return 数量 | 
 |  |  |      */ | 
 |  |  |     @Transactional | 
 |  |  |     public int deleteOne(Long id){ | 
 |  |  |         return this.dao.deleteByPrimaryKey(id) ; | 
 |  |  |     } | 
 |  |  | } |