长庆项目day3
This commit is contained in:
parent
3eb5581fa9
commit
e6aa88d552
|
@ -30,7 +30,7 @@ public class CqEnterController {
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("list")
|
@GetMapping("list")
|
||||||
public R find(String operator, String cellId){
|
public R find(String operator, long cellId){
|
||||||
System.out.println("cellId = " + cellId);
|
System.out.println("cellId = " + cellId);
|
||||||
|
|
||||||
List<FTo> fTo = cqEnterMapper.classifiedQuery(cellId);
|
List<FTo> fTo = cqEnterMapper.classifiedQuery(cellId);
|
||||||
|
@ -40,7 +40,7 @@ public class CqEnterController {
|
||||||
|
|
||||||
for (FTo f : fTo) {
|
for (FTo f : fTo) {
|
||||||
FirstVo firstVo = new FirstVo();
|
FirstVo firstVo = new FirstVo();
|
||||||
firstVo.setOrgId(f.getCellId());
|
firstVo.setCellId(f.getCellId());
|
||||||
firstVo.setUnitName(safeVideoMapper.findTheNameById(f.getCellId()));
|
firstVo.setUnitName(safeVideoMapper.findTheNameById(f.getCellId()));
|
||||||
firstVo.setPerson(operator);
|
firstVo.setPerson(operator);
|
||||||
firstVo.setConfigurationTime(f.getOperateTime());
|
firstVo.setConfigurationTime(f.getOperateTime());
|
||||||
|
|
|
@ -11,7 +11,7 @@ import java.util.Date;
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public class FTo {
|
public class FTo {
|
||||||
|
|
||||||
private String cellId;
|
private long cellId;
|
||||||
private Date operateTime;
|
private Date operateTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ import java.util.Date;
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
public class FirstVo {
|
public class FirstVo {
|
||||||
private String orgId;
|
private long cellId;
|
||||||
private String unitName;
|
private String unitName;
|
||||||
private String person;
|
private String person;
|
||||||
private Date configurationTime;
|
private Date configurationTime;
|
||||||
|
|
|
@ -14,7 +14,7 @@ import java.util.List;
|
||||||
public interface CqEnterMapper extends BaseMapper<TenEnterConfigEntity> {
|
public interface CqEnterMapper extends BaseMapper<TenEnterConfigEntity> {
|
||||||
|
|
||||||
|
|
||||||
List<FTo> classifiedQuery(@Param("cellId")String cellId);
|
List<FTo> classifiedQuery(@Param("cellId")long cellId);
|
||||||
|
|
||||||
List<PeronType> getPersonType();
|
List<PeronType> getPersonType();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue