md
This commit is contained in:
parent
16d405dcd6
commit
9e1fa7ab14
@ -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();
|
||||||
|
|||||||
@ -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", "越南");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user