|
|
|
@ -21,7 +21,6 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.util.*; |
|
|
|
@ -176,6 +175,7 @@ public class RollPrintServiceImpl implements RollPrintService { |
|
|
|
throw new XJException(ResponseEnum.USER_PRINT_NAME_NOT_FUND); |
|
|
|
} |
|
|
|
apiAddress = "http://" + userprinter.getIpaddress() + ":" + bartenderPrintBatch; |
|
|
|
log.info("打印地址: "+ apiAddress); |
|
|
|
// 2.获取模板信息 |
|
|
|
List<Reportcontentitem> reportcontentitemList = reportcontentitemService.getReportcontentitemList(reportFileVo.getReportId()); |
|
|
|
Map<String, String> itemMap = reportcontentitemList.stream().collect(Collectors.toMap(Reportcontentitem::getObjectgroup, Reportcontentitem::getDbfieldname)); |
|
|
|
|