Commit 103e66f9 authored by 刘林's avatar 刘林

fix(jg):使用登记暂存功能bug修复

parent 22eb2e66
......@@ -4010,6 +4010,10 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
if (equipId == null) {
throw new BadRequest("请选择设备后进行暂存!");
}
if (useRegistrationCode == null) {
throw new BadRequest("请先填写使用登记证编号!");
}
//校验使用登记证编号的唯一性
if (useRegistrationCode != null) {
if (Boolean.TRUE.equals(commonServiceImpl.useRegistrationCertificateAccountUnique(useRegistrationCode, equipId))) {
......
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