优化序列和和批号

This commit is contained in:
季圣华
2021-10-02 23:13:28 +08:00
parent 47bda02035
commit 9f44bb39fc
2 changed files with 5 additions and 2 deletions

View File

@@ -471,6 +471,8 @@ public class SerialNumberService {
}
public void addSerialNumberByBill(Long materialId, Long depotId, String snList) throws Exception {
//将中文的逗号批量替换为英文逗号
snList = snList.replaceAll("",",");
List<String> snArr = StringUtil.strToStringList(snList);
for(String sn: snArr) {
List<SerialNumber> list = new ArrayList<>();