长庆项目day3
This commit is contained in:
parent
3eb5581fa9
commit
e6aa88d552
|
@ -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());
|
||||
|
|
|
@ -11,7 +11,7 @@ import java.util.Date;
|
|||
@NoArgsConstructor
|
||||
public class FTo {
|
||||
|
||||
private String cellId;
|
||||
private long cellId;
|
||||
private Date operateTime;
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue