Commit c3cfe74e51289eec4575e3e4602e98773917cae8

Authored by baohanddd
1 parent 6330c793b8

xxx

Showing 3 changed files with 65 additions and 21 deletions

platform-data-api/src/main/java/com/lyms/platform/data/web/testmodel/TestUser.java View file @ c3cfe74
  1 +package com.lyms.platform.data.web.testmodel;
  2 +
  3 +import org.apache.cxf.annotations.WSDLDocumentation;
  4 +
  5 +import javax.xml.ws.spi.WebServiceFeatureAnnotation;
  6 +import java.util.List;
  7 +
  8 +/**
  9 + * Created by Administrator on 2016/3/9 0009.
  10 + */
  11 +@WSDLDocumentation( "i am the class testuser扣了的")
  12 +public class TestUser {
  13 +
  14 +
  15 + private Integer id;
  16 + private String name;
  17 + private List<String> list;
  18 +
  19 + public Integer getId() {
  20 + return id;
  21 + }
  22 +
  23 + @WSDLDocumentation( "this is an operation setid")
  24 + public void setId(Integer id) {
  25 + this.id = id;
  26 + }
  27 +
  28 + @WSDLDocumentation( "this is an operation getname")
  29 + public String getName() {
  30 + return name;
  31 + }
  32 +
  33 + public void setName(String name) {
  34 + this.name = name;
  35 + }
  36 +
  37 + public List<String> getList() {
  38 + return list;
  39 + }
  40 +
  41 + public void setList(List<String> list) {
  42 + this.list = list;
  43 + }
  44 +}
platform-data-api/src/main/java/com/lyms/platform/data/web/ws/SoapV1ServiceImpl.java View file @ c3cfe74
... ... @@ -10,7 +10,7 @@
10 10 /**
11 11 * Created by riecard on 16/3/20.
12 12 */
13   -@WebService(endpointInterface = "com.lyms.platform.data.web.ws.intf.SoapV1Service",targetNamespace= WsConstants.NS)
  13 +@WebService(endpointInterface = "com.lyms.platform.data.web.ws.intf.SoapV1Service", targetNamespace = WsConstants.NS)
14 14 public class SoapV1ServiceImpl implements SoapV1Service {
15 15  
16 16 @Override
17 17  
18 18  
19 19  
20 20  
21 21  
22 22  
23 23  
24 24  
25 25  
26 26  
27 27  
28 28  
29 29  
30 30  
31 31  
32 32  
... ... @@ -32,87 +32,87 @@
32 32  
33 33 @Override
34 34 public DefaultResult addDoctor(WsDoctor doctor) {
35   - return null;
  35 + return new DefaultResult("0", "success");
36 36 }
37 37  
38 38 @Override
39 39 public DefaultResult updateDoctor(WsDoctor doctor) {
40   - return null;
  40 + return new DefaultResult("0", "success");
41 41 }
42 42  
43 43 @Override
44 44 public DefaultResult delDoctor(String id) {
45   - return null;
  45 + return new DefaultResult("0", "success");
46 46 }
47 47  
48 48 @Override
49 49 public DefaultResult addPatient(WsPatient patient) {
50   - return null;
  50 + return new DefaultResult("0", "success");
51 51 }
52 52  
53 53 @Override
54 54 public DefaultResult updatePatient(WsPatient patient) {
55   - return null;
  55 + return new DefaultResult("0", "success");
56 56 }
57 57  
58 58 @Override
59 59 public DefaultResult delPatient(String subId) {
60   - return null;
  60 + return new DefaultResult("0", "success");
61 61 }
62 62  
63 63 @Override
64 64 public DefaultResult addReport(WsReport report) {
65   - return null;
  65 + return new DefaultResult("0", "success");
66 66 }
67 67  
68 68 @Override
69 69 public DefaultResult updateReport(WsReport report) {
70   - return null;
  70 + return new DefaultResult("0", "success");
71 71 }
72 72  
73 73 @Override
74 74 public DefaultResult delReport(String id) {
75   - return null;
  75 + return new DefaultResult("0", "success");
76 76 }
77 77  
78 78 @Override
79 79 public DefaultResult addRisk(WsRisk risk) {
80   - return null;
  80 + return new DefaultResult("0", "success");
81 81 }
82 82  
83 83 @Override
84 84 public DefaultResult updateRisk(WsRisk risk) {
85   - return null;
  85 + return new DefaultResult("0", "success");
86 86 }
87 87  
88 88 @Override
89 89 public DefaultResult delRisk(String patientId) {
90   - return null;
  90 + return new DefaultResult("0", "success");
91 91 }
92 92  
93 93 @Override
94 94 public DefaultResult addEmergence(WsEmergence emergence) {
95   - return null;
  95 + return new DefaultResult("0", "success");
96 96 }
97 97  
98 98 @Override
99 99 public DefaultResult updateEmergence(String emergenceId, Integer status, String statusName) {
100   - return null;
  100 + return new DefaultResult("0", "success");
101 101 }
102 102  
103 103 @Override
104 104 public DefaultResult delEmergence(String emergenceId) {
105   - return null;
  105 + return new DefaultResult("0", "success");
106 106 }
107 107  
108 108 @Override
109 109 public DefaultResult addSickbedInfo(WsSickbedInfo sickbedInfo) {
110   - return null;
  110 + return new DefaultResult("0", "success");
111 111 }
112 112  
113 113 @Override
114 114 public DefaultResult updateSickbedOrder(String orderId, Integer status) {
115   - return null;
  115 + return new DefaultResult("0", "success");
116 116 }
117 117 }
platform-resource/resources/config-dev.properties View file @ c3cfe74
... ... @@ -3,8 +3,8 @@
3 3 mongo.db.dbname=dev_mongo
4 4  
5 5  
6   -mysql.db.name=mommybaby
7   -mysql.db.password=mommybaby123
  6 +mysql.db.name=lyms_chengdu
  7 +mysql.db.password=Lyms123456
8 8 mysql.driver=com.mysql.jdbc.Driver
9   -mysql.jdbcurl=jdbc:mysql://192.168.5.250:3306/mommybaby?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
  9 +mysql.jdbcurl=jdbc:mysql://rds75ha2a97jyo64p3hx.mysql.rds.aliyuncs.com:3306/mommybaby_stage2?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8