รบกวนอ. MN ช่วยดูด้วยครับ นี่เป็นรายการ SQL ที่เกิดขึ้น หลังจากเลือกยาแล้ว ก่อนที่จะขึ้นหน้าต่าง pop up error ดังกล่าวครับ
ผมสังเกตว่า ถ้าเราสั่ง รายการที่ไม่ใช่ยา จะไม่มี error นี้เกิดขึ้น (เป็นเฉพาะสั่งยา)
Date Time Type Exec Time SQL Text
50-04-19 19:30:40.843 SQL 0 select icode from s_drugitems where rtrim(concat(name,' ',strength,' ',units))='Paracetamol 500 mg. àÁç´'
50-04-19 19:30:40.875 SQL 0 select price_type from pttype where pttype='68'
50-04-19 19:30:40.890 SQL 0 select unitprice from drugitems where icode='1000227'
50-04-19 19:30:40.906 SQL 0 select default_qty from drugitems where icode='1000227'
50-04-19 19:30:40.937 SQL 0 select displaycolor from s_drugitems where icode='1000227'
50-04-19 19:30:40.953 SQL 0 select count(*) as cc from drugitems_inc where icode='1000227'
50-04-19 19:30:40.968 SQL 15 SHOW TABLES FROM hos LIKE 'drugitems_inc'
50-04-19 19:30:40.968 SQL 0 SHOW COLUMNS FROM hos.drugitems_inc LIKE '%'
50-04-19 19:30:40.984 SQL 0 select * from drugitems_inc where icode='1000227'
50-04-19 19:30:40.984 SQL 0 SHOW KEYS FROM hos.drugitems_inc
50-04-19 19:30:41.031 SQL 0 select concat(name,' ',strength,' ',units) as name from s_drugitems where icode='1000227'
50-04-19 19:30:41.046 SQL 0 select price_type from pttype where pttype='68'
50-04-19 19:30:41.062 SQL 0 select unitprice from drugitems where icode='1000227'
50-04-19 19:30:41.093 SQL 0 select drugusage from drugitems where icode='1000227'
50-04-19 19:30:41.109 SQL 0 select shortlist from drugusage where drugusage='0153'
50-04-19 19:30:41.109 SQL 0 SHOW KEYS FROM hos.drugusage
50-04-19 19:30:41.125 SQL 0 select istatus, icode from drugitems where concat(name,' ',strength,' ',units)='Paracetamol 500 mg. àÁç´'
50-04-19 19:30:41.171 SQL 15 select price_lock from s_drugitems where icode='1000227'
50-04-19 19:30:41.187 SQL 0 select unitprice from drugitems where icode='1000227'
50-04-19 19:30:41.203 SQL 0 select displaycolor from s_drugitems where icode='1000227'
50-04-19 19:30:41.234 SQL 0 select check_user_group from drugitems where icode='1000227'
50-04-19 19:30:41.250 SQL 0 select check_user_name from drugitems where icode='1000227'
50-04-19 19:30:41.265 SQL 0 select empty from drugitems where icode='1000227'
50-04-19 19:30:41.296 SQL 0 select maxunitperdose from drugitems where icode='1000227'
50-04-19 19:30:41.312 SQL 0 select must_paid,high_cost,use_right from drugitems where icode='1000227'
50-04-19 19:30:41.359 SQL 0 select concat(name,' ',strength,' ',units) as name from s_drugitems where icode=''
50-04-19 19:30:41.390 SQL 0 select price_type from pttype where pttype='68'
50-04-19 19:30:41.406 SQL 0 select price from nondrugitems where icode=''