Compare commits

..

No commits in common. 'b0d751b97c770776480fc4f51eb6cf99ba40e99a' and '15d583203608cdc23591eacf3d07df019af63e6c' have entirely different histories.

  1. 1
      src/main/java/com/ynxbd/common/action/PatientAction.java
  2. 6
      src/main/java/com/ynxbd/common/action/RecipeAction.java
  3. 4
      src/main/java/com/ynxbd/common/dao/his/HisRecipeDao.java

@ -37,7 +37,6 @@ public class PatientAction extends BaseAction {
return Result.error(ResultEnum.PARAM_IS_BLANK);
}
try {
patientId = getDecodeString(patientId);
JsonResult jsonResult = new HisPatientDao().selectPatientInfo(patientId, "999");
if (!jsonResult.success()) {
return Result.error(jsonResult.getMessage());

@ -33,13 +33,13 @@ public class RecipeAction extends BaseAction {
* 获取已缴费项目
*/
@Action("getPayedList")
public Result getPayedList(String patientId, String personNo, String begDate, String endDate) {
log.info("[处方]已缴费项目查询 patientId={}, begDate={}, endDate={}, personNo-{}", patientId, begDate, endDate,personNo);
public Result getPayedList(String patientId, String begDate, String endDate) {
log.info("[处方]已缴费项目查询 patientId={}, begDate={}, endDate={}", patientId, begDate, endDate);
if (patientId == null || begDate == null || endDate == null) {
return Result.error(ResultEnum.PARAM_IS_DEFECT);
}
List<HisRecipe> recipeList = new HisRecipeDao().getPaidRecipeList(patientId, begDate, endDate,personNo);
List<HisRecipe> recipeList = new HisRecipeDao().getPaidRecipeList(patientId, begDate, endDate);
return Result.success(recipeList);
}

@ -45,7 +45,7 @@ public class HisRecipeDao {
* @param endDate 结束日期
* @return 已缴费项目
*/
public List<HisRecipe> getPaidRecipeList(String patientId, String begDate, String endDate,String personNo) {
public List<HisRecipe> getPaidRecipeList(String patientId, String begDate, String endDate) {
List<HisRecipe> resultList = new ArrayList<>();
Map<String, Object> params = new HashMap<>();
@ -53,7 +53,6 @@ public class HisRecipeDao {
params.put("RecipeID", "");
params.put("StartTime", begDate);
params.put("EndTime", endDate);
params.put("PersonNo",personNo);
JsonResult jsonResult = HisHelper.getJsonResult(HisEnum.AP_Query_OutpatientFee, params);
if (!jsonResult.success()) { // 请求失败
@ -195,7 +194,6 @@ public class HisRecipeDao {
params.put("PatientID", "0");
params.put("TJBH",treatNum.split("-")[1]);
params.put("GroupFlag","1");
params.remove("Recipe");
}
return HisHelper.getJsonResult(HisEnum.AP_Pay_Invoice, params,merchantEnum);
}

Loading…
Cancel
Save