Commit dc76cee6 by 王世昌

删除拼团查询查询

parent e924b95c
......@@ -2123,16 +2123,9 @@ public class OrderServiceImpl implements Orderservice {
return ResponseUtil.error(ResponseResult.ORDER__ERRORREFUND.getCode(), "还未发货,请选择只退款不退货");
}
// 拼团类型
if (Objects.equals(OrderMarketType.GROUPB.getIndex(),orderBean.getMarketingType())) {
if(StringUtils.isBlank(orderBean.getSpellGroupCode()) || StringUtils.isBlank(orderBean.getSpellGroupActivityCode())){
return ResponseUtil.error(ResponseResult.SPELL_GROUP_QUERY_GROUP_WORK_ERROR);
}
// 查询团信息
QuerySpellGroupVo querySpellGroupVo = spellGroupOrderDataManager.queryByGroupId(orderBean.getSpellGroupCode(),orderBean.getUserId(),
orderBean.getSpellGroupActivityCode(),orderBean.getCompanyId());
if(querySpellGroupVo == null ){
return ResponseUtil.error(ResponseResult.SPELL_GROUP_QUERY_GROUP_WORK_ERROR);
}
if (Objects.equals(OrderMarketType.GROUPB.getIndex(), orderBean.getMarketingType())
&& (StringUtils.isBlank(orderBean.getSpellGroupCode()) || StringUtils.isBlank(orderBean.getSpellGroupActivityCode()))) {
return ResponseUtil.error(ResponseResult.SPELL_GROUP_QUERY_GROUP_WORK_ERROR);
}
}
// todo 这里直接拒绝?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment