Browse Source

修改票据模板

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

3
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())) { if (CollectionUtil.isNotEmpty(req.getMatterLibraryListOne())) {
list.addAll(req.getMatterLibraryListOne().stream().map(matterLibrary -> { list.addAll(req.getMatterLibraryListOne().stream().map(matterLibrary -> {
TwoTicketMatterLibraryEntity libraryEntity = BeanUtil.copy(matterLibrary, TwoTicketMatterLibraryEntity.class); TwoTicketMatterLibraryEntity libraryEntity = BeanUtil.copy(matterLibrary, TwoTicketMatterLibraryEntity.class);
if ("8" == req.getTicketType()) {
libraryEntity.setType("8");
}
libraryEntity.setMatterGroup(groupEntity.getId()); libraryEntity.setMatterGroup(groupEntity.getId());
return libraryEntity; return libraryEntity;
}).collect(Collectors.toList())); }).collect(Collectors.toList()));

Loading…
Cancel
Save