|
@@ -8,6 +8,7 @@ import cn.hnthyy.thmz.service.his.mz.MzChargeDetailService;
|
|
|
import cn.hnthyy.thmz.service.his.mz.MzPatientMiService;
|
|
|
import cn.hnthyy.thmz.service.thmz.DispensingSocketService;
|
|
|
import cn.hnthyy.thmz.socket.PrescriptionPrintSocket;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.json.JSONObject;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
@@ -15,7 +16,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
|
-
|
|
|
+@Slf4j
|
|
|
@Service
|
|
|
public class DispensingSocketServiceImpl implements DispensingSocketService {
|
|
|
@Autowired
|
|
@@ -69,6 +70,7 @@ public class DispensingSocketServiceImpl implements DispensingSocketService {
|
|
|
|
|
|
@Override
|
|
|
public int sendToMedicineAndDispensing(String patientId, int times) {
|
|
|
+ log.info("缴费成功,通知药房,门诊号:{},就诊次数:{}", patientId, times);
|
|
|
//查询缴费药品的发药药房
|
|
|
MzChargeDetail mzChargeDetail = new MzChargeDetail();
|
|
|
mzChargeDetail.setPatientId(patientId);
|