|
|
|
@ -2,6 +2,7 @@ package com.glxp.api.controller.basic;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
|
|
import cn.hutool.core.util.IdUtil;
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
|
|
import com.glxp.api.annotation.AuthRuleAnnotation;
|
|
|
|
@ -21,6 +22,7 @@ import com.glxp.api.service.auth.AuthAdminService;
|
|
|
|
|
import com.glxp.api.service.basic.BasicCorpService;
|
|
|
|
|
import com.glxp.api.service.sup.UserCompanyService;
|
|
|
|
|
import com.glxp.api.util.CustomUtil;
|
|
|
|
|
import com.glxp.api.util.StreamUtils;
|
|
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
|
import org.springframework.validation.BindingResult;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
@ -55,7 +57,10 @@ public class BasicCorpController {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
}
|
|
|
|
|
List<BasicCorpResponse> basicUnitMaintainEntities;
|
|
|
|
|
basicUnitMaintainFilterRequest.setCompanyIdFk(Long.parseLong(getCompanyId()));
|
|
|
|
|
String companyId = getCompanyId();
|
|
|
|
|
if (StrUtil.isNotEmpty(companyId)) {
|
|
|
|
|
basicUnitMaintainFilterRequest.setCompanyIdFk(Long.parseLong(getCompanyId()));
|
|
|
|
|
}
|
|
|
|
|
basicUnitMaintainEntities = basicUnitMaintainService.filterList(basicUnitMaintainFilterRequest);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|