|
|
@ -20,10 +20,7 @@ import com.epmet.dto.result.CollectListResultDTO; |
|
|
|
import com.epmet.dto.result.LatestCollectResDTO; |
|
|
|
import com.epmet.service.IcResiCollectService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.util.ArrayList; |
|
|
@ -81,6 +78,19 @@ public class IcResiCollectController { |
|
|
|
return new Result<PageData<CollectListResultDTO>>().ok(icResiCollectService.getCollectList(formDTO)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 信息采集-详情 |
|
|
|
* @param formDTO |
|
|
|
* @param tokenDto |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@PostMapping("detail") |
|
|
|
public Result<CollectListResultDTO> detail(@RequestBody CollectListFormDTO formDTO, @LoginUser TokenDto tokenDto) { |
|
|
|
formDTO.setUserId(tokenDto.getUserId()); |
|
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
return new Result<CollectListResultDTO>().ok(icResiCollectService.detail(formDTO)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Desc: 查询采集居民信息 |
|
|
|
* @param formDTO |
|
|
|