|
@@ -70,7 +70,7 @@ public class MzyRequestServiceImpl implements MzyRequestService {
|
|
|
List<MzyZdChargeType> list = new ArrayList<>();
|
|
|
chargeTypes.forEach(ct -> {
|
|
|
if (StringUtils.isNotBlank(ct)) {
|
|
|
- List<MzyRequest> mzyRequests = mzyRequestMapper.selectOldRequestByRequestDay(requestDay, unitCode, ampm, ct, null);
|
|
|
+ List<MzyRequest> mzyRequests = mzyRequestMapper.selectRequestByRequestDay(requestDay, unitCode, ampm, ct, null);
|
|
|
if (mzyRequests != null && mzyRequests.size() > 0) {
|
|
|
MzyZdChargeType mzct = mzyZdChargeTypeMapper.selectByCode(ct);
|
|
|
if (mzct != null) {
|
|
@@ -89,7 +89,7 @@ public class MzyRequestServiceImpl implements MzyRequestService {
|
|
|
throw new MzException("没有查询到匹配的可挂号表,请先创建!");
|
|
|
}
|
|
|
|
|
|
- List<MzyRequest> mzyRequests = mzyRequestMapper.selectOldRequestByRequestDay(DateFormatUtils.format(mzyRequest.getRequestDay(), "yyyy-MM-dd"), mzyRequest.getUnitCode(), mzyRequest.getAmpm(), mzyRequest.getChargeType(), mzyRequest.getDoctorCode());
|
|
|
+ List<MzyRequest> mzyRequests = mzyRequestMapper.selectRequestByRequestDay(DateFormatUtils.format(mzyRequest.getRequestDay(), "yyyy-MM-dd"), mzyRequest.getUnitCode(), mzyRequest.getAmpm(), mzyRequest.getChargeType(), mzyRequest.getDoctorCode());
|
|
|
if (mzyRequests == null || mzyRequests.size() == 0) {
|
|
|
throw new MzException("没有查询到匹配的可挂号表,请先创建!");
|
|
|
}
|