diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysContacts.java b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysContacts.java
index fd6d6352..a921b2ad 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysContacts.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysContacts.java
@@ -74,9 +74,6 @@ public class SysContacts extends BaseEntity
@Excel(name = "备注")
private String customerRemarks;
- private String firstAddTime;
-
- private String updateInfoTime;
public void setContactid(Long contactid)
{
@@ -214,21 +211,7 @@ public class SysContacts extends BaseEntity
return customerRemarks;
}
- public String getFirstAddTime() {
- return firstAddTime;
- }
-
- public void setFirstAddTime(String firstAddTime) {
- this.firstAddTime = firstAddTime;
- }
- public String getUpdateInfoTime() {
- return updateInfoTime;
- }
-
- public void setUpdateInfoTime(String updateInfoTime) {
- this.updateInfoTime = updateInfoTime;
- }
@Override
public String toString() {
@@ -248,8 +231,10 @@ public class SysContacts extends BaseEntity
.append("commonEmail", getCommonEmail())
.append("alternateEmail", getAlternateEmail())
.append("customerRemarks", getCustomerRemarks())
- .append("firstAddTime", getFirstAddTime())
- .append("updateInfoTime", getUpdateInfoTime())
+ .append("createTime", getCreateTime())
+ .append("createBy", getCreateBy())
+ .append("updateBy", getUpdateBy())
+ .append("updateTime", getUpdateTime())
.toString();
}
}
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysContactsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysContactsServiceImpl.java
index 964a463a..a84b9ccb 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysContactsServiceImpl.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysContactsServiceImpl.java
@@ -64,7 +64,6 @@ public class SysContactsServiceImpl implements ISysContactsService
public int insertSysContacts(SysContacts sysContacts)
{
String loginName = ShiroUtils.getLoginName();
- sysContacts.setFirstAddTime(String.valueOf(DateUtils.getNowDate()));
sysContacts.setCreateTime(DateUtils.getNowDate());
sysContacts.setCreateBy(loginName);
int id = sysContactsMapper.insertSysContacts(sysContacts);
diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysContactsMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysContactsMapper.xml
index 0be913d8..e9f72c42 100644
--- a/ruoyi-admin/src/main/resources/mapper/system/SysContactsMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/system/SysContactsMapper.xml
@@ -20,14 +20,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
-
-
-
+
+
+
+
- select contactid, enterprise_code, enterprise_name, customer_name, customer_position, customer_birthday, office_telephone, home_phone, cell_phone, customer_fax, standby_telephone_one, standby_telephone_two, common_email, alternate_email, customer_remarks, first_add_time, update_info_time from sys_contacts
+ select contactid, enterprise_code, enterprise_name, customer_name, customer_position, customer_birthday, office_telephone, home_phone, cell_phone, customer_fax, standby_telephone_one, standby_telephone_two, common_email, alternate_email, customer_remarks, create_by, create_time, update_by, update_time from sys_contacts