| | |
| | | @Resource |
| | | private PatrolService patrolService; |
| | | |
| | | |
| | | /** |
| | | * 查询数据 |
| | | * |
| | | * @param param |
| | | * @author sgj |
| | | * @date 2025/12/10 |
| | | */ |
| | | public List<Patrol> selectList(Patrol param) { |
| | | return patrolService.selectList(param); |
| | | } |
| | | |
| | | public Patrol selectById( String id) { |
| | | return patrolService.selectById( id); |
| | | /** |
| | | * 根据id查询数据 |
| | | * |
| | | * @param id |
| | | * @author sgj |
| | | * @date 2025/12/10 |
| | | */ |
| | | public Patrol selectById(String id) { |
| | | return patrolService.selectById(id); |
| | | } |
| | | |
| | | /** |
| | | * 新增数据 |
| | | * |
| | | * @param param |
| | | * @author sgj |
| | | * @date 2025/12/10 |
| | | */ |
| | | public int insertData(Patrol param) { |
| | | return patrolService.insertData(param); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param param |
| | | * @author sgj |
| | | * @date 2025/12/10 |
| | | */ |
| | | public int updateData(Patrol param) { |
| | | return patrolService.updateData(param); |
| | | } |
| | | |
| | | public void deleteDataById( String ids) { |
| | | patrolService.deleteDataById(ids); |
| | | /** |
| | | * 删除数据 |
| | | * |
| | | * @param ids |
| | | * @author sgj |
| | | * @date 2025/12/10 |
| | | */ |
| | | public void deleteDataById(String ids) { |
| | | patrolService.deleteDataById(ids); |
| | | } |
| | | |
| | | } |