select orgcode, name, case when ('${yppz}' = 'Y0115' or '${yppz}' ='Y0103' or '${yppz}' ='Y0105') then jg_q,else jg_c end as schjg from yc_jc_ORC where calday = '${tjdate}'
select orgcode, name, case when ('${yppz}' = 'Y0115' or '${yppz}' ='Y0103' or '${yppz}' ='Y0105') then jg_q else jg_c end as schjg from yc_jc_ORC where calday = '${tjdate}'