Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -42,7 +42,12 @@ public class MkDistributionAmountFlowServiceImpl extends ServiceImpl<MkDistribut
|
|||||||
.ge(MkDistributionAmountFlow::getCreateTime, startTime)
|
.ge(MkDistributionAmountFlow::getCreateTime, startTime)
|
||||||
.select(OrderInfo::getOrderNo);
|
.select(OrderInfo::getOrderNo);
|
||||||
if (StrUtil.isNotBlank(type)) {
|
if (StrUtil.isNotBlank(type)) {
|
||||||
|
String[] split = type.split(",");
|
||||||
|
if (split.length != 0) {
|
||||||
|
queryWrapper.in(MkDistributionAmountFlow::getType, split);
|
||||||
|
}else {
|
||||||
queryWrapper.eq(MkDistributionAmountFlow::getType, type);
|
queryWrapper.eq(MkDistributionAmountFlow::getType, type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (StrUtil.isNotBlank(key)) {
|
if (StrUtil.isNotBlank(key)) {
|
||||||
queryWrapper.and(and -> {
|
queryWrapper.and(and -> {
|
||||||
|
|||||||
@@ -69,6 +69,8 @@ public class TbMemberConfigServiceImpl extends ServiceImpl<TbMemberConfigMapper,
|
|||||||
private MkShopCouponRecordService shopCouponRecordService;
|
private MkShopCouponRecordService shopCouponRecordService;
|
||||||
@DubboReference
|
@DubboReference
|
||||||
private ShopInfoService shopInfoService;
|
private ShopInfoService shopInfoService;
|
||||||
|
@DubboReference
|
||||||
|
private ShopConfigService shopConfigService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public MemberConfigVO detail(Long shopId) {
|
public MemberConfigVO detail(Long shopId) {
|
||||||
@@ -189,6 +191,11 @@ public class TbMemberConfigServiceImpl extends ServiceImpl<TbMemberConfigMapper,
|
|||||||
if (memberDTO.getMemberPriceShopIdList() != null && !memberDTO.getMemberPriceShopIdList().isEmpty()) {
|
if (memberDTO.getMemberPriceShopIdList() != null && !memberDTO.getMemberPriceShopIdList().isEmpty()) {
|
||||||
memberConfig.setMemberPriceShopIdList(JSONObject.toJSONString(memberDTO.getMemberPriceShopIdList()));
|
memberConfig.setMemberPriceShopIdList(JSONObject.toJSONString(memberDTO.getMemberPriceShopIdList()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
shopConfigService.editStatusByShopIdList(memberConfig.getShopId(), memberConfig.getIsOpen().intValue(),false, "is_account_ay",
|
||||||
|
"ALL".equals(memberConfig.getMemberPriceShopType()) ? "all" : "part",
|
||||||
|
StrUtil.isNotBlank(memberConfig.getMemberPriceShopIdList()) ? JSONArray.parseArray(memberConfig.getMemberPriceShopIdList()).toList(Long.class) : new ArrayList<>());
|
||||||
|
|
||||||
return updateById(memberConfig, false);
|
return updateById(memberConfig, false);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user