| | |
| | | public void articleProcess(Long id, String templateName) { |
| | | Map<String, Object> data = new HashMap<>(); |
| | | data.put("id", id); |
| | | data.put("companyId", 0L); |
| | | data.put("companyId", 23L); |
| | | if (StrUtil.isEmpty(templateName)) { |
| | | templateName = "artile.defualt.html"; |
| | | templateName = "defualt.artile.html"; |
| | | } |
| | | cfg.process(data, templateName); |
| | | } |
| | | |
| | | @Override |
| | | public void columnProcess(String code, String templateName, boolean article) { |
| | | |
| | | public void columnProcess(Map<String, Object> data, String templateName, boolean article) { |
| | | data.put("companyId", 23L); |
| | | if (StrUtil.isEmpty(templateName)) { |
| | | templateName = "defualt.list.html"; |
| | | } |
| | | |
| | | @Override |
| | | public void columnProcess(Long id, String templateName, boolean article) { |
| | | |
| | | cfg.process(data, templateName); |
| | | } |
| | | } |