|  |  |  | 
|---|
|  |  |  | import com.xzx.gc.model.user.*; | 
|---|
|  |  |  | import com.xzx.gc.user.dto.AddressDto; | 
|---|
|  |  |  | import com.xzx.gc.user.dto.RayaltyDto; | 
|---|
|  |  |  | import com.xzx.gc.user.dto.TgmxInfoListDto; | 
|---|
|  |  |  | import com.xzx.gc.user.mapper.*; | 
|---|
|  |  |  | import com.xzx.gc.user.vo.CategaryVo; | 
|---|
|  |  |  | import com.xzx.gc.user.vo.TgmxInfoListVo; | 
|---|
|  |  |  | import com.xzx.gc.user.vo.UserIdentityVo; | 
|---|
|  |  |  | import com.xzx.gc.util.DoubleUtil; | 
|---|
|  |  |  | import lombok.extern.slf4j.Slf4j; | 
|---|
|  |  |  | 
|---|
|  |  |  | userMapper.insertSelective(userInfo); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Map<String, Object> tgmxInfo(TgmxInfoListDto model) { | 
|---|
|  |  |  | PageHelper.startPage(model.getPage(), model.getLimit()); | 
|---|
|  |  |  | List<TgmxInfoListVo> maps = userMapper.tgmxInfo(model); | 
|---|
|  |  |  | PageInfo pageInfo = new PageInfo(maps); | 
|---|
|  |  |  | int count = Convert.toInt(pageInfo.getTotal()); | 
|---|
|  |  |  | Map<String, Object> map = new HashMap<>(); | 
|---|
|  |  |  | map.put("data", maps); | 
|---|
|  |  |  | map.put("count", count); | 
|---|
|  |  |  | map.put("code", 0); | 
|---|
|  |  |  | return map; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|