Explorar o código

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

deng.yinping hai 7 meses
pai
achega
c25b68921e

+ 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"));
         }