|
|
@ -38,6 +38,7 @@ public class RecipeAction extends BaseAction { |
|
|
|
if (patientId == null || begDate == null || endDate == null) { |
|
|
|
if (patientId == null || begDate == null || endDate == null) { |
|
|
|
return Result.error(ResultEnum.PARAM_IS_DEFECT); |
|
|
|
return Result.error(ResultEnum.PARAM_IS_DEFECT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
patientId = getDecodeString(patientId); |
|
|
|
|
|
|
|
|
|
|
|
List<HisRecipe> recipeList = new HisRecipeDao().getPaidRecipeList(patientId, begDate, endDate,personNo); |
|
|
|
List<HisRecipe> recipeList = new HisRecipeDao().getPaidRecipeList(patientId, begDate, endDate,personNo); |
|
|
|
return Result.success(recipeList); |
|
|
|
return Result.success(recipeList); |
|
|
@ -52,7 +53,7 @@ public class RecipeAction extends BaseAction { |
|
|
|
if (patientId == null || begDate == null || endDate == null) { |
|
|
|
if (patientId == null || begDate == null || endDate == null) { |
|
|
|
return Result.error(ResultEnum.PARAM_IS_DEFECT); |
|
|
|
return Result.error(ResultEnum.PARAM_IS_DEFECT); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
patientId = getDecodeString(patientId); |
|
|
|
int days = DateHelper.intervalDays(begDate, endDate, true); |
|
|
|
int days = DateHelper.intervalDays(begDate, endDate, true); |
|
|
|
List<HisRecipe> hisRecipes = new HisRecipeDao().getUnPayRecipe(patientId, personNo, days); |
|
|
|
List<HisRecipe> hisRecipes = new HisRecipeDao().getUnPayRecipe(patientId, personNo, days); |
|
|
|
|
|
|
|
|
|
|
|