This commit is contained in:
2023-01-15 20:31:56 +08:00
94 changed files with 9617 additions and 1065 deletions
@@ -415,7 +415,7 @@ public abstract class AbstractMongoDao<E extends MongoEntity> extends AbstractJp
try {
writeMethod.invoke(entity, value);
} catch (IllegalArgumentException e) {
logger.error("Error set value to " + value + "[" + value.getClass() + "] of field "
logger.error("["+key+"] Error set value to " + value + "[" + value.getClass() + "] of field "
+ descriptor.getName() + "[" + descriptor.getPropertyType() + "], class:" + entity.getClass().getSimpleName());
throw new RuntimeException("Error set value to " + value + "[" + value.getClass() + "] of field "
+ descriptor.getName() + "[" + descriptor.getPropertyType() + "]", e);
@@ -28,7 +28,8 @@ public enum NewResourceRecommendEnum {
FJT("1020", "房价通"),
FANG_JIA_ZOU_SHI("1021", "房价走势"),
FDANG_DIAO_BAO_GAO("1022", "房调报告"),
FA_PAI_FANG("1023", "法拍房数据解决方案");
FA_PAI_FANG("1023", "法拍房数据解决方案"),
FINANCIAL_LEVEL("1024", "财力评级解决方案");
NewResourceRecommendEnum(String id, String value) {
@@ -24,7 +24,8 @@ public enum SalesLeadEnum {
BUSINESS_ASK("1018", "业务咨询"),
HOUSE_EVAL("1019", "房产评估"),
DIDATA("1020", "地数平台"),
FA_PAI_FANG("1023", "法拍房数据解决方案");
FA_PAI_FANG("1023", "法拍房数据解决方案"),
FINANCIAL_LEVEL("1024", "财力评级解决方案");
@@ -3,6 +3,7 @@ package com.fangjia.dal.sql.model;
import com.fangjia.dal.SqlEntity;
import javax.persistence.*;
import java.util.Date;
@Entity
@Table(name = "report_file_attach")
@@ -14,6 +15,7 @@ public class ReportFileAttach implements SqlEntity {
private Integer fileClass;//1:询价单 2:产证 3:房屋照片 4:其它附件 5:产调报告或权籍
private String fileName;
private String fileId;
private Date dateCreated;
@Id
@Column(name = "id")
@@ -79,4 +81,13 @@ public class ReportFileAttach implements SqlEntity {
public void setFileId(String fileId) {
this.fileId = fileId;
}
@Column(name = "c_date")
public Date getDateCreated() {
return dateCreated;
}
public void setDateCreated(Date dateCreated) {
this.dateCreated = dateCreated;
}
}