lidongdong
2023-09-19 73b3bcb87a7dbd5bae6dc5d6a40aa7929cb7c444
springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionReportApi.java
File was renamed from springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huachengunion_applets/api/UnionReportApi.java
@@ -1,9 +1,10 @@
package com.chuangongzhijia.huachengunion_applets.api;
package com.chuangongzhijia.huacheng_union_applets.api;
import com.panzhihua.common.model.dtos.equipment.UnionReportDto;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.service.community.CommunityUnionService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -27,6 +28,7 @@
     * @param unionReportDto
     * @return 新增结果
     */
    @ApiOperation(value = "户外劳工站上报表")
    @PostMapping("/add")
    public R add(@RequestBody UnionReportDto unionReportDto) {
        return  communityUnionService.unionReportAdd(unionReportDto);
@@ -39,6 +41,7 @@
     * @param unionReportDto
     * @return 动态结果
     */
    @ApiOperation(value = "分页户外劳工站上报表")
    @PostMapping("/query")
    public R query(@RequestBody UnionReportDto unionReportDto) {
        return communityUnionService.unionReportQuery(unionReportDto);