bug--代码规范优化
This commit is contained in:
@ -36,6 +36,7 @@ public interface YxStoreCombinationMapper extends CoreMapper<YxStoreCombination>
|
||||
" AND c.stop_time > now() ORDER BY c.sort desc,c.id desc")
|
||||
List<YxStoreCombinationQueryVo> getCombList(Page page);
|
||||
|
||||
@Override
|
||||
IPage<YxStoreCombination> selectPage(IPage<YxStoreCombination> page, @Param("ew") Wrapper<YxStoreCombination> queryWrapper);
|
||||
|
||||
@Select("SELECT c.id,c.effective_time as effectiveTime,c.image,c.people,c.price,c.browse," +
|
||||
|
@ -129,7 +129,9 @@ public class YxStoreOrderQueryVo implements Serializable {
|
||||
private String deliveryType;
|
||||
|
||||
public String getDeliveryType() {
|
||||
if(StrUtil.isBlank(deliveryType)) return "express";
|
||||
if(StrUtil.isBlank(deliveryType)) {
|
||||
return "express";
|
||||
}
|
||||
return deliveryType;
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,9 @@ public class YxStoreProductReplyServiceImpl extends BaseServiceImpl<StoreProduct
|
||||
public ReplyCountVo getReplyCount(long productId) {
|
||||
int sumCount = productReplyCount(productId);
|
||||
|
||||
if(sumCount == 0) return new ReplyCountVo();
|
||||
if(sumCount == 0) {
|
||||
return new ReplyCountVo();
|
||||
}
|
||||
|
||||
//好评
|
||||
int goodCount = this.baseMapper.selectCount(Wrappers.<YxStoreProductReply>lambdaQuery()
|
||||
|
Reference in New Issue
Block a user