|
@@ -63,7 +63,7 @@ public class DictionaryServiceImpl implements DictionaryService {
|
|
|
dictionaryMapper.addTreasuryAccount(dictionary);
|
|
|
}else if (dictionary.getType().equals("仓库")){
|
|
|
//添加库位信息
|
|
|
- String storageLocationCode = "XN"+snowflakeUtil.nextId()+"" ; // XN+雪花算法
|
|
|
+ String storageLocationCode = "XNKW"+snowflakeUtil.nextId()+"" ; // XN+雪花算法
|
|
|
String warehouseWhere = dictionary.getTldId();// tldId
|
|
|
String storageLocationName = dictionary.getName()+"虚拟库位" ;// 仓库名称+虚拟库位
|
|
|
dictionaryMapper.addStorageLocation(storageLocationCode,warehouseWhere,storageLocationName);
|