|
|
@ -27,6 +27,7 @@ import com.epmet.service.IcNatCompareRecordService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
|
import org.apache.commons.io.IOUtils; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.http.HttpHeaders; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
@ -61,6 +62,7 @@ public class IcNatCompareRecordController implements ResultDataResolver { |
|
|
|
|
|
|
|
/** |
|
|
|
* 未做核酸比对-分页查询 |
|
|
|
* http://yapi.elinkservice.cn/project/245/interface/api/8129
|
|
|
|
* @param tokenDto |
|
|
|
* @param formDTO |
|
|
|
* @return |
|
|
@ -68,6 +70,9 @@ public class IcNatCompareRecordController implements ResultDataResolver { |
|
|
|
@RequestMapping("page") |
|
|
|
@MaskResponse(fieldNames = { "mobile", "idCard" }, fieldsMaskType = { MaskResponse.MASK_TYPE_MOBILE, MaskResponse.MASK_TYPE_ID_CARD }) |
|
|
|
public Result<PageData<IcNatCompareRecordDTO>> page(@LoginUser TokenDto tokenDto, @RequestBody IcNatCompareRecordPageFormDTO formDTO){ |
|
|
|
if (StringUtils.isNotBlank(formDTO.getNatDate()) && StringUtils.isBlank(formDTO.getNatStatus())) { |
|
|
|
formDTO.setNatStatus(NumConstant.ONE_STR); |
|
|
|
} |
|
|
|
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
formDTO.setUserId(tokenDto.getUserId()); |
|
|
|
PageData<IcNatCompareRecordDTO> page = icNatCompareRecordService.page(formDTO); |
|
|
|