|
@@ -53,30 +53,29 @@ public class MedicalViewApiController {
|
|
|
private static final String ZFB="ZFB";
|
|
|
/**
|
|
|
* 患者信息查询
|
|
|
- * @param itemType
|
|
|
- * @param itemNo
|
|
|
+ * @param haicipat
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
- @RequestMapping(value="/queryPatientInfo/{itemType}/{itemNo}",method = {RequestMethod.GET})
|
|
|
- public Map<String,Object> queryPatientInfo(@PathVariable String itemType,@PathVariable String itemNo) {
|
|
|
+ //@UserLoginToken
|
|
|
+ @RequestMapping(value="/queryPatientInfo",method = {RequestMethod.POST})
|
|
|
+ public Map<String,Object> queryPatientInfo(Haicipat haicipat) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
|
- if(StringUtils.isBlank(itemType)){
|
|
|
+ if(StringUtils.isBlank(haicipat.getPatIdType())){
|
|
|
results.put("resultCode",-1);
|
|
|
results.put("resultMessage","顾客证件类型不能为空");
|
|
|
return results;
|
|
|
}
|
|
|
- if(StringUtils.isBlank(itemNo)){
|
|
|
+ if(StringUtils.isBlank(haicipat.getPatIdNo())){
|
|
|
results.put("resultCode",-1);
|
|
|
results.put("resultMessage","顾客证件号码不能为空");
|
|
|
return results;
|
|
|
}
|
|
|
- if(!ID_CARD_TYPE.equals(itemType)){
|
|
|
+ if(!ID_CARD_TYPE.equals(haicipat.getPatIdType())){
|
|
|
results.put("resultCode",-1);
|
|
|
results.put("resultMessage","顾客证件号码非身份证,暂不支持");
|
|
|
return results;
|
|
|
}
|
|
|
- List<MzPatientMi> mzPatientMis = mzPatientMiService.queryBySocialNo(itemNo,null);
|
|
|
+ List<MzPatientMi> mzPatientMis = mzPatientMiService.queryBySocialNo(haicipat.getPatIdNo(),null);
|
|
|
if(mzPatientMis==null || mzPatientMis.size()==0){
|
|
|
results.put("resultCode",-1);
|
|
|
results.put("resultMessage","没有查询到病人信息");
|
|
@@ -102,7 +101,7 @@ public class MedicalViewApiController {
|
|
|
* @param haicipat
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/savePatientInfo",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> savePatientInfo(Haicipat haicipat) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
@@ -223,7 +222,7 @@ public class MedicalViewApiController {
|
|
|
* @param haicipat
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/boundPatCardNoInfo",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> boundPatCardNoInfo(Haicipat haicipat) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
@@ -322,7 +321,7 @@ public class MedicalViewApiController {
|
|
|
* @param haicipat
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/cancelBoundPatCardNoInfo",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> cancelBoundPatCardNoInfo(Haicipat haicipat) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
@@ -417,7 +416,7 @@ public class MedicalViewApiController {
|
|
|
* @param haicipat
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/getMzChargeDetailForUnPaid",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> getMzChargeDetailForUnPaid(Haicipat haicipat) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
@@ -486,7 +485,7 @@ public class MedicalViewApiController {
|
|
|
* @param haiciCharge
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/getChargeDetailByHisOrdNum",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> getChargeDetailByHisOrdNum(HaiciCharge haiciCharge) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
@@ -557,7 +556,7 @@ public class MedicalViewApiController {
|
|
|
* @param haiciCharge
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/payChargeDetailFormHaiCi",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> payChargeDetailFormHaiCi(HaiciCharge haiciCharge) {
|
|
|
Map<String,Object> results = new HashMap<>();
|
|
@@ -654,7 +653,7 @@ public class MedicalViewApiController {
|
|
|
* @param haiciCharge
|
|
|
* @return
|
|
|
*/
|
|
|
- @UserLoginToken
|
|
|
+ //@UserLoginToken
|
|
|
@RequestMapping(value="/getPayStatus",method = {RequestMethod.POST})
|
|
|
public Map<String,Object> getPayStatus(HaiciCharge haiciCharge) {
|
|
|
Map<String,Object> results = new HashMap<>();
|