Commit 08970fc22b8ed96cf6e0b34f4a5c9af06c7a5c80

Authored by yangfei
1 parent 087cc81677

服务管理

Showing 10 changed files with 651 additions and 1 deletions

platform-biz-service/src/main/java/com/lyms/platform/permission/dao/master/HospitalServiceContentMapper.java View file @ 08970fc
... ... @@ -18,5 +18,9 @@
18 18  
19 19 public List<HospitalServiceContent> queryHospitalServiceContent(HospitalServiceContentQuery query);
20 20  
  21 + public List<HospitalServiceContent> queryGroupHospitalServiceContent(HospitalServiceContentQuery query);
  22 +
  23 + public int queryGroupHospitalServiceContentCount(HospitalServiceContentQuery query);
  24 +
21 25 }
platform-biz-service/src/main/java/com/lyms/platform/permission/model/HospitalServiceContent.java View file @ 08970fc
... ... @@ -22,6 +22,10 @@
22 22 */
23 23 private Integer serType;
24 24 /**
  25 + * 服务类型集合
  26 + */
  27 + private String serTypes;
  28 + /**
25 29 * 服务价格
26 30 */
27 31 private BigDecimal serPrice;
... ... @@ -34,7 +38,7 @@
34 38 */
35 39 private String createUser;
36 40 /**
37   - * 状态:0-有效、1-暂停、2-删除
  41 + * 状态:1-有效、2-暂停、3-删除
38 42 */
39 43 private Integer status;
40 44  
... ... @@ -42,6 +46,14 @@
42 46 * 医生集合
43 47 */
44 48 private List<String> doctIds = new ArrayList<>();
  49 +
  50 + public String getSerTypes() {
  51 + return serTypes;
  52 + }
  53 +
  54 + public void setSerTypes(String serTypes) {
  55 + this.serTypes = serTypes;
  56 + }
45 57  
46 58 public List<String> getDoctIds() {
47 59 return doctIds;
platform-biz-service/src/main/java/com/lyms/platform/permission/service/HospitalServiceContentService.java View file @ 08970fc
... ... @@ -18,5 +18,9 @@
18 18  
19 19 public List<HospitalServiceContent> queryHospitalServiceContent(HospitalServiceContentQuery query);
20 20  
  21 + public List<HospitalServiceContent> queryGroupHospitalServiceContent(HospitalServiceContentQuery query);
  22 +
  23 + public int queryGroupHospitalServiceContentCount(HospitalServiceContentQuery query);
  24 +
21 25 }
platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/HospitalServiceContentServiceImpl.java View file @ 08970fc
... ... @@ -48,5 +48,18 @@
48 48 return hospitalServiceContentMapper.queryHospitalServiceContent(query);
49 49 }
50 50  
  51 + @Override
  52 + public List<HospitalServiceContent> queryGroupHospitalServiceContent(HospitalServiceContentQuery query) {
  53 + if (query.getNeed() != null) {
  54 + query.mysqlBuild(hospitalServiceContentMapper.queryGroupHospitalServiceContentCount(query));
  55 + }
  56 + return hospitalServiceContentMapper.queryGroupHospitalServiceContent(query);
  57 + }
  58 +
  59 + @Override
  60 + public int queryGroupHospitalServiceContentCount(HospitalServiceContentQuery query) {
  61 + return hospitalServiceContentMapper.queryGroupHospitalServiceContentCount(query);
  62 + }
  63 +
51 64 }
platform-biz-service/src/main/resources/mainOrm/master/HospitalServiceContent.xml View file @ 08970fc
... ... @@ -6,6 +6,7 @@
6 6 <id column="id" property="id" jdbcType="VARCHAR"/>
7 7 <result column="hospital_id" property="hospitalId" jdbcType="VARCHAR"/>
8 8 <result column="ser_type" property="serType" jdbcType="INTEGER"/>
  9 + <result column="ser_types" property="serTypes" jdbcType="VARCHAR"/>
9 10 <result column="ser_price" property="serPrice" jdbcType="DECIMAL"/>
10 11 <result column="create_date" property="createDate" jdbcType="TIMESTAMP"/>
11 12 <result column="create_user" property="createUser" jdbcType="VARCHAR"/>
... ... @@ -91,6 +92,20 @@
91 92 </if>
92 93 </where>
93 94 </sql>
  95 +
  96 +
  97 + <select id="queryGroupHospitalServiceContent" resultMap="HospitalServiceContentResultMap"
  98 + parameterType="com.lyms.platform.permission.model.HospitalServiceContentQuery">
  99 + select hospital_id,group_concat(ser_type) as ser_types,create_date,create_user from hospital_service_content group by hospital_id;
  100 + <include refid="HospitalServiceContentCondition"/>
  101 + <include refid="orderAndLimit"/>
  102 + </select>
  103 +
  104 + <select id="queryGroupHospitalServiceContentCount" resultType="int"
  105 + parameterType="com.lyms.platform.permission.model.HospitalServiceContentQuery">
  106 + select count(1) from hospital_service_content group by hospital_id;
  107 + <include refid="HospitalServiceContentCondition"/>
  108 + </select>
94 109  
95 110  
96 111 <select id="queryHospitalServiceContent" resultMap="HospitalServiceContentResultMap"
platform-common/src/main/java/com/lyms/platform/common/enums/HospitalSerStatusEnums.java View file @ 08970fc
  1 +package com.lyms.platform.common.enums;
  2 +
  3 +import java.util.ArrayList;
  4 +import java.util.HashMap;
  5 +import java.util.List;
  6 +import java.util.Map;
  7 +
  8 +/**
  9 + * @auther yangfei
  10 + * @createTime 2017年11月17日 10时28分
  11 + * @discription
  12 + */
  13 +public enum HospitalSerStatusEnums {
  14 + //1-有效、2-暂停、3-删除
  15 + YX(1, "有效"), ZT(2, "暂停"), SC(3, "删除");
  16 +
  17 + HospitalSerStatusEnums(int id, String name) {
  18 + this.id = id;
  19 + this.name = name;
  20 +
  21 + }
  22 +
  23 +
  24 + private int id;
  25 + private String name;
  26 +
  27 + public int getId() {
  28 + return id;
  29 + }
  30 +
  31 + public void setId(int id) {
  32 + this.id = id;
  33 + }
  34 +
  35 + public java.lang.String getName() {
  36 + return name;
  37 + }
  38 +
  39 + public void setName(java.lang.String name) {
  40 + this.name = name;
  41 + }
  42 +
  43 + public static List<Map> getHospitalSerStatusEnums() {
  44 +
  45 + List<Map> list = new ArrayList<>();
  46 + for (HospitalSerStatusEnums e : HospitalSerStatusEnums.values()) {
  47 + Map rootMap = new HashMap();
  48 + rootMap.put("id", e.getId());
  49 + rootMap.put("name", e.getName());
  50 + list.add(rootMap);
  51 + }
  52 + return list;
  53 + }
  54 +
  55 + public static String getNameById(int id) {
  56 + for (HospitalSerStatusEnums enums : values()) {
  57 + if (id == enums.getId()) {
  58 + return enums.getName();
  59 + }
  60 + }
  61 + return "";
  62 + }
  63 +
  64 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ConfigServiceController.java View file @ 08970fc
  1 +package com.lyms.platform.operate.web.controller;
  2 +
  3 +import com.lyms.platform.common.annotation.TokenRequired;
  4 +import com.lyms.platform.common.base.BaseController;
  5 +import com.lyms.platform.common.base.LoginContext;
  6 +import com.lyms.platform.common.base.PageInfo;
  7 +import com.lyms.platform.common.constants.ErrorCodeConstants;
  8 +import com.lyms.platform.common.result.BaseListResponse;
  9 +import com.lyms.platform.common.result.BaseResponse;
  10 +import com.lyms.platform.operate.web.facade.ConfigServiceFacade;
  11 +import com.lyms.platform.permission.model.PatientService;
  12 +import org.springframework.beans.factory.annotation.Autowired;
  13 +import org.springframework.stereotype.Controller;
  14 +import org.springframework.web.bind.annotation.RequestMapping;
  15 +import org.springframework.web.bind.annotation.RequestMethod;
  16 +import org.springframework.web.bind.annotation.ResponseBody;
  17 +
  18 +import javax.servlet.http.HttpServletRequest;
  19 +
  20 +/**
  21 + * @auther yangfei
  22 + * @createTime 2017年09月11日 11时36分
  23 + * @discription 服务配置相关
  24 + */
  25 +@RequestMapping(value = "/configSer")
  26 +@Controller
  27 +public class ConfigServiceController extends BaseController {
  28 +
  29 + @Autowired
  30 + private ConfigServiceFacade configServiceFacade;
  31 +
  32 + /**
  33 + * 初始化接口
  34 + *
  35 + * @return
  36 + */
  37 + @ResponseBody
  38 + @TokenRequired
  39 + @RequestMapping(value = "/init", method = RequestMethod.GET)
  40 + public BaseResponse patientServiceInit(HttpServletRequest request) {
  41 + LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
  42 +
  43 + return configServiceFacade.patientServiceInit(loginState.getId());
  44 + }
  45 +
  46 +
  47 + /**
  48 + * 新增或修改服务开通记录
  49 + *
  50 + * @param ps 服务开通记录
  51 + * @param request
  52 + * @return
  53 + */
  54 + @ResponseBody
  55 + @TokenRequired
  56 + @RequestMapping(value = "/addOrUpdate", method = RequestMethod.POST)
  57 + public BaseResponse addOrUpdatePatientService(PatientService ps, HttpServletRequest request) {
  58 + LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
  59 + try {
  60 + BaseResponse baseResponse = validatePatient(ps);
  61 + if (baseResponse.getErrorcode() != ErrorCodeConstants.SUCCESS) {
  62 + return baseResponse;
  63 + }
  64 + return configServiceFacade.addHospitalService(ps, loginState.getId());
  65 + } catch (Exception e) {
  66 + BaseResponse baseResponse = new BaseResponse();
  67 + baseResponse.setErrorcode(ErrorCodeConstants.SYSTEM_ERROR);
  68 + baseResponse.setErrormsg(ErrorCodeConstants.SYSTEM_ERROR_DESCRIPTION);
  69 + return baseResponse;
  70 + }
  71 +
  72 + }
  73 +
  74 +
  75 + /**
  76 + * 根据条件查询医院服务配置
  77 + *
  78 + * @return
  79 + */
  80 + @ResponseBody
  81 + @TokenRequired
  82 + @RequestMapping(value = "/list", method = RequestMethod.GET)
  83 + public BaseListResponse getPatientService(
  84 + PageInfo pageInfo,
  85 + HttpServletRequest request
  86 + ) {
  87 + LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
  88 + return configServiceFacade.getHospitalService(pageInfo, loginState.getId());
  89 + }
  90 +
  91 +
  92 + /**
  93 + * 数据验证
  94 + *
  95 + * @param ps
  96 + * @return
  97 + */
  98 + public BaseResponse validatePatient(PatientService ps) {
  99 + BaseResponse baseResponse = new BaseResponse();
  100 +
  101 + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
  102 + return baseResponse;
  103 + }
  104 +
  105 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/ConfigServiceFacade.java View file @ 08970fc
  1 +package com.lyms.platform.operate.web.facade;
  2 +
  3 +import com.lyms.platform.biz.service.*;
  4 +import com.lyms.platform.common.base.PageInfo;
  5 +import com.lyms.platform.common.constants.ErrorCodeConstants;
  6 +import com.lyms.platform.common.enums.HospitalSerStatusEnums;
  7 +import com.lyms.platform.common.enums.OptActionEnums;
  8 +import com.lyms.platform.common.enums.PatientSerEnums;
  9 +import com.lyms.platform.common.result.BaseListResponse;
  10 +import com.lyms.platform.common.result.BaseObjectResponse;
  11 +import com.lyms.platform.common.result.BaseResponse;
  12 +import com.lyms.platform.common.utils.Config;
  13 +import com.lyms.platform.common.utils.DateUtil;
  14 +import com.lyms.platform.common.utils.StringUtils;
  15 +import com.lyms.platform.operate.web.result.HospitalServiceContentResult;
  16 +import com.lyms.platform.permission.model.*;
  17 +import com.lyms.platform.permission.service.*;
  18 +import com.lyms.platform.pojo.BasicConfig;
  19 +import com.lyms.platform.pojo.Patients;
  20 +import org.apache.commons.collections.CollectionUtils;
  21 +import org.springframework.beans.factory.annotation.Autowired;
  22 +import org.springframework.stereotype.Component;
  23 +
  24 +import java.util.*;
  25 +
  26 +/**
  27 + * @auther yangfei
  28 + * @createTime 2017年09月11日 14时29分
  29 + * @discription 孕妇服务
  30 + */
  31 +@Component
  32 +public class ConfigServiceFacade {
  33 +
  34 + @Autowired
  35 + private AutoMatchFacade autoMatchFacade;
  36 + @Autowired
  37 + private PatientServiceService patientServiceService;
  38 + @Autowired
  39 + private OrganizationService organizationService;
  40 + @Autowired
  41 + private BasicConfigService basicConfigService;
  42 + @Autowired
  43 + private UsersService usersService;
  44 + @Autowired
  45 + private PatientsService patientsService;
  46 + @Autowired
  47 + private AntExRecordService recordService;
  48 + @Autowired
  49 + private CommonService commonService;
  50 + @Autowired
  51 + private AntenatalExaminationService antenatalExaminationService;
  52 + @Autowired
  53 + private HospitalDoctServiceService hospitalDoctService;
  54 + @Autowired
  55 + private HospitalServiceContentService hospitalServiceContentService;
  56 +
  57 + @Autowired
  58 + private OperateLogFacade operateLogFacade;
  59 +
  60 + public static String patSer_sync_url = Config.getItem("patSer_sync_url", "0");
  61 +
  62 + public BaseResponse patientServiceInit(Integer id) {
  63 + //根据用户id获取医院ID
  64 +
  65 + Map map = new HashMap();
  66 + //服务类型
  67 + map.put("serTypes", PatientSerEnums.getSerType());
  68 + //服务状态
  69 + map.put("serStatus", PatientSerEnums.getSerStatus());
  70 +
  71 +
  72 + return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg(ErrorCodeConstants.SUCCESS_DESCRIPTION).setData(map);
  73 + }
  74 +
  75 + /**
  76 + * 根据配置id查询医生服务记录
  77 + *
  78 + * @param id
  79 + * @return
  80 + */
  81 + public BaseResponse findDoctServiceList(String hsId, Integer id) {
  82 + //根据用户id获取医院ID
  83 + String hospitalId = autoMatchFacade.getHospitalId(id);
  84 +
  85 +
  86 + BaseResponse baseResponse = new BaseResponse();
  87 + // baseResponse.setObject(patientSerResults);
  88 + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
  89 + baseResponse.setErrormsg("成功");
  90 + return baseResponse;
  91 + }
  92 +
  93 +
  94 + /**
  95 + * 新增服务开通记录
  96 + *
  97 + * @param ps
  98 + * @param id
  99 + * @return
  100 + */
  101 + public BaseResponse addHospitalService(PatientService ps, Integer id) throws Exception {
  102 + //根据用户id获取医院ID
  103 + String hospitalId = autoMatchFacade.getHospitalId(id);
  104 + List<Map<String, String>> serInfos = ps.getSerInfos();
  105 +
  106 + List<PatientService> patientServiceList = new ArrayList<>();
  107 + for (Map<String, String> serInfo : serInfos) {
  108 + //先根据孕妇id和开通服务类型、开通医生进行查询,如果已经开通过则开通失败
  109 + PatientServiceQuery patientQuery = new PatientServiceQuery();
  110 + patientQuery.setHospitalId(hospitalId);
  111 + patientQuery.setParentid(ps.getParentid());
  112 + patientQuery.setSerType(Integer.parseInt(serInfo.get("serType")));
  113 +
  114 +
  115 + List<PatientService> patientServices = patientServiceService.queryPatientService(patientQuery);
  116 + if (CollectionUtils.isNotEmpty(patientServices)) {
  117 + continue;
  118 + }
  119 +
  120 + Patients patients = patientsService.findOnePatientById(ps.getParentid());
  121 + if (patients != null) {
  122 + ps.setPid(patients.getPid());
  123 + }
  124 + ps.setId(UUID.randomUUID().toString().replace("-", ""));
  125 +
  126 + ps.setHospitalId(hospitalId);
  127 + //默认开通状态
  128 + ps.setSerStatus(PatientSerEnums.SerStatusEnums.kt.getId());
  129 + //服务类型
  130 + ps.setSerType(Integer.parseInt(serInfo.get("serType")));
  131 + if (serInfo.containsKey(serInfo.get("serDoct"))) {
  132 + ps.setSerDoct(serInfo.get("serDoct"));
  133 + }
  134 + patientServiceService.addPatientService(ps);
  135 +
  136 + operateLogFacade.addAddOptLog(id, Integer.valueOf(hospitalId), ps, OptActionEnums.ADD.getId(), "开通增值服务");
  137 +
  138 + patientServiceList.add(ps);
  139 + }
  140 +
  141 + BaseResponse baseResponse = new BaseResponse();
  142 + baseResponse.setObject(ps.getId());
  143 + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
  144 + baseResponse.setErrormsg("成功");
  145 + return baseResponse;
  146 + }
  147 +
  148 +
  149 +
  150 + /**
  151 + * 数据转换
  152 + *
  153 + * @param hs
  154 + * @return
  155 + */
  156 + public HospitalServiceContentResult convertToResult(HospitalServiceContent hs) {
  157 + if (hs == null) {
  158 + return null;
  159 + }
  160 + HospitalServiceContentResult result = new HospitalServiceContentResult();
  161 + result.setId(hs.getId());
  162 + if (StringUtils.isNotEmpty(hs.getHospitalId())) {//查询医院名称
  163 + //判断ID是否存在
  164 + Organization organization = organizationService.getOrganization(Integer.parseInt(hs.getHospitalId()));
  165 + if (organization != null) {
  166 + //设置医院名称
  167 + result.setHospitalName(organization.getName());
  168 + // 开始查询省市区
  169 + // 省
  170 + BasicConfig provinceName = basicConfigService.getOneBasicConfigById(organization.getProvinceId());
  171 + // 市
  172 + BasicConfig cityName = basicConfigService.getOneBasicConfigById(organization.getCityId());
  173 + // 区
  174 + BasicConfig areaName = basicConfigService.getOneBasicConfigById(organization.getAreaId());
  175 + if (provinceName != null) {
  176 + result.setProvinceName(provinceName.getName());
  177 + }
  178 + if (cityName != null) {
  179 + result.setCityName(cityName.getName());
  180 + }
  181 + if (areaName != null) {
  182 + result.setAreaName(areaName.getName());
  183 + }
  184 + }
  185 + }
  186 + result.setCreateDate(DateUtil.getyyyy_MM_dd(hs.getCreateDate()));
  187 + String serType = PatientSerEnums.SerTypeEnums.getTitle(hs.getSerType());
  188 + result.setSerType(serType);
  189 + result.setStatus(HospitalSerStatusEnums.getNameById(hs.getStatus()));
  190 + result.setCreateUser(hs.getCreateUser());
  191 + return result;
  192 + }
  193 +
  194 + /**
  195 + * 根据条件查询医院服务记录
  196 + *
  197 + * @param pageInfo 分页信息
  198 + * @return
  199 + */
  200 + public BaseListResponse getHospitalService(PageInfo pageInfo, Integer id) {
  201 +//根据用户id获取医院ID
  202 + String hospitalId = autoMatchFacade.getHospitalId(id);
  203 + HospitalServiceContentQuery hdsQuery = new HospitalServiceContentQuery();
  204 + hdsQuery.setHospitalId(hospitalId);
  205 + hdsQuery.setSort("create_date desc");
  206 + hdsQuery.setNeed("y");
  207 + hdsQuery.setOffset((pageInfo.getPage() - 1) * pageInfo.getLimit());
  208 + hdsQuery.setLimit(pageInfo.getLimit());
  209 + hdsQuery.setPage(pageInfo.getPage());
  210 + List<HospitalServiceContent> patientServices = hospitalServiceContentService.queryGroupHospitalServiceContent(hdsQuery);
  211 +
  212 + List<HospitalServiceContentResult> patientSerResults = new ArrayList<>();
  213 + for (HospitalServiceContent ps : patientServices) {
  214 + HospitalServiceContentResult patientSerResult = convertToResult(ps);
  215 + patientSerResults.add(patientSerResult);
  216 + }
  217 +
  218 + BaseListResponse baseResponse = new BaseListResponse();
  219 + baseResponse.setData(patientSerResults);
  220 + baseResponse.setPageInfo(pageInfo);
  221 + baseResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
  222 + baseResponse.setErrormsg("成功");
  223 + return baseResponse;
  224 + }
  225 +
  226 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/HospitalDoctSerResult.java View file @ 08970fc
  1 +package com.lyms.platform.operate.web.result;
  2 +
  3 +import java.math.BigDecimal;
  4 +
  5 +/**
  6 + * @auther yangfei
  7 + * @createTime 2017年11月17日 10时14分
  8 + * @discription
  9 + */
  10 +public class HospitalDoctSerResult {
  11 + /**
  12 + * id
  13 + */
  14 + private String id;
  15 + /**
  16 + * 医院服务内容id
  17 + */
  18 + private String hospServiceId;
  19 + /**
  20 + * 医生id
  21 + */
  22 + private String doctId;
  23 + /**
  24 + * 医院id
  25 + */
  26 + private String hospId;
  27 + /**
  28 + * 医生价格
  29 + */
  30 + private BigDecimal doctPrice;
  31 +
  32 + /**
  33 + * 状态:0-有效、1-暂停、2-删除
  34 + */
  35 + private String status;
  36 +
  37 + public String getId() {
  38 + return id;
  39 + }
  40 +
  41 + public void setId(String id) {
  42 + this.id = id;
  43 + }
  44 +
  45 + public String getHospServiceId() {
  46 + return hospServiceId;
  47 + }
  48 +
  49 + public void setHospServiceId(String hospServiceId) {
  50 + this.hospServiceId = hospServiceId;
  51 + }
  52 +
  53 + public String getDoctId() {
  54 + return doctId;
  55 + }
  56 +
  57 + public void setDoctId(String doctId) {
  58 + this.doctId = doctId;
  59 + }
  60 +
  61 + public String getHospId() {
  62 + return hospId;
  63 + }
  64 +
  65 + public void setHospId(String hospId) {
  66 + this.hospId = hospId;
  67 + }
  68 +
  69 + public BigDecimal getDoctPrice() {
  70 + return doctPrice;
  71 + }
  72 +
  73 + public void setDoctPrice(BigDecimal doctPrice) {
  74 + this.doctPrice = doctPrice;
  75 + }
  76 +
  77 + public String getStatus() {
  78 + return status;
  79 + }
  80 +
  81 + public void setStatus(String status) {
  82 + this.status = status;
  83 + }
  84 +}
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/HospitalServiceContentResult.java View file @ 08970fc
  1 +package com.lyms.platform.operate.web.result;
  2 +
  3 +import java.math.BigDecimal;
  4 +
  5 +/**
  6 + * @auther yangfei
  7 + * @createTime 2017年11月17日 10时12分
  8 + * @discription 医院服务返回对象
  9 + */
  10 +public class HospitalServiceContentResult {
  11 + /**
  12 + * id
  13 + */
  14 + private String id;
  15 + private String provinceName;
  16 + private String cityName;
  17 + private String areaName;
  18 + /**
  19 + * 医院id
  20 + */
  21 + private String hospitalName;
  22 + /**
  23 + * 服务类型
  24 + */
  25 + private String serType;
  26 + /**
  27 + * 服务价格
  28 + */
  29 + private BigDecimal serPrice;
  30 + /**
  31 + * 操作时间
  32 + */
  33 + private String createDate;
  34 + /**
  35 + * 操作人
  36 + */
  37 + private String createUser;
  38 + /**
  39 + * 状态:0-有效、1-暂停、2-删除
  40 + */
  41 + private String status;
  42 +
  43 + public String getProvinceName() {
  44 + return provinceName;
  45 + }
  46 +
  47 + public void setProvinceName(String provinceName) {
  48 + this.provinceName = provinceName;
  49 + }
  50 +
  51 + public String getCityName() {
  52 + return cityName;
  53 + }
  54 +
  55 + public void setCityName(String cityName) {
  56 + this.cityName = cityName;
  57 + }
  58 +
  59 + public String getAreaName() {
  60 + return areaName;
  61 + }
  62 +
  63 + public void setAreaName(String areaName) {
  64 + this.areaName = areaName;
  65 + }
  66 +
  67 + public String getId() {
  68 + return id;
  69 + }
  70 +
  71 + public void setId(String id) {
  72 + this.id = id;
  73 + }
  74 +
  75 + public String getHospitalName() {
  76 + return hospitalName;
  77 + }
  78 +
  79 + public void setHospitalName(String hospitalName) {
  80 + this.hospitalName = hospitalName;
  81 + }
  82 +
  83 + public String getSerType() {
  84 + return serType;
  85 + }
  86 +
  87 + public void setSerType(String serType) {
  88 + this.serType = serType;
  89 + }
  90 +
  91 + public BigDecimal getSerPrice() {
  92 + return serPrice;
  93 + }
  94 +
  95 + public void setSerPrice(BigDecimal serPrice) {
  96 + this.serPrice = serPrice;
  97 + }
  98 +
  99 + public String getCreateDate() {
  100 + return createDate;
  101 + }
  102 +
  103 + public void setCreateDate(String createDate) {
  104 + this.createDate = createDate;
  105 + }
  106 +
  107 + public String getCreateUser() {
  108 + return createUser;
  109 + }
  110 +
  111 + public void setCreateUser(String createUser) {
  112 + this.createUser = createUser;
  113 + }
  114 +
  115 + public String getStatus() {
  116 + return status;
  117 + }
  118 +
  119 + public void setStatus(String status) {
  120 + this.status = status;
  121 + }
  122 +
  123 +}