diff --git a/auto-solution-behaviour/src/main/java/com/solution/system/domain/HbNodeCommand.java b/auto-solution-behaviour/src/main/java/com/solution/system/domain/HbNodeCommand.java new file mode 100644 index 0000000..869c525 --- /dev/null +++ b/auto-solution-behaviour/src/main/java/com/solution/system/domain/HbNodeCommand.java @@ -0,0 +1,55 @@ +package com.solution.system.domain; +/* + * This file is part of the kernelstudio package. + * + * (c) 2014-2026 zlin + * + * 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; + } + +} diff --git a/auto-solution-behaviour/src/main/java/com/solution/system/mapper/HbNodeCommandMapper.java b/auto-solution-behaviour/src/main/java/com/solution/system/mapper/HbNodeCommandMapper.java new file mode 100644 index 0000000..5da8921 --- /dev/null +++ b/auto-solution-behaviour/src/main/java/com/solution/system/mapper/HbNodeCommandMapper.java @@ -0,0 +1,18 @@ +package com.solution.system.mapper; +/* + * This file is part of the kernelstudio package. + * + * (c) 2014-2026 zlin + * + * 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 findAll(); +} diff --git a/auto-solution-behaviour/src/main/java/com/solution/system/service/HbNodeCommandService.java b/auto-solution-behaviour/src/main/java/com/solution/system/service/HbNodeCommandService.java new file mode 100644 index 0000000..19b5b24 --- /dev/null +++ b/auto-solution-behaviour/src/main/java/com/solution/system/service/HbNodeCommandService.java @@ -0,0 +1,18 @@ +package com.solution.system.service; +/* + * This file is part of the kernelstudio package. + * + * (c) 2014-2026 zlin + * + * 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 findAll(); +} diff --git a/auto-solution-behaviour/src/main/java/com/solution/system/service/impl/HbNodeCommandServiceImpl.java b/auto-solution-behaviour/src/main/java/com/solution/system/service/impl/HbNodeCommandServiceImpl.java new file mode 100644 index 0000000..dc101a0 --- /dev/null +++ b/auto-solution-behaviour/src/main/java/com/solution/system/service/impl/HbNodeCommandServiceImpl.java @@ -0,0 +1,32 @@ +package com.solution.system.service.impl; +/* + * This file is part of the kernelstudio package. + * + * (c) 2014-2026 zlin + * + * 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 findAll() { + return hbNodeCommandMapper.findAll(); + } + +} diff --git a/auto-solution-behaviour/src/main/resources/mapper/system/HbNodeCommandMapper.xml b/auto-solution-behaviour/src/main/resources/mapper/system/HbNodeCommandMapper.xml new file mode 100644 index 0000000..63853e4 --- /dev/null +++ b/auto-solution-behaviour/src/main/resources/mapper/system/HbNodeCommandMapper.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + \ No newline at end of file