BMS-HOSxP Community
HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: TRIPAK ที่ สิงหาคม 01, 2012, 13:44:25 PM
-
ส่งตวัจาก ipd รับบิการแพทย์แผนไทย บันทึกไม่ได้ เช็ค serial แล้วยัง err
System Message
SQL Error: Duplicate entry '1815' for key 'PRIMARY'
select * from health_med_service where health_med_service_id = 1815
SQL Error: Duplicate entry '1659' for key 'PRIMARY'
select * from health_med_service_operation where health_med_service_id = 1815
SQL Error: Duplicate entry '3155' for key 'PRIMARY'
select * from health_med_service_treatment where health_med_service_id = 1815
-
การเงินใช้ได้แล้ว ....พิมพ์ใบนำส่งเงิน
-
แผนกในผู้ป่วยใน ยังเป็น MEMO เหมือนเดิม........
-
ส่งตวัจาก ipd รับบิการแพทย์แผนไทย บันทึกไม่ได้ เช็ค serial แล้วยัง err
System Message
SQL Error: Duplicate entry '1815' for key 'PRIMARY'
select * from health_med_service where health_med_service_id = 1815
SQL Error: Duplicate entry '1659' for key 'PRIMARY'
select * from health_med_service_operation where health_med_service_id = 1815
SQL Error: Duplicate entry '3155' for key 'PRIMARY'
select * from health_med_service_treatment where health_med_service_id = 1815
ลองใช้คำสั่ง
update serial set serial_no=(select max(health_med_service_treatment_id) from health_med_service_treatment) where name="health_med_service_treatment_id"
ดูครับ
-
แผนกในผู้ป่วยใน ยังเป็น MEMO เหมือนเดิม........
แก้ไขให้แล้วนะครับใน 3.55.8.1
-
ส่งตวัจาก ipd รับบิการแพทย์แผนไทย บันทึกไม่ได้ เช็ค serial แล้วยัง err
System Message
SQL Error: Duplicate entry '1815' for key 'PRIMARY'
select * from health_med_service where health_med_service_id = 1815
SQL Error: Duplicate entry '1659' for key 'PRIMARY'
select * from health_med_service_operation where health_med_service_id = 1815
SQL Error: Duplicate entry '3155' for key 'PRIMARY'
select * from health_med_service_treatment where health_med_service_id = 1815
ลองใช้คำสั่ง
update serial set serial_no=(select max(health_med_service_treatment_id) from health_med_service_treatment) where name="health_med_service_treatment_id"
ดูครับ
แก้แล้วยังขึ้น err
-
ส่งตวัจาก ipd รับบิการแพทย์แผนไทย บันทึกไม่ได้ เช็ค serial แล้วยัง err
System Message
SQL Error: Duplicate entry '1815' for key 'PRIMARY'
select * from health_med_service where health_med_service_id = 1815
SQL Error: Duplicate entry '1659' for key 'PRIMARY'
select * from health_med_service_operation where health_med_service_id = 1815
SQL Error: Duplicate entry '3155' for key 'PRIMARY'
select * from health_med_service_treatment where health_med_service_id = 1815
ลองใช้คำสั่ง
update serial set serial_no=(select max(health_med_service_treatment_id) from health_med_service_treatment) where name="health_med_service_treatment_id"
ดูครับ
แก้แล้วยังขึ้น err
ลืมครับ แถมอีก 2 คำสั่งครับ ;D
update serial set serial_no=(select max(health_med_service_id) from health_med_service) where name="health_med_service_id"
update serial set serial_no=(select max(health_med_service_operation _id) from health_med_service_operation ) where name="health_med_service_operation_id"
-
ส่งตวัจาก ipd รับบิการแพทย์แผนไทย บันทึกไม่ได้ เช็ค serial แล้วยัง err
System Message
SQL Error: Duplicate entry '1815' for key 'PRIMARY'
select * from health_med_service where health_med_service_id = 1815
SQL Error: Duplicate entry '1659' for key 'PRIMARY'
select * from health_med_service_operation where health_med_service_id = 1815
SQL Error: Duplicate entry '3155' for key 'PRIMARY'
select * from health_med_service_treatment where health_med_service_id = 1815
ลองใช้คำสั่ง
update serial set serial_no=(select max(health_med_service_treatment_id) from health_med_service_treatment) where name="health_med_service_treatment_id"
ดูครับ
แก้แล้วยังขึ้น err
ลืมครับ แถมอีก 2 คำสั่งครับ ;D
update serial set serial_no=(select max(health_med_service_id) from health_med_service) where name="health_med_service_id"
update serial set serial_no=(select max(health_med_service_operation _id) from health_med_service_operation ) where name="health_med_service_operation_id"
ยังไม่ผ่าน ติด opitemrece cds