資料庫違反唯一約束錯誤
### Error updating database. Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: 違反唯一約束條件 (HISTEST.idx_treatment_card_no)找到那個欄位違反約束條件
### The error may exist in file [D:\giddl\qingdao_his_srv\automatic_framework\target\artifacts\main1_war_exploded\WEB-INF\classes\mybatis\rest_clinic\PatientInfoMapper.xml]
### The error may involve PatientInfoMapper.save-Inline
### The error occurred while setting parameters
### SQL: insert into "his_clinic_patient_info"( "patient_id", "clinic_patient_id", "clinic_patient_record_id", "patient_name", "treatment_card_no", "idcard_no", "mobile", "contacts_mobile", "operator_name", "operator_id", "operator_date", "id_categ_code", "id" ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, SYSDATE, ?, ? )
### Cause: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: 違反唯一約束條件 (HISTEST.idx_treatment_card_no)
; SQL []; ORA-00001: 違反唯一約束條件 (HISTEST.idx_treatment_card_no)
; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-00001: 違反唯一約束條件 (HISTEST.idx_treatment_card_no)