运维模块补充提交
This commit is contained in:
		| @ -0,0 +1,23 @@ | ||||
| package org.dromara.ops; | ||||
|  | ||||
|  | ||||
| import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; | ||||
| import org.springframework.boot.SpringApplication; | ||||
| import org.springframework.boot.autoconfigure.SpringBootApplication; | ||||
| import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup; | ||||
|  | ||||
|  | ||||
| /** | ||||
|  * 运维模块 | ||||
|  */ | ||||
| @EnableDubbo | ||||
| @SpringBootApplication | ||||
| public class OpsApplication { | ||||
|  | ||||
|     public static void main(String[] args) { | ||||
|         SpringApplication application = new SpringApplication(OpsApplication.class); | ||||
|         application.setApplicationStartup(new BufferingApplicationStartup(2048)); | ||||
|         application.run(args); | ||||
|         System.out.println("(♥◠‿◠)ノ゙  运维模块启动成功   ლ(´ڡ`ლ)゙  "); | ||||
|     } | ||||
| } | ||||
| @ -0,0 +1,69 @@ | ||||
| package org.dromara.ops.personnel.service; | ||||
|  | ||||
| import org.dromara.ops.personnel.domain.SubConstructionUser; | ||||
| import org.dromara.ops.personnel.domain.vo.SubConstructionUserVo; | ||||
| import org.dromara.ops.personnel.domain.bo.SubConstructionUserBo; | ||||
| import org.dromara.common.mybatis.core.page.TableDataInfo; | ||||
| import org.dromara.common.mybatis.core.page.PageQuery; | ||||
|  | ||||
| import java.util.Collection; | ||||
| import java.util.List; | ||||
|  | ||||
| /** | ||||
|  * 运维人员Service接口 | ||||
|  * | ||||
|  * @author LionLi | ||||
|  * @date 2025-09-16 | ||||
|  */ | ||||
| public interface ISubConstructionUserService { | ||||
|  | ||||
|     /** | ||||
|      * 查询运维人员 | ||||
|      * | ||||
|      * @param id 主键 | ||||
|      * @return 运维人员 | ||||
|      */ | ||||
|     SubConstructionUserVo queryById(Long id); | ||||
|  | ||||
|     /** | ||||
|      * 分页查询运维人员列表 | ||||
|      * | ||||
|      * @param bo        查询条件 | ||||
|      * @param pageQuery 分页参数 | ||||
|      * @return 运维人员分页列表 | ||||
|      */ | ||||
|     TableDataInfo<SubConstructionUserVo> queryPageList(SubConstructionUserBo bo, PageQuery pageQuery); | ||||
|  | ||||
|     /** | ||||
|      * 查询符合条件的运维人员列表 | ||||
|      * | ||||
|      * @param bo 查询条件 | ||||
|      * @return 运维人员列表 | ||||
|      */ | ||||
|     List<SubConstructionUserVo> queryList(SubConstructionUserBo bo); | ||||
|  | ||||
|     /** | ||||
|      * 新增运维人员 | ||||
|      * | ||||
|      * @param bo 运维人员 | ||||
|      * @return 是否新增成功 | ||||
|      */ | ||||
|     Boolean insertByBo(SubConstructionUserBo bo); | ||||
|  | ||||
|     /** | ||||
|      * 修改运维人员 | ||||
|      * | ||||
|      * @param bo 运维人员 | ||||
|      * @return 是否修改成功 | ||||
|      */ | ||||
|     Boolean updateByBo(SubConstructionUserBo bo); | ||||
|  | ||||
|     /** | ||||
|      * 校验并批量删除运维人员信息 | ||||
|      * | ||||
|      * @param ids     待删除的主键集合 | ||||
|      * @param isValid 是否进行有效性校验 | ||||
|      * @return 是否删除成功 | ||||
|      */ | ||||
|     Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user