diff --git a/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/domain/CyysjIntegratedMoldingEquipment.java b/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/domain/CyysjIntegratedMoldingEquipment.java index 0c1edd38..35e0a1ee 100644 --- a/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/domain/CyysjIntegratedMoldingEquipment.java +++ b/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/domain/CyysjIntegratedMoldingEquipment.java @@ -9,7 +9,7 @@ import com.god.common.core.domain.BaseEntity; * 集成型设备对象 cyysj_integrated_molding_equipment * * @author liweijie - * @date 2024-01-04 + * @date 2024-01-05 */ public class CyysjIntegratedMoldingEquipment extends BaseEntity { @@ -26,6 +26,14 @@ public class CyysjIntegratedMoldingEquipment extends BaseEntity @Excel(name = "密码") private String password; + /** 设备名称 */ + @Excel(name = "设备名称") + private String deviceName; + + /** 设备监控位置 */ + @Excel(name = "设备监控位置") + private String equipmentMonitoringPosition; + /** 厂商类型 */ @Excel(name = "厂商类型") private String vendorType; @@ -47,6 +55,7 @@ public class CyysjIntegratedMoldingEquipment extends BaseEntity private String integrationUrl; /** 视频上传 */ + @Excel(name = "视频上传") private String videoUpload; public void setId(String id) @@ -76,6 +85,24 @@ public class CyysjIntegratedMoldingEquipment extends BaseEntity { return password; } + public void setDeviceName(String deviceName) + { + this.deviceName = deviceName; + } + + public String getDeviceName() + { + return deviceName; + } + public void setEquipmentMonitoringPosition(String equipmentMonitoringPosition) + { + this.equipmentMonitoringPosition = equipmentMonitoringPosition; + } + + public String getEquipmentMonitoringPosition() + { + return equipmentMonitoringPosition; + } public void setVendorType(String vendorType) { this.vendorType = vendorType; @@ -137,6 +164,8 @@ public class CyysjIntegratedMoldingEquipment extends BaseEntity .append("id", getId()) .append("username", getUsername()) .append("password", getPassword()) + .append("deviceName", getDeviceName()) + .append("equipmentMonitoringPosition", getEquipmentMonitoringPosition()) .append("vendorType", getVendorType()) .append("deviceModel", getDeviceModel()) .append("deviceStatus", getDeviceStatus()) diff --git a/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/service/impl/CyysjIntegratedMoldingEquipmentServiceImpl.java b/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/service/impl/CyysjIntegratedMoldingEquipmentServiceImpl.java index fff656b0..9024f527 100644 --- a/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/service/impl/CyysjIntegratedMoldingEquipmentServiceImpl.java +++ b/God-Vue-master/god-system/src/main/java/com/god/cyysjIntegrated/service/impl/CyysjIntegratedMoldingEquipmentServiceImpl.java @@ -53,7 +53,7 @@ public class CyysjIntegratedMoldingEquipmentServiceImpl implements ICyysjIntegra @Override public int insertCyysjIntegratedMoldingEquipment(CyysjIntegratedMoldingEquipment cyysjIntegratedMoldingEquipment) { - cyysjIntegratedMoldingEquipment.setId(IdUtils.fastSimpleUUID()); + cyysjIntegratedMoldingEquipment.setId(IdUtils.fastSimpleUUID() ); return cyysjIntegratedMoldingEquipmentMapper.insertCyysjIntegratedMoldingEquipment(cyysjIntegratedMoldingEquipment); } diff --git a/God-Vue-master/god-system/src/main/resources/mapper/cyysjIntegrated/CyysjIntegratedMoldingEquipmentMapper.xml b/God-Vue-master/god-system/src/main/resources/mapper/cyysjIntegrated/CyysjIntegratedMoldingEquipmentMapper.xml index 7619912d..847e06dc 100644 --- a/God-Vue-master/god-system/src/main/resources/mapper/cyysjIntegrated/CyysjIntegratedMoldingEquipmentMapper.xml +++ b/God-Vue-master/god-system/src/main/resources/mapper/cyysjIntegrated/CyysjIntegratedMoldingEquipmentMapper.xml @@ -8,6 +8,8 @@ + + @@ -17,7 +19,7 @@ - select id, username, password, vendor_type, device_model, device_status, last_update_time, integration_url, video_upload from cyysj_integrated_molding_equipment + select id, username, password, device_name, equipment_monitoring_position, vendor_type, device_model, device_status, last_update_time, integration_url, video_upload from cyysj_integrated_molding_equipment @@ -44,6 +49,8 @@ id, username, password, + device_name, + equipment_monitoring_position, vendor_type, device_model, device_status, @@ -55,6 +62,8 @@ #{id}, #{username}, #{password}, + #{deviceName}, + #{equipmentMonitoringPosition}, #{vendorType}, #{deviceModel}, #{deviceStatus}, @@ -69,6 +78,8 @@ username = #{username}, password = #{password}, + device_name = #{deviceName}, + equipment_monitoring_position = #{equipmentMonitoringPosition}, vendor_type = #{vendorType}, device_model = #{deviceModel}, device_status = #{deviceStatus}, diff --git a/god-ui/src/views/cyysjIntegrated/cyysjIntegrated/moldingEquipment/index.vue b/god-ui/src/views/cyysjIntegrated/cyysjIntegrated/moldingEquipment/index.vue index 4a72f6ae..836d6c2b 100644 --- a/god-ui/src/views/cyysjIntegrated/cyysjIntegrated/moldingEquipment/index.vue +++ b/god-ui/src/views/cyysjIntegrated/cyysjIntegrated/moldingEquipment/index.vue @@ -18,6 +18,23 @@ /> + + + + + + + --> + + @@ -190,6 +209,12 @@ + + + + + + @@ -290,6 +315,8 @@ export default { pageSize: 10, username: null, password: null, + deviceName: null, + equipmentMonitoringPosition: null, vendorType: null, deviceModel: null, deviceStatus: null, @@ -431,6 +458,8 @@ export default { id: null, username: null, password: null, + deviceName: null, + equipmentMonitoringPosition: null, vendorType: null, deviceModel: null, deviceStatus: null,