|
@@ -17,6 +17,7 @@ import cn.hnthyy.thmz.mapper.his.mz.MzDrugWinMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.mz.MzPharmacyMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.yp.YpBaseYfMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.yp.YpZdManufactoryMapper;
|
|
|
+import cn.hnthyy.thmz.service.SysParametersService;
|
|
|
import cn.hnthyy.thmz.service.his.mz.MzPharmacyService;
|
|
|
import cn.hnthyy.thmz.service.thmz.TsmzService;
|
|
|
import cn.hnthyy.thmz.vo.ChargeDetailInfoVo;
|
|
@@ -65,6 +66,9 @@ public class MzPharmacyServiceImpl implements MzPharmacyService {
|
|
|
@SuppressWarnings("all")
|
|
|
@Autowired
|
|
|
private MzDrugWinMapper mzDrugWinMapper;
|
|
|
+ @SuppressWarnings("all")
|
|
|
+ @Autowired
|
|
|
+ private SysParametersService sysParametersService;
|
|
|
//语音生成接口地址
|
|
|
@Value("${audioServiceUrl}")
|
|
|
private String audioServiceUrl;
|
|
@@ -208,6 +212,11 @@ public class MzPharmacyServiceImpl implements MzPharmacyService {
|
|
|
@Override
|
|
|
@Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT, timeout = 36000, rollbackFor = Exception.class)
|
|
|
public Map<String, Object> sendMedicineProcessing(MzChargeDetail mzChargeDetail, User user, HttpServletRequest request,boolean flag) throws MzException {
|
|
|
+ // 评价器开关
|
|
|
+ String value = sysParametersService.getSysParametersByCode("mzYfPjq");
|
|
|
+ if("1".equals(value)){
|
|
|
+ flag = false;
|
|
|
+ }
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
int i = mzPharmacyMapper.selectConfirmFlagByRealNo(mzChargeDetail.getRealNo(), mzChargeDetail.getGroupNo(), mzChargeDetail.getOrderNo());
|
|
|
if (i != 0 && i != 5) {
|