|
|
@@ -65,7 +65,6 @@ public class WxFinancePrintServiceImpl implements WxFinancePrintService { |
|
|
map.put("height", 500); |
|
|
map.put("height", 500); |
|
|
map.put("pageWidth", 215); |
|
|
map.put("pageWidth", 215); |
|
|
map.put("pageHeight", 140); |
|
|
map.put("pageHeight", 140); |
|
|
map.put("defaultValue", 0); |
|
|
|
|
|
record.setContent(JSON.toJSONString(map)); |
|
|
record.setContent(JSON.toJSONString(map)); |
|
|
isGenarated = true; |
|
|
isGenarated = true; |
|
|
} |
|
|
} |
|
|
@@ -77,7 +76,6 @@ public class WxFinancePrintServiceImpl implements WxFinancePrintService { |
|
|
record.setUpdateTime(date); |
|
|
record.setUpdateTime(date); |
|
|
JSONObject o = record.getContentJson(); |
|
|
JSONObject o = record.getContentJson(); |
|
|
o.put("id", String.valueOf(record.getId())); |
|
|
o.put("id", String.valueOf(record.getId())); |
|
|
o.put("defaultValue", 0); |
|
|
|
|
|
o.put("title", record.getName()); |
|
|
o.put("title", record.getName()); |
|
|
o.put("type", record.getType()); |
|
|
o.put("type", record.getType()); |
|
|
record.setContent(JSON.toJSONString(o)); |
|
|
record.setContent(JSON.toJSONString(o)); |
|
|
@@ -91,7 +89,6 @@ public class WxFinancePrintServiceImpl implements WxFinancePrintService { |
|
|
if (null != record.getContentJson()) { |
|
|
if (null != record.getContentJson()) { |
|
|
JSONObject o = record.getContentJson(); |
|
|
JSONObject o = record.getContentJson(); |
|
|
o.put("id", String.valueOf(record.getId())); |
|
|
o.put("id", String.valueOf(record.getId())); |
|
|
o.put("defaultValue", 0); |
|
|
|
|
|
o.put("title", record.getName()); |
|
|
o.put("title", record.getName()); |
|
|
o.put("type", record.getType()); |
|
|
o.put("type", record.getType()); |
|
|
record.setContent(JSON.toJSONString(o)); |
|
|
record.setContent(JSON.toJSONString(o)); |
|
|
|