提交 30d81257 authored 作者: huyufan's avatar huyufan

修改货单编号生成规则

上级 c773065f
...@@ -29,7 +29,7 @@ public class OrderGoodsIdGenerate { ...@@ -29,7 +29,7 @@ public class OrderGoodsIdGenerate {
Long maxOrderGoodsId = null; Long maxOrderGoodsId = null;
String maxID = orderGoodsDao.getMaxOrderGoodsId(type); String maxID = orderGoodsDao.getMaxOrderGoodsId(type);
if (StringUtils.isNotBlank(maxID)) { if (StringUtils.isNotBlank(maxID)) {
maxOrderGoodsId = Long.valueOf(maxID); maxOrderGoodsId = Long.valueOf(maxID.substring(2));
} }
if (maxOrderGoodsId == null) { if (maxOrderGoodsId == null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论