增加配置属性

This commit is contained in:
sxu 2024-12-10 17:40:59 +08:00
parent 00bd6af8d8
commit 1625099c3a
2 changed files with 1 additions and 6 deletions

View File

@ -6,10 +6,6 @@ import lombok.Data;
@Data
public class DevInfoPropertyVo {
/** 物资ID */
@ApiModelProperty(value = "物资ID")
private Long maId;
/** 属性名称 */
@ApiModelProperty(value = "属性名称")
private String propertyName;

View File

@ -532,8 +532,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="selectDevInfoProperties" resultType="com.bonus.material.device.domain.vo.DevInfoPropertyVo">
select ma_id as maId,
property_name as propertyName,
select property_name as propertyName,
property_value as propertyValue
from ma_dev_info_properties
where ma_id = #{maId}