Commit aca06142 by 徐高华

log

parent 26271039
......@@ -89,6 +89,7 @@ public class GicDepartmentController extends WebBaseController{
List<PowerStoreGroupDTO> departmentList = storeGroupService.getStoreGroupList(enterpriseId, keyWord);
if(null != list) {
List<String> idList = list.stream().map(dto->dto.getId()).collect(Collectors.toList()) ;
logger.info("有权限的列表={}",idList);
Set<String> otherList = new HashSet<>();
for(PowerStoreGroupDTO item : departmentList) {
if(idList.contains(item.getStoreGroupId())) {
......@@ -105,9 +106,11 @@ public class GicDepartmentController extends WebBaseController{
}
}
}
logger.info("有权限的列表={}",otherList);
for(PowerStoreGroupDTO item : departmentList) {
if(otherList.contains(item.getStoreGroupId()) && !idList.contains(item.getStoreGroupId())) {
HaobanStoreGroupVO vo = EntityUtil.changeEntityByOrika(HaobanStoreGroupVO.class, item) ;
idList.add(vo.getStoreGroupId());
retList.add(vo) ;
}
}
......
......@@ -260,6 +260,7 @@ public class LoginController extends WebBaseController {
// 登录逻辑
private String doLogin(String wxEnterpriseId, String gicEnterpriseId, String loginPhoneNumber, String loginChannel,
HttpServletResponse response) {
logger.info("doLogin={},{}",gicEnterpriseId,loginPhoneNumber);
WxApplicationDTO application = wxApplicationApiService.selectByWxEnterpriseIdAndApplicationType(wxEnterpriseId,2);
if (null == application) {
logger.info("登录企业应用 没授权!gicEnterpriseId:{}", gicEnterpriseId);
......
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