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)
|
||||
.select(OrderInfo::getOrderNo);
|
||||
if (StrUtil.isNotBlank(type)) {
|
||||
String[] split = type.split(",");
|
||||
if (split.length != 0) {
|
||||
queryWrapper.in(MkDistributionAmountFlow::getType, split);
|
||||
}else {
|
||||
queryWrapper.eq(MkDistributionAmountFlow::getType, type);
|
||||
}
|
||||
}
|
||||
if (StrUtil.isNotBlank(key)) {
|
||||
queryWrapper.and(and -> {
|
||||
|
||||
@@ -69,6 +69,8 @@ public class TbMemberConfigServiceImpl extends ServiceImpl<TbMemberConfigMapper,
|
||||
private MkShopCouponRecordService shopCouponRecordService;
|
||||
@DubboReference
|
||||
private ShopInfoService shopInfoService;
|
||||
@DubboReference
|
||||
private ShopConfigService shopConfigService;
|
||||
|
||||
@Override
|
||||
public MemberConfigVO detail(Long shopId) {
|
||||
@@ -189,6 +191,11 @@ public class TbMemberConfigServiceImpl extends ServiceImpl<TbMemberConfigMapper,
|
||||
if (memberDTO.getMemberPriceShopIdList() != null && !memberDTO.getMemberPriceShopIdList().isEmpty()) {
|
||||
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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user