wangrenhuang
2024-01-29 ec269b5db4b6fbc79dcfbc19452c0eab217fa1d0
mot修改用户信息优化
2个文件已修改
8 ■■■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/controller/userompleteInfo/UserCompleteInfoController.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/service/impl/UserServiceImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/controller/userompleteInfo/UserCompleteInfoController.java
@@ -177,12 +177,14 @@
            userInfoMap.put("isExitsChannel", 0);
        }
         //20231207  mot扫码判断用户是否有渠道,有渠道或有来源名称则不修改
        if(StringUtils.isEmpty(user.getChannelType()) && StringUtils.isEmpty(user.getChannelType2()) && StringUtils.isEmpty(sourceName)){
            userInfoMap.put("isShowChannel", 0);
        }else {
            userInfoMap.put("isShowChannel", 1);
            if(StringUtils.isEmpty(sourceName)){
                userInfoMap.put("souceOther", user.getChannelType()+"-"+user.getChannelType2());
                userInfoMap.put("sourceName", "其他");
            }
        }
        JSONObject data = new JSONObject();
phi_platform_user/src/main/java/com/hx/phip/service/impl/UserServiceImpl.java
@@ -3828,7 +3828,7 @@
            //生育
            growthType.setTypeNo("LT20230921QnaLns");
            if(userInfoCompleteDto.getGrowthTypeName().equals("已育")){
            if(!StringUtils.isEmpty(userInfoCompleteDto.getGrowthTypeName()) && userInfoCompleteDto.getGrowthTypeName().equals("已育")){
                growthType.setTagNo("LA20230921TgcoAc");
            }else {
                growthType.setTagNo("LA20230921HWZNLS");