|
@@ -66,8 +66,8 @@ public class BasicBatchNumberServiceImpl extends MppServiceImpl<BasicBatchNumber
|
|
|
|
|
|
}
|
|
|
|
|
|
- private String[] splitBatchNo(String batchNo) {
|
|
|
- String regex = "[A-Z]";
|
|
|
+ private static String[] splitBatchNo(String batchNo) {
|
|
|
+ String regex = "[A-Z]{1,2}";
|
|
|
String[] strings = new String[2];
|
|
|
Pattern pattern = Pattern.compile(regex);
|
|
|
Matcher matcher = pattern.matcher(batchNo);
|