|
@@ -44,7 +44,7 @@ public class XiangMuLuRuService {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 分页获取患者费用
|
|
|
+ * 获取患者费用
|
|
|
*
|
|
|
* @param param 查询条件
|
|
|
* @return 返回患者费用
|
|
@@ -106,10 +106,9 @@ public class XiangMuLuRuService {
|
|
|
if (pojo.getChargeFee().signum() == -1 || pojo.getChargeAmount().signum() == -1) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "患者费用存在负数,该数据为退费数据");
|
|
|
}
|
|
|
-
|
|
|
- if (!param.getDeptCode().equals(pojo.getDeptCode())) {
|
|
|
- return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("流水号为【%s】,请录入的科室进行退费", pojo.getDetailSn()));
|
|
|
- }
|
|
|
+// if (!param.getDeptCode().equals(pojo.getDeptCode())) {
|
|
|
+// return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("流水号为【%s】,请录入的科室进行退费", pojo.getDetailSn()));
|
|
|
+// }
|
|
|
sum = sum.add(pojo.getChargeFee().multiply(pojo.getChargeAmount()));
|
|
|
pojo.setChargeFee(pojo.getChargeFee().negate());
|
|
|
pojo.setChargeAmount(pojo.getChargeAmount().negate());
|