mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	feat: 机器列表新增运行状态 & refactor: 登录账号信息存储与context
This commit is contained in:
		@@ -23,6 +23,7 @@ func newMachineRepo() repository.Machine {
 | 
			
		||||
// 分页获取机器信息列表
 | 
			
		||||
func (m *machineRepoImpl) GetMachineList(condition *entity.MachineQuery, pageParam *model.PageParam, toEntity *[]*vo.MachineVO, orderBy ...string) (*model.PageResult[*[]*vo.MachineVO], error) {
 | 
			
		||||
	qd := gormx.NewQuery(new(entity.Machine)).
 | 
			
		||||
		Eq("status", condition.Status).
 | 
			
		||||
		Like("ip", condition.Ip).
 | 
			
		||||
		Like("name", condition.Name).
 | 
			
		||||
		In("tag_id", condition.TagIds).
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user