7 changed files with 95 additions and 6 deletions
@ -0,0 +1,29 @@ |
|||||
|
package com.epmet.plugin.power.dto.axis.result; |
||||
|
|
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 动力主轴相关标签信息 |
||||
|
* |
||||
|
* @author work@yujt.net.cn |
||||
|
* @date 2022/4/18/0018 17:14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class PowerAxisAllTagCategoryResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 5442367149527835607L; |
||||
|
|
||||
|
/** |
||||
|
* 标签类别 动力主轴结构:struct;动力主轴领导人: leader |
||||
|
*/ |
||||
|
private String tagCategory; |
||||
|
|
||||
|
/** |
||||
|
* 标签类别编码集合 |
||||
|
*/ |
||||
|
private List<PowerAxisTagCategoryResultDTO> tagList; |
||||
|
} |
@ -1,16 +1,27 @@ |
|||||
package com.epmet.plugin.power.modules.axis.dao; |
package com.epmet.plugin.power.modules.axis.dao; |
||||
|
|
||||
import com.epmet.commons.mybatis.dao.BaseDao; |
import com.epmet.commons.mybatis.dao.BaseDao; |
||||
|
import com.epmet.plugin.power.dto.axis.result.PowerAxisAllTagCategoryResultDTO; |
||||
import com.epmet.plugin.power.modules.axis.entity.PowerAxisTagEntity; |
import com.epmet.plugin.power.modules.axis.entity.PowerAxisTagEntity; |
||||
import org.apache.ibatis.annotations.Mapper; |
import org.apache.ibatis.annotations.Mapper; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
/** |
/** |
||||
* 动力主轴标签 |
* 动力主轴标签 |
||||
* |
* |
||||
* @author generator generator@elink-cn.com |
* @author generator generator@elink-cn.com |
||||
* @since v1.0.0 2022-04-18 |
* @since v1.0.0 2022-04-18 |
||||
*/ |
*/ |
||||
@Mapper |
@Mapper |
||||
public interface PowerAxisTagDao extends BaseDao<PowerAxisTagEntity> { |
public interface PowerAxisTagDao extends BaseDao<PowerAxisTagEntity> { |
||||
|
|
||||
|
/** |
||||
|
* 查询全部标签,按标签类别分组 |
||||
|
* |
||||
|
* @return java.util.List<com.epmet.plugin.power.dto.axis.result.PowerAxisAllTagCategoryResultDTO> |
||||
|
* @author work@yujt.net.cn |
||||
|
* @date 2022/4/19/0019 9:14 |
||||
|
*/ |
||||
|
List<PowerAxisAllTagCategoryResultDTO> listSimpleAll(); |
||||
} |
} |
Loading…
Reference in new issue