McConstructionTemplate.java 1.04 KB
package com.chinagas.modules.schsf.domain.notice;

import com.chinagas.modules.schsf.domain.McConstruction;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class McConstructionTemplate {
    private McConstruction mcConstruction;
    public McConstructionTemplate(McConstruction mcConstruction) {
        this.mcConstruction = mcConstruction;
    }
    public String getNoticemarkdown() {
        return  "######  市场化收费-施工通知  \n  " +
                "村/小区:" + mcConstruction.getVlgOrCmty() + "  \n  " +
                "当前状态:" + mcConstruction.getStatusName() + "  \n  " +
                "维护操作:点击链接进入维护页面:[https://schsf.chinagasholdings.com](https://schsf.chinagasholdings.com)  \n  " +
                "---" +
                "  \n  " +
                "通知日期: " + LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm")) + "  \n  " +
                "温馨提醒: 请按时完成维护,保障业务顺畅。  \n  ";
    }

}