策略配置-字段修改
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user