长庆项目day3

This commit is contained in:
ovo 2024-10-19 20:42:08 +08:00
parent 3eb5581fa9
commit e6aa88d552
4 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ public class CqEnterController {
@GetMapping("list")
public R find(String operator, String cellId){
public R find(String operator, long cellId){
System.out.println("cellId = " + cellId);
List<FTo> fTo = cqEnterMapper.classifiedQuery(cellId);
@ -40,7 +40,7 @@ public class CqEnterController {
for (FTo f : fTo) {
FirstVo firstVo = new FirstVo();
firstVo.setOrgId(f.getCellId());
firstVo.setCellId(f.getCellId());
firstVo.setUnitName(safeVideoMapper.findTheNameById(f.getCellId()));
firstVo.setPerson(operator);
firstVo.setConfigurationTime(f.getOperateTime());

View File

@ -11,7 +11,7 @@ import java.util.Date;
@NoArgsConstructor
public class FTo {
private String cellId;
private long cellId;
private Date operateTime;
}

View File

@ -10,7 +10,7 @@ import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
public class FirstVo {
private String orgId;
private long cellId;
private String unitName;
private String person;
private Date configurationTime;

View File

@ -14,7 +14,7 @@ import java.util.List;
public interface CqEnterMapper extends BaseMapper<TenEnterConfigEntity> {
List<FTo> classifiedQuery(@Param("cellId")String cellId);
List<FTo> classifiedQuery(@Param("cellId")long cellId);
List<PeronType> getPersonType();