From 95ab03ae66ffbff3c3c5eb23d77bc0c3e2aec1e0 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期六, 02 十二月 2023 10:38:53 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/crm/manager/entity/Cstmr.java | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/crm/manager/entity/Cstmr.java b/src/main/java/com/zy/crm/manager/entity/Cstmr.java
index 1964642..618fa6a 100644
--- a/src/main/java/com/zy/crm/manager/entity/Cstmr.java
+++ b/src/main/java/com/zy/crm/manager/entity/Cstmr.java
@@ -7,6 +7,7 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.crm.manager.service.CstmrTypeService;
+import com.zy.crm.manager.service.OrderProductTypeService;
import com.zy.crm.system.entity.Dept;
import com.zy.crm.system.entity.Dic;
import com.zy.crm.system.entity.Host;
@@ -204,7 +205,7 @@
private String industry;
/**
- * 浜у搧绫诲埆
+ * 浜у搧绫诲埆 搴熷純
*/
@ApiModelProperty(value= "浜у搧绫诲埆")
@TableField("product_category")
@@ -253,6 +254,25 @@
private String regMoney;
public Cstmr() {}
+
+ public Cstmr(Cstmr cstmr) {
+ this.hostId = cstmr.getHostId();
+ this.deptId = cstmr.getDeptId();
+ this.userId = cstmr.getUserId();
+ this.cstmrType = cstmr.getCstmrType();
+ this.director = cstmr.getDirector();
+ this.province = cstmr.getProvince();
+ this.city = cstmr.getCity();
+ this.district = cstmr.getDistrict();
+ this.town = cstmr.getTown();
+ this.addr = cstmr.getAddr();
+ this.type = cstmr.getType();
+ this.status = cstmr.getStatus();
+ this.createBy = cstmr.getCreateBy();
+ this.createTime = cstmr.getCreateTime();
+ this.updateBy = cstmr.getUpdateBy();
+ this.updateTime = cstmr.getUpdateTime();
+ }
public Cstmr(Long hostId,Long deptId,Long userId,Long cstmrType,String uuid,String name,String simple,String rela,String tel,String contacts,String remarks,Long director,String province,String city,String district,String town,String addr,Integer type,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
this.hostId = hostId;
@@ -355,7 +375,6 @@
}
return null;
}
-
public void setType0(String type0){
if (Cools.isEmpty(type0)) {
--
Gitblit v1.9.1