“djh”
2024-11-11 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2
exam-system/src/main/java/com/gkhy/exam/system/service/impl/SysCompanyServiceImpl.java
@@ -49,6 +49,7 @@
            throw new ApiException("公司名称已存在");
        }
        company.setCreateBy(SecurityUtils.getUsername());
        company.setRemainPeriod(company.getTotalPeriod());
        int row= baseMapper.insert(company);
        if(row<1){
            throw new ApiException("新增公司失败");