소스 검색

roleadd: 做市会员要传资金账户

deng.yinping 7 달 전
부모
커밋
c25b68921e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      mtp3-century/src/main/java/com/muchinfo/mtp3century/service/impl/OrganServiceImpl.java

+ 2 - 1
mtp3-century/src/main/java/com/muchinfo/mtp3century/service/impl/OrganServiceImpl.java

@@ -998,7 +998,8 @@ public class OrganServiceImpl implements IOrganService {
             return AjaxResult.error(Constants.Error_Code_Design, MessageType.ORGAN_ERROR_CODE_034.getCode(), request.getHeader("Accept-Language"));
         }
 
-        if (vo.getAccountid() == null || CollectionUtils.isEmpty(vo.getAccountids())) {
+        if (vo.getRoleid().equals(8) && (vo.getAccountid() == null || CollectionUtils.isEmpty(vo.getAccountids()))) {
+            // 8: 做市会员要传资金账户
             return AjaxResult.error(Constants.Error_Code_Design, MessageType.ORGAN_ERROR_CODE_036.getCode(), request.getHeader("Accept-Language"));
         }