File was renamed from springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huachengunion_applets/api/UnionOutdoorLaborDynamicApi.java |
| | |
| | | package com.chuangongzhijia.huachengunion_applets.api; |
| | | package com.chuangongzhijia.huacheng_union_applets.api; |
| | | |
| | | import com.panzhihua.common.model.dtos.equipment.UnionOutdoorLaborDynamicDto; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngStructAreaDistrictVO; |
| | | import com.panzhihua.common.service.community.CommunityService; |
| | | import com.panzhihua.common.service.community.CommunityUnionService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @Resource |
| | | private CommunityUnionService communityUnionService; |
| | | |
| | | @Resource |
| | | private CommunityService communityService; |
| | | |
| | | /** |
| | | * 分页总工会-户外劳工站-动态 |
| | | * |
| | | * @param unionOutdoorLaborDynamicDto |
| | | * @return 动态结果 |
| | | */ |
| | | @ApiOperation(value = "分页总工会-户外劳工站-动态") |
| | | @PostMapping("/page") |
| | | R query(@RequestBody UnionOutdoorLaborDynamicDto unionOutdoorLaborDynamicDto) { |
| | | return communityUnionService.unionOutdoorLaborDynamicQuery(unionOutdoorLaborDynamicDto); |
| | |
| | | * 动态 id |
| | | * @return 查找结果 |
| | | */ |
| | | @ApiOperation(value = "分页总工会-户外劳工站-动态") |
| | | @GetMapping("/{id}") |
| | | R unionOutdoorLaborDynamicDetail(@PathVariable("id") Long id) { |
| | | return communityUnionService.unionOutdoorLaborDynamicDetail(id); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "所在地地址下拉列表(攀枝花)", response = ComMngStructAreaDistrictVO.class) |
| | | @PostMapping("listarea") |
| | | public R listArea() { |
| | | Long cityAdcode = 510400l; |
| | | return communityService.listAreaDistrict(cityAdcode); |
| | | } |
| | | |
| | | } |