| @@ -61,6 +61,14 @@ public class WxUserResume extends TenantEntity { | |||||
| } | } | ||||
| return null; | return null; | ||||
| } | } | ||||
| @TableField(exist = false) | |||||
| private String birthDayStr; | |||||
| public String getBirthDayStr() { | |||||
| if (null != birthDay) { | |||||
| return DateUtils.date2String(birthDay,DateUtils.DATE_PATTERN); | |||||
| } | |||||
| return null; | |||||
| } | |||||
| @io.swagger.annotations.ApiModelProperty(value="",name="createTime") | @io.swagger.annotations.ApiModelProperty(value="",name="createTime") | ||||
| private Date createTime; | private Date createTime; | ||||
| @@ -16,4 +16,6 @@ public interface WxGameActionLogMapper extends CommonMapper<WxGameActionLog, Str | |||||
| WxGameUserActionLogVo findUserSumList(WxGameActionLog wxGameActionLog); | WxGameUserActionLogVo findUserSumList(WxGameActionLog wxGameActionLog); | ||||
| List<WxGameActionLog> findUserGiftList(WxGameActionLog wxGameActionLog); | |||||
| } | } | ||||
| @@ -127,14 +127,7 @@ public class WxGameServiceImpl implements WxGameService { | |||||
| @Override | @Override | ||||
| public List<WxGameActionLog> listUserGiftList(WxGameActionLog record) { | public List<WxGameActionLog> listUserGiftList(WxGameActionLog record) { | ||||
| // PageInfo<WxGame> page = PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxGameMapper.findList(record)); | |||||
| // if (page.getSize() > 0) { | |||||
| // for (WxGame game : page.getList()) { | |||||
| // game.setGameTemplate(wxGameTemplateService.getById(game.getGameId())); | |||||
| // } | |||||
| // } | |||||
| // return page; | |||||
| return null; | |||||
| return wxGameActionLogMapper.findUserGiftList(record); | |||||
| } | } | ||||
| @Override | @Override | ||||
| @@ -169,8 +169,14 @@ | |||||
| #{uidItem} | #{uidItem} | ||||
| </foreach> | </foreach> | ||||
| </if> | </if> | ||||
| group by user_id | group by user_id | ||||
| </select> | </select> | ||||
| <select id="findUserGiftList" parameterType="com.iformall.domain.po.WxGameActionLog" resultMap="BaseResultMap"> | |||||
| select | |||||
| from wx_game_action_log | |||||
| </select> | |||||
| </mapper> | </mapper> | ||||