select d.* from i_users.td_s_tag d where d.TAG_CODE = 'CS_PC_ENTRY_VALIDATE' and PROVINCE_CODE ='17'
TAG_CHAR 0开1关
名单表综合管理数据
Select * from d_userpool.TF_F_USER_PSPT_LIST where pspt_type_code='' and pspt_id='' and LIST_TYPE_PROVINCE>0 and role_detail_id ='' and list_type='05' and province_code='17' and end_date>=now();