|
@@ -104,6 +104,9 @@ public class ZdUnitCodeServiceImpl implements ZdUnitCodeService {
|
|
|
code = tempCode.toString();
|
|
|
}
|
|
|
zdUnitCode.setCode(code);
|
|
|
+ if(zdUnitCode.getUnitNum() == null){
|
|
|
+ zdUnitCode.setUnitNum(5);
|
|
|
+ }
|
|
|
int num = zdUnitCodeMapper.insertZdUnitCode(zdUnitCode);
|
|
|
initMap(zdUnitCode.getCode(), YesNoEnum.YES);
|
|
|
haiCiAdapterService.refreshMzClasses();
|