Browse Source

预约修改

dev_shibei_match
zxc 4 years ago
parent
commit
11f07950d1
  1. 10
      epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AppointmentFormDTO.java
  2. 9
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcPartyServiceCenterServiceImpl.java

10
epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AppointmentFormDTO.java

@ -51,4 +51,14 @@ public class AppointmentFormDTO implements Serializable {
* 备注 * 备注
*/ */
private String remark; private String remark;
/**
* 组织ID
*/
private String orgId;
/**
* 组织类型grid网格agency组织
*/
private String orgType;
} }

9
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcPartyServiceCenterServiceImpl.java

@ -300,8 +300,13 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ
} }
IcMatterAppointmentRecordEntity e = ConvertUtils.sourceToTarget(formDTO, IcMatterAppointmentRecordEntity.class); IcMatterAppointmentRecordEntity e = ConvertUtils.sourceToTarget(formDTO, IcMatterAppointmentRecordEntity.class);
e.setCustomerId(customerId); e.setCustomerId(customerId);
e.setOrgId(staffInfo.getAgencyId()); if (StringUtils.isNotBlank(formDTO.getOrgId())){
e.setOrgType(PartyServiceCenterConstant.ORG_TYPE_AGENCY); e.setOrgId(formDTO.getOrgId());
e.setOrgType(formDTO.getOrgType());
}else {
e.setOrgId(staffInfo.getAgencyId());
e.setOrgType(PartyServiceCenterConstant.ORG_TYPE_AGENCY);
}
e.setPid(agencyInfo.getPid()); e.setPid(agencyInfo.getPid());
e.setPids(agencyInfo.getPids()); e.setPids(agencyInfo.getPids());
e.setStatus(PartyServiceCenterConstant.APPOINTMENT_STATUS_APPOINTING); e.setStatus(PartyServiceCenterConstant.APPOINTMENT_STATUS_APPOINTING);

Loading…
Cancel
Save