|
@@ -1849,13 +1849,13 @@ public class MzPharmacyController {
|
|
|
|
|
|
// 3. 查询门诊发药追溯码表,检查是否已被使用
|
|
|
// 使用专门的方法只根据追溯码查询,确保查询条件正确
|
|
|
- MzDrugTracCodg existingTracCodg = mzDrugTracCodgService.getMzDrugTracCodgByCode(drugTracCodg);
|
|
|
-
|
|
|
- if (existingTracCodg != null) {
|
|
|
- resultMap.put("code", -1);
|
|
|
- resultMap.put("message", "追溯码已被使用");
|
|
|
- return resultMap;
|
|
|
- }
|
|
|
+// MzDrugTracCodg existingTracCodg = mzDrugTracCodgService.getMzDrugTracCodgByCode(drugTracCodg);
|
|
|
+//
|
|
|
+// if (existingTracCodg != null) {
|
|
|
+// resultMap.put("code", -1);
|
|
|
+// resultMap.put("message", "追溯码已被使用");
|
|
|
+// return resultMap;
|
|
|
+// }
|
|
|
|
|
|
// 4. 验证通过,返回成功
|
|
|
Map<String, Object> responseData = new HashMap<>();
|