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