Commit 4d415f56 authored by tianbo's avatar tianbo

注册许可主键重复报错修改

parent 43b02217
...@@ -197,6 +197,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI ...@@ -197,6 +197,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
s.setUnitName(model.getName()); s.setUnitName(model.getName());
BaseUnitLicence target = new BaseUnitLicence(); BaseUnitLicence target = new BaseUnitLicence();
Bean.copyExistPropertis(s, target); Bean.copyExistPropertis(s, target);
target.setSequenceNbr(null);
return target; return target;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
if (!baseUnitLicences.isEmpty()) { if (!baseUnitLicences.isEmpty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment