yshop3.0正式发布

This commit is contained in:
hupeng
2020-07-14 16:05:21 +08:00
parent 27ceaf8969
commit ff162d34c0
28 changed files with 78 additions and 46 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>yshop</artifactId>
<groupId>co.yixiang</groupId>
<version>3.0-RC2</version>
<version>3.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -16,7 +16,7 @@
<dependency>
<groupId>co.yixiang</groupId>
<artifactId>yshop-tools</artifactId>
<version>3.0-RC2</version>
<version>3.0</version>
</dependency>
</dependencies>

View File

@ -28,6 +28,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
@ -43,16 +44,17 @@ import java.util.*;
* @date 2020-05-13
*/
@Service
@AllArgsConstructor
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class YxStoreSeckillServiceImpl extends BaseServiceImpl<YxStoreSeckillMapper, YxStoreSeckill> implements YxStoreSeckillService {
private final IGenerator generator;
@Autowired
private IGenerator generator;
private final YxStoreSeckillMapper yxStoreSeckillMapper;
@Autowired
private YxStoreSeckillMapper yxStoreSeckillMapper;
private final YxStoreProductReplyService replyService;
@Autowired
private YxStoreProductReplyService replyService;
/**

View File

@ -35,6 +35,11 @@ public interface YxStoreProductReplyService extends BaseService<YxStoreProductR
*/
ReplyCountVo getReplyCount(long productId);
/**
* 处理评价
* @param replyQueryVo replyQueryVo
* @return YxStoreProductReplyQueryVo
*/
YxStoreProductReplyQueryVo handleReply(YxStoreProductReplyQueryVo replyQueryVo);
/**

View File

@ -109,8 +109,8 @@ public class YxStoreProductReplyServiceImpl extends BaseServiceImpl<StoreProduct
/**
* 处理评价
* @param replyQueryVo
* @return
* @param replyQueryVo replyQueryVo
* @return YxStoreProductReplyQueryVo
*/
@Override
public YxStoreProductReplyQueryVo handleReply(YxStoreProductReplyQueryVo replyQueryVo) {

View File

@ -1,33 +0,0 @@
package co.yixiang.modules.user.param;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
* @ClassName RechargeParam
* @Author hupeng <610796224@qq.com>
* @Date 2019/12/8
**/
@Data
public class RechargeParam implements Serializable {
@NotBlank(message = "充值参数有误")
@JsonProperty(value = "rechar_id")
private String recharId;
private String from;
@NotNull(message = "金额必填")
@Min(value = 1,message = "充值金额不能低于1")
private Double price;
@JsonProperty(value = "paid_price")
private Double paidPrice;
private String orderSn;
}

View File

@ -81,8 +81,7 @@ public class YxUserServiceImpl extends BaseServiceImpl<UserMapper, YxUser> imple
@Autowired
private UserBillMapper userBillMapper;
@Autowired
private YxUserBillService yxUserBillService;
@Autowired
private YxSystemUserLevelService systemUserLevelService;
@Autowired