update dms设备模型图片上传

master
yinq 3 months ago
parent 2d46cf13c5
commit e7ff97763c

@ -14,9 +14,8 @@ import java.io.Serial;
* @date 2025-03-17 * @date 2025-03-17
*/ */
@Data @Data
@EqualsAndHashCode(callSuper = true)
@TableName("base_alarm_rule_link") @TableName("base_alarm_rule_link")
public class BaseAlarmRuleLink extends BaseEntity { public class BaseAlarmRuleLink {
@Serial @Serial
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

@ -48,5 +48,10 @@ public class DmsDeviceMode extends TenantEntity {
*/ */
private String remark; private String remark;
/**
*
*/
private String ossId;
} }

@ -46,5 +46,8 @@ public class DmsDeviceModeBo extends BaseEntity {
*/ */
private String remark; private String remark;
/**
* ID
*/
private String ossId;
} }

@ -59,5 +59,9 @@ public class DmsDeviceModeVo implements Serializable {
@ExcelProperty(value = "场景描述") @ExcelProperty(value = "场景描述")
private String remark; private String remark;
/**
* ID
*/
@ExcelProperty(value = "对象存储ID")
private String ossId;
} }

@ -81,7 +81,7 @@ public class BaseAlarmRuleLinkServiceImpl implements IBaseAlarmRuleLinkService {
.eq(bo.getLinkDeviceFunctionId() != null, BaseAlarmRuleLink::getLinkDeviceFunctionId, bo.getLinkDeviceFunctionId()) .eq(bo.getLinkDeviceFunctionId() != null, BaseAlarmRuleLink::getLinkDeviceFunctionId, bo.getLinkDeviceFunctionId())
.eq(StringUtils.isNotBlank(bo.getLinkDeviceFunctionIdentifier()), BaseAlarmRuleLink::getLinkDeviceFunctionIdentifier, bo.getLinkDeviceFunctionIdentifier()) .eq(StringUtils.isNotBlank(bo.getLinkDeviceFunctionIdentifier()), BaseAlarmRuleLink::getLinkDeviceFunctionIdentifier, bo.getLinkDeviceFunctionIdentifier())
.eq(StringUtils.isNotBlank(bo.getLinkDeviceFunctionData()), BaseAlarmRuleLink::getLinkDeviceFunctionData, bo.getLinkDeviceFunctionData()) .eq(StringUtils.isNotBlank(bo.getLinkDeviceFunctionData()), BaseAlarmRuleLink::getLinkDeviceFunctionData, bo.getLinkDeviceFunctionData())
.orderByDesc(BaseAlarmRuleLink::getCreateTime); .orderByDesc(BaseAlarmRuleLink::getRuleLinkId);
return lqw; return lqw;
} }

Loading…
Cancel
Save