system_find_table_col_userpage_count.tpl 220 B

12345678910111213
  1. select
  2. count(*) records
  3. from
  4. sys_table_col_user
  5. where
  6. del_flag = 0
  7. {{if ne .code ""}}
  8. and code = '{{.code}}'
  9. {{end}}
  10. {{if ne .user_id ""}}
  11. and user_id like '%{{.user_id}}%'
  12. {{end}}