Browse Source

奕拓小屋,体征数据上传接口完成

hill9868 6 years ago
parent
commit
ca989b96d8

+ 4 - 4
common/common-entity/src/main/java/com/yihu/jw/entity/iot/datainput/DataProcessLogDO.java

@ -41,8 +41,8 @@ public class DataProcessLogDO extends UuidIdentityEntity implements Serializable
    @Column(name = "process_des")
    @Column(name = "process_des")
    private String processDes;
    private String processDes;
    @Column(name = "fail_count")
    private int fileCount;
    /*@Column(name = "fail_count")
    private int fileCount;*/
    public String getFileName() {
    public String getFileName() {
@ -109,13 +109,13 @@ public class DataProcessLogDO extends UuidIdentityEntity implements Serializable
        this.processDes = processDes;
        this.processDes = processDes;
    }
    }
    public int getFileCount() {
    /*public int getFileCount() {
        return fileCount;
        return fileCount;
    }
    }
    public void setFileCount(int fileCount) {
    public void setFileCount(int fileCount) {
        this.fileCount = fileCount;
        this.fileCount = fileCount;
    }
    }*/
    public String getProcessInterface() {
    public String getProcessInterface() {
        return processInterface;
        return processInterface;

+ 1 - 1
svr/svr-iot/src/main/java/com/yihu/iot/datainput/service/DataProcessLogService.java

@ -33,7 +33,7 @@ public class DataProcessLogService extends BaseJpaService<DataProcessLogDO,DataP
        dataProcessLog.setProcessStatus(status);
        dataProcessLog.setProcessStatus(status);
//        dataProcessLog.setProcessInterface(processInterface);
//        dataProcessLog.setProcessInterface(processInterface);
        dataProcessLog.setProcessDes(desc);
        dataProcessLog.setProcessDes(desc);
        dataProcessLog.setFileCount(failCount);
        /*dataProcessLog.setFileCount(failCount);*/
        dataProcessLogDao.save(dataProcessLog);
        dataProcessLogDao.save(dataProcessLog);
    }
    }
}
}