Commit 3bd03ceb authored by tangwei's avatar tangwei

修改bug

parent bef14a49
......@@ -3426,7 +3426,15 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
@Override
public boolean checkCertificatesNumber(String certificatesNumber, Long orgUserId) {
List<DynamicFormInstance> list = orgUsrMapper.checkCertificatesNumber(certificatesNumber, orgUserId);
return !list.isEmpty();
if(!list.isEmpty()){
return true;
}else{
if(orgUserId!=null&&list.get(0).getSequenceNbr().longValue()==orgUserId.longValue()){
return true;
}else{
return false;
}
}
}
@Override
......
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