| | |
| | | import com.xzx.gc.user.dto.RayaltyDto; |
| | | import com.xzx.gc.user.mapper.*; |
| | | import com.xzx.gc.user.vo.CategaryVo; |
| | | import com.xzx.gc.user.vo.UserIdentityVo; |
| | | import com.xzx.gc.util.DoubleUtil; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.codec.binary.Base64; |
| | |
| | | userInfo.setDelFlag(Constants.DEL_NOT_FLAG); |
| | | List<UserInfo> userInfo1 = userMapper.select(userInfo); |
| | | return userInfo1; |
| | | } |
| | | |
| | | public UserIdentityVo userIdentity(String userId) { |
| | | AccountInfo accountInfo = accountService.findByUserIdForbidden(userId); |
| | | |
| | | UserIdentityVo userIdentityVo = new UserIdentityVo(); |
| | | userIdentityVo.setIsHead(accountInfo.getIsHead()); |
| | | |
| | | return userIdentityVo; |
| | | } |
| | | |
| | | |
| | |
| | | mx.setCollectScore(new BigDecimal(collectScore).setScale( 2, BigDecimal.ROUND_DOWN )); |
| | | } |
| | | |
| | | String mobilePhone = mx.getMobilePhone(); |
| | | if(StrUtil.isNotEmpty(mobilePhone)){ |
| | | String tgrPhone = orderMapper.selectTGRMobileByPhone(mobilePhone); |
| | | mx.setTgrPhone(StrUtil.isEmpty(tgrPhone) ? "-" : tgrPhone); |
| | | } |
| | | |
| | | } |
| | | |
| | | //设置登录时间 |