Explorar o código

检查机构层级配置(回退)

cuixinpeng %!s(int64=2) %!d(string=hai) anos
pai
achega
67c92e5815

+ 1 - 1
src/main/java/com/ydtech/modules/fee/service/impl/FeeRuleSchemeServiceImpl.java

@@ -715,7 +715,7 @@ public class FeeRuleSchemeServiceImpl implements FeeRuleSchemeService {
              *            1团队       无机构层级
              *            1团队       无机构层级
              */
              */
             SysDept sysDept = sysDeptService.getById(sysUser.getDeptId());
             SysDept sysDept = sysDeptService.getById(sysUser.getDeptId());
-            if(StringUtils.isEmpty(sysDept.getComlevel())){
+            if(StringUtils.isNotEmpty(sysDept.getComlevel())){
                 throw new SystemException("当前出单员归属团队有误,请检查机构层级配置!");
                 throw new SystemException("当前出单员归属团队有误,请检查机构层级配置!");
             }
             }
             //得到五级机构
             //得到五级机构