|
|
|
@@ -86,7 +86,7 @@ public class WxFinancePrintServiceImpl implements WxFinancePrintService { |
|
|
|
public void update(WxFinancePrintTemplate record) { |
|
|
|
WxFinancePrintTemplate t = getTemplateById(record.getId()); |
|
|
|
Map map = new HashMap(); |
|
|
|
if (StringUtils.isBlank(record.getContent())) { |
|
|
|
if (null == record.getContentJson()) { |
|
|
|
map.put("width", 770); |
|
|
|
map.put("height", 500); |
|
|
|
map.put("pageWidth", 215); |
|
|
|
@@ -114,6 +114,7 @@ public class WxFinancePrintServiceImpl implements WxFinancePrintService { |
|
|
|
t.setId(idWorker.nextId()); |
|
|
|
t.setCreateTime(new Date()); |
|
|
|
t.setUpdateTime(new Date()); |
|
|
|
t.setName(t.getName()+"复制"); |
|
|
|
wxFinancePrintTemplateMapper.insert(record); |
|
|
|
} |
|
|
|
|
|
|
|
|