diff --git a/ems-system/src/main/java/com/xzzn/ems/domain/EmsStrategyTimeConfig.java b/ems-system/src/main/java/com/xzzn/ems/domain/EmsStrategyTimeConfig.java
index 5ba82ef..de02b59 100644
--- a/ems-system/src/main/java/com/xzzn/ems/domain/EmsStrategyTimeConfig.java
+++ b/ems-system/src/main/java/com/xzzn/ems/domain/EmsStrategyTimeConfig.java
@@ -36,7 +36,7 @@ public class EmsStrategyTimeConfig extends BaseEntity
/** 模版id */
@Excel(name = "模版id")
- private Long templateId;
+ private String templateId;
public void setId(Long id)
{
@@ -88,12 +88,12 @@ public class EmsStrategyTimeConfig extends BaseEntity
return siteId;
}
- public void setTemplateId(Long templateId)
+ public void setTemplateId(String templateId)
{
this.templateId = templateId;
}
- public Long getTemplateId()
+ public String getTemplateId()
{
return templateId;
}
diff --git a/ems-system/src/main/java/com/xzzn/ems/domain/vo/StrategyTimeConfigVo.java b/ems-system/src/main/java/com/xzzn/ems/domain/vo/StrategyTimeConfigVo.java
index 18862ce..4d7a202 100644
--- a/ems-system/src/main/java/com/xzzn/ems/domain/vo/StrategyTimeConfigVo.java
+++ b/ems-system/src/main/java/com/xzzn/ems/domain/vo/StrategyTimeConfigVo.java
@@ -24,7 +24,7 @@ public class StrategyTimeConfigVo
private String chargeDischargeMode;
/** 模板id */
- private Long templateId;
+ private String templateId;
/** 模板名称 */
private String templateName;
@@ -79,12 +79,12 @@ public class StrategyTimeConfigVo
return siteId;
}
- public void setTemplateId(Long templateId)
+ public void setTemplateId(String templateId)
{
this.templateId = templateId;
}
- public Long getTemplateId()
+ public String getTemplateId()
{
return templateId;
}
diff --git a/ems-system/src/main/resources/mapper/ems/EmsStrategyTimeConfigMapper.xml b/ems-system/src/main/resources/mapper/ems/EmsStrategyTimeConfigMapper.xml
index e67ef9e..1e526f9 100644
--- a/ems-system/src/main/resources/mapper/ems/EmsStrategyTimeConfigMapper.xml
+++ b/ems-system/src/main/resources/mapper/ems/EmsStrategyTimeConfigMapper.xml
@@ -29,7 +29,7 @@
and month = #{month}
and charge_discharge_mode = #{chargeDischargeMode}
and site_id = #{siteId}
- and template_id = #{templateId}
+ and template_id = #{templateId}