BMS-HOSxP Community

HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: TRIPAK ที่ สิงหาคม 01, 2012, 13:44:25 PM

หัวข้อ: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: 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

หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: TRIPAK ที่ สิงหาคม 01, 2012, 13:45:40 PM
การเงินใช้ได้แล้ว ....พิมพ์ใบนำส่งเงิน
หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: Noppadol ที่ สิงหาคม 01, 2012, 14:11:15 PM
แผนกในผู้ป่วยใน ยังเป็น MEMO เหมือนเดิม........
หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: pop_hosxp ที่ สิงหาคม 01, 2012, 14:17:22 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



ลองใช้คำสั่ง

update serial set serial_no=(select max(health_med_service_treatment_id) from health_med_service_treatment) where name="health_med_service_treatment_id"

ดูครับ
หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: manoi ที่ สิงหาคม 01, 2012, 14:51:15 PM
แผนกในผู้ป่วยใน ยังเป็น MEMO เหมือนเดิม........

แก้ไขให้แล้วนะครับใน 3.55.8.1
หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: TRIPAK ที่ สิงหาคม 01, 2012, 15:04:24 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



ลองใช้คำสั่ง

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
หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: pop_hosxp ที่ สิงหาคม 01, 2012, 16:06:48 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



ลองใช้คำสั่ง

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"

หัวข้อ: Re: hosxp v.3.55.7.31
เริ่มหัวข้อโดย: TRIPAK ที่ สิงหาคม 01, 2012, 18:00:45 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



ลองใช้คำสั่ง

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