|
@@ -2122,12 +2122,12 @@ public class MzPharmacyController {
|
|
|
}
|
|
|
|
|
|
// 新增:调用外部接口验证追溯码
|
|
|
- // Map<String, Object> externalValidationResult = validateTracCodgWithExternalApi(drugTracCodg, chargeItemCode);
|
|
|
- // if (!(Boolean) externalValidationResult.get("isValid")) {
|
|
|
- // resultMap.put("code", -1);
|
|
|
- // resultMap.put("message", (String) externalValidationResult.get("message"));
|
|
|
- // return resultMap;
|
|
|
- // }
|
|
|
+ Map<String, Object> externalValidationResult = validateTracCodgWithExternalApi(drugTracCodg, chargeItemCode);
|
|
|
+ if (!(Boolean) externalValidationResult.get("isValid")) {
|
|
|
+ resultMap.put("code", -1);
|
|
|
+ resultMap.put("message", (String) externalValidationResult.get("message"));
|
|
|
+ return resultMap;
|
|
|
+ }
|
|
|
|
|
|
// 1. 先查询追溯码是否存在(不限制药品编码)
|
|
|
Map<String, Object> ypManuBarCodeQuery = new HashMap<>();
|