78 lines
2.0 KiB
Java
78 lines
2.0 KiB
Java
package com.ubt.jimu.transport.request;
|
|
|
|
import com.ubt.jimu.JimuApplication;
|
|
import com.ubt.jimu.transport.Utils;
|
|
import com.ubt.jimu.transport.dao.TransportFileDbHandler;
|
|
import com.ubt.jimu.transport.model.TransportFile;
|
|
import com.ubt.jimu.utils.DeviceUtils;
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class UploadSingleFileParam extends BaseParam {
|
|
private String accountName;
|
|
private String fileContent;
|
|
private String fileName;
|
|
private String filePath;
|
|
private long lastUploadTime;
|
|
private long modelId;
|
|
private String modelType;
|
|
private String opType;
|
|
private String sequenceNo = DeviceUtils.a(JimuApplication.l());
|
|
private String userId;
|
|
|
|
public UploadSingleFileParam(String str, String str2, String str3, TransportFile transportFile) throws IOException {
|
|
this.userId = str;
|
|
this.accountName = str2;
|
|
this.opType = str3;
|
|
this.modelId = transportFile.getModelId();
|
|
this.modelType = transportFile.getModelType();
|
|
this.filePath = transportFile.getFilePath();
|
|
this.fileName = transportFile.getFileName();
|
|
this.lastUploadTime = transportFile.getLastUploadTime();
|
|
if ("delete".equals(str3)) {
|
|
return;
|
|
}
|
|
this.fileContent = Utils.a(TransportFileDbHandler.getFile(transportFile));
|
|
}
|
|
|
|
public String getAccountName() {
|
|
return this.accountName;
|
|
}
|
|
|
|
public String getFileContent() {
|
|
return this.fileContent;
|
|
}
|
|
|
|
public String getFileName() {
|
|
return this.fileName;
|
|
}
|
|
|
|
public String getFilePath() {
|
|
return this.filePath;
|
|
}
|
|
|
|
public long getLastUploadTime() {
|
|
return this.lastUploadTime;
|
|
}
|
|
|
|
public long getModelId() {
|
|
return this.modelId;
|
|
}
|
|
|
|
public String getModelType() {
|
|
return this.modelType;
|
|
}
|
|
|
|
public String getOpType() {
|
|
return this.opType;
|
|
}
|
|
|
|
public String getSequenceNo() {
|
|
return this.sequenceNo;
|
|
}
|
|
|
|
public String getUserId() {
|
|
return this.userId;
|
|
}
|
|
}
|