企业端设备模块->企业端PC,小程序接口调试
This commit is contained in:
parent
e2d4699a4a
commit
1480713e39
|
|
@ -91,6 +91,17 @@ public class EntDeviceMaintenanceRecord implements Serializable {
|
|||
@TableField("modify_time")
|
||||
private Date modifyTime;
|
||||
|
||||
@ApiModelProperty(value = "设备id")
|
||||
private String deviceId;
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getRecordId() {
|
||||
return recordId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,18 @@ public class EntInspectionRecord implements Serializable {
|
|||
@TableField("modify_time")
|
||||
private Date modifyTime;
|
||||
|
||||
@ApiModelProperty("设备id")
|
||||
@TableField("device_id")
|
||||
private String deviceId;
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public Integer getInspectionId() {
|
||||
return inspectionId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,18 @@ public class EntOperatingInstruction implements Serializable {
|
|||
@TableField("modify_time")
|
||||
private Date modifyTime;
|
||||
|
||||
@ApiModelProperty("设备id")
|
||||
@TableField(value = "device_id")
|
||||
private String deviceId;
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getOpInstructionId() {
|
||||
return opInstructionId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,6 +61,10 @@ public class EntRepairPlan implements Serializable {
|
|||
@TableField("modify_by")
|
||||
private String modifyBy;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public String getRepairPlanId() {
|
||||
return repairPlanId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ public class InspectionRecordDto {
|
|||
@ApiModelProperty(value = "检查结果")
|
||||
private String inspectionText;
|
||||
|
||||
|
||||
|
||||
public Integer getInspectionId() {
|
||||
return inspectionId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -579,6 +579,7 @@ public class PcBusinessService extends BaseController {
|
|||
if (null != entDeviceMaintenanceRecordDto && null != entDeviceMaintenanceRecord.getRecordId()){
|
||||
result = entDeviceMaintenanceRecordMapper.UpdateEntDeviceMaintenanceRecord(entDeviceMaintenanceRecord);
|
||||
}else {
|
||||
entDeviceMaintenanceRecord.setRecordId(RandomNumber.getUUid());
|
||||
result = entDeviceMaintenanceRecordMapper.insert(entDeviceMaintenanceRecord);
|
||||
}
|
||||
if (result != 1 ){
|
||||
|
|
@ -696,6 +697,7 @@ public class PcBusinessService extends BaseController {
|
|||
if (null != operatingInstructionsDto && null != entOperatingInstruction.getOpInstructionId()){
|
||||
result = entOperatingInstructionMapper.updateEntOperatingInstruction(entOperatingInstruction);
|
||||
}else {
|
||||
entOperatingInstruction.setOpInstructionId(RandomNumber.getUUid());
|
||||
result = entOperatingInstructionMapper.insert(entOperatingInstruction);
|
||||
}
|
||||
if (result != 1 ){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user