| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | |
| | | map.put("money", DoubleUtil.roundTwo(String.valueOf(map.get("money")))); |
| | | map.put("score", DoubleUtil.roundTwo(String.valueOf(map.get("score")))); |
| | | map.put("weight", DoubleUtil.roundThree(String.valueOf(map.get("weight")))); |
| | | map.put("name", String.valueOf((ObjectUtil.isEmpty(map.get("name"))?"-":m.get("name")))); |
| | | map.put("name", String.valueOf((ObjectUtil.isEmpty(map.get("name"))?"-":map.get("name")))); |
| | | map.put("createtime", String.valueOf(map.get("createTime"))); |
| | | |
| | | String type = String.valueOf(map.get("type")); |