Commit 196497a7 authored by zhangzhenbang's avatar zhangzhenbang

单独实名认证

parent 7258e874
...@@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -22,6 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
...@@ -114,7 +115,7 @@ public class IdentityInfoController { ...@@ -114,7 +115,7 @@ public class IdentityInfoController {
public List<ReservationsDisplayDTO> selectReservatinsByIdentityId(@RequestBody IdentityInformation info) { public List<ReservationsDisplayDTO> selectReservatinsByIdentityId(@RequestBody IdentityInformation info) {
if (identityInformationService.selectReservationByIdentityId(info).size()==0) { if (identityInformationService.selectReservationByIdentityId(info).size()==0) {
return null; return new ArrayList<>();
} }
return identityInformationService.selectReservatinsByIdentityId(info); return identityInformationService.selectReservatinsByIdentityId(info);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment