Browse Source

修改票据模板

zhongwei
段飞宇 1 year ago
parent
commit
487ec69cd2
  1. 5
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/library/service/impl/TicketMatterGroupServiceImpl.java

5
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/library/service/impl/TicketMatterGroupServiceImpl.java

@ -160,6 +160,9 @@ public class TicketMatterGroupServiceImpl extends BaseServiceImpl<TicketMatterGr
if (CollectionUtil.isNotEmpty(req.getMatterLibraryListOne())) {
list.addAll(req.getMatterLibraryListOne().stream().map(matterLibrary -> {
TwoTicketMatterLibraryEntity libraryEntity = BeanUtil.copy(matterLibrary, TwoTicketMatterLibraryEntity.class);
if ("8" == req.getTicketType()) {
libraryEntity.setType("8");
}
libraryEntity.setMatterGroup(groupEntity.getId());
return libraryEntity;
}).collect(Collectors.toList()));
@ -541,7 +544,7 @@ public class TicketMatterGroupServiceImpl extends BaseServiceImpl<TicketMatterGr
try {
Map<String, Object> map = PdfUtils.objectToMap(library);
map.put("status", " ");
map.put("index", index[0]);
map.put("index", index[0]);
index[0]++;
return map;
} catch (Exception e) {

Loading…
Cancel
Save