客户条码打印问题修复

tags/yfai-pcn-ext-v2.3
jun 6 months ago
parent 4aed6c4887
commit f297e1c4c5

@ -119,7 +119,7 @@ public class CustSnPrintStrategy implements IPrintTemplateStrategyService {
if (index < 6) dunsLengthEnd += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 6) afterContentPerfixLengthStart += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 7) afterContentPerfixLengthEnd += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 8) afterContentLengthStart += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 7) afterContentLengthStart += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 11) afterContentLengthEnd += Integer.parseInt(ruleLengthSpiltExt[index]);
}

@ -211,7 +211,7 @@ public class WuhanSnPrintStrategy implements IPrintTemplateStrategyService {
* [)>%RS%06%GS%Y4110000000000X%GS%P26560850%GS%12V545238347%GS%T1A24269A2B4C0019%RS
* VPPS 2
* DUNS 5
* 7 A1 11
* 7 1A 11
* */
int vppsLengthStart = 0;
@ -229,7 +229,7 @@ public class WuhanSnPrintStrategy implements IPrintTemplateStrategyService {
if (index < 6) dunsLengthEnd += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 6) afterContentPerfixLengthStart += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 7) afterContentPerfixLengthEnd += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 8) afterContentLengthStart += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 7) afterContentLengthStart += Integer.parseInt(ruleLengthSpiltExt[index]);
if (index < 11) afterContentLengthEnd += Integer.parseInt(ruleLengthSpiltExt[index]);
}

Loading…
Cancel
Save