|
|
|
@@ -232,7 +232,11 @@ public class WxOrderGroupServiceImpl implements WxOrderGroupService { |
|
|
|
order.setCUserId(wxOrderGroup.getUserId()); |
|
|
|
order.setOrderGroupId(wxOrderGroup.getId()); |
|
|
|
int count = wxOrderMapper.selectCount(order); |
|
|
|
return new ResultData(count > 0 ? true : false); |
|
|
|
WxOrderGroup group = wxOrderGroupMapper.selectByPrimaryKey(wxOrderGroup.getId()); |
|
|
|
Map<String, Object> result = new HashMap<>(2); |
|
|
|
result.put("attend", count > 0 ? true : false); |
|
|
|
result.put("status", group.getStatus()); |
|
|
|
return new ResultData(result); |
|
|
|
} |
|
|
|
|
|
|
|
public void updateGroupStatus(WxOrderGroup wxOrderGroup) { |
|
|
|
|