| | |
| | | this.baseMapper.updateById(mallMember); |
| | | |
| | | //完善信息赠送新人礼 |
| | | if (StrUtil.isNotBlank(mallMember.getPhone())) { |
| | | if (StrUtil.isNotBlank(mallMember.getPhone()) && mallMember.getNewGift() == 0) { |
| | | DataDictionaryCustom dic = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | CommonDictionaryEnum.NEW_GIFT_SETTING.getType(), |
| | | CommonDictionaryEnum.NEW_GIFT_SETTING.getCode() |
| | | ); |
| | | mallMember.setNewGift(1); |
| | | this.baseMapper.updateById(mallMember); |
| | | |
| | | ApiNewGiftSettingDto apiNewGiftSettingDto = JSONObject.parseObject(dic.getValue(), ApiNewGiftSettingDto.class); |
| | | if (apiNewGiftSettingDto.getState() == 1) { |
| | | String prizeScore = apiNewGiftSettingDto.getPrizeScore(); |