策略配置-字段修改

This commit is contained in:
2025-07-13 14:14:07 +08:00
parent 7b798f8323
commit 819e4cd3a7
3 changed files with 7 additions and 7 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -29,7 +29,7 @@
<if test="month != null "> and month = #{month}</if>
<if test="chargeDischargeMode != null and chargeDischargeMode != ''"> and charge_discharge_mode = #{chargeDischargeMode}</if>
<if test="siteId != null and siteId != ''"> and site_id = #{siteId}</if>
<if test="templateId != null "> and template_id = #{templateId}</if>
<if test="templateId != null and templateId != ''"> and template_id = #{templateId}</if>
</where>
</select>