This commit is contained in:
linfso 2024-07-27 19:11:20 +08:00
parent 16d405dcd6
commit 9e1fa7ab14
2 changed files with 6 additions and 6 deletions

View File

@ -2274,9 +2274,9 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
// 生成条码 // 生成条码
int width=350; int width=400;
int height=40; int height=80;
BufferedImage barcodeImageBuffer = BarcodeUtils.getBarCodeWithWord(emisWaybillOld.getIntoWarehouseBillCode(),width,height,70); BufferedImage barcodeImageBuffer = BarcodeUtils.getBarCodeWithWord(emisWaybillOld.getIntoWarehouseBillCode(),width,height,100);
// 填充模版数据 // 填充模版数据
LoopRowTableRenderPolicy policy = new LoopRowTableRenderPolicy(); LoopRowTableRenderPolicy policy = new LoopRowTableRenderPolicy();

View File

@ -108,9 +108,9 @@ public class WordTplUtils {
try { try {
int width=400; int width=400;
int height=50; int height=80;
BufferedImage barcodeImageBuffer = BarcodeUtils.getBarCodeWithWord("TAN-SHJD-24072701",width,height,75); BufferedImage barcodeImageBuffer = BarcodeUtils.getBarCodeWithWord("TAN-SHJD-24072701",width,height,100);
List<Cargo> cargoList= new ArrayList<>(); List<Cargo> cargoList= new ArrayList<>();
@ -132,7 +132,7 @@ public class WordTplUtils {
XWPFTemplate template = XWPFTemplate.compile("/Users/alan/Downloads/ws_air_in_tpl.docx",config).render( XWPFTemplate template = XWPFTemplate.compile("/Users/alan/Downloads/ws_ls_in_tpl.docx",config).render(
new HashMap<String, Object>(){{ new HashMap<String, Object>(){{
put("wsInNo", "TAN-SHJD-24072701"); put("wsInNo", "TAN-SHJD-24072701");
put("country", "越南"); put("country", "越南");