Commit ffebd881 by guojuxing

查询超级管理员接口修复

parent 32e7824f
......@@ -157,7 +157,7 @@ public class UserApiServiceImpl implements UserApiService {
@Override
public ServiceResponse<UserDTO> getUserByEnterpriseId(Integer enterpriseId) {
TabSysUser tabUser = userService.getUserByEnterpriseId(enterpriseId);
if (enterpriseId == null) {
if (tabUser == null) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "商户ID输入有误");
}
return ServiceResponse.success(EntityUtil.changeEntityNew(UserDTO.class, tabUser));
......
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