main
parent
0a244db7d7
commit
999932ac31
|
|
@ -0,0 +1,42 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户审核信息实体")
|
||||||
|
public class AppCircleCheck implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核用户id")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2失败")
|
||||||
|
private Integer isCheck;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,78 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容信息实体")
|
||||||
|
public class AppCircleContent implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建用户id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "图片,多张用逗号分隔")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "视频地址")
|
||||||
|
private String videoUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型1动态2圈子内容3心愿单")
|
||||||
|
private Integer citeType;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型=1为动态id;=2为圈子内容id;=3为心愿单内容id")
|
||||||
|
private Integer citeId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否置顶1是2否")
|
||||||
|
private Integer isTop;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否屏蔽1是2否")
|
||||||
|
private Integer isShield;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否开启sos1是2否")
|
||||||
|
private Integer isSos;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否推荐1是2否")
|
||||||
|
private Integer isTj;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块id")
|
||||||
|
private Integer plateId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否圈主1是2否")
|
||||||
|
private Integer isOwner;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "位置")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否删除: [0=否, 1=是]")
|
||||||
|
private Integer isDelete;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,42 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子板块信息实体")
|
||||||
|
public class AppCirclePlate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块信息")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否删除: [0=否, 1=是]")
|
||||||
|
private Integer isDelete;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,57 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户信息实体")
|
||||||
|
public class AppCircleUser implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "成员id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子昵称")
|
||||||
|
private String circleName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "本群昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否提醒1是2否")
|
||||||
|
private Integer isRemind;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "经度")
|
||||||
|
private String longitude;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "纬度")
|
||||||
|
private String latitude;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否删除: [0=否, 1=是]")
|
||||||
|
private Integer isDelete;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容评论信息实体")
|
||||||
|
public class AppContentComment implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容礼物信息实体")
|
||||||
|
public class AppContentGift implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "送礼用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物说明")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物数量/价值")
|
||||||
|
private Integer num;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容点赞信息实体")
|
||||||
|
public class AppContentLike implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
package com.mdd.common.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容sos审核信息实体")
|
||||||
|
public class AppSosCheck implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(value="id", type= IdType.AUTO)
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "发布用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2拒绝")
|
||||||
|
private Integer isResult;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "消耗喜糖数量/价值")
|
||||||
|
private Integer useNum;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private Long createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private Long updateTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "删除时间")
|
||||||
|
private Long deleteTime;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppCircleCheck;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppCircleCheckMapper extends IBaseMapper<AppCircleCheck> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppCircleContent;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppCircleContentMapper extends IBaseMapper<AppCircleContent> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppCirclePlate;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppCirclePlateMapper extends IBaseMapper<AppCirclePlate> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppCircleUser;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppCircleUserMapper extends IBaseMapper<AppCircleUser> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppContentComment;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppContentCommentMapper extends IBaseMapper<AppContentComment> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppContentGift;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppContentGiftMapper extends IBaseMapper<AppContentGift> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppContentLike;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppContentLikeMapper extends IBaseMapper<AppContentLike> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
package com.mdd.common.mapper;
|
||||||
|
|
||||||
|
import com.mdd.common.core.basics.IBaseMapper;
|
||||||
|
import com.mdd.common.entity.AppSosCheck;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息Mapper
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppSosCheckMapper extends IBaseMapper<AppSosCheck> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppCircleCheckService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleCheckListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleCheckDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/circleCheck")
|
||||||
|
@Api(tags = "圈子用户审核信息管理")
|
||||||
|
public class AppCircleCheckController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppCircleCheckService iAppCircleCheckService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子用户审核信息列表")
|
||||||
|
public AjaxResult<PageResult<AppCircleCheckListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppCircleCheckSearchValidate searchValidate) {
|
||||||
|
PageResult<AppCircleCheckListedVo> list = iAppCircleCheckService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子用户审核信息详情")
|
||||||
|
public AjaxResult<AppCircleCheckDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppCircleCheckDetailVo detail = iAppCircleCheckService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子用户审核信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子用户审核信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppCircleCheckCreateValidate createValidate) {
|
||||||
|
iAppCircleCheckService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子用户审核信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子用户审核信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppCircleCheckUpdateValidate updateValidate) {
|
||||||
|
iAppCircleCheckService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子用户审核信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子用户审核信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppCircleCheckService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppCircleContentService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleContentListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleContentDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/content")
|
||||||
|
@Api(tags = "圈子内容信息管理")
|
||||||
|
public class AppCircleContentController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppCircleContentService iAppCircleContentService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子内容信息列表")
|
||||||
|
public AjaxResult<PageResult<AppCircleContentListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppCircleContentSearchValidate searchValidate) {
|
||||||
|
PageResult<AppCircleContentListedVo> list = iAppCircleContentService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子内容信息详情")
|
||||||
|
public AjaxResult<AppCircleContentDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppCircleContentDetailVo detail = iAppCircleContentService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子内容信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppCircleContentCreateValidate createValidate) {
|
||||||
|
iAppCircleContentService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子内容信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppCircleContentUpdateValidate updateValidate) {
|
||||||
|
iAppCircleContentService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子内容信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppCircleContentService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppCirclePlateService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppCirclePlateListedVo;
|
||||||
|
import com.mdd.front.vo.AppCirclePlateDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/plate")
|
||||||
|
@Api(tags = "圈子板块信息管理")
|
||||||
|
public class AppCirclePlateController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppCirclePlateService iAppCirclePlateService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子板块信息列表")
|
||||||
|
public AjaxResult<PageResult<AppCirclePlateListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppCirclePlateSearchValidate searchValidate) {
|
||||||
|
PageResult<AppCirclePlateListedVo> list = iAppCirclePlateService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子板块信息详情")
|
||||||
|
public AjaxResult<AppCirclePlateDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppCirclePlateDetailVo detail = iAppCirclePlateService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子板块信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子板块信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppCirclePlateCreateValidate createValidate) {
|
||||||
|
iAppCirclePlateService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子板块信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子板块信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppCirclePlateUpdateValidate updateValidate) {
|
||||||
|
iAppCirclePlateService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子板块信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子板块信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppCirclePlateService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppCircleUserService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleUserListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleUserDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/circleUser")
|
||||||
|
@Api(tags = "圈子用户信息管理")
|
||||||
|
public class AppCircleUserController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppCircleUserService iAppCircleUserService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子用户信息列表")
|
||||||
|
public AjaxResult<PageResult<AppCircleUserListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppCircleUserSearchValidate searchValidate) {
|
||||||
|
PageResult<AppCircleUserListedVo> list = iAppCircleUserService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子用户信息详情")
|
||||||
|
public AjaxResult<AppCircleUserDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppCircleUserDetailVo detail = iAppCircleUserService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子用户信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子用户信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppCircleUserCreateValidate createValidate) {
|
||||||
|
iAppCircleUserService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子用户信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子用户信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppCircleUserUpdateValidate updateValidate) {
|
||||||
|
iAppCircleUserService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子用户信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子用户信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppCircleUserService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppContentCommentService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppContentCommentListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentCommentDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/comment")
|
||||||
|
@Api(tags = "圈子内容评论信息管理")
|
||||||
|
public class AppContentCommentController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppContentCommentService iAppContentCommentService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子内容评论信息列表")
|
||||||
|
public AjaxResult<PageResult<AppContentCommentListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppContentCommentSearchValidate searchValidate) {
|
||||||
|
PageResult<AppContentCommentListedVo> list = iAppContentCommentService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子内容评论信息详情")
|
||||||
|
public AjaxResult<AppContentCommentDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppContentCommentDetailVo detail = iAppContentCommentService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容评论信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子内容评论信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppContentCommentCreateValidate createValidate) {
|
||||||
|
iAppContentCommentService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容评论信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子内容评论信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppContentCommentUpdateValidate updateValidate) {
|
||||||
|
iAppContentCommentService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容评论信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子内容评论信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppContentCommentService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppContentGiftService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppContentGiftListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentGiftDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/gift")
|
||||||
|
@Api(tags = "圈子内容礼物信息管理")
|
||||||
|
public class AppContentGiftController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppContentGiftService iAppContentGiftService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子内容礼物信息列表")
|
||||||
|
public AjaxResult<PageResult<AppContentGiftListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppContentGiftSearchValidate searchValidate) {
|
||||||
|
PageResult<AppContentGiftListedVo> list = iAppContentGiftService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子内容礼物信息详情")
|
||||||
|
public AjaxResult<AppContentGiftDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppContentGiftDetailVo detail = iAppContentGiftService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容礼物信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子内容礼物信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppContentGiftCreateValidate createValidate) {
|
||||||
|
iAppContentGiftService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容礼物信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子内容礼物信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppContentGiftUpdateValidate updateValidate) {
|
||||||
|
iAppContentGiftService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容礼物信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子内容礼物信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppContentGiftService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppContentLikeService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppContentLikeListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentLikeDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/like")
|
||||||
|
@Api(tags = "圈子内容点赞信息管理")
|
||||||
|
public class AppContentLikeController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppContentLikeService iAppContentLikeService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子内容点赞信息列表")
|
||||||
|
public AjaxResult<PageResult<AppContentLikeListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppContentLikeSearchValidate searchValidate) {
|
||||||
|
PageResult<AppContentLikeListedVo> list = iAppContentLikeService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子内容点赞信息详情")
|
||||||
|
public AjaxResult<AppContentLikeDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppContentLikeDetailVo detail = iAppContentLikeService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容点赞信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子内容点赞信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppContentLikeCreateValidate createValidate) {
|
||||||
|
iAppContentLikeService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容点赞信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子内容点赞信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppContentLikeUpdateValidate updateValidate) {
|
||||||
|
iAppContentLikeService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容点赞信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子内容点赞信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppContentLikeService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
package com.mdd.front.controller;
|
||||||
|
|
||||||
|
import com.mdd.front.aop.Log;
|
||||||
|
import com.mdd.front.service.IAppSosCheckService;
|
||||||
|
import com.mdd.front.validate.common.IdValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckSearchValidate;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.vo.AppSosCheckListedVo;
|
||||||
|
import com.mdd.front.vo.AppSosCheckDetailVo;
|
||||||
|
import com.mdd.common.core.AjaxResult;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("api/sosCheck")
|
||||||
|
@Api(tags = "圈子内容sos审核信息管理")
|
||||||
|
public class AppSosCheckController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
IAppSosCheckService iAppSosCheckService;
|
||||||
|
|
||||||
|
@GetMapping("/list")
|
||||||
|
@ApiOperation(value="圈子内容sos审核信息列表")
|
||||||
|
public AjaxResult<PageResult<AppSosCheckListedVo>> list(@Validated PageValidate pageValidate,
|
||||||
|
@Validated AppSosCheckSearchValidate searchValidate) {
|
||||||
|
PageResult<AppSosCheckListedVo> list = iAppSosCheckService.list(pageValidate, searchValidate);
|
||||||
|
return AjaxResult.success(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/detail")
|
||||||
|
@ApiOperation(value="圈子内容sos审核信息详情")
|
||||||
|
public AjaxResult<AppSosCheckDetailVo> detail(@Validated @IDMust() @RequestParam("id") Integer id) {
|
||||||
|
AppSosCheckDetailVo detail = iAppSosCheckService.detail(id);
|
||||||
|
return AjaxResult.success(detail);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容sos审核信息新增")
|
||||||
|
@PostMapping("/add")
|
||||||
|
@ApiOperation(value="圈子内容sos审核信息新增")
|
||||||
|
public AjaxResult<Object> add(@Validated @RequestBody AppSosCheckCreateValidate createValidate) {
|
||||||
|
iAppSosCheckService.add(createValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容sos审核信息编辑")
|
||||||
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value="圈子内容sos审核信息编辑")
|
||||||
|
public AjaxResult<Object> edit(@Validated @RequestBody AppSosCheckUpdateValidate updateValidate) {
|
||||||
|
iAppSosCheckService.edit(updateValidate);
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Log(title = "圈子内容sos审核信息删除")
|
||||||
|
@PostMapping("/del")
|
||||||
|
@ApiOperation(value="圈子内容sos审核信息删除")
|
||||||
|
public AjaxResult<Object> del(@Validated @RequestBody IdValidate idValidate) {
|
||||||
|
iAppSosCheckService.del(idValidate.getId());
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleCheckListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleCheckDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppCircleCheckService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCircleCheckListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppCircleCheckListedVo> list(PageValidate pageValidate, AppCircleCheckSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppCircleCheckDetailVo
|
||||||
|
*/
|
||||||
|
AppCircleCheckDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppCircleCheckCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppCircleCheckUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleContentListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleContentDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppCircleContentService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCircleContentListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppCircleContentListedVo> list(PageValidate pageValidate, AppCircleContentSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppCircleContentDetailVo
|
||||||
|
*/
|
||||||
|
AppCircleContentDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppCircleContentCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppCircleContentUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCirclePlateListedVo;
|
||||||
|
import com.mdd.front.vo.AppCirclePlateDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppCirclePlateService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCirclePlateListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppCirclePlateListedVo> list(PageValidate pageValidate, AppCirclePlateSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppCirclePlateDetailVo
|
||||||
|
*/
|
||||||
|
AppCirclePlateDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppCirclePlateCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppCirclePlateUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleUserListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleUserDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppCircleUserService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCircleUserListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppCircleUserListedVo> list(PageValidate pageValidate, AppCircleUserSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppCircleUserDetailVo
|
||||||
|
*/
|
||||||
|
AppCircleUserDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppCircleUserCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppCircleUserUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppContentCommentListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentCommentDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppContentCommentService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppContentCommentListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppContentCommentListedVo> list(PageValidate pageValidate, AppContentCommentSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppContentCommentDetailVo
|
||||||
|
*/
|
||||||
|
AppContentCommentDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppContentCommentCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppContentCommentUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppContentGiftListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentGiftDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppContentGiftService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppContentGiftListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppContentGiftListedVo> list(PageValidate pageValidate, AppContentGiftSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppContentGiftDetailVo
|
||||||
|
*/
|
||||||
|
AppContentGiftDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppContentGiftCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppContentGiftUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppContentLikeListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentLikeDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppContentLikeService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppContentLikeListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppContentLikeListedVo> list(PageValidate pageValidate, AppContentLikeSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppContentLikeDetailVo
|
||||||
|
*/
|
||||||
|
AppContentLikeDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppContentLikeCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppContentLikeUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
package com.mdd.front.service;
|
||||||
|
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppSosCheckListedVo;
|
||||||
|
import com.mdd.front.vo.AppSosCheckDetailVo;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息服务接口类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
public interface IAppSosCheckService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppSosCheckListedVo>
|
||||||
|
*/
|
||||||
|
PageResult<AppSosCheckListedVo> list(PageValidate pageValidate, AppSosCheckSearchValidate searchValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
* @return AppSosCheckDetailVo
|
||||||
|
*/
|
||||||
|
AppSosCheckDetailVo detail(Integer id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
void add(AppSosCheckCreateValidate createValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
void edit(AppSosCheckUpdateValidate updateValidate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
void del(Integer id);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,156 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppCircleCheckService;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleCheckSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleCheckListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleCheckDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppCircleCheck;
|
||||||
|
import com.mdd.common.mapper.AppCircleCheckMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppCircleCheckServiceImpl implements IAppCircleCheckService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppCircleCheckMapper appCircleCheckMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCircleCheckListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppCircleCheckListedVo> list(PageValidate pageValidate, AppCircleCheckSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppCircleCheck> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appCircleCheckMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:checkUser@check_user:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
"=:isCheck@is_check:int",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppCircleCheck> iPage = appCircleCheckMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppCircleCheckListedVo> list = new LinkedList<>();
|
||||||
|
for(AppCircleCheck item : iPage.getRecords()) {
|
||||||
|
AppCircleCheckListedVo vo = new AppCircleCheckListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppCircleCheck
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppCircleCheckDetailVo detail(Integer id) {
|
||||||
|
AppCircleCheck model = appCircleCheckMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleCheck>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppCircleCheckDetailVo vo = new AppCircleCheckDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppCircleCheckCreateValidate createValidate) {
|
||||||
|
AppCircleCheck model = new AppCircleCheck();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setCheckUser(createValidate.getCheckUser());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setIsCheck(createValidate.getIsCheck());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleCheckMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppCircleCheckUpdateValidate updateValidate) {
|
||||||
|
AppCircleCheck model = appCircleCheckMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleCheck>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setCheckUser(updateValidate.getCheckUser());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setIsCheck(updateValidate.getIsCheck());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleCheckMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppCircleCheck model = appCircleCheckMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleCheck>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
appCircleCheckMapper.delete(new QueryWrapper<AppCircleCheck>().eq("id", id));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,195 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppCircleContentService;
|
||||||
|
import com.mdd.front.validate.AppCircleContentCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleContentSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleContentListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleContentDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppCircleContent;
|
||||||
|
import com.mdd.common.mapper.AppCircleContentMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppCircleContentServiceImpl implements IAppCircleContentService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppCircleContentMapper appCircleContentMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCircleContentListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppCircleContentListedVo> list(PageValidate pageValidate, AppCircleContentSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppCircleContent> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("is_delete", 0);
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appCircleContentMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
"=:content:str",
|
||||||
|
"=:imgUrl@img_url:str",
|
||||||
|
"=:videoUrl@video_url:str",
|
||||||
|
"=:citeType@cite_type:int",
|
||||||
|
"=:citeId@cite_id:int",
|
||||||
|
"=:isTop@is_top:int",
|
||||||
|
"=:isShield@is_shield:int",
|
||||||
|
"=:isSos@is_sos:int",
|
||||||
|
"=:isTj@is_tj:int",
|
||||||
|
"=:plateId@plate_id:int",
|
||||||
|
"=:isOwner@is_owner:int",
|
||||||
|
"=:isAdmin@is_admin:int",
|
||||||
|
"=:address:str",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppCircleContent> iPage = appCircleContentMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppCircleContentListedVo> list = new LinkedList<>();
|
||||||
|
for(AppCircleContent item : iPage.getRecords()) {
|
||||||
|
AppCircleContentListedVo vo = new AppCircleContentListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppCircleContent
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppCircleContentDetailVo detail(Integer id) {
|
||||||
|
AppCircleContent model = appCircleContentMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleContent>()
|
||||||
|
.eq("id", id)
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppCircleContentDetailVo vo = new AppCircleContentDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppCircleContentCreateValidate createValidate) {
|
||||||
|
AppCircleContent model = new AppCircleContent();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setContent(createValidate.getContent());
|
||||||
|
model.setImgUrl(createValidate.getImgUrl());
|
||||||
|
model.setVideoUrl(createValidate.getVideoUrl());
|
||||||
|
model.setCiteType(createValidate.getCiteType());
|
||||||
|
model.setCiteId(createValidate.getCiteId());
|
||||||
|
model.setIsTop(createValidate.getIsTop());
|
||||||
|
model.setIsShield(createValidate.getIsShield());
|
||||||
|
model.setIsSos(createValidate.getIsSos());
|
||||||
|
model.setIsTj(createValidate.getIsTj());
|
||||||
|
model.setPlateId(createValidate.getPlateId());
|
||||||
|
model.setIsOwner(createValidate.getIsOwner());
|
||||||
|
model.setIsAdmin(createValidate.getIsAdmin());
|
||||||
|
model.setAddress(createValidate.getAddress());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleContentMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppCircleContentUpdateValidate updateValidate) {
|
||||||
|
AppCircleContent model = appCircleContentMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleContent>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setContent(updateValidate.getContent());
|
||||||
|
model.setImgUrl(updateValidate.getImgUrl());
|
||||||
|
model.setVideoUrl(updateValidate.getVideoUrl());
|
||||||
|
model.setCiteType(updateValidate.getCiteType());
|
||||||
|
model.setCiteId(updateValidate.getCiteId());
|
||||||
|
model.setIsTop(updateValidate.getIsTop());
|
||||||
|
model.setIsShield(updateValidate.getIsShield());
|
||||||
|
model.setIsSos(updateValidate.getIsSos());
|
||||||
|
model.setIsTj(updateValidate.getIsTj());
|
||||||
|
model.setPlateId(updateValidate.getPlateId());
|
||||||
|
model.setIsOwner(updateValidate.getIsOwner());
|
||||||
|
model.setIsAdmin(updateValidate.getIsAdmin());
|
||||||
|
model.setAddress(updateValidate.getAddress());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleContentMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppCircleContent model = appCircleContentMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleContent>()
|
||||||
|
.eq("id", id)
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setIsDelete(1);
|
||||||
|
model.setDeleteTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleContentMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,159 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppCirclePlateService;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCirclePlateSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCirclePlateListedVo;
|
||||||
|
import com.mdd.front.vo.AppCirclePlateDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppCirclePlate;
|
||||||
|
import com.mdd.common.mapper.AppCirclePlateMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppCirclePlateServiceImpl implements IAppCirclePlateService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppCirclePlateMapper appCirclePlateMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCirclePlateListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppCirclePlateListedVo> list(PageValidate pageValidate, AppCirclePlateSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppCirclePlate> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("is_delete", 0);
|
||||||
|
queryWrapper.orderByDesc(Arrays.asList("sort", "id"));
|
||||||
|
|
||||||
|
appCirclePlateMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"like:name:str",
|
||||||
|
"=:sort:int",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppCirclePlate> iPage = appCirclePlateMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppCirclePlateListedVo> list = new LinkedList<>();
|
||||||
|
for(AppCirclePlate item : iPage.getRecords()) {
|
||||||
|
AppCirclePlateListedVo vo = new AppCirclePlateListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppCirclePlate
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppCirclePlateDetailVo detail(Integer id) {
|
||||||
|
AppCirclePlate model = appCirclePlateMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCirclePlate>()
|
||||||
|
.eq("id", id)
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppCirclePlateDetailVo vo = new AppCirclePlateDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppCirclePlateCreateValidate createValidate) {
|
||||||
|
AppCirclePlate model = new AppCirclePlate();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setName(createValidate.getName());
|
||||||
|
model.setSort(createValidate.getSort());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCirclePlateMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppCirclePlateUpdateValidate updateValidate) {
|
||||||
|
AppCirclePlate model = appCirclePlateMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCirclePlate>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setName(updateValidate.getName());
|
||||||
|
model.setSort(updateValidate.getSort());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCirclePlateMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppCirclePlate model = appCirclePlateMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCirclePlate>()
|
||||||
|
.eq("id", id)
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setIsDelete(1);
|
||||||
|
model.setDeleteTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCirclePlateMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,174 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppCircleUserService;
|
||||||
|
import com.mdd.front.validate.AppCircleUserCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppCircleUserSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppCircleUserListedVo;
|
||||||
|
import com.mdd.front.vo.AppCircleUserDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppCircleUser;
|
||||||
|
import com.mdd.common.mapper.AppCircleUserMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppCircleUserServiceImpl implements IAppCircleUserService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppCircleUserMapper appCircleUserMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppCircleUserListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppCircleUserListedVo> list(PageValidate pageValidate, AppCircleUserSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppCircleUser> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.eq("is_delete", 0);
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appCircleUserMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
"like:circleName@circle_name:str",
|
||||||
|
"like:nickName@nick_name:str",
|
||||||
|
"=:isRemind@is_remind:int",
|
||||||
|
"=:isAdmin@is_admin:int",
|
||||||
|
"=:longitude:str",
|
||||||
|
"=:latitude:str",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppCircleUser> iPage = appCircleUserMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppCircleUserListedVo> list = new LinkedList<>();
|
||||||
|
for(AppCircleUser item : iPage.getRecords()) {
|
||||||
|
AppCircleUserListedVo vo = new AppCircleUserListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppCircleUser
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppCircleUserDetailVo detail(Integer id) {
|
||||||
|
AppCircleUser model = appCircleUserMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleUser>()
|
||||||
|
.eq("id", id)
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppCircleUserDetailVo vo = new AppCircleUserDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppCircleUserCreateValidate createValidate) {
|
||||||
|
AppCircleUser model = new AppCircleUser();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setCircleName(createValidate.getCircleName());
|
||||||
|
model.setNickName(createValidate.getNickName());
|
||||||
|
model.setIsRemind(createValidate.getIsRemind());
|
||||||
|
model.setIsAdmin(createValidate.getIsAdmin());
|
||||||
|
model.setLongitude(createValidate.getLongitude());
|
||||||
|
model.setLatitude(createValidate.getLatitude());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleUserMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppCircleUserUpdateValidate updateValidate) {
|
||||||
|
AppCircleUser model = appCircleUserMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleUser>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setCircleName(updateValidate.getCircleName());
|
||||||
|
model.setNickName(updateValidate.getNickName());
|
||||||
|
model.setIsRemind(updateValidate.getIsRemind());
|
||||||
|
model.setIsAdmin(updateValidate.getIsAdmin());
|
||||||
|
model.setLongitude(updateValidate.getLongitude());
|
||||||
|
model.setLatitude(updateValidate.getLatitude());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleUserMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppCircleUser model = appCircleUserMapper.selectOne(
|
||||||
|
new QueryWrapper<AppCircleUser>()
|
||||||
|
.eq("id", id)
|
||||||
|
.eq("is_delete", 0)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setIsDelete(1);
|
||||||
|
model.setDeleteTime(System.currentTimeMillis() / 1000);
|
||||||
|
appCircleUserMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,159 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppContentCommentService;
|
||||||
|
import com.mdd.front.validate.AppContentCommentCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentCommentSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppContentCommentListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentCommentDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppContentComment;
|
||||||
|
import com.mdd.common.mapper.AppContentCommentMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppContentCommentServiceImpl implements IAppContentCommentService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppContentCommentMapper appContentCommentMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppContentCommentListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppContentCommentListedVo> list(PageValidate pageValidate, AppContentCommentSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppContentComment> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appContentCommentMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:contentId@content_id:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
"=:content:str",
|
||||||
|
"=:imgUrl@img_url:str",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppContentComment> iPage = appContentCommentMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppContentCommentListedVo> list = new LinkedList<>();
|
||||||
|
for(AppContentComment item : iPage.getRecords()) {
|
||||||
|
AppContentCommentListedVo vo = new AppContentCommentListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppContentComment
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppContentCommentDetailVo detail(Integer id) {
|
||||||
|
AppContentComment model = appContentCommentMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentComment>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppContentCommentDetailVo vo = new AppContentCommentDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppContentCommentCreateValidate createValidate) {
|
||||||
|
AppContentComment model = new AppContentComment();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setContentId(createValidate.getContentId());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setContent(createValidate.getContent());
|
||||||
|
model.setImgUrl(createValidate.getImgUrl());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appContentCommentMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppContentCommentUpdateValidate updateValidate) {
|
||||||
|
AppContentComment model = appContentCommentMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentComment>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setContentId(updateValidate.getContentId());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setContent(updateValidate.getContent());
|
||||||
|
model.setImgUrl(updateValidate.getImgUrl());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appContentCommentMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppContentComment model = appContentCommentMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentComment>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
appContentCommentMapper.delete(new QueryWrapper<AppContentComment>().eq("id", id));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,162 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppContentGiftService;
|
||||||
|
import com.mdd.front.validate.AppContentGiftCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentGiftSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppContentGiftListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentGiftDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppContentGift;
|
||||||
|
import com.mdd.common.mapper.AppContentGiftMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppContentGiftServiceImpl implements IAppContentGiftService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppContentGiftMapper appContentGiftMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppContentGiftListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppContentGiftListedVo> list(PageValidate pageValidate, AppContentGiftSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppContentGift> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appContentGiftMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:contentId@content_id:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
"=:imgUrl@img_url:str",
|
||||||
|
"like:name:str",
|
||||||
|
"=:num:int",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppContentGift> iPage = appContentGiftMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppContentGiftListedVo> list = new LinkedList<>();
|
||||||
|
for(AppContentGift item : iPage.getRecords()) {
|
||||||
|
AppContentGiftListedVo vo = new AppContentGiftListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppContentGift
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppContentGiftDetailVo detail(Integer id) {
|
||||||
|
AppContentGift model = appContentGiftMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentGift>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppContentGiftDetailVo vo = new AppContentGiftDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppContentGiftCreateValidate createValidate) {
|
||||||
|
AppContentGift model = new AppContentGift();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setContentId(createValidate.getContentId());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setImgUrl(createValidate.getImgUrl());
|
||||||
|
model.setName(createValidate.getName());
|
||||||
|
model.setNum(createValidate.getNum());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appContentGiftMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppContentGiftUpdateValidate updateValidate) {
|
||||||
|
AppContentGift model = appContentGiftMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentGift>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setContentId(updateValidate.getContentId());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setImgUrl(updateValidate.getImgUrl());
|
||||||
|
model.setName(updateValidate.getName());
|
||||||
|
model.setNum(updateValidate.getNum());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appContentGiftMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppContentGift model = appContentGiftMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentGift>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
appContentGiftMapper.delete(new QueryWrapper<AppContentGift>().eq("id", id));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,153 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppContentLikeService;
|
||||||
|
import com.mdd.front.validate.AppContentLikeCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppContentLikeSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppContentLikeListedVo;
|
||||||
|
import com.mdd.front.vo.AppContentLikeDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppContentLike;
|
||||||
|
import com.mdd.common.mapper.AppContentLikeMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppContentLikeServiceImpl implements IAppContentLikeService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppContentLikeMapper appContentLikeMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppContentLikeListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppContentLikeListedVo> list(PageValidate pageValidate, AppContentLikeSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppContentLike> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appContentLikeMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:contentId@content_id:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppContentLike> iPage = appContentLikeMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppContentLikeListedVo> list = new LinkedList<>();
|
||||||
|
for(AppContentLike item : iPage.getRecords()) {
|
||||||
|
AppContentLikeListedVo vo = new AppContentLikeListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppContentLike
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppContentLikeDetailVo detail(Integer id) {
|
||||||
|
AppContentLike model = appContentLikeMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentLike>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppContentLikeDetailVo vo = new AppContentLikeDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppContentLikeCreateValidate createValidate) {
|
||||||
|
AppContentLike model = new AppContentLike();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setContentId(createValidate.getContentId());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appContentLikeMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppContentLikeUpdateValidate updateValidate) {
|
||||||
|
AppContentLike model = appContentLikeMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentLike>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setContentId(updateValidate.getContentId());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appContentLikeMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppContentLike model = appContentLikeMapper.selectOne(
|
||||||
|
new QueryWrapper<AppContentLike>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
appContentLikeMapper.delete(new QueryWrapper<AppContentLike>().eq("id", id));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,162 @@
|
||||||
|
package com.mdd.front.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.mdd.front.validate.common.PageValidate;
|
||||||
|
import com.mdd.front.service.IAppSosCheckService;
|
||||||
|
import com.mdd.front.validate.AppSosCheckCreateValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckUpdateValidate;
|
||||||
|
import com.mdd.front.validate.AppSosCheckSearchValidate;
|
||||||
|
import com.mdd.front.vo.AppSosCheckListedVo;
|
||||||
|
import com.mdd.front.vo.AppSosCheckDetailVo;
|
||||||
|
import com.mdd.common.config.GlobalConfig;
|
||||||
|
import com.mdd.common.core.PageResult;
|
||||||
|
import com.mdd.common.entity.AppSosCheck;
|
||||||
|
import com.mdd.common.mapper.AppSosCheckMapper;
|
||||||
|
import com.mdd.common.util.ListUtils;
|
||||||
|
import com.mdd.common.util.TimeUtils;
|
||||||
|
import com.mdd.common.util.UrlUtils;
|
||||||
|
import org.springframework.beans.BeanUtils;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.Assert;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息实现类
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppSosCheckServiceImpl implements IAppSosCheckService {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
AppSosCheckMapper appSosCheckMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息列表
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param pageValidate 分页参数
|
||||||
|
* @param searchValidate 搜索参数
|
||||||
|
* @return PageResult<AppSosCheckListedVo>
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public PageResult<AppSosCheckListedVo> list(PageValidate pageValidate, AppSosCheckSearchValidate searchValidate) {
|
||||||
|
Integer page = pageValidate.getPageNo();
|
||||||
|
Integer limit = pageValidate.getPageSize();
|
||||||
|
|
||||||
|
QueryWrapper<AppSosCheck> queryWrapper = new QueryWrapper<>();
|
||||||
|
queryWrapper.orderByDesc("id");
|
||||||
|
|
||||||
|
appSosCheckMapper.setSearch(queryWrapper, searchValidate, new String[]{
|
||||||
|
"=:circleId@circle_id:int",
|
||||||
|
"=:contentId@content_id:int",
|
||||||
|
"=:userId@user_id:int",
|
||||||
|
"=:checkUser@check_user:int",
|
||||||
|
"=:isResult@is_result:int",
|
||||||
|
"=:useNum@use_num:int",
|
||||||
|
});
|
||||||
|
|
||||||
|
IPage<AppSosCheck> iPage = appSosCheckMapper.selectPage(new Page<>(page, limit), queryWrapper);
|
||||||
|
|
||||||
|
List<AppSosCheckListedVo> list = new LinkedList<>();
|
||||||
|
for(AppSosCheck item : iPage.getRecords()) {
|
||||||
|
AppSosCheckListedVo vo = new AppSosCheckListedVo();
|
||||||
|
BeanUtils.copyProperties(item, vo);
|
||||||
|
vo.setCreateTime(TimeUtils.timestampToDate(item.getCreateTime()));
|
||||||
|
vo.setUpdateTime(TimeUtils.timestampToDate(item.getUpdateTime()));
|
||||||
|
list.add(vo);
|
||||||
|
}
|
||||||
|
|
||||||
|
return PageResult.iPageHandle(iPage.getTotal(), iPage.getCurrent(), iPage.getSize(), list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息详情
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键参数
|
||||||
|
* @return AppSosCheck
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppSosCheckDetailVo detail(Integer id) {
|
||||||
|
AppSosCheck model = appSosCheckMapper.selectOne(
|
||||||
|
new QueryWrapper<AppSosCheck>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在");
|
||||||
|
|
||||||
|
AppSosCheckDetailVo vo = new AppSosCheckDetailVo();
|
||||||
|
BeanUtils.copyProperties(model, vo);
|
||||||
|
return vo;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息新增
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param createValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void add(AppSosCheckCreateValidate createValidate) {
|
||||||
|
AppSosCheck model = new AppSosCheck();
|
||||||
|
model.setCircleId(createValidate.getCircleId());
|
||||||
|
model.setContentId(createValidate.getContentId());
|
||||||
|
model.setUserId(createValidate.getUserId());
|
||||||
|
model.setCheckUser(createValidate.getCheckUser());
|
||||||
|
model.setIsResult(createValidate.getIsResult());
|
||||||
|
model.setUseNum(createValidate.getUseNum());
|
||||||
|
model.setCreateTime(System.currentTimeMillis() / 1000);
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appSosCheckMapper.insert(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息编辑
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param updateValidate 参数
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void edit(AppSosCheckUpdateValidate updateValidate) {
|
||||||
|
AppSosCheck model = appSosCheckMapper.selectOne(
|
||||||
|
new QueryWrapper<AppSosCheck>()
|
||||||
|
.eq("id", updateValidate.getId())
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
model.setId(updateValidate.getId());
|
||||||
|
model.setCircleId(updateValidate.getCircleId());
|
||||||
|
model.setContentId(updateValidate.getContentId());
|
||||||
|
model.setUserId(updateValidate.getUserId());
|
||||||
|
model.setCheckUser(updateValidate.getCheckUser());
|
||||||
|
model.setIsResult(updateValidate.getIsResult());
|
||||||
|
model.setUseNum(updateValidate.getUseNum());
|
||||||
|
model.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||||
|
appSosCheckMapper.updateById(model);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息删除
|
||||||
|
*
|
||||||
|
* @author LikeAdmin
|
||||||
|
* @param id 主键ID
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void del(Integer id) {
|
||||||
|
AppSosCheck model = appSosCheckMapper.selectOne(
|
||||||
|
new QueryWrapper<AppSosCheck>()
|
||||||
|
.eq("id", id)
|
||||||
|
.last("limit 1"));
|
||||||
|
|
||||||
|
Assert.notNull(model, "数据不存在!");
|
||||||
|
|
||||||
|
appSosCheckMapper.delete(new QueryWrapper<AppSosCheck>().eq("id", id));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户审核信息创建参数")
|
||||||
|
public class AppCircleCheckCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "checkUser参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核用户id")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "isCheck参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2失败")
|
||||||
|
private Integer isCheck;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户审核信息搜素参数")
|
||||||
|
public class AppCircleCheckSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核用户id")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2失败")
|
||||||
|
private Integer isCheck;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户审核信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户审核信息更新参数")
|
||||||
|
public class AppCircleCheckUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "checkUser参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核用户id")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "isCheck参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2失败")
|
||||||
|
private Integer isCheck;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,75 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容信息创建参数")
|
||||||
|
public class AppCircleContentCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "创建用户id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "content参数缺失")
|
||||||
|
@ApiModelProperty(value = "内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@NotNull(message = "imgUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "图片,多张用逗号分隔")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@NotNull(message = "videoUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "视频地址")
|
||||||
|
private String videoUrl;
|
||||||
|
|
||||||
|
@NotNull(message = "citeType参数缺失")
|
||||||
|
@ApiModelProperty(value = "引用类型1动态2圈子内容3心愿单")
|
||||||
|
private Integer citeType;
|
||||||
|
|
||||||
|
@NotNull(message = "citeId参数缺失")
|
||||||
|
@ApiModelProperty(value = "引用类型=1为动态id;=2为圈子内容id;=3为心愿单内容id")
|
||||||
|
private Integer citeId;
|
||||||
|
|
||||||
|
@NotNull(message = "isTop参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否置顶1是2否")
|
||||||
|
private Integer isTop;
|
||||||
|
|
||||||
|
@NotNull(message = "isShield参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否屏蔽1是2否")
|
||||||
|
private Integer isShield;
|
||||||
|
|
||||||
|
@NotNull(message = "isSos参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否开启sos1是2否")
|
||||||
|
private Integer isSos;
|
||||||
|
|
||||||
|
@NotNull(message = "isTj参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否推荐1是2否")
|
||||||
|
private Integer isTj;
|
||||||
|
|
||||||
|
@NotNull(message = "plateId参数缺失")
|
||||||
|
@ApiModelProperty(value = "板块id")
|
||||||
|
private Integer plateId;
|
||||||
|
|
||||||
|
@NotNull(message = "isOwner参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否圈主1是2否")
|
||||||
|
private Integer isOwner;
|
||||||
|
|
||||||
|
@NotNull(message = "isAdmin参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@NotNull(message = "address参数缺失")
|
||||||
|
@ApiModelProperty(value = "位置")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容信息搜素参数")
|
||||||
|
public class AppCircleContentSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建用户id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "图片,多张用逗号分隔")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "视频地址")
|
||||||
|
private String videoUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型1动态2圈子内容3心愿单")
|
||||||
|
private Integer citeType;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型=1为动态id;=2为圈子内容id;=3为心愿单内容id")
|
||||||
|
private Integer citeId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否置顶1是2否")
|
||||||
|
private Integer isTop;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否屏蔽1是2否")
|
||||||
|
private Integer isShield;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否开启sos1是2否")
|
||||||
|
private Integer isSos;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否推荐1是2否")
|
||||||
|
private Integer isTj;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块id")
|
||||||
|
private Integer plateId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否圈主1是2否")
|
||||||
|
private Integer isOwner;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "位置")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,84 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容信息更新参数")
|
||||||
|
public class AppCircleContentUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "创建用户id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "content参数缺失")
|
||||||
|
@ApiModelProperty(value = "内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@NotNull(message = "imgUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "图片,多张用逗号分隔")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@NotNull(message = "videoUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "视频地址")
|
||||||
|
private String videoUrl;
|
||||||
|
|
||||||
|
@NotNull(message = "citeType参数缺失")
|
||||||
|
@ApiModelProperty(value = "引用类型1动态2圈子内容3心愿单")
|
||||||
|
private Integer citeType;
|
||||||
|
|
||||||
|
@NotNull(message = "citeId参数缺失")
|
||||||
|
@ApiModelProperty(value = "引用类型=1为动态id;=2为圈子内容id;=3为心愿单内容id")
|
||||||
|
private Integer citeId;
|
||||||
|
|
||||||
|
@NotNull(message = "isTop参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否置顶1是2否")
|
||||||
|
private Integer isTop;
|
||||||
|
|
||||||
|
@NotNull(message = "isShield参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否屏蔽1是2否")
|
||||||
|
private Integer isShield;
|
||||||
|
|
||||||
|
@NotNull(message = "isSos参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否开启sos1是2否")
|
||||||
|
private Integer isSos;
|
||||||
|
|
||||||
|
@NotNull(message = "isTj参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否推荐1是2否")
|
||||||
|
private Integer isTj;
|
||||||
|
|
||||||
|
@NotNull(message = "plateId参数缺失")
|
||||||
|
@ApiModelProperty(value = "板块id")
|
||||||
|
private Integer plateId;
|
||||||
|
|
||||||
|
@NotNull(message = "isOwner参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否圈主1是2否")
|
||||||
|
private Integer isOwner;
|
||||||
|
|
||||||
|
@NotNull(message = "isAdmin参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@NotNull(message = "address参数缺失")
|
||||||
|
@ApiModelProperty(value = "位置")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子板块信息创建参数")
|
||||||
|
public class AppCirclePlateCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "name参数缺失")
|
||||||
|
@ApiModelProperty(value = "板块信息")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@NotNull(message = "sort参数缺失")
|
||||||
|
@ApiModelProperty(value = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子板块信息搜素参数")
|
||||||
|
public class AppCirclePlateSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块信息")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子板块信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子板块信息更新参数")
|
||||||
|
public class AppCirclePlateUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "name参数缺失")
|
||||||
|
@ApiModelProperty(value = "板块信息")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@NotNull(message = "sort参数缺失")
|
||||||
|
@ApiModelProperty(value = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,47 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户信息创建参数")
|
||||||
|
public class AppCircleUserCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "成员id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "circleName参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子昵称")
|
||||||
|
private String circleName;
|
||||||
|
|
||||||
|
@NotNull(message = "nickName参数缺失")
|
||||||
|
@ApiModelProperty(value = "本群昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
@NotNull(message = "isRemind参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否提醒1是2否")
|
||||||
|
private Integer isRemind;
|
||||||
|
|
||||||
|
@NotNull(message = "isAdmin参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@NotNull(message = "longitude参数缺失")
|
||||||
|
@ApiModelProperty(value = "经度")
|
||||||
|
private String longitude;
|
||||||
|
|
||||||
|
@NotNull(message = "latitude参数缺失")
|
||||||
|
@ApiModelProperty(value = "纬度")
|
||||||
|
private String latitude;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户信息搜素参数")
|
||||||
|
public class AppCircleUserSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "成员id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子昵称")
|
||||||
|
private String circleName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "本群昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否提醒1是2否")
|
||||||
|
private Integer isRemind;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "经度")
|
||||||
|
private String longitude;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "纬度")
|
||||||
|
private String latitude;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子用户信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户信息更新参数")
|
||||||
|
public class AppCircleUserUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "成员id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "circleName参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子昵称")
|
||||||
|
private String circleName;
|
||||||
|
|
||||||
|
@NotNull(message = "nickName参数缺失")
|
||||||
|
@ApiModelProperty(value = "本群昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
@NotNull(message = "isRemind参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否提醒1是2否")
|
||||||
|
private Integer isRemind;
|
||||||
|
|
||||||
|
@NotNull(message = "isAdmin参数缺失")
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@NotNull(message = "longitude参数缺失")
|
||||||
|
@ApiModelProperty(value = "经度")
|
||||||
|
private String longitude;
|
||||||
|
|
||||||
|
@NotNull(message = "latitude参数缺失")
|
||||||
|
@ApiModelProperty(value = "纬度")
|
||||||
|
private String latitude;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,35 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容评论信息创建参数")
|
||||||
|
public class AppContentCommentCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "评论用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "content参数缺失")
|
||||||
|
@ApiModelProperty(value = "评论内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@NotNull(message = "imgUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "评论图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容评论信息搜素参数")
|
||||||
|
public class AppContentCommentSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容评论信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容评论信息更新参数")
|
||||||
|
public class AppContentCommentUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "评论用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "content参数缺失")
|
||||||
|
@ApiModelProperty(value = "评论内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@NotNull(message = "imgUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "评论图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容礼物信息创建参数")
|
||||||
|
public class AppContentGiftCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "送礼用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "imgUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "礼物图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@NotNull(message = "name参数缺失")
|
||||||
|
@ApiModelProperty(value = "礼物说明")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@NotNull(message = "num参数缺失")
|
||||||
|
@ApiModelProperty(value = "礼物数量/价值")
|
||||||
|
private Integer num;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容礼物信息搜素参数")
|
||||||
|
public class AppContentGiftSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "送礼用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物说明")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物数量/价值")
|
||||||
|
private Integer num;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容礼物信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容礼物信息更新参数")
|
||||||
|
public class AppContentGiftUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "送礼用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "imgUrl参数缺失")
|
||||||
|
@ApiModelProperty(value = "礼物图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@NotNull(message = "name参数缺失")
|
||||||
|
@ApiModelProperty(value = "礼物说明")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@NotNull(message = "num参数缺失")
|
||||||
|
@ApiModelProperty(value = "礼物数量/价值")
|
||||||
|
private Integer num;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,27 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容点赞信息创建参数")
|
||||||
|
public class AppContentLikeCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容点赞信息搜素参数")
|
||||||
|
public class AppContentLikeSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容点赞信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容点赞信息更新参数")
|
||||||
|
public class AppContentLikeUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容sos审核信息创建参数")
|
||||||
|
public class AppSosCheckCreateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "发布用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "checkUser参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核结果")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@NotNull(message = "isResult参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2拒绝")
|
||||||
|
private Integer isResult;
|
||||||
|
|
||||||
|
@NotNull(message = "useNum参数缺失")
|
||||||
|
@ApiModelProperty(value = "消耗喜糖数量/价值")
|
||||||
|
private Integer useNum;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,32 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容sos审核信息搜素参数")
|
||||||
|
public class AppSosCheckSearchValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "发布用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2拒绝")
|
||||||
|
private Integer isResult;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "消耗喜糖数量/价值")
|
||||||
|
private Integer useNum;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,48 @@
|
||||||
|
package com.mdd.front.validate;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import javax.validation.constraints.*;
|
||||||
|
import com.mdd.common.validator.annotation.IDMust;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 圈子内容sos审核信息参数
|
||||||
|
* @author LikeAdmin
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容sos审核信息更新参数")
|
||||||
|
public class AppSosCheckUpdateValidate implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@IDMust(message = "id参数必传且需大于0")
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@NotNull(message = "circleId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@NotNull(message = "contentId参数缺失")
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@NotNull(message = "userId参数缺失")
|
||||||
|
@ApiModelProperty(value = "发布用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@NotNull(message = "checkUser参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核结果")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@NotNull(message = "isResult参数缺失")
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2拒绝")
|
||||||
|
private Integer isResult;
|
||||||
|
|
||||||
|
@NotNull(message = "useNum参数缺失")
|
||||||
|
@ApiModelProperty(value = "消耗喜糖数量/价值")
|
||||||
|
private Integer useNum;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户审核信息详情Vo")
|
||||||
|
public class AppCircleCheckDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核用户id")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2失败")
|
||||||
|
private Integer isCheck;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户审核信息列表Vo")
|
||||||
|
public class AppCircleCheckListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核用户id")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2失败")
|
||||||
|
private Integer isCheck;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容信息详情Vo")
|
||||||
|
public class AppCircleContentDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建用户id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "图片,多张用逗号分隔")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "视频地址")
|
||||||
|
private String videoUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型1动态2圈子内容3心愿单")
|
||||||
|
private Integer citeType;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型=1为动态id;=2为圈子内容id;=3为心愿单内容id")
|
||||||
|
private Integer citeId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否置顶1是2否")
|
||||||
|
private Integer isTop;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否屏蔽1是2否")
|
||||||
|
private Integer isShield;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否开启sos1是2否")
|
||||||
|
private Integer isSos;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否推荐1是2否")
|
||||||
|
private Integer isTj;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块id")
|
||||||
|
private Integer plateId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否圈主1是2否")
|
||||||
|
private Integer isOwner;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "位置")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,67 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容信息列表Vo")
|
||||||
|
public class AppCircleContentListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建用户id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "图片,多张用逗号分隔")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "视频地址")
|
||||||
|
private String videoUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型1动态2圈子内容3心愿单")
|
||||||
|
private Integer citeType;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "引用类型=1为动态id;=2为圈子内容id;=3为心愿单内容id")
|
||||||
|
private Integer citeId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否置顶1是2否")
|
||||||
|
private Integer isTop;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否屏蔽1是2否")
|
||||||
|
private Integer isShield;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否开启sos1是2否")
|
||||||
|
private Integer isSos;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否推荐1是2否")
|
||||||
|
private Integer isTj;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块id")
|
||||||
|
private Integer plateId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否圈主1是2否")
|
||||||
|
private Integer isOwner;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "位置")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子板块信息详情Vo")
|
||||||
|
public class AppCirclePlateDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块信息")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子板块信息列表Vo")
|
||||||
|
public class AppCirclePlateListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "板块信息")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "排序")
|
||||||
|
private Integer sort;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户信息详情Vo")
|
||||||
|
public class AppCircleUserDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "成员id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子昵称")
|
||||||
|
private String circleName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "本群昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否提醒1是2否")
|
||||||
|
private Integer isRemind;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "经度")
|
||||||
|
private String longitude;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "纬度")
|
||||||
|
private String latitude;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子用户信息列表Vo")
|
||||||
|
public class AppCircleUserListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "成员id")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子昵称")
|
||||||
|
private String circleName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "本群昵称")
|
||||||
|
private String nickName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否提醒1是2否")
|
||||||
|
private Integer isRemind;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "是否是管理员1是2否")
|
||||||
|
private Integer isAdmin;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "经度")
|
||||||
|
private String longitude;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "纬度")
|
||||||
|
private String latitude;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容评论信息详情Vo")
|
||||||
|
public class AppContentCommentDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论内容")
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容评论信息列表Vo")
|
||||||
|
public class AppContentCommentListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "评论图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容礼物信息详情Vo")
|
||||||
|
public class AppContentGiftDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "送礼用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物说明")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物数量/价值")
|
||||||
|
private Integer num;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容礼物信息列表Vo")
|
||||||
|
public class AppContentGiftListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "送礼用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物图片")
|
||||||
|
private String imgUrl;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物说明")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "礼物数量/价值")
|
||||||
|
private Integer num;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容点赞信息详情Vo")
|
||||||
|
public class AppContentLikeDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,34 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容点赞信息列表Vo")
|
||||||
|
public class AppContentLikeListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "点赞用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容sos审核信息详情Vo")
|
||||||
|
public class AppSosCheckDetailVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "发布用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2拒绝")
|
||||||
|
private Integer isResult;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "消耗喜糖数量/价值")
|
||||||
|
private Integer useNum;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,43 @@
|
||||||
|
package com.mdd.front.vo;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel("圈子内容sos审核信息列表Vo")
|
||||||
|
public class AppSosCheckListedVo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子id")
|
||||||
|
private Integer circleId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "圈子内容id")
|
||||||
|
private Integer contentId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "发布用户")
|
||||||
|
private Integer userId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果")
|
||||||
|
private Integer checkUser;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核结果0待审核1通过2拒绝")
|
||||||
|
private Integer isResult;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "消耗喜糖数量/价值")
|
||||||
|
private Integer useNum;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建时间")
|
||||||
|
private String createTime;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "更新时间")
|
||||||
|
private String updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -8,7 +8,7 @@ import com.github.yulichang.query.MPJQueryWrapper;
|
||||||
#if($table.genTpl.equals("crud"))
|
#if($table.genTpl.equals("crud"))
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import ${packageName}.front.validate.commons.PageValidate;
|
import ${packageName}.front.validate.common.PageValidate;
|
||||||
#end
|
#end
|
||||||
import ${packageName}.front.service.I${EntityName}Service;
|
import ${packageName}.front.service.I${EntityName}Service;
|
||||||
import ${packageName}.front.validate.${EntityName}CreateValidate;
|
import ${packageName}.front.validate.${EntityName}CreateValidate;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue