l
chenfeng 6 months ago
parent 1de8a503fe
commit 9a819f7a25
  1. 1
      src/main/java/com/cjy/back/ybsjAppointment/dao/YbsjyAppointmentRecordMapper.xml
  2. 10
      src/main/java/com/cjy/back/ybsjAppointment/entity/vo/AppointmentTeamData.java
  3. 9
      src/main/java/com/cjy/back/ybsjAppointment/entity/vo/SynchronousDataVO.java
  4. 2
      src/main/java/com/cjy/back/ybsjAppointment/service/impl/YbsjyAppointmentSettingServiceImpl.java

@ -593,5 +593,6 @@
select start_time,end_time select start_time,end_time
from ybsj_appointment_time_info from ybsj_appointment_time_info
where id =#{id} where id =#{id}
and del_flag = 0;
</select> </select>
</mapper> </mapper>

@ -69,6 +69,16 @@ public class AppointmentTeamData
*/ */
private String appointmentNumber; private String appointmentNumber;
private String visitTypes;
public String getVisitTypes() {
return visitTypes;
}
public void setVisitTypes(String visitTypes) {
this.visitTypes = visitTypes;
}
public String getReservationCode() { public String getReservationCode() {
return reservationCode; return reservationCode;
} }

@ -90,6 +90,15 @@ public class SynchronousDataVO {
private Long organCode; private Long organCode;
private Long appointmentPeopleId; private Long appointmentPeopleId;
private String externalId; private String externalId;
private String visitTypes;
public String getVisitTypes() {
return visitTypes;
}
public void setVisitTypes(String visitTypes) {
this.visitTypes = visitTypes;
}
public Long getAppointmentPeopleId() { public Long getAppointmentPeopleId() {
return appointmentPeopleId; return appointmentPeopleId;

@ -439,6 +439,7 @@ public class YbsjyAppointmentSettingServiceImpl implements YbsjyAppointmentSetti
if (!person.getPhone().isEmpty()) { if (!person.getPhone().isEmpty()) {
syncData.setAppointmentPeoplePhone(Encryption.encrypt(person.getPhone(), rule)); syncData.setAppointmentPeoplePhone(Encryption.encrypt(person.getPhone(), rule));
} }
syncData.setVisitTypes(ybsjyAppointmentSettingMapper.getVsitingPlace(vo.getVisitTypes()).get("visitingPlace").toString());
syncData.setCertificateType(person.getDocumentsType() + ""); syncData.setCertificateType(person.getDocumentsType() + "");
syncData.setDocumentsNumber(person.getDocumentsNumber()); syncData.setDocumentsNumber(person.getDocumentsNumber());
syncData.setState("0"); syncData.setState("0");
@ -563,6 +564,7 @@ public class YbsjyAppointmentSettingServiceImpl implements YbsjyAppointmentSetti
appointmentTeamData.setAppointmentPeoplePhone(Encryption.decrypt(reservationNowVO.getAppointmentPersonList().get(0).getPhone(), rule)); appointmentTeamData.setAppointmentPeoplePhone(Encryption.decrypt(reservationNowVO.getAppointmentPersonList().get(0).getPhone(), rule));
appointmentTeamData.setAppointmentNumber(appointmentFormVO.getAppointmentNumber()); appointmentTeamData.setAppointmentNumber(appointmentFormVO.getAppointmentNumber());
appointmentTeamData.setReservationCode(reservationNowVO.getAppointmentPersonList().get(0).getReservationCode()); appointmentTeamData.setReservationCode(reservationNowVO.getAppointmentPersonList().get(0).getReservationCode());
appointmentTeamData.setVisitTypes(ybsjyAppointmentSettingMapper.getVsitingPlace(reservationNowVO.getVisitTypes()).get("visitingPlace").toString());
//预约人数 //预约人数
appointmentTeamData.setAppointmentPeopleCount(String.valueOf(reservationNowVO.getSubmissionType() == 1 ? reservationNowVO.getAppointmentPersonList().size() appointmentTeamData.setAppointmentPeopleCount(String.valueOf(reservationNowVO.getSubmissionType() == 1 ? reservationNowVO.getAppointmentPersonList().size()
: reservationNowVO.getAppointmentCount())); : reservationNowVO.getAppointmentCount()));

Loading…
Cancel
Save