4 changed files with 55 additions and 5 deletions
@ -0,0 +1,47 @@ |
|||||
|
package com.elink.esua.epdc.controller; |
||||
|
|
||||
|
import com.elink.esua.epdc.commons.tools.page.PageData; |
||||
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
||||
|
import com.elink.esua.epdc.dto.house.result.HouseSaleRentInfoListResultDTO; |
||||
|
import com.elink.esua.epdc.feign.CustomFeignClient; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.Map; |
||||
|
|
||||
|
@RestController |
||||
|
@RequestMapping("work/custom/housesalerentinfo") |
||||
|
public class ApiCustomHouseSaleRentInfoWorkController { |
||||
|
|
||||
|
@Autowired |
||||
|
private CustomFeignClient customFeignClient; |
||||
|
|
||||
|
/** |
||||
|
* @description: 审核列表 |
||||
|
* @param pageNum: |
||||
|
* @param pageSize: |
||||
|
* @param auditStatus: |
||||
|
* @return |
||||
|
* @author: WangXianZhang |
||||
|
* @date: 2023/5/5 4:45 PM |
||||
|
*/ |
||||
|
@GetMapping("list2audit") |
||||
|
public Result<PageData<HouseSaleRentInfoListResultDTO>> list2audit(@RequestParam("pageNum") Integer pageNum, |
||||
|
@RequestParam("pageSize") Integer pageSize, |
||||
|
@RequestParam(value = "auditStatus", required = false) Integer auditStatus) { |
||||
|
|
||||
|
return customFeignClient.list2audit(pageNum, pageSize, auditStatus); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* @description: 提交审核结果 |
||||
|
* @param form: |
||||
|
* @return |
||||
|
* @author: WangXianZhang |
||||
|
* @date: 2023/5/5 4:58 PM |
||||
|
*/ |
||||
|
@PostMapping("audit") |
||||
|
public Result audit(@RequestBody Map<String, Object> form) { |
||||
|
return customFeignClient.audit(form); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue