UPDATE: VERSION-20260331

This commit is contained in:
libertyspy
2026-03-31 14:33:02 +08:00
parent a0d8f555f9
commit a4d9e8d8eb
5 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
package com.solution.system.domain;
/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2026 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
import java.io.Serializable;
public class HbNodeCommand implements Serializable {
private Integer id;
private String command;
private String chineseName;
private String description;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCommand() {
return command;
}
public void setCommand(String command) {
this.command = command;
}
public String getChineseName() {
return chineseName;
}
public void setChineseName(String chineseName) {
this.chineseName = chineseName;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}

View File

@@ -0,0 +1,18 @@
package com.solution.system.mapper;
/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2026 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
import com.solution.system.domain.HbNodeCommand;
import java.util.List;
public interface HbNodeCommandMapper {
List<HbNodeCommand> findAll();
}

View File

@@ -0,0 +1,18 @@
package com.solution.system.service;
/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2026 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
import com.solution.system.domain.HbNodeCommand;
import java.util.List;
public interface HbNodeCommandService {
List<HbNodeCommand> findAll();
}

View File

@@ -0,0 +1,32 @@
package com.solution.system.service.impl;
/*
* This file is part of the kernelstudio package.
*
* (c) 2014-2026 zlin <admin@kernelstudio.com>
*
* For the full copyright and license information, please view the LICENSE file
* that was distributed with this source code.
*/
import com.solution.system.domain.HbNodeCommand;
import com.solution.system.mapper.HbNodeCommandMapper;
import com.solution.system.service.HbNodeCommandService;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class HbNodeCommandServiceImpl implements HbNodeCommandService {
private final HbNodeCommandMapper hbNodeCommandMapper;
public HbNodeCommandServiceImpl(HbNodeCommandMapper hbNodeCommandMapper) {
this.hbNodeCommandMapper = hbNodeCommandMapper;
}
@Override
public List<HbNodeCommand> findAll() {
return hbNodeCommandMapper.findAll();
}
}