|
|
@@ -44,15 +44,15 @@ public class MarkMtFeesService {
|
|
|
Map<String, Object> data = new HashMap<>();
|
|
|
data.put("patientId", patientId);
|
|
|
data.put("times", times);
|
|
|
-// int mtCount;
|
|
|
-// if (param.getResponceType().equals("02")) {
|
|
|
-// mtCount = dao.selectCountMtPartInfo(patientId, times);
|
|
|
-// } else {
|
|
|
-// mtCount = dao.selectCountMtPartInfoForSyb(patientId, times, param.getBizType());
|
|
|
-// }
|
|
|
-// if (mtCount > 0) {
|
|
|
-// return ResultVoUtil.success(data);
|
|
|
-// }
|
|
|
+ int mtCount;
|
|
|
+ if (param.getResponceType().equals("02")) {
|
|
|
+ mtCount = dao.selectCountMtPartInfo(patientId, times);
|
|
|
+ } else {
|
|
|
+ mtCount = dao.selectCountMtPartInfoForSyb(patientId, times, param.getBizType());
|
|
|
+ }
|
|
|
+ if (mtCount > 0) {
|
|
|
+ return ResultVoUtil.success(data);
|
|
|
+ }
|
|
|
param.setIdCard(socialNo);
|
|
|
param.setStaffId(TokenUtil.getTokenUserId());
|
|
|
RestTemplate template = new RestTemplate();
|