| | |
| | | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiIndexInfoVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiSnapshotClassifyVO; |
| | | import com.panzhihua.common.model.vos.jinhui.JinhuiSnapshotVO; |
| | | import com.panzhihua.common.model.vos.jinhui.*; |
| | | import com.panzhihua.service_jinhui_community.entity.JinhuiSnapshot; |
| | | import com.panzhihua.service_jinhui_community.entity.JinhuiSnapshotClassify; |
| | | import com.panzhihua.service_jinhui_community.service.JinhuiLargeScreenService; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 金汇大屏api |
| | |
| | | return R.ok(jinhuiIndexInfoVO); |
| | | } |
| | | |
| | | /** |
| | | * 金汇大屏社区服务 |
| | | * @return |
| | | */ |
| | | @GetMapping("/getCommunityServices") |
| | | public R getCommunityServices() |
| | | { |
| | | //志愿者 党员 |
| | | JinhuiCommunityServicesVO vo=screenService.baseInfo(getCommunityId()+""); |
| | | List<JinhuiMerchantTypeVO> list=screenService.getMerchantTypeNum(); |
| | | /** |
| | | * 便民服务商家 审核状态 (1待审核 2已通过 3未通过 ) |
| | | * @return |
| | | */ |
| | | String ConvenientMerchantsNum=screenService.getConvenientMerchantsNum(null); |
| | | |
| | | /** |
| | | * 办事直指南 |
| | | * @return |
| | | */ |
| | | String WorkGuideNum=screenService.getWorkGuideNum(); |
| | | |
| | | /** |
| | | * 空间预约 `state` 状态(1待处理 2未通过 3已通过)', |
| | | * @return |
| | | */ |
| | | String InterspaceApplyNum=screenService.getInterspaceApplyNum(null); |
| | | |
| | | |
| | | /** |
| | | * 商城订单 |
| | | * @param cancelType `cancel_type` '核销状态(0待核销 1已核销 2订单已取消) |
| | | * @return |
| | | */ |
| | | String ShoppingOrderNum=screenService.getShoppingOrderNum(null); |
| | | |
| | | /** |
| | | * 获取社区工作者 |
| | | * @param communityId `type` '1社区工作人员2物业', |
| | | * @return |
| | | */ |
| | | String ServiceTeam=screenService.getServiceTeam(getCommunityId()+"",null); |
| | | |
| | | vo.setWorkGuideNum(WorkGuideNum); |
| | | vo.setShoppingOrderNum(ShoppingOrderNum); |
| | | vo.setInterspaceApplyNum(InterspaceApplyNum); |
| | | vo.setConvenientMerchantsNum(ConvenientMerchantsNum); |
| | | vo.setServiceTeam(ServiceTeam); |
| | | vo.setList(list); |
| | | |
| | | return R.ok(vo); |
| | | } |
| | | |
| | | |
| | | } |