Commit aca756f7 authored by suhuiguang's avatar suhuiguang

Merge branch 'develop_tzs_register' of…

Merge branch 'develop_tzs_register' of http://36.40.66.175:5000/moa/amos-boot-biz into develop_tzs_register
parents 7b927db5 06a14bf6
......@@ -185,8 +185,13 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if (count > 0) {
throw new LocalBadRequest("设备代码已存在,请重新输入!");
}
// 编辑校验
this.checkForEquipEdit(equipmentInfoForm.get("RECORD"));
// 使用登记按照单位办理除外,其余进行编辑校验
Object manageType = equipmentInfoForm.get("manageType");
boolean isManageType = (!ObjectUtils.isEmpty(manageType) && "unit".equals(manageType));
if (!isManageType) {
// 编辑校验
this.checkForEquipEdit(equipmentInfoForm.get("RECORD"));
}
//操作类型
try {
//保存数据
......
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