Browse Source

fit:1、督察任务发布后端v2(重点人员督察)优化

master
pengwei 5 months ago
parent
commit
8457306188
  1. 2
      src/main/java/com/biutag/supervision/pojo/dto/SupRiskPersonalSupRecordDto.java
  2. 2
      src/main/java/com/biutag/supervision/pojo/param/SupRiskPersonalSupRecordQueryParam.java
  3. 1
      src/main/java/com/biutag/supervision/service/SupRiskPersonalService.java

2
src/main/java/com/biutag/supervision/pojo/dto/SupRiskPersonalSupRecordDto.java

@ -36,6 +36,6 @@ public class SupRiskPersonalSupRecordDto {
// 检测照片
private List<FileVo> Files = new ArrayList<>();
private List<FileVo> files = new ArrayList<>();
}

2
src/main/java/com/biutag/supervision/pojo/param/SupRiskPersonalSupRecordQueryParam.java

@ -6,6 +6,6 @@ import lombok.Setter;
@Getter
@Setter
public class SupRiskPersonalSupRecordQueryParam extends BasePage {
private String idCode;
}

1
src/main/java/com/biutag/supervision/service/SupRiskPersonalService.java

@ -75,6 +75,7 @@ public class SupRiskPersonalService extends ServiceImpl<SupRiskPersonalMapper, S
* */
public Page<SupRiskPersonalSupRecordVo> recordPage(SupRiskPersonalSupRecordQueryParam queryParam){
QueryWrapper<SupRiskPersonalSupRecord> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("t.id_code",queryParam.getIdCode());
Page<SupRiskPersonalSupRecordVo> page = supRiskPersonalSupRecordMapper.queryPage(Page.of(queryParam.getCurrent(), queryParam.getSize()), queryWrapper);
page.getRecords().forEach(item -> {

Loading…
Cancel
Save