select ORG_ID,ZB_ID,${if(${data_date_m}=='1',"Q1", if(${data_date_m}=='2',"Q2", if(${data_date_m}=='3',"Q3", if(${data_date_m}=='4',"Q4",))))} as Q FROM YTJH_YEAR where zb_id = 10079 这是我写的 根据$data_date 传递的参数,动态查询数据库的字段,求大神帮我改改 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|