Commit fc4c38c6349bcf1f0e47155efd63141af4d7623f

Authored by wtt
1 parent ac74524512

update

Showing 3 changed files with 27 additions and 0 deletions

platform-dal/src/main/java/com/lyms/platform/query/PatientsQuery.java View file @ fc4c38c
... ... @@ -20,6 +20,8 @@
20 20 * @author Administrator
21 21 */
22 22 public class PatientsQuery extends BaseQuery implements IConvertToNativeQuery {
  23 + //预约住院分娩医院(滦平定制)
  24 + private String yyzyfmHospitalId;
23 25  
24 26 private String id;
25 27 private List<String> ids;
... ... @@ -718,6 +720,9 @@
718 720 if (null != hospitalId) {
719 721 condition = condition.and("hospitalId", hospitalId, MongoOper.IS);
720 722 }
  723 + if (null != yyzyfmHospitalId) {
  724 + condition = condition.and("yyzyfmHospitalId", yyzyfmHospitalId, MongoOper.IS);
  725 + }
721 726 if (null != pid) {
722 727 condition = condition.and("pid", pid, MongoOper.IS);
723 728 }
... ... @@ -1711,6 +1716,14 @@
1711 1716  
1712 1717 public Integer getPostViewTimesEnd() {
1713 1718 return postViewTimesEnd;
  1719 + }
  1720 +
  1721 + public String getYyzyfmHospitalId() {
  1722 + return yyzyfmHospitalId;
  1723 + }
  1724 +
  1725 + public void setYyzyfmHospitalId(String yyzyfmHospitalId) {
  1726 + this.yyzyfmHospitalId = yyzyfmHospitalId;
1714 1727 }
1715 1728  
1716 1729 public void setPostViewTimesEnd(Integer postViewTimesEnd) {
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ fc4c38c
... ... @@ -1767,6 +1767,8 @@
1767 1767  
1768 1768 PatientsQuery patientsQuery = new PatientsQuery();
1769 1769  
  1770 + patientsQuery.setYyzyfmHospitalId(patientManagerRequest.getYyzyfmHospitalId());
  1771 +
1770 1772 patientsQuery.setNormal(patientManagerRequest.getNormal());
1771 1773  
1772 1774 patientsQuery.setLiveType(patientManagerRequest.getLiveType());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientManagerRequest.java View file @ fc4c38c
... ... @@ -7,6 +7,10 @@
7 7 */
8 8 public class PatientManagerRequest extends BasePageQueryRequest {
9 9  
  10 + //预约住院分娩医院(滦平定制)
  11 + private String yyzyfmHospitalId;
  12 +
  13 +
10 14 private Integer operatorId;
11 15  
12 16 /**
... ... @@ -254,6 +258,14 @@
254 258  
255 259 public Integer getOperatorId() {
256 260 return operatorId;
  261 + }
  262 +
  263 + public String getYyzyfmHospitalId() {
  264 + return yyzyfmHospitalId;
  265 + }
  266 +
  267 + public void setYyzyfmHospitalId(String yyzyfmHospitalId) {
  268 + this.yyzyfmHospitalId = yyzyfmHospitalId;
257 269 }
258 270  
259 271 public void setOperatorId(Integer operatorId) {