ผู้เขียน หัวข้อ: ขึ้น Error ในเครื่องที่ใช้พิมพ์สติกเกอร์ยา เป็นบ่อยมากครับแก้ไขยังงัยดี ?  (อ่าน 5799 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Suchart

  • Newbie
  • *
  • กระทู้: 31
  • Respect: 0
    • ดูรายละเอียด
เป็นในเครื่องที่ตั้งเป็น Sticker Print Server ของ IPD และ OPD
พอเจอ error นี้ต้องปิดโปรแกรมไปแล้วเข้าใหม่ก็ใช้งานได้ปกติ
แต่เดี๋ยวสักพักก็เป็นอีก....ท่านผู้รู้ช่วยที่ครับ..   :'( :'( :'(

ตอนนี้ใช้ v.10.6 อยู่ครับ

------------------------------------------------------------------------------------
EurekaLog 6.1.02

Application:
-------------------------------------------------------
  1.1 Start Date      : Wed, 19 Oct 2011 13:14:45 +0700
  1.2 Name/Description: HOSMy.exe - (BMS-HOSxP)
  1.3 Version Number  : 3.54.10.6
  1.4 Parameters      :
  1.5 Compilation Date: Thu, 6 Oct 2011 18:51:31 +0700
  1.6 Up Time         : 42 minutes, 11 seconds

Exception:
--------------------------------------------------------
  2.1 Date          : Wed, 19 Oct 2011 13:56:56 +0700
  2.2 Address       : 0056BE20
  2.3 Module Name   : HOSMy.exe - (BMS-HOSxP)
  2.4 Module Version: 3.54.10.6
  2.5 Type          : EDatabaseError
  2.6 Message       : BCDS1: Field 'hos_guid' not found.
  2.7 ID            : 0A72
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : Administrator
  3.2 Name      : HomeUser
  3.3 Email     :
  3.4 Company   : Computer
  3.5 Privileges: SeChangeNotifyPrivilege         - ON
                  SeSecurityPrivilege             - OFF
                  SeBackupPrivilege               - OFF
                  SeRestorePrivilege              - OFF
                  SeShutdownPrivilege             - OFF
                  SeRemoteShutdownPrivilege       - OFF
                  SeTakeOwnershipPrivilege        - OFF
                  SeSystemProfilePrivilege        - OFF
                  SeProfileSingleProcessPrivilege - OFF
                  SeIncreaseBasePriorityPrivilege - OFF
                  SeLoadDriverPrivilege           - ON
                  SeCreatePagefilePrivilege       - OFF
                  SeIncreaseQuotaPrivilege        - OFF
                  SeUndockPrivilege               - ON
                  SeManageVolumePrivilege         - OFF
                  SeImpersonatePrivilege          - ON
                  SeCreateGlobalPrivilege         - ON

Computer:
-----------------------------------------------------------------------------------
  5.1 Name          : ห้องจ่ายยา
  5.2 Total Memory  : 2038 Mb
  5.3 Free Memory   : 1594 Mb
  5.4 Total Disk    : 97.66 Gb
  5.5 Free Disk     : 93.6 Gb
  5.6 System Up Time: 5 hours, 59 minutes, 51 seconds
  5.7 Processor     : Intel(R) Celeron(R) CPU        E3200  @ 2.40GHz
  5.8 Display Mode  : 1280 x 1024, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : Intel(R) G33/G31 Express Chipset Family (driver 6.14.10.5009)
  5.11 Printer      : Zebra  TLP2844 (driver 1.3.37.0)

Operating System:
------------------------------------
  6.1 Type    : Microsoft Windows XP
  6.2 Build # : 2600
  6.3 Update  : Service Pack 3
  6.4 Language: Thai
  6.5 Charset : 222

Network:
---------------------------------
  7.1 IP Address: 192.168.010.053
  7.2 Submask   : 255.255.255.000
  7.3 Gateway   : 192.168.010.251
  7.4 DNS 1     : 192.168.010.251
  7.5 DNS 2     : 000.000.000.000
  7.6 DHCP      : OFF           

Custom Information:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 11264 [รพช. ชนแดน]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.1.30
                                  Database hosxp @ 192.168.10.1]
  8.4                          :
  8.5 No 1                     : insert into replicate_log (`event_time`,`client`,`sql`) values (current_timestamp,'ห้องจ่ายยา','update serial set serial_no = 4972359 where name =\'doctor_order_print_code\'')
  8.6 No 2                     : select get_serialnumber('doctor_order_print_code') as cc
  8.7 No 3                     : select hn from ovst where vn='541019132305'
  8.8 DBMS Variables           :
  8.9                          :
  8.10 auto_increment_increment: 1
                                 auto_increment_offset = 1
                                 autocommit = ON
                                 automatic_sp_privileges = ON
                                 back_log = 50
                                 basedir = /
                                 big_tables = OFF
                                 binlog_cache_size = 32768
                                 binlog_format = STATEMENT
                                 bulk_insert_buffer_size = 8388608
                                 character_set_client = tis620
                                 character_set_connection = tis620
                                 character_set_database = tis620
                                 character_set_filesystem = binary
                                 character_set_results = tis620
                                 character_set_server = tis620
                                 character_set_system = utf8
                                 character_sets_dir = /usr/share/mysql/charsets/
                                 collation_connection = tis620_thai_ci
                                 collation_database = tis620_thai_ci
                                 collation_server = tis620_thai_ci
                                 completion_type = 0
                                 concurrent_insert = 1
                                 connect_timeout = 10
                                 datadir = /var/lib/mysql/
                                 date_format = %Y-%m-%d
                                 datetime_format = %Y-%m-%d %H:%i:%s
                                 default_week_format = 0
                                 delay_key_write = ON
                                 delayed_insert_limit = 100
                                 delayed_insert_timeout = 300
                                 delayed_queue_size = 1000
                                 div_precision_increment = 4
                                 engine_condition_pushdown = ON
                                 error_count = 0
                                 event_scheduler = OFF
                                 expire_logs_days = 0
                                 flush = OFF
                                 flush_time = 0
                                 foreign_key_checks = ON
                                 ft_boolean_syntax = + -><()~*:""&|
                                 ft_max_word_len = 84
                                 ft_min_word_len = 4
                                 ft_query_expansion_limit = 20
                                 ft_stopword_file = (built-in)
                                 general_log = OFF
                                 general_log_file = /var/lib/mysql/HosXP-Server1.log
                                 group_concat_max_len = 1024
                                 have_community_features = YES
                                 have_compress = YES
                                 have_crypt = YES
                                 have_csv = YES
                                 have_dynamic_loading = YES
                                 have_geometry = YES
                                 have_innodb = YES
                                 have_ndbcluster = NO
                                 have_openssl = NO
                                 have_partitioning = YES
                                 have_query_cache = YES
                                 have_rtree_keys = YES
                                 have_ssl = NO
                                 have_symlink = YES
                                 hostname = HosXP-Server1
                                 identity = 76936917
                                 init_connect = SET NAMES tis620
                                 init_file =
                                 init_slave =
                                 innodb_adaptive_hash_index = ON
                                 innodb_additional_mem_pool_size = 536870912
                                 innodb_autoextend_increment = 8
                                 innodb_autoinc_lock_mode = 1
                                 innodb_buffer_pool_size = 1073741824
                                 innodb_checksums = ON
                                 innodb_commit_concurrency = 0
                                 innodb_concurrency_tickets = 500
                                 innodb_data_file_path = ibdata1:10M:autoextend
                                 innodb_data_home_dir = /var/lib/mysql/
                                 innodb_doublewrite = ON
                                 innodb_fast_shutdown = 1
                                 innodb_file_io_threads = 4
                                 innodb_file_per_table = ON
                                 innodb_flush_log_at_trx_commit = 1
                                 innodb_flush_method =
                                 innodb_force_recovery = 0
                                 innodb_lock_wait_timeout = 50
                                 innodb_locks_unsafe_for_binlog = OFF
                                 innodb_log_buffer_size = 8388608
                                 innodb_log_file_size = 67108864
                                 innodb_log_files_in_group = 2
                                 innodb_log_group_home_dir = /var/lib/mysql/
                                 innodb_max_dirty_pages_pct = 90
                                 innodb_max_purge_lag = 0
                                 innodb_mirrored_log_groups = 1
                                 innodb_open_files = 300
                                 innodb_rollback_on_timeout = OFF
                                 innodb_support_xa = ON
                                 innodb_sync_spin_loops = 20
                                 innodb_table_locks = ON
                                 innodb_thread_concurrency = 8
                                 innodb_thread_sleep_delay = 10000
                                 insert_id = 0
                                 interactive_timeout = 28800
                                 join_buffer_size = 131072
                                 keep_files_on_create = OFF
                                 key_buffer_size = 2147483648
                                 key_cache_age_threshold = 300
                                 key_cache_block_size = 1024
                                 key_cache_division_limit = 100
                                 language = /usr/share/mysql/english/
                                 large_files_support = ON
                                 large_page_size = 0
                                 large_pages = OFF
                                 last_insert_id = 76936917
                                 lc_time_names = en_US
                                 license = GPL
                                 local_infile = ON
                                 locked_in_memory = OFF
                                 log = OFF
                                 log_bin = OFF
                                 log_bin_trust_function_creators = OFF
                                 log_bin_trust_routine_creators = OFF
                                 log_error = /var/lib/mysql/HosXP-Server1.err
                                 log_output = FILE
                                 log_queries_not_using_indexes = OFF
                                 log_slave_updates = OFF
                                 log_slow_queries = OFF
                                 log_warnings = 1
                                 long_query_time = 10.000000
                                 low_priority_updates = OFF
                                 lower_case_file_system = OFF
                                 lower_case_table_names = 0
                                 max_allowed_packet = 16777216
                                 max_binlog_cache_size = 18446744073709551615
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 151
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 18446744073709551615
                                 max_length_for_sort_data = 1024
                                 max_prepared_stmt_count = 16382
                                 max_relay_log_size = 0
                                 max_seeks_for_key = 18446744073709551615
                                 max_sort_length = 1024
                                 max_sp_recursion_depth = 0
                                 max_tmp_tables = 32
                                 max_user_connections = 0
                                 max_write_lock_count = 18446744073709551615
                                 min_examined_row_limit = 0
                                 multi_range_count = 256
                                 myisam_data_pointer_size = 6
                                 myisam_max_sort_file_size = 9223372036854775807
                                 myisam_recover_options = OFF
                                 myisam_repair_threads = 1
                                 myisam_sort_buffer_size = 2147483648
                                 myisam_stats_method = nulls_unequal
                                 myisam_use_mmap = OFF
                                 net_buffer_length = 16384
                                 net_read_timeout = 30
                                 net_retry_count = 10
                                 net_write_timeout = 60
                                 new = OFF
                                 old = OFF
                                 old_alter_table = OFF
                                 old_passwords = OFF
                                 open_files_limit = 2161
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = /var/lib/mysql/HosXP-Server1.pid
                                 plugin_dir = /usr/lib64/mysql/plugin
                                 port = 3306
                                 preload_buffer_size = 32768
                                 profiling = OFF
                                 profiling_history_size = 15
                                 protocol_version = 10
                                 pseudo_thread_id = 14533
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 268435456
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 rand_seed1 =
                                 rand_seed2 =
                                 range_alloc_block_size = 4096
                                 read_buffer_size = 1048576
                                 read_only = OFF
                                 read_rnd_buffer_size = 4194304
                                 relay_log =
                                 relay_log_index =
                                 relay_log_info_file = relay-log.info
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 report_host =
                                 report_password =
                                 report_port = 3306
                                 report_user =
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 secure_file_priv =
                                 server_id = 0
                                 skip_external_locking = ON
                                 skip_networking = OFF
                                 skip_show_database = OFF
                                 slave_compressed_protocol = OFF
                                 slave_exec_mode = STRICT
                                 slave_load_tmpdir = /tmp
                                 slave_net_timeout = 3600
                                 slave_skip_errors = OFF
                                 slave_transaction_retries = 10
                                 slow_launch_time = 2
                                 slow_query_log = OFF
                                 slow_query_log_file = /var/lib/mysql/HosXP-Server1-slow.log
                                 socket = /var/lib/mysql/mysql.sock
                                 sort_buffer_size = 1048576
                                 sql_auto_is_null = ON
                                 sql_big_selects = ON
                                 sql_big_tables = OFF
                                 sql_buffer_result = OFF
                                 sql_log_bin = ON
                                 sql_log_off = OFF
                                 sql_log_update = ON
                                 sql_low_priority_updates = OFF
                                 sql_max_join_size = 18446744073709551615
                                 sql_mode =
                                 sql_notes = ON
                                 sql_quote_show_create = ON
                                 sql_safe_updates = OFF
                                 sql_select_limit = 18446744073709551615
                                 sql_slave_skip_counter =
                                 sql_warnings = OFF
                                 ssl_ca =
                                 ssl_capath =
                                 ssl_cert =
                                 ssl_cipher =
                                 ssl_key =
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = ICT
                                 table_definition_cache = 256
                                 table_lock_wait_timeout = 50
                                 table_open_cache = 1000
                                 table_type = MyISAM
                                 thread_cache_size = 8
                                 thread_handling = one-thread-per-connection
                                 thread_stack = 262144
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 timestamp = 1319004953
                                 tmp_table_size = 16777216
                                 tmpdir = /tmp
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 unique_checks = ON
                                 updatable_views_with_limit = YES
                                 version = 5.1.30
                                 version_comment = MySQL Community Server (GPL)
                                 version_compile_machine = x86_64
                                 version_compile_os = unknown-linux-gnu
                                 wait_timeout = 28800
                                 warning_count = 0
« แก้ไขครั้งสุดท้าย: ตุลาคม 19, 2011, 16:14:25 PM โดย Suchart »
:: Chondaen Hospital , Chondaen , Petchabun ::
เริ่มระบบ เมษายน 2553
Master Server : HP ProLiant ML150 G6 , Ram 24 GB, RAID5
Slave Server : IBM System x3400 M2  , Ram 4 GB , RAID1
(CentOS 5.2 64bit , Percona 5.5.33)
:: HOSxP v.3.56.8.21 ::

ออฟไลน์ pop_hosxp

  • Hero Member
  • *****
  • กระทู้: 3,129
  • Respect: +38
    • ดูรายละเอียด
    • Phanomphrai Hospital
upgrade structure หรือยังครับ
pop434241@gmail.com
รพ.พนมไพร จ.ร้อยเอ็ด www.phanomphrai.net

ออฟไลน์ Suchart

  • Newbie
  • *
  • กระทู้: 31
  • Respect: 0
    • ดูรายละเอียด
upgrade structure หรือยังครับ

Upgrade structure แล้วครับ
ทำทุกครั้งที่เปลี่ยนเวอร์ชั่น

เป็นมานานแล้ว (5-6 เดือน) อัพหลายเวอร์ชั่นแล้วแก้ไม่หายซักที

ขึ้นทุกวัน วันละหลายครั้ง   
:: Chondaen Hospital , Chondaen , Petchabun ::
เริ่มระบบ เมษายน 2553
Master Server : HP ProLiant ML150 G6 , Ram 24 GB, RAID5
Slave Server : IBM System x3400 M2  , Ram 4 GB , RAID1
(CentOS 5.2 64bit , Percona 5.5.33)
:: HOSxP v.3.56.8.21 ::

ออฟไลน์ เกื้อกูล ครับ..

  • Hero Member
  • *****
  • กระทู้: 12,611
  • Respect: +169
    • ดูรายละเอียด
    • โรงพยาบาลปากท่อ
น่าจะจัดการให้ตาราง  opitemrece มีข้อมูลและfield hos_guid ครับ..มีในเมนู Advance--->Upgrade Structure---->Maintenance---->Create Hosguid ในตาราง OPDSCREEN+OPITEMRECE ครับ.. 8) 8)
Implement  HOSxP  Start 2548 ---> NOW!
Station : 130 Client   V.3 Version  3.67.1.XX
Server  : CENTOS  +MySQL maria 10.x.x

ออฟไลน์ Suchart

  • Newbie
  • *
  • กระทู้: 31
  • Respect: 0
    • ดูรายละเอียด
น่าจะจัดการให้ตาราง  opitemrece มีข้อมูลและfield hos_guid ครับ..มีในเมนู Advance--->Upgrade Structure---->Maintenance---->Create Hosguid ในตาราง OPDSCREEN+OPITEMRECE ครับ.. 8) 8)

ขอบคุณมากครับ อ.เกื้อกูล  ;D ;D ;D

ลองทำตามแล้วครับ... กำลังรอดูผลอยู่ครับ

:: Chondaen Hospital , Chondaen , Petchabun ::
เริ่มระบบ เมษายน 2553
Master Server : HP ProLiant ML150 G6 , Ram 24 GB, RAID5
Slave Server : IBM System x3400 M2  , Ram 4 GB , RAID1
(CentOS 5.2 64bit , Percona 5.5.33)
:: HOSxP v.3.56.8.21 ::

ออฟไลน์ Suchart

  • Newbie
  • *
  • กระทู้: 31
  • Respect: 0
    • ดูรายละเอียด
น่าจะจัดการให้ตาราง  opitemrece มีข้อมูลและfield hos_guid ครับ..มีในเมนู Advance--->Upgrade Structure---->Maintenance---->Create Hosguid ในตาราง OPDSCREEN+OPITEMRECE ครับ.. 8) 8)

ลองทำตาม อ.เกื้อกูล แล้วครับ คราวนี้มี error ใหม่เด้งขึ้นมาตลอดครับ
แต่ไม่ต้องปิดโปรแกรม พอคลิ๊กปิดไปก็ทำงานต่อได้
แต่เดี๋ยวก็ขึ้นโชว์อีก แล้วการปริ้นท์สติกเกอร์ก็จะหยุด ต้องกดปิดก่อนถึงจะปริ้นท์ต่อได้ครับ..
รบกวนอาจารย์อีกรอบครับ......

EurekaLog 6.1.02
Application:
-------------------------------------------------------
  1.1 Start Date      : Thu, 20 Oct 2011 10:23:17 +0700
  1.2 Name/Description: HOSMy.exe - (BMS-HOSxP)
  1.3 Version Number  : 3.54.10.6
  1.4 Parameters      :
  1.5 Compilation Date: Thu, 6 Oct 2011 18:51:31 +0700
  1.6 Up Time         : 18 minutes, 22 seconds
Exception:
------------------------------------------------------------------
  2.1 Date          : Thu, 20 Oct 2011 10:41:39 +0700
  2.2 Address       : 004E2DB6
  2.3 Module Name   : HOSMy.exe - (BMS-HOSxP)
  2.4 Module Version: 3.54.10.6
  2.5 Type          : EInvalidOperation
  2.6 Message       : Cannot focus a disabled or invisible window.
  2.7 ID            : 1F0D
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :
User:
-------------------------------------------------------
  3.1 ID        : Windows XP
  3.2 Name      : Se7ven
  3.3 Email     :
  3.4 Company   : Viettel Corporation
  3.5 Privileges: SeChangeNotifyPrivilege         - ON
                  SeSecurityPrivilege             - OFF
                  SeBackupPrivilege               - OFF
                  SeRestorePrivilege              - OFF
                  SeSystemtimePrivilege           - OFF
                  SeShutdownPrivilege             - OFF
                  SeRemoteShutdownPrivilege       - OFF
                  SeTakeOwnershipPrivilege        - OFF
                  SeDebugPrivilege                - OFF
                  SeSystemEnvironmentPrivilege    - OFF
                  SeSystemProfilePrivilege        - OFF
                  SeProfileSingleProcessPrivilege - OFF
                  SeIncreaseBasePriorityPrivilege - OFF
                  SeLoadDriverPrivilege           - ON
                  SeCreatePagefilePrivilege       - OFF
                  SeIncreaseQuotaPrivilege        - OFF
                  SeUndockPrivilege               - ON
                  SeManageVolumePrivilege         - OFF
                  SeImpersonatePrivilege          - ON
                  SeCreateGlobalPrivilege         - ON
Computer:
-----------------------------------------------------------------------------------
  5.1 Name          : MENTAL_H
  5.2 Total Memory  : 2038 Mb
  5.3 Free Memory   : 1640 Mb
  5.4 Total Disk    : 214.85 Gb
  5.5 Free Disk     : 207.12 Gb
  5.6 System Up Time: 23 minutes, 30 seconds
  5.7 Processor     : Pentium(R) Dual-Core  CPU      E5300  @ 2.60GHz
  5.8 Display Mode  : 1280 x 768, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : Intel(R) G33/G31 Express Chipset Family (driver 6.14.10.4926)
  5.11 Printer      : Zebra  TLP2844 (driver 1.3.37.0)
Operating System:
------------------------------------
  6.1 Type    : Microsoft Windows XP
  6.2 Build # : 2600
  6.3 Update  : Service Pack 3
  6.4 Language: Thai
  6.5 Charset : 222
Network:
---------------------------------
  7.1 IP Address: 192.168.010.142
  7.2 Submask   : 255.255.255.000
  7.3 Gateway   : 192.168.010.251
  7.4 DNS 1     : 192.168.010.251
  7.5 DNS 2     : 000.000.000.000
  7.6 DHCP      : OFF           
Custom Information:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code            : 11264 [รพช. ชนแดน]
  8.2 Database Type            : MySQL
  8.3 Database Protocol        : mysql-4.1 [5.1.30
                                  Database hosxp @ 192.168.10.1]
  8.4                          :
  8.5 No 1                     : select v.vn,v.rx_queue,v.hn,v.pt_priority,pty.pcode,v.oqueue,(vns.rcpt_money-vns.paid_money) as pmoney, v.cur_dep_time,q2.stock_department_queue_no,count(s.vn) as svn_count,    count(r.vn) as rx_count,count(r1.vn) as pay_count  , count(t.vn) as finance_count,count(r2.vn) as rx_print_count   , k.department  , concat(p.pname,p.fname,'  ',p.lname) as ptname  from ovst v left outer join patient p on p.hn=v.hn  left outer join pq_doctor s on s.vn=v.vn  left outer join rx_operator r on r.vn=v.vn  left outer join rcpt_print t on t.vn=v.vn  left outer join pttype pty on pty.pttype = v.pttype  left outer join kskdepartment k on k.depcode=v.last_dep  left outer join rx_operator r1 on r1.vn=v.vn and r1.pay='Y' left outer join rx_operator r2 on r2.vn=v.vn and r2.rx_print='Y'  left outer join vn_stat vns on vns.vn = v.vn  left outer join ovst_seq q2 on q2.vn = v.vn and q2.stock_department_id = 0 where v.vstdate='2011-10-20'  and v.vn in ('541020003306','541020040816','541020060705','541020060742','541020060820','541020060838','541020060948','541020061316','541020061331','541020061342','541020061619','541020062051','541020062412','541020062736','541020062957','541020063204','541020063312','541020064853','541020065423','541020065622','541020070033','541020071455','541020071522','541020071916','541020071942','541020072036','541020072154','541020072345','541020072548','541020072816','541020072939','541020073647','541020073824','541020074009','541020074011','541020074047','541020074114','541020074730','541020075059','541020075130','541020075310','541020075333','541020075602','541020080109','541020080337','541020081011','541020081831','541020082310','541020082839','541020082937','541020083641','541020083917','541020084254','541020084333','541020084901','541020085814','541020090112','541020090507','541020090932','541020091109','541020092114','541020093052','541020093428','541020094151','541020095753')  and v.vn not in ('')  and v.cur_dep = '007' group by v.vn,v.rx_queue,v.hn,v.pt_priority,pty.pcode,v.oqueue,v.cur_dep_time,p.pname,p.fname,p.lname ,k.department,q2.stock_department_queue_no,vns.rcpt_money,vns.paid_money order by v.pt_priority desc,v.rx_queue,v.cur_dep_time
  8.6 No 2                     : select department_id from stock_department where department_name=''
  8.7 No 3                     : select vn from rx_operator where vn like '541020%' and pay='Y'
  8.8 DBMS Variables           :
  8.9                          :
  8.10 auto_increment_increment: 1
                                 auto_increment_offset = 1
                                 autocommit = ON
                                 automatic_sp_privileges = ON
                                 back_log = 50
                                 basedir = /
                                 big_tables = OFF
                                 binlog_cache_size = 32768
                                 binlog_format = STATEMENT
                                 bulk_insert_buffer_size = 8388608
                                 character_set_client = tis620
                                 character_set_connection = tis620
                                 character_set_database = tis620
                                 character_set_filesystem = binary
                                 character_set_results = tis620
                                 character_set_server = tis620
                                 character_set_system = utf8
                                 character_sets_dir = /usr/share/mysql/charsets/
                                 collation_connection = tis620_thai_ci
                                 collation_database = tis620_thai_ci
                                 collation_server = tis620_thai_ci
                                 completion_type = 0
                                 concurrent_insert = 1
                                 connect_timeout = 10
                                 datadir = /var/lib/mysql/
                                 date_format = %Y-%m-%d
                                 datetime_format = %Y-%m-%d %H:%i:%s
                                 default_week_format = 0
                                 delay_key_write = ON
                                 delayed_insert_limit = 100
                                 delayed_insert_timeout = 300
                                 delayed_queue_size = 1000
                                 div_precision_increment = 4
                                 engine_condition_pushdown = ON
                                 error_count = 0
                                 event_scheduler = OFF
                                 expire_logs_days = 0
                                 flush = OFF
                                 flush_time = 0
                                 foreign_key_checks = ON
                                 ft_boolean_syntax = + -><()~*:""&|
                                 ft_max_word_len = 84
                                 ft_min_word_len = 4
                                 ft_query_expansion_limit = 20
                                 ft_stopword_file = (built-in)
                                 general_log = OFF
                                 general_log_file = /var/lib/mysql/HosXP-Server1.log
                                 group_concat_max_len = 1024
                                 have_community_features = YES
                                 have_compress = YES
                                 have_crypt = YES
                                 have_csv = YES
                                 have_dynamic_loading = YES
                                 have_geometry = YES
                                 have_innodb = YES
                                 have_ndbcluster = NO
                                 have_openssl = NO
                                 have_partitioning = YES
                                 have_query_cache = YES
                                 have_rtree_keys = YES
                                 have_ssl = NO
                                 have_symlink = YES
                                 hostname = HosXP-Server1
                                 identity = 77058036
                                 init_connect = SET NAMES tis620
                                 init_file =
                                 init_slave =
                                 innodb_adaptive_hash_index = ON
                                 innodb_additional_mem_pool_size = 536870912
                                 innodb_autoextend_increment = 8
                                 innodb_autoinc_lock_mode = 1
                                 innodb_buffer_pool_size = 1073741824
                                 innodb_checksums = ON
                                 innodb_commit_concurrency = 0
                                 innodb_concurrency_tickets = 500
                                 innodb_data_file_path = ibdata1:10M:autoextend
                                 innodb_data_home_dir = /var/lib/mysql/
                                 innodb_doublewrite = ON
                                 innodb_fast_shutdown = 1
                                 innodb_file_io_threads = 4
                                 innodb_file_per_table = ON
                                 innodb_flush_log_at_trx_commit = 1
                                 innodb_flush_method =
                                 innodb_force_recovery = 0
                                 innodb_lock_wait_timeout = 50
                                 innodb_locks_unsafe_for_binlog = OFF
                                 innodb_log_buffer_size = 8388608
                                 innodb_log_file_size = 67108864
                                 innodb_log_files_in_group = 2
                                 innodb_log_group_home_dir = /var/lib/mysql/
                                 innodb_max_dirty_pages_pct = 90
                                 innodb_max_purge_lag = 0
                                 innodb_mirrored_log_groups = 1
                                 innodb_open_files = 300
                                 innodb_rollback_on_timeout = OFF
                                 innodb_support_xa = ON
                                 innodb_sync_spin_loops = 20
                                 innodb_table_locks = ON
                                 innodb_thread_concurrency = 8
                                 innodb_thread_sleep_delay = 10000
                                 insert_id = 0
                                 interactive_timeout = 28800
                                 join_buffer_size = 131072
                                 keep_files_on_create = OFF
                                 key_buffer_size = 2147483648
                                 key_cache_age_threshold = 300
                                 key_cache_block_size = 1024
                                 key_cache_division_limit = 100
                                 language = /usr/share/mysql/english/
                                 large_files_support = ON
                                 large_page_size = 0
                                 large_pages = OFF
                                 last_insert_id = 77058036
                                 lc_time_names = en_US
                                 license = GPL
                                 local_infile = ON
                                 locked_in_memory = OFF
                                 log = OFF
                                 log_bin = OFF
                                 log_bin_trust_function_creators = OFF
                                 log_bin_trust_routine_creators = OFF
                                 log_error = /var/lib/mysql/HosXP-Server1.err
                                 log_output = FILE
                                 log_queries_not_using_indexes = OFF
                                 log_slave_updates = OFF
                                 log_slow_queries = OFF
                                 log_warnings = 1
                                 long_query_time = 10.000000
                                 low_priority_updates = OFF
                                 lower_case_file_system = OFF
                                 lower_case_table_names = 0
                                 max_allowed_packet = 16777216
                                 max_binlog_cache_size = 18446744073709551615
                                 max_binlog_size = 1073741824
                                 max_connect_errors = 10
                                 max_connections = 151
                                 max_delayed_threads = 20
                                 max_error_count = 64
                                 max_heap_table_size = 16777216
                                 max_insert_delayed_threads = 20
                                 max_join_size = 18446744073709551615
                                 max_length_for_sort_data = 1024
                                 max_prepared_stmt_count = 16382
                                 max_relay_log_size = 0
                                 max_seeks_for_key = 18446744073709551615
                                 max_sort_length = 1024
                                 max_sp_recursion_depth = 0
                                 max_tmp_tables = 32
                                 max_user_connections = 0
                                 max_write_lock_count = 18446744073709551615
                                 min_examined_row_limit = 0
                                 multi_range_count = 256
                                 myisam_data_pointer_size = 6
                                 myisam_max_sort_file_size = 9223372036854775807
                                 myisam_recover_options = OFF
                                 myisam_repair_threads = 1
                                 myisam_sort_buffer_size = 2147483648
                                 myisam_stats_method = nulls_unequal
                                 myisam_use_mmap = OFF
                                 net_buffer_length = 16384
                                 net_read_timeout = 30
                                 net_retry_count = 10
                                 net_write_timeout = 60
                                 new = OFF
                                 old = OFF
                                 old_alter_table = OFF
                                 old_passwords = OFF
                                 open_files_limit = 2161
                                 optimizer_prune_level = 1
                                 optimizer_search_depth = 62
                                 pid_file = /var/lib/mysql/HosXP-Server1.pid
                                 plugin_dir = /usr/lib64/mysql/plugin
                                 port = 3306
                                 preload_buffer_size = 32768
                                 profiling = OFF
                                 profiling_history_size = 15
                                 protocol_version = 10
                                 pseudo_thread_id = 17404
                                 query_alloc_block_size = 8192
                                 query_cache_limit = 1048576
                                 query_cache_min_res_unit = 4096
                                 query_cache_size = 268435456
                                 query_cache_type = ON
                                 query_cache_wlock_invalidate = OFF
                                 query_prealloc_size = 8192
                                 rand_seed1 =
                                 rand_seed2 =
                                 range_alloc_block_size = 4096
                                 read_buffer_size = 1048576
                                 read_only = OFF
                                 read_rnd_buffer_size = 4194304
                                 relay_log =
                                 relay_log_index =
                                 relay_log_info_file = relay-log.info
                                 relay_log_purge = ON
                                 relay_log_space_limit = 0
                                 report_host =
                                 report_password =
                                 report_port = 3306
                                 report_user =
                                 rpl_recovery_rank = 0
                                 secure_auth = OFF
                                 secure_file_priv =
                                 server_id = 0
                                 skip_external_locking = ON
                                 skip_networking = OFF
                                 skip_show_database = OFF
                                 slave_compressed_protocol = OFF
                                 slave_exec_mode = STRICT
                                 slave_load_tmpdir = /tmp
                                 slave_net_timeout = 3600
                                 slave_skip_errors = OFF
                                 slave_transaction_retries = 10
                                 slow_launch_time = 2
                                 slow_query_log = OFF
                                 slow_query_log_file = /var/lib/mysql/HosXP-Server1-slow.log
                                 socket = /var/lib/mysql/mysql.sock
                                 sort_buffer_size = 1048576
                                 sql_auto_is_null = ON
                                 sql_big_selects = ON
                                 sql_big_tables = OFF
                                 sql_buffer_result = OFF
                                 sql_log_bin = ON
                                 sql_log_off = OFF
                                 sql_log_update = ON
                                 sql_low_priority_updates = OFF
                                 sql_max_join_size = 18446744073709551615
                                 sql_mode =
                                 sql_notes = ON
                                 sql_quote_show_create = ON
                                 sql_safe_updates = OFF
                                 sql_select_limit = 18446744073709551615
                                 sql_slave_skip_counter =
                                 sql_warnings = OFF
                                 ssl_ca =
                                 ssl_capath =
                                 ssl_cert =
                                 ssl_cipher =
                                 ssl_key =
                                 storage_engine = MyISAM
                                 sync_binlog = 0
                                 sync_frm = ON
                                 system_time_zone = ICT
                                 table_definition_cache = 256
                                 table_lock_wait_timeout = 50
                                 table_open_cache = 1000
                                 table_type = MyISAM
                                 thread_cache_size = 8
                                 thread_handling = one-thread-per-connection
                                 thread_stack = 262144
                                 time_format = %H:%i:%s
                                 time_zone = SYSTEM
                                 timed_mutexes = OFF
                                 timestamp = 1319081070
                                 tmp_table_size = 16777216
                                 tmpdir = /tmp
                                 transaction_alloc_block_size = 8192
                                 transaction_prealloc_size = 4096
                                 tx_isolation = REPEATABLE-READ
                                 unique_checks = ON
                                 updatable_views_with_limit = YES
                                 version = 5.1.30
                                 version_comment = MySQL Community Server (GPL)
                                 version_compile_machine = x86_64
                                 version_compile_os = unknown-linux-gnu
                                 wait_timeout = 28800
                                 warning_count = 0

:: Chondaen Hospital , Chondaen , Petchabun ::
เริ่มระบบ เมษายน 2553
Master Server : HP ProLiant ML150 G6 , Ram 24 GB, RAID5
Slave Server : IBM System x3400 M2  , Ram 4 GB , RAID1
(CentOS 5.2 64bit , Percona 5.5.33)
:: HOSxP v.3.56.8.21 ::

ออฟไลน์ เกื้อกูล ครับ..

  • Hero Member
  • *****
  • กระทู้: 12,611
  • Respect: +169
    • ดูรายละเอียด
    • โรงพยาบาลปากท่อ
ได้ตั้งตัวเลือก ตัดรายการยาจาก sub_stock   Realtime ในการบันทึกพิมพ์รายการยาหรือเปล่าครับ..หมายถึง..stock_department  มีรายการคลังยาย่อยด้วยเปล่าครับ.. ??? ???
Implement  HOSxP  Start 2548 ---> NOW!
Station : 130 Client   V.3 Version  3.67.1.XX
Server  : CENTOS  +MySQL maria 10.x.x

ออฟไลน์ Suchart

  • Newbie
  • *
  • กระทู้: 31
  • Respect: 0
    • ดูรายละเอียด
ได้ตั้งตัวเลือก ตัดรายการยาจาก sub_stock   Realtime ในการบันทึกพิมพ์รายการยาหรือเปล่าครับ..หมายถึง..stock_department  มีรายการคลังยาย่อยด้วยเปล่าครับ.. ??? ???

ไม่มีคลังยาย่อย ไม่มีการตัดสต๊อกครับ
:: Chondaen Hospital , Chondaen , Petchabun ::
เริ่มระบบ เมษายน 2553
Master Server : HP ProLiant ML150 G6 , Ram 24 GB, RAID5
Slave Server : IBM System x3400 M2  , Ram 4 GB , RAID1
(CentOS 5.2 64bit , Percona 5.5.33)
:: HOSxP v.3.56.8.21 ::