我有一个类似这样的systemd服务脚本:# systemd unit file for Debian# Put this in /lib/systemd/system# - systemctl enable sidekiq## to run multiple processes (sidekiq-1, sidekiq-2,
select PERS_ID,CODE,BEG_DTE where PERS_ID='12345'and CRTE_TSTP=(select MIN(CRTE_TSTP) where H.PERS_ID=S.PERS_ID and EFCT_END_DTEPERS_ID,CODE,EFCT_BEG_DTE from PRD_HIST H