function init(){ let headers = { 'hospId': 'pbkwyy'}; let params = {params: {pid: '',type:'1'},headers: headers} let url = 'http://192.168.1.2:5011/reservation/reservation/linkage' $http.metaGet(url,params).then(res=>{ let options = res.data; this.updateSelectOptions('result', 'firm_id', options) }) this.onSearchFormChange('result', 'firm_id', (value)=>{ let params = {params: {pid: value,type:'2'},headers: headers} $http.metaGet('http://192.168.1.2:5011/reservation/reservation/linkage', params ).then(res=>{ let options = res.data; this.updateSelectOptions('result', 'dw_dept_id', options) }) }) this.onSearchFormChange('result', 'dw_dept_id', (value)=>{ let params = {params: {pid: value,type:'3'},headers: headers} $http.metaGet('http://192.168.1.2:5011/reservation/reservation/linkage', params ).then(res=>{ let options = res.data; this.updateSelectOptions('result', 'group_id', options) }) }) } -- 团体预约统计报表 INSERT INTO `jimu_report` (`id`, `code`, `name`, `note`, `status`, `type`, `json_str`, `api_url`, `thumb`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `api_method`, `api_code`, `template`, `view_count`, `css_str`, `js_str`, `tenant_id`, `print_type`, `is_start`, `create_id`, `update_id`) VALUES ('1073102401980628992', '20250418152907', '团体预约统计', NULL, NULL, 'datainfo', '{\"loopBlockList\":[],\"area\":{\"sri\":16,\"sci\":3,\"eri\":16,\"eci\":3,\"width\":100,\"height\":25},\"excel_config_id\":\"1073102401980628992\",\"printConfig\":{\"paper\":\"A4\",\"width\":210,\"height\":297,\"definition\":1,\"isBackend\":false,\"marginX\":10,\"marginY\":10,\"layout\":\"portrait\",\"printCallBackUrl\":\"\"},\"zonedEditionList\":[],\"rows\":{\"0\":{\"cells\":{\"0\":{\"merge\":[2,6],\"height\":75,\"text\":\"团体预约统计\",\"style\":2}}},\"1\":{\"cells\":{}},\"2\":{\"cells\":{}},\"3\":{\"cells\":{\"0\":{\"merge\":[0,1],\"height\":25,\"style\":6,\"text\":\"单位名称\"},\"2\":{\"merge\":[0,4],\"height\":25,\"style\":5,\"text\":\"#{infoRes.dw_name}\"}}},\"4\":{\"cells\":{\"0\":{\"merge\":[0,1],\"height\":25,\"style\":6,\"text\":\"套餐名称\"},\"2\":{\"merge\":[0,4],\"height\":25,\"style\":5,\"text\":\"#{infoRes.dw_dept_name}\"}}},\"5\":{\"cells\":{\"0\":{\"merge\":[0,1],\"height\":25,\"style\":6,\"text\":\"总预约人数\"},\"1\":{\"style\":3,\"text\":\" \"},\"2\":{\"merge\":[0,4],\"height\":25,\"style\":5,\"text\":\" ${numRes.zrs}\"}}},\"6\":{\"cells\":{\"0\":{\"merge\":[1,6],\"height\":50,\"text\":\"未签到人数:${numRes.wqd}人,报告未生成:${numRes.wdy}人,报告已生成:${numRes.ydy}人。\"}}},\"7\":{\"cells\":{\"9\":{\"text\":\"\"}}},\"8\":{\"cells\":{\"1\":{\"merge\":[0,1],\"height\":25,\"style\":6,\"text\":\"预约未登记\"},\"2\":{\"style\":3,\"text\":\" \"},\"3\":{\"style\":6,\"text\":\"手机号\"},\"4\":{\"style\":6,\"text\":\"性别\"},\"5\":{\"style\":6,\"text\":\"年龄\"}}},\"9\":{\"cells\":{\"1\":{\"style\":7,\"text\":\"=row(1)\"},\"2\":{\"style\":5,\"text\":\"#{yywdj.name}\"},\"3\":{\"style\":5,\"text\":\"#{yywdj.phoe}\"},\"4\":{\"text\":\"#{yywdj.sex}\",\"style\":7},\"5\":{\"text\":\"#{yywdj.age}\",\"style\":7},\"11\":{\"text\":\"\"}}},\"10\":{\"cells\":{}},\"11\":{\"cells\":{\"1\":{\"merge\":[0,1],\"height\":25,\"style\":6,\"text\":\"报告未生成\"},\"2\":{\"style\":3,\"text\":\" \"},\"3\":{\"style\":6,\"text\":\"手机号\"},\"4\":{\"style\":6,\"text\":\"性别\"},\"5\":{\"style\":6,\"text\":\"年龄\"}}},\"12\":{\"cells\":{\"1\":{\"style\":7,\"text\":\"=row(2)\"},\"2\":{\"style\":5,\"text\":\"#{bgwdy.name}\"},\"3\":{\"style\":5,\"text\":\"#{bgwdy.phoe}\"},\"4\":{\"text\":\"#{bgwdy.sex}\",\"style\":7},\"5\":{\"text\":\"#{bgwdy.age}\",\"style\":7}}},\"13\":{\"cells\":{}},\"14\":{\"cells\":{\"1\":{\"merge\":[0,1],\"height\":25,\"style\":6,\"text\":\" 报告已生成\"},\"2\":{\"style\":3,\"text\":\" \"},\"3\":{\"style\":6,\"text\":\"手机号\"},\"4\":{\"style\":6,\"text\":\"性别\"},\"5\":{\"style\":6,\"text\":\"年龄\"}}},\"15\":{\"cells\":{\"1\":{\"style\":7,\"text\":\"=row(3)\"},\"2\":{\"style\":5,\"text\":\"#{bgydy.name}\"},\"3\":{\"style\":5,\"text\":\"#{bgydy.phoe}\"},\"4\":{\"text\":\"#{bgydy.sex}\",\"style\":7},\"5\":{\"text\":\"#{bgydy.age}\",\"style\":7}}},\"16\":{\"cells\":{}},\"17\":{\"cells\":{}},\"18\":{\"cells\":{}},\"19\":{\"cells\":{}},\"20\":{\"cells\":{}},\"21\":{\"cells\":{}},\"22\":{\"cells\":{}},\"23\":{\"cells\":{}},\"24\":{\"cells\":{}},\"26\":{\"cells\":{}},\"27\":{\"cells\":{}},\"len\":84},\"dbexps\":[],\"dicts\":[],\"rpbar\":{\"show\":true,\"pageSize\":\"\",\"btnList\":[]},\"fixedPrintHeadRows\":[],\"fixedPrintTailRows\":[],\"freeze\":\"A1\",\"dataRectWidth\":600,\"displayConfig\":{},\"background\":false,\"name\":\"sheet1\",\"autofilter\":{},\"styles\":[{\"font\":{\"bold\":true}},{\"font\":{\"bold\":true,\"size\":16}},{\"font\":{\"bold\":true,\"size\":16},\"align\":\"center\"},{\"bgcolor\":\"#deeaf6\"},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\"}],\"validations\":[],\"cols\":{\"len\":50},\"merges\":[\"A1:G3\",\"A4:B4\",\"C4:G4\",\"A5:B5\",\"C5:G5\",\"A6:B6\",\"C6:G6\",\"A7:G8\",\"B9:C9\",\"B12:C12\",\"B15:C15\"]}', NULL, NULL, '10001', '2025-04-18 15:29:08', '10001', '2025-04-18 17:06:58', 0, NULL, NULL, 0, 15, NULL, 'function init(){\n let headers = { \'hospId\': \'pbkwyy\'};\n let params = {params: {pid: \'\',type:\'1\'},headers: headers}\n let url = \'http://192.168.1.2:5011/reservation/reservation/linkage\'\n // let url = \'http://10.100.100.117:5101/ltkj-admin/reservation/reservation/linkage\'\n $http.metaGet(url,params).then(res=>{\n let options = res.data;\n this.updateSelectOptions(\'numRes\', \'firm_id\', options)\n })\n\n this.onSearchFormChange(\'numRes\', \'firm_id\', (value)=>{\n let params = {params: {pid: value,type:\'2\'},headers: headers}\n $http.metaGet(\'http://192.168.1.2:5011/reservation/reservation/linkage\', params ).then(res=>{\n let options = res.data;\n this.updateSelectOptions(\'numRes\', \'dw_dept_id\', options)\n })\n })\n}\n', NULL, NULL, NULL, NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1073127049426403328', '1073102401980628992', '10001', '10001', '2025-04-18 16:44:30', '2025-04-18 16:44:30', 'bgydy', '报告已打印', '0', NULL, 'SELECT r.name,r.phoe,CASE WHEN r.sex = 0 THEN \'男\' WHEN r.sex = 1 THEN \'女\' ELSE \'未知\' END AS sex,r.age FROM tj_reservation r WHERE r.id IN (\n SELECT r.id FROM tj_reservation r \nJOIN tj_customer c ON c.cus_idcard = r.id_card\nJOIN tj_order o ON o.user_id = c.cus_id\nWHERE r.company_id = \'${firm_id}\'\n AND o.firm_id = \'${firm_id}\'\n AND o.firm_dept_id = \'${dw_dept_id}\'\n AND o.report_time IS NOT NULL\n) AND r.company_id = \'${firm_id}\'', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1073126558944493568', '1073102401980628992', '10001', '10001', '2025-04-18 16:44:23', '2025-04-18 16:44:23', 'yywdj', '预约未登记', '0', NULL, 'SELECT r.name,r.phoe,CASE WHEN r.sex = 0 THEN \'男\' WHEN r.sex = 1 THEN \'女\' ELSE \'未知\' END AS sex,r.age FROM tj_reservation r WHERE r.id NOT IN (\n SELECT r.id FROM tj_reservation r \nJOIN tj_customer c ON c.cus_idcard = r.id_card\nJOIN tj_order o ON o.user_id = c.cus_id\nWHERE r.company_id = \'${firm_id}\' \n AND o.firm_id = \'${firm_id}\' \n AND o.firm_dept_id = \'${dw_dept_id}\'\n) AND r.company_id = \'${firm_id}\'', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1073126806588784640', '1073102401980628992', '10001', '10001', '2025-04-18 16:44:15', '2025-04-18 16:44:15', 'bgwdy', '报告未打印', '0', NULL, 'SELECT r.name,r.phoe,CASE WHEN r.sex = 0 THEN \'男\' WHEN r.sex = 1 THEN \'女\' ELSE \'未知\' END AS sex,r.age FROM tj_reservation r WHERE r.id IN (\n SELECT r.id FROM tj_reservation r \nJOIN tj_customer c ON c.cus_idcard = r.id_card\nJOIN tj_order o ON o.user_id = c.cus_id\nWHERE r.company_id = \'${firm_id}\' \n AND o.firm_id = \'${firm_id}\' \n AND o.firm_dept_id = \'${dw_dept_id}\'\n AND o.report_time IS NULL\n) AND r.company_id = \'${firm_id}\' ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1073123064535613440', '1073102401980628992', '10001', '10001', '2025-04-18 16:26:15', '2025-04-18 16:26:15', 'infoRes', '单位信息', '0', NULL, 'SELECT dw_name,dw_dept_name FROM tj_dw_dept WHERE id = \'${dw_dept_id}\' ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1073109754712981504', '1073102401980628992', '10001', '10001', '2025-04-18 16:24:15', '2025-04-18 16:24:15', 'numRes', '人数信息', '0', NULL, 'SELECT\n total.num AS zrs,\n IFNULL( a.yqd, 0 ) AS yqd,\n c.num - IFNULL( a.yqd, 0 ) AS wqd,\n IFNULL( b.ydy, 0 ) AS ydy,\n IFNULL( a.yqd, 0 ) - IFNULL( b.ydy, 0 ) AS wdy \nFROM\n ( SELECT COUNT(*) AS num FROM tj_reservation WHERE company_id = 18 ) total\n LEFT JOIN (\n SELECT\n COUNT(*) AS yqd \n FROM\n tj_reservation t\n JOIN tj_customer c ON t.id_card = c.cus_idcard\n JOIN tj_order o ON c.cus_id = o.user_id \n WHERE\n t.company_id = \'${firm_id}\' \n AND o.firm_id = \'${firm_id}\' \n AND o.firm_dept_id = \'${dw_dept_id}\'\n ) a ON 1 = 1\n LEFT JOIN (\n SELECT\n COUNT(*) AS ydy \n FROM\n tj_order o \n WHERE\n o.firm_id = \'${firm_id}\' \n AND o.report_time IS NOT NULL \n AND o.firm_id = \'${firm_id}\' \n AND o.firm_dept_id = \'${dw_dept_id}\'\n ) b ON 1 =1\n LEFT JOIN (\n SELECT count(1) AS num FROM tj_reservation WHERE company_id = \'${firm_id}\'\n ) c ON 1 = 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '', 'mysql', '', '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073127049556426752', '10001', '2025-04-18 16:44:30', NULL, NULL, '1073127049426403328', 'name', 'name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073127049652895744', '10001', '2025-04-18 16:44:30', NULL, NULL, '1073127049426403328', 'phoe', 'phoe', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073128955842428928', '10001', '2025-04-18 16:44:30', NULL, NULL, '1073127049426403328', 'sex', 'sex', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073130544279879680', '10001', '2025-04-18 16:44:30', NULL, NULL, '1073127049426403328', 'age', 'age', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073126559070322688', '10001', '2025-04-18 16:44:23', NULL, NULL, '1073126558944493568', 'name', 'name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073126559158403072', '10001', '2025-04-18 16:44:23', NULL, NULL, '1073126558944493568', 'phoe', 'phoe', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073129020082388992', '10001', '2025-04-18 16:44:23', NULL, NULL, '1073126558944493568', 'sex', 'sex', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073130516677165056', '10001', '2025-04-18 16:44:23', NULL, NULL, '1073126558944493568', 'age', 'age', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073126806706225152', '10001', '2025-04-18 16:44:15', NULL, NULL, '1073126806588784640', 'name', 'name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073126806790111232', '10001', '2025-04-18 16:44:15', NULL, NULL, '1073126806588784640', 'phoe', 'phoe', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073128986326630400', '10001', '2025-04-18 16:44:15', NULL, NULL, '1073126806588784640', 'sex', 'sex', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073130482220957696', '10001', '2025-04-18 16:44:15', NULL, NULL, '1073126806588784640', 'age', 'age', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073123064669831168', '10001', '2025-04-18 16:26:15', NULL, NULL, '1073123064535613440', 'dw_name', 'dw_name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073123064774688768', '10001', '2025-04-18 16:26:15', NULL, NULL, '1073123064535613440', 'dw_dept_name', 'dw_dept_name', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073109754931085312', '10001', '2025-04-18 16:24:15', NULL, NULL, '1073109754712981504', 'zrs', 'zrs', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073109755035942912', '10001', '2025-04-18 16:24:15', NULL, NULL, '1073109754712981504', 'yqd', 'yqd', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073109755136606208', '10001', '2025-04-18 16:24:15', NULL, NULL, '1073109754712981504', 'wqd', 'wqd', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073109755807694848', '10001', '2025-04-18 16:24:15', NULL, NULL, '1073109754712981504', 'ydy', 'ydy', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_field (id, create_by, create_time, update_by, update_time, jimu_report_db_id, field_name, field_text, widget_type, widget_width, order_num, search_flag, search_mode, dict_code, search_value, search_format, ext_json, create_id, update_id) VALUES ('1073109755895775232', '10001', '2025-04-18 16:24:15', NULL, NULL, '1073109754712981504', 'wdy', 'wdy', 'String', NULL, 4, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073127049749364736', '1073127049426403328', 'firm_id', 'firm_id', '', 1, '10001', '2025-04-18 16:44:30', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073127049841639424', '1073127049426403328', 'dw_dept_id', 'dw_dept_id', '', 3, '10001', '2025-04-18 16:44:30', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073126559250677760', '1073126558944493568', 'firm_id', 'firm_id', '', 1, '10001', '2025-04-18 16:44:23', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073126559330369536', '1073126558944493568', 'dw_dept_id', 'dw_dept_id', '', 3, '10001', '2025-04-18 16:44:23', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073126806873997312', '1073126806588784640', 'firm_id', 'firm_id', '', 1, '10001', '2025-04-18 16:44:15', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073126806957883392', '1073126806588784640', 'dw_dept_id', 'dw_dept_id', '', 3, '10001', '2025-04-18 16:44:15', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073123064950849536', '1073123064535613440', 'group_id', 'group_id', '', 1, '10001', '2025-04-18 16:26:15', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073125951038849024', '1073123064535613440', 'dw_dept_id', 'dw_dept_id', '', 2, '10001', '2025-04-18 16:26:15', NULL, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073110240803454976', '1073109754712981504', 'firm_id', '单位', '', 1, '10001', '2025-04-18 16:24:15', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073110240908312576', '1073109754712981504', 'dw_dept_id', '套餐名称', '', 2, '10001', '2025-04-18 16:24:15', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO jimu_report_db_param (id, jimu_report_head_id, param_name, param_txt, param_value, order_num, create_by, create_time, update_by, update_time, search_flag, widget_type, search_mode, dict_code, search_format, ext_json, create_id, update_id) VALUES ('1073110240988004352', '1073109754712981504', 'group_id', '分组', '', 3, '10001', '2025-04-18 16:24:15', NULL, NULL, 0, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `sys_menu` (`menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `deleted`, `create_id`, `update_id`) VALUES ('团体预约统计', 2341, 6, 'reservation', 'jmreport/reservation/index', NULL, 1, 0, 'C', '0', '0', '', 'tree', '超级管理员', '2025-04-18 17:09:14', '超级管理员', '2025-04-18 17:09:39', '', 0, NULL, NULL); update tj_order set firm_dept_id = (select a.dw_dept_id from tj_dw_grouping a where a.id=tj_order.group_id) where group_id is not null -- 团体报表 INSERT INTO `jimu_report` (`id`, `code`, `name`, `note`, `status`, `type`, `json_str`, `api_url`, `thumb`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `api_method`, `api_code`, `template`, `view_count`, `css_str`, `js_str`, `tenant_id`, `print_type`, `is_start`, `create_id`, `update_id`) VALUES ('858579252534800384', '20230904153609', '团队体检报告', NULL, NULL, 'datainfo', '{\"loopBlockList\":[],\"chartList\":[{\"row\":10,\"col\":0,\"colspan\":4,\"rowspan\":14,\"width\":\"424\",\"height\":\"350\",\"config\":\"{\\\"legend\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12},\\\"top\\\":\\\"top\\\",\\\"left\\\":\\\"left\\\",\\\"orient\\\":\\\"vertical\\\",\\\"padding\\\":[43,20,25,10],\\\"data\\\":[\\\"实检人数\\\",\\\"未检人数\\\"],\\\"show\\\":true},\\\"series\\\":[{\\\"isRose\\\":false,\\\"data\\\":[{\\\"name\\\":\\\"实检人数\\\",\\\"value\\\":0,\\\"itemStyle\\\":{\\\"color\\\":\\\"#000000\\\"}},{\\\"name\\\":\\\"未检人数\\\",\\\"value\\\":null,\\\"itemStyle\\\":{\\\"color\\\":\\\"#DADADA\\\"}}],\\\"isRadius\\\":false,\\\"roseType\\\":\\\"\\\",\\\"notCount\\\":false,\\\"center\\\":[\\\"196\\\",\\\"169\\\"],\\\"name\\\":\\\"value\\\",\\\"minAngle\\\":0,\\\"label\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"},\\\"position\\\":\\\"inside\\\",\\\"formatter\\\":\\\"{b}\\\\n{c}\\\",\\\"rotate\\\":0,\\\"type\\\":\\\"pie\\\",\\\"show\\\":true},\\\"type\\\":\\\"pie\\\",\\\"radius\\\":\\\"55%\\\",\\\"autoSort\\\":false}],\\\"tooltip\\\":{\\\"formatter\\\":\\\"{a}
{b} : {c}\\\",\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":5,\\\"text\\\":\\\" 实检、未检比例图\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,10]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"1042300196856037376\",\"axisX\":\"title\",\"axisY\":\"value\",\"series\":\"\",\"yText\":\"value\",\"xText\":\"title\",\"dbCode\":\"btCheckBl\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":\"\",\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"pie.simple\",\"chartId\":\"MfQeh9JkrpGVlt98\",\"id\":\"\"},\"layer_id\":\"MfQeh9JkrpGVlt98\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":false,\"color\":\"#fff\",\"image\":\"\"},\"virtualCellRange\":[[10,0],[10,1],[10,2],[10,3]]},{\"row\":10,\"col\":3,\"colspan\":5,\"rowspan\":14,\"width\":\"563\",\"height\":\"350\",\"config\":\"{\\\"legend\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12},\\\"top\\\":\\\"top\\\",\\\"left\\\":\\\"left\\\",\\\"orient\\\":\\\"vertical\\\",\\\"padding\\\":[43,20,25,10],\\\"data\\\":[\\\"男\\\",\\\"女\\\"],\\\"show\\\":true},\\\"series\\\":[{\\\"isRose\\\":false,\\\"data\\\":[{\\\"name\\\":\\\"男\\\",\\\"value\\\":null,\\\"itemStyle\\\":{\\\"color\\\":\\\"#000000\\\"}},{\\\"name\\\":\\\"女\\\",\\\"value\\\":null,\\\"itemStyle\\\":{\\\"color\\\":\\\"#DADADA\\\"}}],\\\"isRadius\\\":false,\\\"roseType\\\":\\\"\\\",\\\"notCount\\\":false,\\\"center\\\":[\\\"193\\\",180],\\\"name\\\":\\\"value\\\",\\\"minAngle\\\":0,\\\"label\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"},\\\"position\\\":\\\"inside\\\",\\\"formatter\\\":\\\"{b}\\\\n{c}\\\",\\\"rotate\\\":0,\\\"type\\\":\\\"pie\\\",\\\"show\\\":true},\\\"type\\\":\\\"pie\\\",\\\"radius\\\":\\\"55%\\\",\\\"autoSort\\\":false}],\\\"tooltip\\\":{\\\"formatter\\\":\\\"{a}
{b} : {c}\\\",\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":5,\\\"text\\\":\\\" 参检人员性别比例图\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,10]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"1042298604463357952\",\"axisX\":\"title\",\"axisY\":\"value\",\"series\":\"\",\"yText\":\"value\",\"xText\":\"title\",\"dbCode\":\"btNvBl\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":\"\",\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"pie.simple\",\"chartId\":\"kCVpgdlx4R62DHro\",\"id\":\"\"},\"layer_id\":\"kCVpgdlx4R62DHro\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":false,\"color\":\"#fff\",\"image\":\"\"},\"virtualCellRange\":[[10,3],[10,4],[10,5],[10,6],[10,7],[10,8],[10,9]]},{\"row\":26,\"col\":0,\"colspan\":7,\"rowspan\":12,\"width\":\"698\",\"height\":\"276\",\"config\":\"{\\\"yAxis\\\":{\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":\\\"7\\\"}},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"show\\\":true,\\\"name\\\":\\\"人数\\\",\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false},\\\"min\\\":\\\"0\\\"},\\\"xAxis\\\":{\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false},\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12},\\\"rotate\\\":7,\\\"interval\\\":\\\"auto\\\"},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"data\\\":[\\\"0-19岁\\\",\\\"20-29岁\\\",\\\"30-39岁\\\",\\\"40-49岁\\\",\\\"50-59岁\\\",\\\"60-69岁\\\",\\\"70-79岁\\\",\\\"80+\\\"],\\\"show\\\":true,\\\"name\\\":\\\"年龄\\\",\\\"min\\\":\\\"0\\\"},\\\"grid\\\":{\\\"top\\\":60,\\\"left\\\":60,\\\"bottom\\\":60,\\\"right\\\":60},\\\"series\\\":[{\\\"barWidth\\\":22,\\\"data\\\":[0,0,0,0,0,0,0,0],\\\"name\\\":\\\"allnum\\\",\\\"itemStyle\\\":{\\\"barBorderRadius\\\":0,\\\"color\\\":\\\"\\\"},\\\"label\\\":{\\\"show\\\":true,\\\"position\\\":\\\"top\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"}},\\\"type\\\":\\\"bar\\\",\\\"barMinHeight\\\":2,\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontWeight\\\":\\\"bolder\\\"}}],\\\"tooltip\\\":{\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":13,\\\"text\\\":\\\"\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,20]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"859573447174152192\",\"axisX\":\"s\",\"axisY\":\"allnum\",\"series\":\"\",\"yText\":\"allnum\",\"xText\":\"s\",\"dbCode\":\"ageSexPerson\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":false,\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"bar.simple\",\"chartId\":\"SoVAhMMo7OVOxGxK\",\"id\":\"\"},\"layer_id\":\"SoVAhMMo7OVOxGxK\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":\"\",\"color\":\"#fff\",\"image\":\"\",\"repeat\":\"repeat\"},\"virtualCellRange\":[[26,0],[26,1],[26,2],[26,3],[26,4],[26,5],[26,6]]},{\"row\":44,\"col\":0,\"colspan\":8,\"rowspan\":12,\"width\":\"714\",\"height\":\"284\",\"config\":\"{\\\"yAxis\\\":{\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12}},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"show\\\":true,\\\"name\\\":\\\"人数\\\",\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false}},\\\"xAxis\\\":{\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false},\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":\\\"11\\\"},\\\"rotate\\\":90,\\\"interval\\\":\\\"auto\\\"},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"data\\\":[\\\"其他无\\\",\\\"浅表淋巴结无肿大\\\",\\\"四肢、关节功能良好\\\",\\\"脊柱无畸形\\\",\\\"腰椎骨质增生\\\",\\\"血清甘油三酯测定偏高\\\",\\\"红细胞压积偏高\\\",\\\"矫正视力(右)5.0\\\",\\\"屈光双眼屈光不正\\\",\\\"矫正视力(左)5.0\\\"],\\\"show\\\":true,\\\"name\\\":\\\"结论\\\"},\\\"grid\\\":{\\\"top\\\":60,\\\"left\\\":60,\\\"bottom\\\":100,\\\"right\\\":60},\\\"series\\\":[{\\\"barWidth\\\":19,\\\"data\\\":[109,107,105,101,55,49,37,35,34,28],\\\"name\\\":\\\"合计人数\\\",\\\"itemStyle\\\":{\\\"barBorderRadius\\\":0,\\\"color\\\":\\\"\\\"},\\\"label\\\":{\\\"show\\\":true,\\\"position\\\":\\\"top\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"}},\\\"type\\\":\\\"bar\\\",\\\"barMinHeight\\\":2,\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontWeight\\\":\\\"bolder\\\"}}],\\\"tooltip\\\":{\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":\\\"5\\\",\\\"text\\\":\\\"\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,20]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"1041516490843258880\",\"axisX\":\"异常项目\",\"axisY\":\"合计人数\",\"series\":\"\",\"yText\":\"合计人数\",\"xText\":\"异常项目\",\"dbCode\":\"yichangResultList\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":false,\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"bar.simple\",\"chartId\":\"eh48adfikvKWACFK\",\"id\":\"\"},\"layer_id\":\"eh48adfikvKWACFK\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":false,\"color\":\"#fff\",\"image\":\"\"},\"virtualCellRange\":[[44,0],[44,1],[44,2],[44,3],[44,4],[44,5],[44,6],[44,7]]}],\"area\":false,\"excel_config_id\":\"858579252534800384\",\"printConfig\":{\"paper\":\"A4\",\"width\":210,\"height\":297,\"definition\":2,\"isBackend\":false,\"marginX\":10,\"marginY\":10,\"layout\":\"portrait\",\"printCallBackUrl\":\"\"},\"zonedEditionList\":[],\"rows\":{\"0\":{\"cells\":{\"0\":{\"merge\":[1,6],\"height\":50,\"text\":\"团队体检统计\",\"style\":2}}},\"2\":{\"cells\":{\"0\":{\"merge\":[0,2],\"height\":25,\"text\":\"一、基本资料\",\"style\":23}},\"height\":26},\"3\":{\"cells\":{\"0\":{\"merge\":[0,2],\"height\":25,\"text\":\"1、体检信息\"},\"3\":{\"text\":\"\",\"merge\":[0,2],\"height\":25}}},\"4\":{\"cells\":{\"0\":{\"text\":\"公司/团体名\",\"style\":26,\"merge\":[0,1]},\"2\":{\"text\":\"${num.dw_name}\",\"style\":22,\"merge\":[0,4]}}},\"5\":{\"cells\":{\"0\":{\"style\":26,\"merge\":[0,1],\"text\":\"体检单位\"},\"2\":{\"style\":22,\"merge\":[0,4],\"text\":\"${num.dw_dept_name}\"}}},\"6\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"开始时间\",\"merge\":[0,1],\"height\":25},\"2\":{\"style\":22,\"text\":\"${num.开始时间}\",\"merge\":[0,4],\"height\":25}}},\"7\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"结束时间\",\"merge\":[0,1],\"height\":25},\"2\":{\"style\":22,\"text\":\"${num.结束时间}\",\"merge\":[0,4],\"height\":25}}},\"8\":{\"cells\":{\"0\":{\"merge\":[0,6],\"height\":25,\"text\":\"(一)丶本次体检总参检人数:${num.zongshu}人,实检 ${num.实检人数}人,未检 ${num.未检人数}人,其中实检男性 ${num.男}人,实检女性 ${num.女}人。\"}},\"height\":34},\"9\":{\"cells\":{\"0\":{\"merge\":[0,6],\"height\":25,\"text\":\"(二)、总参人员实检及性别比例图\"},\"6\":{\"text\":\"(二)、总参人员实检及性别比例图\"}},\"height\":32},\"10\":{\"cells\":{\"0\":{\"text\":\" \",\"virtual\":\"MfQeh9JkrpGVlt98\"},\"1\":{\"text\":\" \",\"virtual\":\"MfQeh9JkrpGVlt98\"},\"2\":{\"text\":\" \",\"virtual\":\"MfQeh9JkrpGVlt98\"},\"3\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"4\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"5\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"6\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"7\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"8\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"9\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"}}},\"22\":{\"cells\":{\"0\":{\"text\":\"2、参检人年龄分布\",\"merge\":[0,1],\"height\":31}},\"height\":31},\"23\":{\"cells\":{\"0\":{\"style\":26,\"text\":\" \"},\"1\":{\"style\":26,\"text\":\"人数\",\"merge\":[0,2],\"height\":25},\"4\":{\"style\":26,\"text\":\"百分比\",\"merge\":[0,2],\"height\":25},\"8\":{\"text\":\"\",\"rendered\":\"\",\"config\":\"\"}}},\"24\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"年龄组(岁)\"},\"1\":{\"style\":26,\"text\":\"男性\"},\"2\":{\"style\":26,\"text\":\"女性\"},\"3\":{\"style\":26,\"text\":\"合计\"},\"4\":{\"style\":26,\"text\":\"男性\"},\"5\":{\"style\":26,\"text\":\"女性\",\"merge\":[0,1],\"height\":25}}},\"25\":{\"cells\":{\"0\":{\"style\":5,\"text\":\"#{ageSexPerson.s}\"},\"1\":{\"style\":5,\"text\":\"#{ageSexPerson.男}\"},\"2\":{\"style\":5,\"text\":\"#{ageSexPerson.女}\"},\"3\":{\"style\":5,\"text\":\"=SUM(B13,C13)\"},\"4\":{\"style\":29,\"text\":\"#{ageSexPerson.compute(男/(男+女))}\",\"decimalPlaces\":\"2\"},\"5\":{\"style\":29,\"text\":\"#{ageSexPerson.compute(女/(男+女))}\",\"merge\":[0,1],\"height\":25,\"completeBlankStatus\":true,\"rendered\":\"\",\"config\":\"\",\"display\":\"number\",\"decimalPlaces\":\"2\"}}},\"26\":{\"cells\":{\"0\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"1\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"2\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"3\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"4\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"5\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"6\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"}}},\"39\":{\"cells\":{\"0\":{\"text\":\"二、本次体检异常结果检出统计\",\"merge\":[0,3],\"height\":25,\"style\":23}}},\"40\":{\"cells\":{\"0\":{\"merge\":[0,7],\"height\":25,\"text\":\"贵单位此次在我中心进行团体体检,现在得检出的异常按比例进行统计分析,以反映员工的健康状况:\"}}},\"41\":{\"cells\":{\"0\":{\"style\":15,\"text\":\" \"},\"1\":{\"style\":26,\"text\":\"人数\",\"merge\":[0,2],\"height\":25},\"4\":{\"style\":26,\"text\":\"百分比\",\"merge\":[0,2],\"height\":25}}},\"42\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"体检结论\"},\"1\":{\"style\":26,\"text\":\"男性\"},\"2\":{\"style\":26,\"text\":\"女性\"},\"3\":{\"style\":26,\"text\":\"合计\"},\"4\":{\"style\":26,\"text\":\"男性\"},\"5\":{\"style\":26,\"text\":\"女性\",\"merge\":[0,1],\"height\":25}}},\"43\":{\"cells\":{\"0\":{\"style\":24,\"text\":\"#{yichangResultList.异常项目}\"},\"1\":{\"style\":5,\"text\":\"#{yichangResultList.男数量}\"},\"2\":{\"style\":5,\"text\":\"#{yichangResultList.女数量}\"},\"3\":{\"style\":5,\"text\":\"#{yichangResultList.合计人数}\"},\"4\":{\"style\":5,\"text\":\"#{yichangResultList.男百分比}\"},\"5\":{\"style\":5,\"text\":\"#{yichangResultList.女百分比}\",\"merge\":[0,1],\"height\":25}}},\"44\":{\"cells\":{\"0\":{\"merge\":[12,6],\"height\":325,\"virtual\":\"eh48adfikvKWACFK\",\"text\":\" \"},\"1\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"2\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"3\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"4\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"5\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"6\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"7\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"}}},\"57\":{\"cells\":{\"0\":{\"text\":\"三、健康问题分析\",\"merge\":[0,2],\"height\":25,\"style\":23}}},\"58\":{\"cells\":{\"0\":{\"merge\":[0,7],\"height\":25,\"text\":\"以下为各异常详细人员信息:\"}}},\"59\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"病种\",\"loopBlock\":0},\"1\":{\"text\":\"体检号\",\"style\":26,\"loopBlock\":0},\"2\":{\"style\":26,\"text\":\"姓名\",\"loopBlock\":0},\"3\":{\"style\":26,\"text\":\"性别\",\"loopBlock\":0},\"4\":{\"style\":26,\"text\":\"年龄\",\"loopBlock\":0},\"5\":{\"style\":26,\"text\":\"分组\",\"merge\":[0,1],\"height\":25,\"loopBlock\":0}},\"height\":26},\"60\":{\"cells\":{\"0\":{\"style\":24,\"text\":\"#{yichangInfoHzList.temp_result}\",\"loopBlock\":0,\"aggregate\":\"group\",\"rendered\":\"\",\"config\":\"\"},\"1\":{\"text\":\"#{yichangInfoHzList.tj_number}\",\"loopBlock\":0,\"style\":24},\"2\":{\"style\":5,\"text\":\"#{yichangInfoHzList.cus_name}\",\"loopBlock\":0},\"3\":{\"style\":5,\"text\":\"#{yichangInfoHzList.cus_sex}\",\"loopBlock\":0},\"4\":{\"style\":5,\"text\":\"#{yichangInfoHzList.age}\",\"loopBlock\":0},\"5\":{\"style\":5,\"text\":\"#{yichangInfoHzList.grouping_name}\",\"merge\":[0,1],\"height\":25,\"loopBlock\":0},\"6\":{\"text\":\"\",\"loopBlock\":0}},\"height\":28},\"len\":84},\"dbexps\":[],\"dicts\":[],\"rpbar\":{\"show\":true,\"pageSize\":\"\",\"btnList\":[1,2,3,4,5,6,7,8,9]},\"fixedPrintHeadRows\":[],\"fixedPrintTailRows\":[],\"freeze\":\"A1\",\"dataRectWidth\":1013,\"displayConfig\":{},\"background\":false,\"completeBlankRowList\":[{\"db\":\"ageSexPerson\",\"field\":\"compute(女/(男+女))\"}],\"name\":\"sheet1\",\"autofilter\":{},\"styles\":[{\"font\":{\"size\":22}},{\"font\":{\"size\":22,\"bold\":true}},{\"font\":{\"size\":22,\"bold\":true},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"right\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#01b0f1\"},{\"bgcolor\":\"#01b0f1\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#9cc2e6\"},{\"bgcolor\":\"#9cc2e6\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#bdd7ee\"},{\"bgcolor\":\"#bdd7ee\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#deeaf6\"},{\"bgcolor\":\"#deeaf6\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#bdd7ee\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#deeaf6\"},{\"border\":{\"top\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"font\":{\"size\":12}},{\"font\":{\"size\":12}},{\"font\":{\"size\":14}},{},{\"font\":{\"size\":14},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"font\":{\"size\":11}},{\"font\":{\"size\":11}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"textwrap\":true},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"textwrap\":true},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#deeaf6\",\"font\":{\"bold\":true}},{\"font\":{\"bold\":true}},{\"align\":\"right\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"format\":\"percent\"},{\"format\":\"percent\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"textwrap\":false},{\"format\":\"number\"}],\"validations\":[],\"cols\":{\"0\":{\"width\":151},\"1\":{\"width\":128},\"2\":{\"width\":107},\"3\":{\"width\":102},\"4\":{\"width\":107},\"5\":{\"width\":81},\"6\":{\"width\":37},\"len\":50},\"merges\":[\"A1:G2\",\"A3:C3\",\"A4:C4\",\"D4:F4\",\"A5:B5\",\"C5:G5\",\"A6:B6\",\"C6:G6\",\"A7:B7\",\"C7:G7\",\"A8:B8\",\"C8:G8\",\"A9:G9\",\"A10:G10\",\"A23:B23\",\"B24:D24\",\"E24:G24\",\"F25:G25\",\"F26:G26\",\"A40:D40\",\"A41:H41\",\"B42:D42\",\"E42:G42\",\"F43:G43\",\"F44:G44\",\"A45:G57\",\"A58:C58\",\"A59:H59\",\"F60:G60\",\"F61:G61\"]}', NULL, NULL, '10001', '2023-09-04 15:36:10', '10001', '2025-04-18 14:56:55', 0, NULL, NULL, 0, 360, NULL, 'function init(){\n let headers = { \'hospId\': \'pbkwyy\'};\n let params = {params: {pid: \'\',type:\'1\'},headers: headers}\n let url = \'http://192.168.1.2:5011/reservation/reservation/linkage\'\n // let url = \'http://10.100.100.117:5101/ltkj-admin/reservation/reservation/linkage\'\n $http.metaGet(url ,params).then(res=>{\n let options = res.data;\n this.updateSelectOptions(\'yichangResultList\', \'firmId\', options)\n })\n}\n', NULL, NULL, NULL, NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1041516490843258880', '858579252534800384', '10001', '10001', '2025-04-16 10:38:03', '2025-04-16 10:38:03', 'yichangResultList', '异常结果统计', '0', NULL, '\nSELECT \n a.temp_result AS 异常项目,\n SUM(CASE WHEN c.cus_sex = 0 THEN 1 ELSE 0 END) AS 男数量,\n SUM(CASE WHEN c.cus_sex = 1 THEN 1 ELSE 0 END) AS 女数量,\n COUNT(c.cus_id) AS 合计人数,\n CONCAT(ROUND(SUM(CASE WHEN c.cus_sex = 0 THEN 1 ELSE 0 END) / total_count * 100, 2),\'%\') AS 男百分比,\n CONCAT(ROUND(SUM(CASE WHEN c.cus_sex = 1 THEN 1 ELSE 0 END) / total_count * 100, 2),\'%\') AS 女百分比\nFROM (\n SELECT p.pro_id, p.pro_name, od.pro_result AS result, CONCAT(p.pro_name,od.pro_result) AS temp_result, o.user_id\n FROM tj_order o\n LEFT JOIN tj_order_detail od ON o.order_id = od.order_id\n LEFT JOIN tj_project p ON p.pro_id = od.pro_id\n JOIN sys_dept d ON d.dept_id = p.dept_id\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(od.pro_result, \'\') <> \'\'\n AND d.org_type = 3\n AND d.dept_id <> \'550\'\n AND INSTR(od.pro_result, \'未见异常\') <= 0\n AND INSTR(od.pro_result, \'未见明显异常\') <= 0\n AND INSTR(od.pro_result, \'未见占位\') <= 0\n AND INSTR(od.pro_result, \'未见明显\') <= 0\n AND INSTR(od.pro_result, \'正常\') <= 0\n AND INSTR(od.pro_result, \'双侧椎间孔无狭窄\') <= 0\n AND INSTR(od.pro_result, \'无殊\') <= 0\n\n UNION\n\n SELECT bgd.jcxmid, bgd.jcxm, bgd.ycbz, \n CASE WHEN LOCATE(bgd.ycbz, \'↑\') THEN CONCAT(bgd.jcxm, \'偏高\')\n ELSE CONCAT(bgd.jcxm, \'偏低\') END AS result, \n o.user_id\n FROM tj_order o\n LEFT JOIN ltkj_hysqd sqd ON o.tj_number = sqd.tjh\n JOIN ltkj_hybgd bgd ON sqd.tmh = bgd.tmh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(bgd.ycbz, \'\') <> \'\'\n\n UNION\n\n SELECT yc.pro_id, yc.pro_name, TRIM(yc.jcjg) AS result, \n REPLACE(TRIM(yc.jcjg), \'\\n\', \'\') AS temp_result, \n o.user_id\n FROM tj_order o\n LEFT JOIN tj_jcycxm yc ON o.tj_number = yc.tjh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND yc.pro_id IS NOT NULL\n) a\nLEFT JOIN tj_customer c ON a.user_id = c.cus_id\n\n\nLEFT JOIN (\n SELECT COUNT(1) AS total_count\n FROM tj_order \n WHERE firm_id = \'${firmId}\'\n AND create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n) total_count ON 1=1\n\n\nWHERE IFNULL(a.temp_result, \'\') <> \'\'\nGROUP BY a.temp_result\nORDER BY 合计人数 DESC\nLIMIT 10\n', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('859573447174152192', '858579252534800384', '10001', '10001', '2025-04-16 10:36:14', '2025-04-16 10:36:14', 'ageSexPerson', '年龄性别人数表(sql)', '0', NULL, 'SELECT a.s, IFNULL(aa.`男`,0)`男`,IFNULL(aa.`女`,0) `女` ,(IFNULL(aa.`男`,0)+IFNULL(aa.`女`,0)) \'allNum\'FROM \n (SELECT \'0-19岁\' s UNION SELECT \'20-29岁\' s UNION SELECT \'30-39岁\' s UNION SELECT \'40-49岁\' s UNION SELECT\'50-59岁\'s UNION SELECT \'60-69岁\' s UNION SELECT \'70-79岁\' s UNION SELECT \'80+\' s )a\n \n LEFT JOIN\n \n( SELECT\n CASE\n \n WHEN\n FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 0 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 20 THEN \'0-19岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 20 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 29 THEN \'20-29岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 30 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 39 THEN \'30-39岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 40 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 49 THEN \'40-49岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 50 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 59 THEN \'50-59岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 60 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 69 THEN \'60-69岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 70 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 79 THEN \'70-79岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 80 THEN\n \'80+\' \n END nnd,\n sum( CASE WHEN b.cus_sex = \'0\' THEN 1 ELSE 0 END ) 男,\n sum( CASE WHEN b.cus_sex = \'1\' THEN 1 ELSE 0 END ) 女 \n FROM\n tj_order a\n LEFT JOIN tj_customer b ON b.cus_id = a.user_id \n WHERE\n a.deleted = 0 \n AND a.tj_type = 1 \n AND a.firm_id = \'${firmId}\' \n AND a.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n GROUP BY nnd \n) aa ON a.s = aa.nnd', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('858611931275816960', '858579252534800384', '10001', '10001', '2025-04-16 10:36:03', '2025-04-16 10:36:03', 'num', '人数', '0', NULL, 'SELECT\n aa.dw_name,\n aa.dw_dept_name,\n z.total as zongshu,\n sum(case when c.cus_sex = \'0\' then 1 else 0 end) 男,\n sum(case when c.cus_sex = \'1\' then 1 else 0 end) 女,\n COUNT(c.cus_sex) AS 实检人数,\nz.total - COUNT(c.cus_sex) AS 未检人数,\n MIN(b.create_time) 开始时间,\n MAX(b.update_time) 结束时间\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\' \n ) aa\n \n JOIN (SELECT * FROM tj_order d WHERE d.deleted=0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id=aa.dw_id AND b.firm_dept_id = aa.id\n \n JOIN tj_customer c ON c.cus_id=b.user_id\n \n LEFT JOIN (\n SELECT COUNT(1) as total FROM tj_reservation a WHERE a.company_id = \'${firmId}\'\n ) z ON 1 = 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1042300196856037376', '858579252534800384', '10001', '10001', '2025-04-16 10:35:52', '2025-04-16 10:35:52', 'btCheckBl', '饼图实检未检比例', '0', NULL, 'SELECT\n \'实检人数\' AS title,\n COUNT( c.cus_sex ) AS \n`VALUE`\n \nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n JOIN ( SELECT * FROM tj_order d WHERE d.deleted = 0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id = aa.dw_id \n AND b.firm_dept_id = aa.id\n JOIN tj_customer c ON c.cus_id = b.user_id\n LEFT JOIN ( SELECT COUNT( 1 ) AS total FROM tj_reservation a WHERE a.company_id = \'${firmId}\' ) z ON 1 = 1 UNION ALL\nSELECT\n \'未检人数\' AS title,\n z.total - COUNT( c.cus_sex ) AS `VALUE`\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n JOIN ( SELECT * FROM tj_order d WHERE d.deleted = 0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id = aa.dw_id \n AND b.firm_dept_id = aa.id\n JOIN tj_customer c ON c.cus_id = b.user_id\n LEFT JOIN ( SELECT COUNT( 1 ) AS total FROM tj_reservation a WHERE a.company_id = \'${firmId}\' ) z ON 1 = 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1042298604463357952', '858579252534800384', '10001', '10001', '2025-04-16 10:35:39', '2025-04-16 10:35:39', 'btNvBl', '饼图男女比例', '0', NULL, 'SELECT\n \'男\' AS title,\n sum(case when c.cus_sex = \'0\' then 1 else 0 end) AS `value`\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n \n JOIN (SELECT * FROM tj_order d WHERE d.deleted=0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id=aa.dw_id AND b.firm_dept_id = aa.id\n \n JOIN tj_customer c ON c.cus_id=b.user_id\n \n LEFT JOIN (\n SELECT COUNT(1) as total FROM tj_reservation a WHERE a.company_id = \'${firmId}\'\n ) z ON 1 = 1\n \n UNION ALL\n \n SELECT\n \'女\' AS title,\n sum(case when c.cus_sex = \'1\' then 1 else 0 end) AS `value`\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n \n JOIN (SELECT * FROM tj_order d WHERE d.deleted=0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id=aa.dw_id AND b.firm_dept_id = aa.id\n \n JOIN tj_customer c ON c.cus_id=b.user_id\n \n LEFT JOIN (\n SELECT COUNT(1) as total FROM tj_reservation a WHERE a.company_id = \'${firmId}\'\n ) z ON 1 = 1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1041531739260616704', '858579252534800384', '10001', '10001', '2025-04-16 10:35:26', '2025-04-16 10:35:39', 'yichangInfoHzList', '异常详细数据汇总', '0', NULL, 'SELECT \n a.pro_name, \n c.cus_name,\n o.tj_number,\n CASE \n WHEN c.cus_brithday IS NOT NULL AND NULLIF(c.cus_brithday, NULL) IS NOT NULL THEN \n FLOOR(DATEDIFF(CURDATE(), c.cus_brithday) / 365.25)\n ELSE NULL\n END AS age,\n CASE WHEN c.cus_sex = 0 THEN \'男\' \n ELSE \'女\' END AS cus_sex,\n a.temp_result,\n g.grouping_name\nFROM tj_customer c \nLEFT JOIN tj_order o ON c.cus_id = o.user_id\nLEFT JOIN tj_dw_grouping g ON g.dw_id = o.firm_id \n AND g.dw_dept_id = o.firm_dept_id \n AND o.group_id = g.id\nLEFT JOIN (\n SELECT p.pro_id, p.pro_name, od.pro_result AS result, CONCAT(p.pro_name,od.pro_result) AS temp_result, o.user_id\n FROM tj_order o\n LEFT JOIN tj_order_detail od ON o.order_id = od.order_id\n LEFT JOIN tj_project p ON p.pro_id = od.pro_id\n JOIN sys_dept d ON d.dept_id = p.dept_id\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(od.pro_result, \'\') <> \'\'\n AND d.org_type = 3\n AND d.dept_id <> \'550\'\n AND INSTR(od.pro_result, \'未见异常\') <= 0\n AND INSTR(od.pro_result, \'未见明显异常\') <= 0\n AND INSTR(od.pro_result, \'未见占位\') <= 0\n AND INSTR(od.pro_result, \'未见明显\') <= 0\n AND INSTR(od.pro_result, \'正常\') <= 0\n AND INSTR(od.pro_result, \'双侧椎间孔无狭窄\') <= 0\n AND INSTR(od.pro_result, \'无殊\') <= 0\n UNION\n SELECT bgd.jcxmid, bgd.jcxm, bgd.ycbz, \n CASE WHEN LOCATE(bgd.ycbz, \'↑\') THEN CONCAT(bgd.jcxm, \'偏高\')\n ELSE CONCAT(bgd.jcxm, \'偏低\') END AS result, \n o.user_id\n FROM tj_order o\n LEFT JOIN ltkj_hysqd sqd ON o.tj_number = sqd.tjh\n JOIN ltkj_hybgd bgd ON sqd.tmh = bgd.tmh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(bgd.ycbz, \'\') <> \'\'\n UNION\n SELECT yc.pro_id, yc.pro_name, TRIM(yc.jcjg) AS result, \n REPLACE(TRIM(yc.jcjg), \'\\n\', \'\') AS temp_result, \n o.user_id\n FROM tj_order o\n LEFT JOIN tj_jcycxm yc ON o.tj_number = yc.tjh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND yc.pro_id IS NOT NULL\n) a ON a.user_id = c.cus_id\nWHERE IFNULL(a.temp_result, \'\') <> \'\'\nORDER BY a.temp_result DESC\n', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041516491044585472', '10001', '2025-04-16 10:38:03', NULL, NULL, '1041516490843258880', '异常项目', '异常项目', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041516491162025984', '10001', '2025-04-16 10:38:03', NULL, NULL, '1041516490843258880', '男数量', '男数量', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041516491250106368', '10001', '2025-04-16 10:38:03', NULL, NULL, '1041516490843258880', '女数量', '女数量', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041516491329798144', '10001', '2025-04-16 10:38:03', NULL, NULL, '1041516490843258880', '合计人数', '合计人数', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041521081148276736', '10001', '2025-04-16 10:38:03', NULL, NULL, '1041516490843258880', '男百分比', '男百分比', 'String', NULL, 4, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041521081240551424', '10001', '2025-04-16 10:38:03', NULL, NULL, '1041516490843258880', '女百分比', '女百分比', 'String', NULL, 5, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859573450949025792', '10001', '2025-04-16 10:36:14', NULL, NULL, '859573447174152192', 's', 's', 'String', NULL, 0, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859573453394305024', '10001', '2025-04-16 10:36:14', NULL, NULL, '859573447174152192', '男', '男', 'String', NULL, 1, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859573455810224128', '10001', '2025-04-16 10:36:14', NULL, NULL, '859573447174152192', '女', '女', 'String', NULL, 2, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('879264552793616384', '10001', '2025-04-16 10:36:14', NULL, NULL, '859573447174152192', 'allnum', '总人数', 'String', NULL, 3, 0, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042286110428659712', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', '实检人数', '实检人数', 'String', NULL, 7, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042288346990936064', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', '未检人数', '未检人数', 'String', NULL, 8, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('858938880519008256', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', '开始时间', '开始时间', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('858938880862941184', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', '结束时间', '结束时间', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859315015649091584', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', 'dw_name', 'dw_name', 'String', NULL, 4, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859315018123730944', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', 'dw_dept_name', 'dw_dept_name', 'String', NULL, 5, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859315020598370304', '10001', '2025-04-16 10:36:04', NULL, NULL, '858611931275816960', 'zongshu', 'zongshu', 'String', NULL, 6, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('858937737814437888', '10001', '2025-04-16 10:36:03', NULL, NULL, '858611931275816960', '男', '男', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('858937738166759424', '10001', '2025-04-16 10:36:03', NULL, NULL, '858611931275816960', '女', '女', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042300196990255104', '10001', '2025-04-16 10:35:53', NULL, NULL, '1042300196856037376', 'title', 'title', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042300197082529792', '10001', '2025-04-16 10:35:53', NULL, NULL, '1042300196856037376', 'value', 'value', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042298604601769984', '10001', '2025-04-16 10:35:39', NULL, NULL, '1042298604463357952', 'title', 'title', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042298604677267456', '10001', '2025-04-16 10:35:39', NULL, NULL, '1042298604463357952', 'value', 'value', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041531739369668608', '10001', '2025-04-16 10:35:26', NULL, NULL, '1041531739260616704', 'pro_name', 'pro_name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041531739445166080', '10001', '2025-04-16 10:35:26', NULL, NULL, '1041531739260616704', 'cus_name', 'cus_name', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041531739508080640', '10001', '2025-04-16 10:35:26', NULL, NULL, '1041531739260616704', 'tj_number', 'tj_number', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041531739562606592', '10001', '2025-04-16 10:35:26', NULL, NULL, '1041531739260616704', 'temp_result', 'temp_result', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041531739621326848', '10001', '2025-04-16 10:35:26', NULL, NULL, '1041531739260616704', 'grouping_name', 'grouping_name', 'String', NULL, 4, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041557683337723904', '10001', '2025-04-16 10:35:26', NULL, NULL, '1041531739260616704', 'age', 'age', 'String', NULL, 5, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041516491422072832', '1041516490843258880', 'firmId', '单位', '', 1, '10001', '2025-04-16 10:38:03', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072294145787985920', '1041516490843258880', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 2, '10001', '2025-04-16 10:38:03', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072294145867677696', '1041516490843258880', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 3, '10001', '2025-04-16 10:38:03', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072305754916814848', '859573447174152192', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 2, '10001', '2025-04-16 10:36:14', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072305754992312320', '859573447174152192', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 3, '10001', '2025-04-16 10:36:14', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859573458565881856', '859573447174152192', 'firmId', 'firmId', '', 1, '10001', '2025-04-16 10:36:14', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072305550838759424', '858611931275816960', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 2, '10001', '2025-04-16 10:36:04', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072305550905868288', '858611931275816960', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 3, '10001', '2025-04-16 10:36:04', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('859229976093548544', '858611931275816960', 'firmId', 'firmId', '', 1, '10001', '2025-04-16 10:36:04', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042300197174804480', '1042300196856037376', 'firmId', 'firmId', '', 1, '10001', '2025-04-16 10:35:53', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072305368659165184', '1042300196856037376', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 2, '10001', '2025-04-16 10:35:53', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072305368734662656', '1042300196856037376', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 3, '10001', '2025-04-16 10:35:53', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1042298604756959232', '1042298604463357952', 'firmId', 'firmId', '', 1, '10001', '2025-04-16 10:35:39', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072296077134954496', '1042298604463357952', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 2, '10001', '2025-04-16 10:35:39', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072296077210451968', '1042298604463357952', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 3, '10001', '2025-04-16 10:35:39', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1041531739755544576', '1041531739260616704', 'firmId', 'firmId', '', 2, '10001', '2025-04-16 10:35:26', NULL, NULL, 1, NULL, 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072294642875924480', '1041531739260616704', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 3, '10001', '2025-04-16 10:35:26', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072294642943033344', '1041531739260616704', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 4, '10001', '2025-04-16 10:35:26', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); UPDATE `jimu_report` SET `code` = '20230904153609', `name` = '团队体检报告', `note` = NULL, `status` = NULL, `type` = 'datainfo', `json_str` = '{\"loopBlockList\":[],\"chartList\":[{\"row\":10,\"col\":0,\"colspan\":4,\"rowspan\":14,\"width\":\"424\",\"height\":\"350\",\"config\":\"{\\\"legend\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12},\\\"top\\\":\\\"top\\\",\\\"left\\\":\\\"left\\\",\\\"orient\\\":\\\"vertical\\\",\\\"padding\\\":[43,20,25,10],\\\"data\\\":[\\\"实检人数\\\",\\\"未检人数\\\"],\\\"show\\\":true},\\\"series\\\":[{\\\"isRose\\\":false,\\\"data\\\":[{\\\"name\\\":\\\"实检人数\\\",\\\"value\\\":0,\\\"itemStyle\\\":{\\\"color\\\":\\\"#000000\\\"}},{\\\"name\\\":\\\"未检人数\\\",\\\"value\\\":null,\\\"itemStyle\\\":{\\\"color\\\":\\\"#DADADA\\\"}}],\\\"isRadius\\\":false,\\\"roseType\\\":\\\"\\\",\\\"notCount\\\":false,\\\"center\\\":[\\\"196\\\",\\\"169\\\"],\\\"name\\\":\\\"value\\\",\\\"minAngle\\\":0,\\\"label\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"},\\\"position\\\":\\\"inside\\\",\\\"formatter\\\":\\\"{b}\\\\n{c}\\\",\\\"rotate\\\":0,\\\"type\\\":\\\"pie\\\",\\\"show\\\":true},\\\"type\\\":\\\"pie\\\",\\\"radius\\\":\\\"55%\\\",\\\"autoSort\\\":false}],\\\"tooltip\\\":{\\\"formatter\\\":\\\"{a}
{b} : {c}\\\",\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":5,\\\"text\\\":\\\" 实检、未检比例图\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,10]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"1042300196856037376\",\"axisX\":\"title\",\"axisY\":\"value\",\"series\":\"\",\"yText\":\"value\",\"xText\":\"title\",\"dbCode\":\"btCheckBl\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":\"\",\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"pie.simple\",\"chartId\":\"MfQeh9JkrpGVlt98\",\"id\":\"\"},\"layer_id\":\"MfQeh9JkrpGVlt98\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":false,\"color\":\"#fff\",\"image\":\"\"},\"virtualCellRange\":[[10,0],[10,1],[10,2],[10,3]]},{\"row\":10,\"col\":3,\"colspan\":5,\"rowspan\":14,\"width\":\"563\",\"height\":\"350\",\"config\":\"{\\\"legend\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12},\\\"top\\\":\\\"top\\\",\\\"left\\\":\\\"left\\\",\\\"orient\\\":\\\"vertical\\\",\\\"padding\\\":[43,20,25,10],\\\"data\\\":[\\\"男\\\",\\\"女\\\"],\\\"show\\\":true},\\\"series\\\":[{\\\"isRose\\\":false,\\\"data\\\":[{\\\"name\\\":\\\"男\\\",\\\"value\\\":null,\\\"itemStyle\\\":{\\\"color\\\":\\\"#000000\\\"}},{\\\"name\\\":\\\"女\\\",\\\"value\\\":null,\\\"itemStyle\\\":{\\\"color\\\":\\\"#DADADA\\\"}}],\\\"isRadius\\\":false,\\\"roseType\\\":\\\"\\\",\\\"notCount\\\":false,\\\"center\\\":[\\\"193\\\",180],\\\"name\\\":\\\"value\\\",\\\"minAngle\\\":0,\\\"label\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"},\\\"position\\\":\\\"inside\\\",\\\"formatter\\\":\\\"{b}\\\\n{c}\\\",\\\"rotate\\\":0,\\\"type\\\":\\\"pie\\\",\\\"show\\\":true},\\\"type\\\":\\\"pie\\\",\\\"radius\\\":\\\"55%\\\",\\\"autoSort\\\":false}],\\\"tooltip\\\":{\\\"formatter\\\":\\\"{a}
{b} : {c}\\\",\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":5,\\\"text\\\":\\\" 参检人员性别比例图\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,10]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"1042298604463357952\",\"axisX\":\"title\",\"axisY\":\"value\",\"series\":\"\",\"yText\":\"value\",\"xText\":\"title\",\"dbCode\":\"btNvBl\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":\"\",\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"pie.simple\",\"chartId\":\"kCVpgdlx4R62DHro\",\"id\":\"\"},\"layer_id\":\"kCVpgdlx4R62DHro\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":false,\"color\":\"#fff\",\"image\":\"\"},\"virtualCellRange\":[[10,3],[10,4],[10,5],[10,6],[10,7],[10,8],[10,9]]},{\"row\":26,\"col\":0,\"colspan\":7,\"rowspan\":12,\"width\":\"698\",\"height\":\"276\",\"config\":\"{\\\"yAxis\\\":{\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":\\\"7\\\"}},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"show\\\":true,\\\"name\\\":\\\"人数\\\",\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false},\\\"min\\\":\\\"0\\\"},\\\"xAxis\\\":{\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false},\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12},\\\"rotate\\\":7,\\\"interval\\\":\\\"auto\\\"},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"data\\\":[\\\"0-19岁\\\",\\\"20-29岁\\\",\\\"30-39岁\\\",\\\"40-49岁\\\",\\\"50-59岁\\\",\\\"60-69岁\\\",\\\"70-79岁\\\",\\\"80+\\\"],\\\"show\\\":true,\\\"name\\\":\\\"年龄\\\",\\\"min\\\":\\\"0\\\"},\\\"grid\\\":{\\\"top\\\":60,\\\"left\\\":60,\\\"bottom\\\":60,\\\"right\\\":60},\\\"series\\\":[{\\\"barWidth\\\":22,\\\"data\\\":[0,0,0,0,0,0,0,0],\\\"name\\\":\\\"allnum\\\",\\\"itemStyle\\\":{\\\"barBorderRadius\\\":0,\\\"color\\\":\\\"\\\"},\\\"label\\\":{\\\"show\\\":true,\\\"position\\\":\\\"top\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"}},\\\"type\\\":\\\"bar\\\",\\\"barMinHeight\\\":2,\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontWeight\\\":\\\"bolder\\\"}}],\\\"tooltip\\\":{\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":13,\\\"text\\\":\\\"\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,20]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"859573447174152192\",\"axisX\":\"s\",\"axisY\":\"allnum\",\"series\":\"\",\"yText\":\"allnum\",\"xText\":\"s\",\"dbCode\":\"ageSexPerson\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":false,\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"bar.simple\",\"chartId\":\"SoVAhMMo7OVOxGxK\",\"id\":\"\"},\"layer_id\":\"SoVAhMMo7OVOxGxK\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":\"\",\"color\":\"#fff\",\"image\":\"\",\"repeat\":\"repeat\"},\"virtualCellRange\":[[26,0],[26,1],[26,2],[26,3],[26,4],[26,5],[26,6]]},{\"row\":44,\"col\":0,\"colspan\":8,\"rowspan\":12,\"width\":\"714\",\"height\":\"284\",\"config\":\"{\\\"yAxis\\\":{\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":12}},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"show\\\":true,\\\"name\\\":\\\"人数\\\",\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false}},\\\"xAxis\\\":{\\\"splitLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"red\\\",\\\"width\\\":1,\\\"type\\\":\\\"solid\\\"},\\\"show\\\":false},\\\"axisLabel\\\":{\\\"textStyle\\\":{\\\"color\\\":\\\"#333\\\",\\\"fontSize\\\":\\\"11\\\"},\\\"rotate\\\":90,\\\"interval\\\":\\\"auto\\\"},\\\"axisLine\\\":{\\\"lineStyle\\\":{\\\"color\\\":\\\"#333\\\"}},\\\"data\\\":[\\\"其他无\\\",\\\"浅表淋巴结无肿大\\\",\\\"四肢、关节功能良好\\\",\\\"脊柱无畸形\\\",\\\"腰椎骨质增生\\\",\\\"血清甘油三酯测定偏高\\\",\\\"红细胞压积偏高\\\",\\\"矫正视力(右)5.0\\\",\\\"屈光双眼屈光不正\\\",\\\"矫正视力(左)5.0\\\"],\\\"show\\\":true,\\\"name\\\":\\\"结论\\\"},\\\"grid\\\":{\\\"top\\\":60,\\\"left\\\":60,\\\"bottom\\\":100,\\\"right\\\":60},\\\"series\\\":[{\\\"barWidth\\\":19,\\\"data\\\":[109,107,105,101,55,49,37,35,34,28],\\\"name\\\":\\\"合计人数\\\",\\\"itemStyle\\\":{\\\"barBorderRadius\\\":0,\\\"color\\\":\\\"\\\"},\\\"label\\\":{\\\"show\\\":true,\\\"position\\\":\\\"top\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontSize\\\":16,\\\"fontWeight\\\":\\\"bolder\\\"}},\\\"type\\\":\\\"bar\\\",\\\"barMinHeight\\\":2,\\\"textStyle\\\":{\\\"color\\\":\\\"black\\\",\\\"fontWeight\\\":\\\"bolder\\\"}}],\\\"tooltip\\\":{\\\"show\\\":true,\\\"textStyle\\\":{\\\"color\\\":\\\"#fff\\\",\\\"fontSize\\\":18}},\\\"title\\\":{\\\"show\\\":true,\\\"top\\\":\\\"5\\\",\\\"text\\\":\\\"\\\",\\\"textStyle\\\":{\\\"color\\\":\\\"#c23531\\\",\\\"fontWeight\\\":\\\"bolder\\\",\\\"fontSize\\\":18},\\\"left\\\":\\\"left\\\",\\\"padding\\\":[5,20,5,20]}}\",\"url\":\"\",\"extData\":{\"dataType\":\"sql\",\"apiStatus\":\"\",\"dataId\":\"1041516490843258880\",\"axisX\":\"异常项目\",\"axisY\":\"合计人数\",\"series\":\"\",\"yText\":\"合计人数\",\"xText\":\"异常项目\",\"dbCode\":\"yichangResultList\",\"dataId1\":\"\",\"source\":\"\",\"target\":\"\",\"isTiming\":false,\"intervalTime\":\"\",\"linkIds\":\"\",\"chartType\":\"bar.simple\",\"chartId\":\"eh48adfikvKWACFK\",\"id\":\"\"},\"layer_id\":\"eh48adfikvKWACFK\",\"offsetX\":0,\"offsetY\":0,\"backgroud\":{\"enabled\":false,\"color\":\"#fff\",\"image\":\"\"},\"virtualCellRange\":[[44,0],[44,1],[44,2],[44,3],[44,4],[44,5],[44,6],[44,7]]}],\"area\":false,\"excel_config_id\":\"858579252534800384\",\"printConfig\":{\"paper\":\"A4\",\"width\":210,\"height\":297,\"definition\":2,\"isBackend\":false,\"marginX\":10,\"marginY\":10,\"layout\":\"portrait\",\"printCallBackUrl\":\"\"},\"zonedEditionList\":[],\"rows\":{\"0\":{\"cells\":{\"0\":{\"merge\":[1,6],\"height\":50,\"text\":\"团队体检统计\",\"style\":2}}},\"2\":{\"cells\":{\"0\":{\"merge\":[0,2],\"height\":25,\"text\":\"一、基本资料\",\"style\":23}},\"height\":26},\"3\":{\"cells\":{\"0\":{\"merge\":[0,2],\"height\":25,\"text\":\"1、体检信息\"},\"3\":{\"text\":\"\",\"merge\":[0,2],\"height\":25}}},\"4\":{\"cells\":{\"0\":{\"text\":\"公司/团体名\",\"style\":26,\"merge\":[0,1]},\"2\":{\"text\":\"${num.dw_name}\",\"style\":22,\"merge\":[0,4]}}},\"5\":{\"cells\":{\"0\":{\"style\":26,\"merge\":[0,1],\"text\":\"体检单位\"},\"2\":{\"style\":22,\"merge\":[0,4],\"text\":\"${num.dw_dept_name}\"}}},\"6\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"开始时间\",\"merge\":[0,1],\"height\":25},\"2\":{\"style\":22,\"text\":\"${num.开始时间}\",\"merge\":[0,4],\"height\":25}}},\"7\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"结束时间\",\"merge\":[0,1],\"height\":25},\"2\":{\"style\":22,\"text\":\"${num.结束时间}\",\"merge\":[0,4],\"height\":25}}},\"8\":{\"cells\":{\"0\":{\"merge\":[0,6],\"height\":25,\"text\":\"(一)丶本次体检总参检人数:${num.zongshu}人,实检 ${num.实检人数}人,未检 ${num.未检人数}人,其中实检男性 ${num.男}人,实检女性 ${num.女}人。\"}},\"height\":34},\"9\":{\"cells\":{\"0\":{\"merge\":[0,6],\"height\":25,\"text\":\"(二)、总参人员实检及性别比例图\"},\"6\":{\"text\":\"(二)、总参人员实检及性别比例图\"}},\"height\":32},\"10\":{\"cells\":{\"0\":{\"text\":\" \",\"virtual\":\"MfQeh9JkrpGVlt98\"},\"1\":{\"text\":\" \",\"virtual\":\"MfQeh9JkrpGVlt98\"},\"2\":{\"text\":\" \",\"virtual\":\"MfQeh9JkrpGVlt98\"},\"3\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"4\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"5\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"6\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"7\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"8\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"},\"9\":{\"text\":\" \",\"virtual\":\"kCVpgdlx4R62DHro\"}}},\"22\":{\"cells\":{\"0\":{\"text\":\"2、参检人年龄分布\",\"merge\":[0,1],\"height\":31}},\"height\":31},\"23\":{\"cells\":{\"0\":{\"style\":26,\"text\":\" \"},\"1\":{\"style\":26,\"text\":\"人数\",\"merge\":[0,2],\"height\":25},\"4\":{\"style\":26,\"text\":\"百分比\",\"merge\":[0,2],\"height\":25},\"8\":{\"text\":\"\",\"rendered\":\"\",\"config\":\"\"}}},\"24\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"年龄组(岁)\"},\"1\":{\"style\":26,\"text\":\"男性\"},\"2\":{\"style\":26,\"text\":\"女性\"},\"3\":{\"style\":26,\"text\":\"合计\"},\"4\":{\"style\":26,\"text\":\"男性\"},\"5\":{\"style\":26,\"text\":\"女性\",\"merge\":[0,1],\"height\":25}}},\"25\":{\"cells\":{\"0\":{\"style\":5,\"text\":\"#{ageSexPerson.s}\"},\"1\":{\"style\":5,\"text\":\"#{ageSexPerson.男}\"},\"2\":{\"style\":5,\"text\":\"#{ageSexPerson.女}\"},\"3\":{\"style\":5,\"text\":\"=SUM(B13,C13)\"},\"4\":{\"style\":29,\"text\":\"#{ageSexPerson.compute(男/(男+女))}\",\"decimalPlaces\":\"2\"},\"5\":{\"style\":29,\"text\":\"#{ageSexPerson.compute(女/(男+女))}\",\"merge\":[0,1],\"height\":25,\"completeBlankStatus\":true,\"rendered\":\"\",\"config\":\"\",\"display\":\"number\",\"decimalPlaces\":\"2\"}}},\"26\":{\"cells\":{\"0\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"1\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"2\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"3\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"4\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"5\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"},\"6\":{\"text\":\" \",\"virtual\":\"SoVAhMMo7OVOxGxK\"}}},\"39\":{\"cells\":{\"0\":{\"text\":\"二、本次体检异常结果检出统计\",\"merge\":[0,3],\"height\":25,\"style\":23}}},\"40\":{\"cells\":{\"0\":{\"merge\":[0,7],\"height\":25,\"text\":\"贵单位此次在我中心进行团体体检,现在得检出的异常按比例进行统计分析,以反映员工的健康状况:\"}}},\"41\":{\"cells\":{\"0\":{\"style\":15,\"text\":\" \"},\"1\":{\"style\":26,\"text\":\"人数\",\"merge\":[0,2],\"height\":25},\"4\":{\"style\":26,\"text\":\"百分比\",\"merge\":[0,2],\"height\":25}}},\"42\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"体检结论\"},\"1\":{\"style\":26,\"text\":\"男性\"},\"2\":{\"style\":26,\"text\":\"女性\"},\"3\":{\"style\":26,\"text\":\"合计\"},\"4\":{\"style\":26,\"text\":\"男性\"},\"5\":{\"style\":26,\"text\":\"女性\",\"merge\":[0,1],\"height\":25}}},\"43\":{\"cells\":{\"0\":{\"style\":24,\"text\":\"#{yichangResultList.异常项目}\"},\"1\":{\"style\":5,\"text\":\"#{yichangResultList.男数量}\"},\"2\":{\"style\":5,\"text\":\"#{yichangResultList.女数量}\"},\"3\":{\"style\":5,\"text\":\"#{yichangResultList.合计人数}\"},\"4\":{\"style\":5,\"text\":\"#{yichangResultList.男百分比}\"},\"5\":{\"style\":5,\"text\":\"#{yichangResultList.女百分比}\",\"merge\":[0,1],\"height\":25}}},\"44\":{\"cells\":{\"0\":{\"merge\":[12,6],\"height\":325,\"virtual\":\"eh48adfikvKWACFK\",\"text\":\" \"},\"1\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"2\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"3\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"4\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"5\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"6\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"},\"7\":{\"text\":\" \",\"virtual\":\"eh48adfikvKWACFK\"}}},\"57\":{\"cells\":{\"0\":{\"text\":\"三、健康问题分析\",\"merge\":[0,2],\"height\":25,\"style\":23}}},\"58\":{\"cells\":{\"0\":{\"merge\":[0,7],\"height\":25,\"text\":\"以下为各异常详细人员信息:\"}}},\"59\":{\"cells\":{\"0\":{\"style\":26,\"text\":\"病种\",\"loopBlock\":0},\"1\":{\"text\":\"体检号\",\"style\":26,\"loopBlock\":0},\"2\":{\"style\":26,\"text\":\"姓名\",\"loopBlock\":0},\"3\":{\"style\":26,\"text\":\"性别\",\"loopBlock\":0},\"4\":{\"style\":26,\"text\":\"年龄\",\"loopBlock\":0},\"5\":{\"style\":26,\"text\":\"分组\",\"merge\":[0,1],\"height\":25,\"loopBlock\":0}},\"height\":26},\"60\":{\"cells\":{\"0\":{\"style\":24,\"text\":\"#{yichangInfoHzList.temp_result}\",\"loopBlock\":0,\"aggregate\":\"group\",\"rendered\":\"\",\"config\":\"\"},\"1\":{\"text\":\"#{yichangInfoHzList.tj_number}\",\"loopBlock\":0,\"style\":24},\"2\":{\"style\":5,\"text\":\"#{yichangInfoHzList.cus_name}\",\"loopBlock\":0},\"3\":{\"style\":5,\"text\":\"#{yichangInfoHzList.cus_sex}\",\"loopBlock\":0},\"4\":{\"style\":5,\"text\":\"#{yichangInfoHzList.age}\",\"loopBlock\":0},\"5\":{\"style\":5,\"text\":\"#{yichangInfoHzList.grouping_name}\",\"merge\":[0,1],\"height\":25,\"loopBlock\":0},\"6\":{\"text\":\"\",\"loopBlock\":0}},\"height\":28},\"len\":84},\"dbexps\":[],\"dicts\":[],\"rpbar\":{\"show\":true,\"pageSize\":\"\",\"btnList\":[1,2,3,4,5,6,7,8,9]},\"fixedPrintHeadRows\":[],\"fixedPrintTailRows\":[],\"freeze\":\"A1\",\"dataRectWidth\":1013,\"displayConfig\":{},\"background\":false,\"completeBlankRowList\":[{\"db\":\"ageSexPerson\",\"field\":\"compute(女/(男+女))\"}],\"name\":\"sheet1\",\"autofilter\":{},\"styles\":[{\"font\":{\"size\":22}},{\"font\":{\"size\":22,\"bold\":true}},{\"font\":{\"size\":22,\"bold\":true},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"right\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#01b0f1\"},{\"bgcolor\":\"#01b0f1\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#9cc2e6\"},{\"bgcolor\":\"#9cc2e6\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#bdd7ee\"},{\"bgcolor\":\"#bdd7ee\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#deeaf6\"},{\"bgcolor\":\"#deeaf6\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#bdd7ee\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#deeaf6\"},{\"border\":{\"top\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"font\":{\"size\":12}},{\"font\":{\"size\":12}},{\"font\":{\"size\":14}},{},{\"font\":{\"size\":14},\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"font\":{\"size\":11}},{\"font\":{\"size\":11}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"textwrap\":true},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"textwrap\":true},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"bgcolor\":\"#deeaf6\",\"font\":{\"bold\":true}},{\"font\":{\"bold\":true}},{\"align\":\"right\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"format\":\"percent\"},{\"format\":\"percent\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"textwrap\":false},{\"format\":\"number\"}],\"validations\":[],\"cols\":{\"0\":{\"width\":151},\"1\":{\"width\":128},\"2\":{\"width\":107},\"3\":{\"width\":102},\"4\":{\"width\":107},\"5\":{\"width\":81},\"6\":{\"width\":37},\"len\":50},\"merges\":[\"A1:G2\",\"A3:C3\",\"A4:C4\",\"D4:F4\",\"A5:B5\",\"C5:G5\",\"A6:B6\",\"C6:G6\",\"A7:B7\",\"C7:G7\",\"A8:B8\",\"C8:G8\",\"A9:G9\",\"A10:G10\",\"A23:B23\",\"B24:D24\",\"E24:G24\",\"F25:G25\",\"F26:G26\",\"A40:D40\",\"A41:H41\",\"B42:D42\",\"E42:G42\",\"F43:G43\",\"F44:G44\",\"A45:G57\",\"A58:C58\",\"A59:H59\",\"F60:G60\",\"F61:G61\"]}', `api_url` = NULL, `thumb` = NULL, `create_by` = '10001', `create_time` = '2023-09-04 15:36:10', `update_by` = '10001', `update_time` = '2025-04-18 14:56:55', `del_flag` = 0, `api_method` = NULL, `api_code` = NULL, `template` = 0, `view_count` = 360, `css_str` = NULL, `js_str` = 'function init(){\n let headers = { \'hospId\': \'pbkwyy\'};\n let params = {params: {pid: \'\',type:\'1\'},headers: headers}\n let url = \'http://192.168.1.2:5011/reservation/reservation/linkage\'\n // let url = \'http://10.100.100.117:5101/ltkj-admin/reservation/reservation/linkage\'\n $http.metaGet(url ,params).then(res=>{\n let options = res.data;\n this.updateSelectOptions(\'yichangResultList\', \'firmId\', options)\n })\n}\n', `tenant_id` = NULL, `print_type` = NULL, `is_start` = NULL, `create_id` = NULL, `update_id` = NULL WHERE `id` = '858579252534800384'; UPDATE `jimu_report_db` SET `jimu_report_id` = '858579252534800384', `create_by` = '10001', `update_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_time` = '2025-04-16 10:38:03', `db_code` = 'yichangResultList', `db_ch_name` = '异常结果统计', `db_type` = '0', `db_table_name` = NULL, `db_dyn_sql` = '\nSELECT \n a.temp_result AS 异常项目,\n SUM(CASE WHEN c.cus_sex = 0 THEN 1 ELSE 0 END) AS 男数量,\n SUM(CASE WHEN c.cus_sex = 1 THEN 1 ELSE 0 END) AS 女数量,\n COUNT(c.cus_id) AS 合计人数,\n CONCAT(ROUND(SUM(CASE WHEN c.cus_sex = 0 THEN 1 ELSE 0 END) / total_count * 100, 2),\'%\') AS 男百分比,\n CONCAT(ROUND(SUM(CASE WHEN c.cus_sex = 1 THEN 1 ELSE 0 END) / total_count * 100, 2),\'%\') AS 女百分比\nFROM (\n SELECT p.pro_id, p.pro_name, od.pro_result AS result, CONCAT(p.pro_name,od.pro_result) AS temp_result, o.user_id\n FROM tj_order o\n LEFT JOIN tj_order_detail od ON o.order_id = od.order_id\n LEFT JOIN tj_project p ON p.pro_id = od.pro_id\n JOIN sys_dept d ON d.dept_id = p.dept_id\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(od.pro_result, \'\') <> \'\'\n AND d.org_type = 3\n AND d.dept_id <> \'550\'\n AND INSTR(od.pro_result, \'未见异常\') <= 0\n AND INSTR(od.pro_result, \'未见明显异常\') <= 0\n AND INSTR(od.pro_result, \'未见占位\') <= 0\n AND INSTR(od.pro_result, \'未见明显\') <= 0\n AND INSTR(od.pro_result, \'正常\') <= 0\n AND INSTR(od.pro_result, \'双侧椎间孔无狭窄\') <= 0\n AND INSTR(od.pro_result, \'无殊\') <= 0\n\n UNION\n\n SELECT bgd.jcxmid, bgd.jcxm, bgd.ycbz, \n CASE WHEN LOCATE(bgd.ycbz, \'↑\') THEN CONCAT(bgd.jcxm, \'偏高\')\n ELSE CONCAT(bgd.jcxm, \'偏低\') END AS result, \n o.user_id\n FROM tj_order o\n LEFT JOIN ltkj_hysqd sqd ON o.tj_number = sqd.tjh\n JOIN ltkj_hybgd bgd ON sqd.tmh = bgd.tmh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(bgd.ycbz, \'\') <> \'\'\n\n UNION\n\n SELECT yc.pro_id, yc.pro_name, TRIM(yc.jcjg) AS result, \n REPLACE(TRIM(yc.jcjg), \'\\n\', \'\') AS temp_result, \n o.user_id\n FROM tj_order o\n LEFT JOIN tj_jcycxm yc ON o.tj_number = yc.tjh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND yc.pro_id IS NOT NULL\n) a\nLEFT JOIN tj_customer c ON a.user_id = c.cus_id\n\n\nLEFT JOIN (\n SELECT COUNT(1) AS total_count\n FROM tj_order \n WHERE firm_id = \'${firmId}\'\n AND create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n) total_count ON 1=1\n\n\nWHERE IFNULL(a.temp_result, \'\') <> \'\'\nGROUP BY a.temp_result\nORDER BY 合计人数 DESC\nLIMIT 10\n', `db_key` = NULL, `tb_db_key` = NULL, `tb_db_table_name` = NULL, `java_type` = NULL, `java_value` = NULL, `api_url` = NULL, `api_method` = NULL, `is_list` = '1', `is_page` = '0', `db_source` = '', `db_source_type` = 'mysql', `json_data` = '', `api_convert` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041516490843258880'; UPDATE `jimu_report_db` SET `jimu_report_id` = '858579252534800384', `create_by` = '10001', `update_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_time` = '2025-04-16 10:36:14', `db_code` = 'ageSexPerson', `db_ch_name` = '年龄性别人数表(sql)', `db_type` = '0', `db_table_name` = NULL, `db_dyn_sql` = 'SELECT a.s, IFNULL(aa.`男`,0)`男`,IFNULL(aa.`女`,0) `女` ,(IFNULL(aa.`男`,0)+IFNULL(aa.`女`,0)) \'allNum\'FROM \n (SELECT \'0-19岁\' s UNION SELECT \'20-29岁\' s UNION SELECT \'30-39岁\' s UNION SELECT \'40-49岁\' s UNION SELECT\'50-59岁\'s UNION SELECT \'60-69岁\' s UNION SELECT \'70-79岁\' s UNION SELECT \'80+\' s )a\n \n LEFT JOIN\n \n( SELECT\n CASE\n \n WHEN\n FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 0 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 20 THEN \'0-19岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 20 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 29 THEN \'20-29岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 30 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 39 THEN \'30-39岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 40 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 49 THEN \'40-49岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 50 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 59 THEN \'50-59岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 60 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 69 THEN \'60-69岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 70 \n AND FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) <= 79 THEN \'70-79岁\' WHEN FLOOR(DATEDIFF(CURDATE(), b.cus_brithday) / 365.25) >= 80 THEN\n \'80+\' \n END nnd,\n sum( CASE WHEN b.cus_sex = \'0\' THEN 1 ELSE 0 END ) 男,\n sum( CASE WHEN b.cus_sex = \'1\' THEN 1 ELSE 0 END ) 女 \n FROM\n tj_order a\n LEFT JOIN tj_customer b ON b.cus_id = a.user_id \n WHERE\n a.deleted = 0 \n AND a.tj_type = 1 \n AND a.firm_id = \'${firmId}\' \n AND a.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n GROUP BY nnd \n) aa ON a.s = aa.nnd', `db_key` = NULL, `tb_db_key` = NULL, `tb_db_table_name` = NULL, `java_type` = NULL, `java_value` = NULL, `api_url` = NULL, `api_method` = NULL, `is_list` = '1', `is_page` = '0', `db_source` = '', `db_source_type` = 'mysql', `json_data` = '', `api_convert` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859573447174152192'; UPDATE `jimu_report_db` SET `jimu_report_id` = '858579252534800384', `create_by` = '10001', `update_by` = '10001', `create_time` = '2025-04-16 10:36:03', `update_time` = '2025-04-16 10:36:03', `db_code` = 'num', `db_ch_name` = '人数', `db_type` = '0', `db_table_name` = NULL, `db_dyn_sql` = 'SELECT\n aa.dw_name,\n aa.dw_dept_name,\n z.total as zongshu,\n sum(case when c.cus_sex = \'0\' then 1 else 0 end) 男,\n sum(case when c.cus_sex = \'1\' then 1 else 0 end) 女,\n COUNT(c.cus_sex) AS 实检人数,\nz.total - COUNT(c.cus_sex) AS 未检人数,\n MIN(b.create_time) 开始时间,\n MAX(b.update_time) 结束时间\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\' \n ) aa\n \n JOIN (SELECT * FROM tj_order d WHERE d.deleted=0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id=aa.dw_id AND b.firm_dept_id = aa.id\n \n JOIN tj_customer c ON c.cus_id=b.user_id\n \n LEFT JOIN (\n SELECT COUNT(1) as total FROM tj_reservation a WHERE a.company_id = \'${firmId}\'\n ) z ON 1 = 1', `db_key` = NULL, `tb_db_key` = NULL, `tb_db_table_name` = NULL, `java_type` = NULL, `java_value` = NULL, `api_url` = NULL, `api_method` = NULL, `is_list` = '0', `is_page` = '0', `db_source` = '', `db_source_type` = 'mysql', `json_data` = '', `api_convert` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '858611931275816960'; UPDATE `jimu_report_db` SET `jimu_report_id` = '858579252534800384', `create_by` = '10001', `update_by` = '10001', `create_time` = '2025-04-16 10:35:52', `update_time` = '2025-04-16 10:35:52', `db_code` = 'btCheckBl', `db_ch_name` = '饼图实检未检比例', `db_type` = '0', `db_table_name` = NULL, `db_dyn_sql` = 'SELECT\n \'实检人数\' AS title,\n COUNT( c.cus_sex ) AS \n`VALUE`\n \nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n JOIN ( SELECT * FROM tj_order d WHERE d.deleted = 0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id = aa.dw_id \n AND b.firm_dept_id = aa.id\n JOIN tj_customer c ON c.cus_id = b.user_id\n LEFT JOIN ( SELECT COUNT( 1 ) AS total FROM tj_reservation a WHERE a.company_id = \'${firmId}\' ) z ON 1 = 1 UNION ALL\nSELECT\n \'未检人数\' AS title,\n z.total - COUNT( c.cus_sex ) AS `VALUE`\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n JOIN ( SELECT * FROM tj_order d WHERE d.deleted = 0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id = aa.dw_id \n AND b.firm_dept_id = aa.id\n JOIN tj_customer c ON c.cus_id = b.user_id\n LEFT JOIN ( SELECT COUNT( 1 ) AS total FROM tj_reservation a WHERE a.company_id = \'${firmId}\' ) z ON 1 = 1', `db_key` = NULL, `tb_db_key` = NULL, `tb_db_table_name` = NULL, `java_type` = NULL, `java_value` = NULL, `api_url` = NULL, `api_method` = NULL, `is_list` = '1', `is_page` = '0', `db_source` = '', `db_source_type` = 'mysql', `json_data` = '', `api_convert` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042300196856037376'; UPDATE `jimu_report_db` SET `jimu_report_id` = '858579252534800384', `create_by` = '10001', `update_by` = '10001', `create_time` = '2025-04-16 10:35:39', `update_time` = '2025-04-16 10:35:39', `db_code` = 'btNvBl', `db_ch_name` = '饼图男女比例', `db_type` = '0', `db_table_name` = NULL, `db_dyn_sql` = 'SELECT\n \'男\' AS title,\n sum(case when c.cus_sex = \'0\' then 1 else 0 end) AS `value`\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n \n JOIN (SELECT * FROM tj_order d WHERE d.deleted=0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id=aa.dw_id AND b.firm_dept_id = aa.id\n \n JOIN tj_customer c ON c.cus_id=b.user_id\n \n LEFT JOIN (\n SELECT COUNT(1) as total FROM tj_reservation a WHERE a.company_id = \'${firmId}\'\n ) z ON 1 = 1\n \n UNION ALL\n \n SELECT\n \'女\' AS title,\n sum(case when c.cus_sex = \'1\' then 1 else 0 end) AS `value`\nFROM\n (\n SELECT\n a.id,\n a.dw_id,\n a.dw_name,\n a.dw_dept_name \n FROM\n tj_dw_dept a \n WHERE\n a.deleted = 0 \n AND a.dw_id = \'${firmId}\'\n ) aa\n \n JOIN (SELECT * FROM tj_order d WHERE d.deleted=0 AND d.tj_type <> \'2\' AND d.create_time BETWEEN \'${startTime}\' AND \'${endTime}\' GROUP BY d.user_id ) b ON b.firm_id=aa.dw_id AND b.firm_dept_id = aa.id\n \n JOIN tj_customer c ON c.cus_id=b.user_id\n \n LEFT JOIN (\n SELECT COUNT(1) as total FROM tj_reservation a WHERE a.company_id = \'${firmId}\'\n ) z ON 1 = 1', `db_key` = NULL, `tb_db_key` = NULL, `tb_db_table_name` = NULL, `java_type` = NULL, `java_value` = NULL, `api_url` = NULL, `api_method` = NULL, `is_list` = '1', `is_page` = '1', `db_source` = '', `db_source_type` = 'mysql', `json_data` = '', `api_convert` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042298604463357952'; UPDATE `jimu_report_db` SET `jimu_report_id` = '858579252534800384', `create_by` = '10001', `update_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_time` = '2025-04-16 10:35:39', `db_code` = 'yichangInfoHzList', `db_ch_name` = '异常详细数据汇总', `db_type` = '0', `db_table_name` = NULL, `db_dyn_sql` = 'SELECT \n a.pro_name, \n c.cus_name,\n o.tj_number,\n CASE \n WHEN c.cus_brithday IS NOT NULL AND NULLIF(c.cus_brithday, NULL) IS NOT NULL THEN \n FLOOR(DATEDIFF(CURDATE(), c.cus_brithday) / 365.25)\n ELSE NULL\n END AS age,\n CASE WHEN c.cus_sex = 0 THEN \'男\' \n ELSE \'女\' END AS cus_sex,\n a.temp_result,\n g.grouping_name\nFROM tj_customer c \nLEFT JOIN tj_order o ON c.cus_id = o.user_id\nLEFT JOIN tj_dw_grouping g ON g.dw_id = o.firm_id \n AND g.dw_dept_id = o.firm_dept_id \n AND o.group_id = g.id\nLEFT JOIN (\n SELECT p.pro_id, p.pro_name, od.pro_result AS result, CONCAT(p.pro_name,od.pro_result) AS temp_result, o.user_id\n FROM tj_order o\n LEFT JOIN tj_order_detail od ON o.order_id = od.order_id\n LEFT JOIN tj_project p ON p.pro_id = od.pro_id\n JOIN sys_dept d ON d.dept_id = p.dept_id\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(od.pro_result, \'\') <> \'\'\n AND d.org_type = 3\n AND d.dept_id <> \'550\'\n AND INSTR(od.pro_result, \'未见异常\') <= 0\n AND INSTR(od.pro_result, \'未见明显异常\') <= 0\n AND INSTR(od.pro_result, \'未见占位\') <= 0\n AND INSTR(od.pro_result, \'未见明显\') <= 0\n AND INSTR(od.pro_result, \'正常\') <= 0\n AND INSTR(od.pro_result, \'双侧椎间孔无狭窄\') <= 0\n AND INSTR(od.pro_result, \'无殊\') <= 0\n UNION\n SELECT bgd.jcxmid, bgd.jcxm, bgd.ycbz, \n CASE WHEN LOCATE(bgd.ycbz, \'↑\') THEN CONCAT(bgd.jcxm, \'偏高\')\n ELSE CONCAT(bgd.jcxm, \'偏低\') END AS result, \n o.user_id\n FROM tj_order o\n LEFT JOIN ltkj_hysqd sqd ON o.tj_number = sqd.tjh\n JOIN ltkj_hybgd bgd ON sqd.tmh = bgd.tmh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND IFNULL(bgd.ycbz, \'\') <> \'\'\n UNION\n SELECT yc.pro_id, yc.pro_name, TRIM(yc.jcjg) AS result, \n REPLACE(TRIM(yc.jcjg), \'\\n\', \'\') AS temp_result, \n o.user_id\n FROM tj_order o\n LEFT JOIN tj_jcycxm yc ON o.tj_number = yc.tjh\n WHERE o.firm_id = \'${firmId}\'\n AND o.create_time BETWEEN \'${startTime}\' AND \'${endTime}\'\n AND yc.pro_id IS NOT NULL\n) a ON a.user_id = c.cus_id\nWHERE IFNULL(a.temp_result, \'\') <> \'\'\nORDER BY a.temp_result DESC\n', `db_key` = NULL, `tb_db_key` = NULL, `tb_db_table_name` = NULL, `java_type` = NULL, `java_value` = NULL, `api_url` = NULL, `api_method` = NULL, `is_list` = '1', `is_page` = '0', `db_source` = '', `db_source_type` = 'mysql', `json_data` = '', `api_convert` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739260616704'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041516490843258880', `field_name` = '异常项目', `field_text` = '异常项目', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 0, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041516491044585472'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041516490843258880', `field_name` = '男数量', `field_text` = '男数量', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 1, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041516491162025984'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041516490843258880', `field_name` = '女数量', `field_text` = '女数量', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 2, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041516491250106368'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041516490843258880', `field_name` = '合计人数', `field_text` = '合计人数', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 3, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041516491329798144'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041516490843258880', `field_name` = '男百分比', `field_text` = '男百分比', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 4, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041521081148276736'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041516490843258880', `field_name` = '女百分比', `field_text` = '女百分比', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 5, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041521081240551424'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '859573447174152192', `field_name` = 's', `field_text` = 's', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 0, `search_flag` = 0, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859573450949025792'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '859573447174152192', `field_name` = '男', `field_text` = '男', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 1, `search_flag` = 0, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859573453394305024'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '859573447174152192', `field_name` = '女', `field_text` = '女', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 2, `search_flag` = 0, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859573455810224128'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '859573447174152192', `field_name` = 'allnum', `field_text` = '总人数', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 3, `search_flag` = 0, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '879264552793616384'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = '实检人数', `field_text` = '实检人数', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 7, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042286110428659712'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = '未检人数', `field_text` = '未检人数', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 8, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042288346990936064'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = '开始时间', `field_text` = '开始时间', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 2, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '858938880519008256'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = '结束时间', `field_text` = '结束时间', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 3, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '858938880862941184'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = 'dw_name', `field_text` = 'dw_name', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 4, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859315015649091584'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = 'dw_dept_name', `field_text` = 'dw_dept_name', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 5, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859315018123730944'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = 'zongshu', `field_text` = 'zongshu', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 6, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859315020598370304'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = '男', `field_text` = '男', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 0, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '858937737814437888'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:36:03', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '858611931275816960', `field_name` = '女', `field_text` = '女', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 1, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '858937738166759424'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:53', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1042300196856037376', `field_name` = 'title', `field_text` = 'title', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 0, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042300196990255104'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:53', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1042300196856037376', `field_name` = 'value', `field_text` = 'value', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 1, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042300197082529792'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:39', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1042298604463357952', `field_name` = 'title', `field_text` = 'title', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 0, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042298604601769984'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:39', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1042298604463357952', `field_name` = 'value', `field_text` = 'value', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 1, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042298604677267456'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041531739260616704', `field_name` = 'pro_name', `field_text` = 'pro_name', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 0, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739369668608'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041531739260616704', `field_name` = 'cus_name', `field_text` = 'cus_name', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 1, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739445166080'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041531739260616704', `field_name` = 'tj_number', `field_text` = 'tj_number', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 2, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739508080640'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041531739260616704', `field_name` = 'temp_result', `field_text` = 'temp_result', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 3, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739562606592'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041531739260616704', `field_name` = 'grouping_name', `field_text` = 'grouping_name', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 4, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739621326848'; UPDATE `jimu_report_db_field` SET `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `jimu_report_db_id` = '1041531739260616704', `field_name` = 'age', `field_text` = 'age', `widget_type` = 'String', `widget_width` = NULL, `order_num` = 5, `search_flag` = NULL, `search_mode` = NULL, `dict_code` = NULL, `search_value` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041557683337723904'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1041516490843258880', `param_name` = 'firmId', `param_txt` = '单位', `param_value` = '', `order_num` = 1, `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = NULL, `search_mode` = 7, `dict_code` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041516491422072832'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1041516490843258880', `param_name` = 'startTime', `param_txt` = '开始时间', `param_value` = '=dateStr(\'yyyy-MM-dd\', -30)', `order_num` = 2, `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072294145787985920'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1041516490843258880', `param_name` = 'endTime', `param_txt` = '结束时间', `param_value` = '=dateStr(\'yyyy-MM-dd\')', `order_num` = 3, `create_by` = '10001', `create_time` = '2025-04-16 10:38:03', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072294145867677696'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '859573447174152192', `param_name` = 'startTime', `param_txt` = '开始时间', `param_value` = '=dateStr(\'yyyy-MM-dd\', -30)', `order_num` = 2, `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072305754916814848'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '859573447174152192', `param_name` = 'endTime', `param_txt` = '结束时间', `param_value` = '=dateStr(\'yyyy-MM-dd\')', `order_num` = 3, `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072305754992312320'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '859573447174152192', `param_name` = 'firmId', `param_txt` = 'firmId', `param_value` = '', `order_num` = 1, `create_by` = '10001', `create_time` = '2025-04-16 10:36:14', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = NULL, `search_mode` = 7, `dict_code` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859573458565881856'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '858611931275816960', `param_name` = 'startTime', `param_txt` = '开始时间', `param_value` = '=dateStr(\'yyyy-MM-dd\', -30)', `order_num` = 2, `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072305550838759424'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '858611931275816960', `param_name` = 'endTime', `param_txt` = '结束时间', `param_value` = '=dateStr(\'yyyy-MM-dd\')', `order_num` = 3, `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072305550905868288'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '858611931275816960', `param_name` = 'firmId', `param_txt` = 'firmId', `param_value` = '', `order_num` = 1, `create_by` = '10001', `create_time` = '2025-04-16 10:36:04', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = NULL, `search_mode` = 7, `dict_code` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '859229976093548544'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1042300196856037376', `param_name` = 'firmId', `param_txt` = 'firmId', `param_value` = '', `order_num` = 1, `create_by` = '10001', `create_time` = '2025-04-16 10:35:53', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = NULL, `search_mode` = 7, `dict_code` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042300197174804480'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1042300196856037376', `param_name` = 'startTime', `param_txt` = '开始时间', `param_value` = '=dateStr(\'yyyy-MM-dd\', -30)', `order_num` = 2, `create_by` = '10001', `create_time` = '2025-04-16 10:35:53', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072305368659165184'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1042300196856037376', `param_name` = 'endTime', `param_txt` = '结束时间', `param_value` = '=dateStr(\'yyyy-MM-dd\')', `order_num` = 3, `create_by` = '10001', `create_time` = '2025-04-16 10:35:53', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072305368734662656'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1042298604463357952', `param_name` = 'firmId', `param_txt` = 'firmId', `param_value` = '', `order_num` = 1, `create_by` = '10001', `create_time` = '2025-04-16 10:35:39', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = NULL, `search_mode` = 7, `dict_code` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1042298604756959232'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1042298604463357952', `param_name` = 'startTime', `param_txt` = '开始时间', `param_value` = '=dateStr(\'yyyy-MM-dd\', -30)', `order_num` = 2, `create_by` = '10001', `create_time` = '2025-04-16 10:35:39', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072296077134954496'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1042298604463357952', `param_name` = 'endTime', `param_txt` = '结束时间', `param_value` = '=dateStr(\'yyyy-MM-dd\')', `order_num` = 3, `create_by` = '10001', `create_time` = '2025-04-16 10:35:39', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072296077210451968'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1041531739260616704', `param_name` = 'firmId', `param_txt` = 'firmId', `param_value` = '', `order_num` = 2, `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = NULL, `search_mode` = 7, `dict_code` = NULL, `search_format` = NULL, `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1041531739755544576'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1041531739260616704', `param_name` = 'startTime', `param_txt` = '开始时间', `param_value` = '=dateStr(\'yyyy-MM-dd\', -30)', `order_num` = 3, `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072294642875924480'; UPDATE `jimu_report_db_param` SET `jimu_report_head_id` = '1041531739260616704', `param_name` = 'endTime', `param_txt` = '结束时间', `param_value` = '=dateStr(\'yyyy-MM-dd\')', `order_num` = 4, `create_by` = '10001', `create_time` = '2025-04-16 10:35:26', `update_by` = NULL, `update_time` = NULL, `search_flag` = 1, `widget_type` = 'date', `search_mode` = NULL, `dict_code` = NULL, `search_format` = 'yyyy-MM-dd', `ext_json` = '', `create_id` = NULL, `update_id` = NULL WHERE `id` = '1072294642943033344'; -- 金堆成写死医师工作量统计 INSERT INTO `jimu_report` (`id`, `code`, `name`, `note`, `status`, `type`, `json_str`, `api_url`, `thumb`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `api_method`, `api_code`, `template`, `view_count`, `css_str`, `js_str`, `tenant_id`, `print_type`, `is_start`, `create_id`, `update_id`) VALUES ('1075551507869106176', '20250425100700', '医师工作量统计', NULL, NULL, 'datainfo', '{\"loopBlockList\":[],\"area\":{\"sri\":5,\"sci\":2,\"eri\":5,\"eci\":2,\"width\":100,\"height\":25},\"excel_config_id\":\"1075551507869106176\",\"printConfig\":{\"paper\":\"A4\",\"width\":210,\"height\":297,\"definition\":1,\"isBackend\":false,\"marginX\":10,\"marginY\":10,\"layout\":\"portrait\",\"printCallBackUrl\":\"\"},\"zonedEditionList\":[],\"rows\":{\"0\":{\"cells\":{\"0\":{\"merge\":[3,6],\"height\":100,\"text\":\"医师工作量统计\",\"style\":4},\"1\":{\"style\":5,\"text\":\" \"},\"2\":{\"style\":5,\"text\":\" \"},\"3\":{\"style\":5,\"text\":\" \"},\"4\":{\"style\":5,\"text\":\" \"},\"5\":{\"style\":5,\"text\":\" \"},\"6\":{\"style\":5,\"text\":\" \"}}},\"1\":{\"cells\":{\"0\":{\"style\":5,\"text\":\" \"},\"1\":{\"style\":5,\"text\":\" \"},\"2\":{\"style\":5,\"text\":\" \"},\"3\":{\"style\":5,\"text\":\" \"},\"4\":{\"style\":5,\"text\":\" \"},\"5\":{\"style\":5,\"text\":\" \"},\"6\":{\"style\":5,\"text\":\" \"}}},\"2\":{\"cells\":{\"0\":{\"style\":5,\"text\":\" \"},\"1\":{\"style\":5,\"text\":\" \"},\"2\":{\"style\":5,\"text\":\" \"},\"3\":{\"style\":5,\"text\":\" \"},\"4\":{\"style\":5,\"text\":\" \"},\"5\":{\"style\":5,\"text\":\" \"},\"6\":{\"style\":5,\"text\":\" \"}}},\"3\":{\"cells\":{\"0\":{\"style\":5,\"text\":\" \"},\"1\":{\"style\":5,\"text\":\" \"},\"2\":{\"style\":5,\"text\":\" \"},\"3\":{\"style\":5,\"text\":\" \"},\"4\":{\"style\":5,\"text\":\" \"},\"5\":{\"style\":5,\"text\":\" \"},\"6\":{\"style\":5,\"text\":\" \"}}},\"4\":{\"cells\":{\"1\":{\"style\":11,\"text\":\" 序号\"},\"2\":{\"style\":11,\"text\":\"工号\"},\"3\":{\"style\":11,\"text\":\" 医生 \"},\"4\":{\"style\":11,\"text\":\" 人数\",\"merge\":[0,1],\"height\":25},\"5\":{\"style\":12,\"text\":\" \"}}},\"5\":{\"cells\":{\"1\":{\"style\":8,\"text\":\"=row(1)\"},\"2\":{\"text\":\"#{ctResult.gh}\",\"style\":8},\"3\":{\"text\":\"#{ctResult.name}\",\"style\":8},\"4\":{\"style\":8,\"text\":\"#{ctResult.num}\",\"merge\":[0,1],\"height\":25}}},\"7\":{\"cells\":{\"11\":{\"text\":\"\"}}},\"8\":{\"cells\":{\"1\":{\"style\":11,\"text\":\"序号 \"},\"2\":{\"style\":11,\"text\":\"工号\"},\"3\":{\"style\":11,\"text\":\" 医生\"},\"4\":{\"style\":11,\"text\":\" 人数\",\"merge\":[0,1],\"height\":25},\"5\":{\"style\":16,\"text\":\" \"},\"6\":{\"text\":\"\"}}},\"9\":{\"cells\":{\"1\":{\"style\":8,\"text\":\"=row(2)\"},\"2\":{\"style\":8,\"text\":\"#{bcResult.gh}\"},\"3\":{\"style\":8,\"text\":\"#{bcResult.name}\"},\"4\":{\"style\":8,\"text\":\"#{bcResult.num}\",\"merge\":[0,1],\"height\":25},\"6\":{\"text\":\"\"}}},\"len\":100},\"dbexps\":[],\"dicts\":[],\"rpbar\":{\"show\":true,\"pageSize\":\"\",\"btnList\":[]},\"fixedPrintHeadRows\":[],\"fixedPrintTailRows\":[],\"freeze\":\"A1\",\"dataRectWidth\":700,\"displayConfig\":{},\"background\":false,\"name\":\"sheet1\",\"autofilter\":{},\"styles\":[{\"font\":{\"bold\":true}},{\"font\":{\"bold\":true},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":15},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":15}},{\"font\":{\"bold\":true,\"size\":22},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":22}},{\"bgcolor\":\"#deeaf6\"},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\"},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"font\":{\"bold\":true}},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"font\":{\"bold\":true,\"size\":12}},{\"font\":{\"bold\":true,\"size\":12}},{\"bgcolor\":\"#deeaf6\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\",\"font\":{\"size\":12}},{\"font\":{\"size\":12}},{\"bgcolor\":\"#deeaf6\",\"font\":{\"size\":12}},{\"bgcolor\":\"#deeaf6\",\"font\":{\"size\":12,\"bold\":true}},{\"bgcolor\":\"#deeaf6\",\"font\":{\"size\":12,\"bold\":true},\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}}],\"validations\":[],\"cols\":{\"len\":50},\"merges\":[\"A1:G4\",\"E5:F5\",\"E6:F6\",\"E9:F9\",\"E10:F10\"]}', NULL, NULL, '10001', '2025-04-25 10:07:00', '10001', '2025-04-25 10:47:43', 0, NULL, NULL, 0, 7, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1075565490034475008', '1075551507869106176', '10001', '10001', '2025-04-25 10:39:53', '2025-04-25 10:39:53', 'ctResult', '查体统计', '0', NULL, 'SELECT\n r.update_by as name,\n COUNT(r.remark_id) AS num,\n u.user_name AS gh\n FROM\n tj_order_remark r\n JOIN sys_user u ON r.update_id = u.user_id\n WHERE\n r.pro_id = 1898989248524386306\n AND r.doctor_name IN (\'2002\', \'2077\')\n AND r.update_time BETWEEN \'${start}\' AND \'${end}\'\n GROUP BY r.doctor_name;', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1075566668306743296', '1075551507869106176', '10001', '10001', '2025-04-25 10:37:27', '2025-04-25 10:39:53', 'bcResult', 'B超统计', '0', NULL, 'SELECT\n shysxm AS `name`,\n COUNT( id ) AS num,\n u.user_name AS gh\nFROM\n ltkj_exam_jcbgd j\n LEFT JOIN sys_user u ON j.shysxm = u.nick_name\nWHERE\n LOCATE( \'1878964342340526305\', xmdm ) \n AND j.sqsj BETWEEN \'${start}\' AND \'${end}\'\nGROUP BY\n shysxm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075565490395185152', '10001', '2025-04-25 10:39:53', NULL, NULL, '1075565490034475008', 'num', 'num', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075565490550374400', '10001', '2025-04-25 10:39:53', NULL, NULL, '1075565490034475008', 'name', 'name', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075572969619357696', '10001', '2025-04-25 10:39:53', NULL, NULL, '1075565490034475008', 'gh', 'gh', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075571471204253696', '10001', '2025-04-25 10:37:27', NULL, NULL, '1075566668306743296', 'name', 'name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075571471351054336', '10001', '2025-04-25 10:37:27', NULL, NULL, '1075566668306743296', 'num', 'num', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075572614131122176', '10001', '2025-04-25 10:37:27', NULL, NULL, '1075566668306743296', 'gh', 'gh', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075573671439663104', '1075565490034475008', 'start', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 1, '10001', '2025-04-25 10:39:53', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075573671582269440', '1075565490034475008', 'end', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 2, '10001', '2025-04-25 10:39:53', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075574286374961152', '1075566668306743296', 'start', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 1, '10001', '2025-04-25 10:37:27', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1075574286513373184', '1075566668306743296', 'end', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 2, '10001', '2025-04-25 10:37:27', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); -- 人员缴费统计 INSERT INTO `jimu_report` (`id`, `code`, `name`, `note`, `status`, `type`, `json_str`, `api_url`, `thumb`, `create_by`, `create_time`, `update_by`, `update_time`, `del_flag`, `api_method`, `api_code`, `template`, `view_count`, `css_str`, `js_str`, `tenant_id`, `print_type`, `is_start`, `create_id`, `update_id`) VALUES ('1072318375476887552', '20250416112329', '人员缴费统计', NULL, NULL, 'datainfo', '{\"loopBlockList\":[],\"area\":{\"sri\":5,\"sci\":3,\"eri\":5,\"eci\":3,\"width\":100,\"height\":25},\"excel_config_id\":\"1072318375476887552\",\"printConfig\":{\"paper\":\"A4\",\"width\":210,\"height\":297,\"definition\":1,\"isBackend\":false,\"marginX\":10,\"marginY\":10,\"layout\":\"portrait\",\"printCallBackUrl\":\"\"},\"zonedEditionList\":[],\"rows\":{\"0\":{\"cells\":{\"0\":{\"merge\":[2,6],\"height\":75,\"text\":\"人员缴费统计\",\"style\":9}}},\"1\":{\"cells\":{}},\"2\":{\"cells\":{}},\"4\":{\"cells\":{\"1\":{\"style\":14,\"text\":\"序号\"},\"2\":{\"style\":14,\"text\":\"姓名\"},\"3\":{\"style\":14,\"text\":\"性别\"},\"4\":{\"style\":14,\"text\":\"缴费金额\"},\"5\":{\"style\":14,\"text\":\"体检日期\"}}},\"5\":{\"cells\":{\"1\":{\"style\":17,\"text\":\"=row(1)\"},\"2\":{\"style\":11,\"text\":\"#{result.cus_name}\"},\"3\":{\"style\":11,\"text\":\"#{result.sex}\"},\"4\":{\"style\":11,\"text\":\"#{result.paid_in}\"},\"5\":{\"style\":11,\"text\":\"#{result.create_time}\"},\"7\":{\"text\":\"\"}}},\"7\":{\"cells\":{\"3\":{\"text\":\"总计:\",\"style\":15},\"4\":{\"text\":\"=SUM(D6)\"}}},\"len\":100},\"dbexps\":[],\"dicts\":[],\"rpbar\":{\"show\":true,\"pageSize\":\"\",\"btnList\":[]},\"fixedPrintHeadRows\":[],\"fixedPrintTailRows\":[],\"freeze\":\"A1\",\"dataRectWidth\":640,\"displayConfig\":{},\"background\":false,\"name\":\"sheet1\",\"autofilter\":{},\"styles\":[{\"font\":{\"bold\":true}},{\"font\":{\"bold\":true},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":12},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":12}},{\"font\":{\"bold\":true,\"size\":14},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":14}},{\"font\":{\"bold\":true,\"size\":14},\"align\":\"center\",\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"font\":{\"bold\":true,\"size\":16},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":16}},{\"font\":{\"bold\":true,\"size\":18},\"align\":\"center\"},{\"font\":{\"bold\":true,\"size\":18}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#deeaf6\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#deeaf6\",\"align\":\"center\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#deeaf6\",\"align\":\"center\",\"font\":{\"bold\":true}},{\"align\":\"right\"},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"bgcolor\":\"#deeaf6\",\"font\":{\"bold\":true}},{\"border\":{\"bottom\":[\"thin\",\"#000\"],\"top\":[\"thin\",\"#000\"],\"left\":[\"thin\",\"#000\"],\"right\":[\"thin\",\"#000\"]},\"align\":\"center\"},{\"bgcolor\":\"#deeaf6\"}],\"validations\":[],\"cols\":{\"4\":{\"width\":140},\"len\":50},\"merges\":[\"A1:G3\"]}', NULL, NULL, '10001', '2025-04-16 11:23:30', '10001', '2025-04-17 09:06:24', 0, NULL, NULL, 0, 38, NULL, 'function init(){\n let headers = { \'hospId\': \'pbkwyy\'};\n let params = {params: {pid: \'\',type:\'1\'},headers: headers}\n // let url = \'http://192.168.1.2:5011/reservation/reservation/linkage\'\n let url = \'http://10.100.100.117:5101/ltkj-admin/reservation/reservation/linkage\'\n $http.metaGet(url ,params).then(res=>{\n let options = res.data;\n this.updateSelectOptions(\'result\', \'firmId\', options)\n })\n}\n', NULL, NULL, NULL, NULL, NULL); INSERT INTO `jimu_report_db` (`id`, `jimu_report_id`, `create_by`, `update_by`, `create_time`, `update_time`, `db_code`, `db_ch_name`, `db_type`, `db_table_name`, `db_dyn_sql`, `db_key`, `tb_db_key`, `tb_db_table_name`, `java_type`, `java_value`, `api_url`, `api_method`, `is_list`, `is_page`, `db_source`, `db_source_type`, `json_data`, `api_convert`, `create_id`, `update_id`) VALUES ('1072324253588422656', '1072318375476887552', '10001', '10001', '2025-04-17 09:04:14', '2025-04-17 09:04:14', 'result', '结果', '0', NULL, 'SELECT\n c.cus_name,\n o.create_time,\n w.paid_in,\nCASE\n WHEN c.cus_sex = \'0\' THEN\n \'男\' \n WHEN c.cus_sex = \'1\' THEN\n \'女\' ELSE \'未知\' \n END AS sex ,\n c.cus_id,\n SUM(w.paid_in) AS price\nFROM\n tj_order o\n LEFT JOIN tj_flowing_water w ON o.order_id = w.order_id\n JOIN tj_customer c ON o.user_id = c.cus_id\nWHERE\n((\'${type}\' = \'\' OR \'${type}\' = \'0\') OR o.tj_type = \'${type}\')\n AND o.create_time BETWEEN \'${startTime} 00:00:00\' AND \'${endTime} 23:59:59\'\n AND (\'${firmId}\' = \'\' OR o.firm_id = \'${firmId}\')\n AND (\'${p_sex}\' = \'\' OR c.cus_sex = \'${p_sex}\')\n AND w.deleted = 0 AND o.deleted = 0\nGROUP BY c.cus_id\n\n', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '0', '', 'mysql', '', '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324253752000512', '10001', '2025-04-17 09:04:14', NULL, NULL, '1072324253588422656', 'cus_name', 'cus_name', 'String', NULL, 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324253848469504', '10001', '2025-04-17 09:04:14', NULL, NULL, '1072324253588422656', 'create_time', 'create_time', 'String', NULL, 1, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324253949132800', '10001', '2025-04-17 09:04:14', NULL, NULL, '1072324253588422656', 'paid_in', 'paid_in', 'String', NULL, 2, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072650631798095872', '10001', '2025-04-17 09:04:14', NULL, NULL, '1072324253588422656', 'price', 'price', 'String', NULL, 3, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072650631869399040', '10001', '2025-04-17 09:04:14', NULL, NULL, '1072324253588422656', 'sex', 'sex', 'String', NULL, 4, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_field` (`id`, `create_by`, `create_time`, `update_by`, `update_time`, `jimu_report_db_id`, `field_name`, `field_text`, `widget_type`, `widget_width`, `order_num`, `search_flag`, `search_mode`, `dict_code`, `search_value`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072650631953285120', '10001', '2025-04-17 09:04:14', NULL, NULL, '1072324253588422656', 'cus_id', 'cus_id', 'String', NULL, 5, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324254041407488', '1072324253588422656', 'type', '体检类型', '0', 1, '10001', '2025-04-17 09:04:14', NULL, NULL, 1, 'string', 4, 'tj_type', NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324254133682176', '1072324253588422656', 'startTime', '开始时间', '=dateStr(\'yyyy-MM-dd\', -30)', 2, '10001', '2025-04-17 09:04:14', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324254217568256', '1072324253588422656', 'endTime', '结束时间', '=dateStr(\'yyyy-MM-dd\')', 3, '10001', '2025-04-17 09:04:14', NULL, NULL, 1, 'date', NULL, NULL, 'yyyy-MM-dd', '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072324254297260032', '1072324253588422656', 'firmId', '单位', '', 4, '10001', '2025-04-17 09:04:14', NULL, NULL, 1, 'string', 7, NULL, NULL, '', NULL, NULL); INSERT INTO `jimu_report_db_param` (`id`, `jimu_report_head_id`, `param_name`, `param_txt`, `param_value`, `order_num`, `create_by`, `create_time`, `update_by`, `update_time`, `search_flag`, `widget_type`, `search_mode`, `dict_code`, `search_format`, `ext_json`, `create_id`, `update_id`) VALUES ('1072652038089506816', '1072324253588422656', 'p_sex', '性别', '', 5, '10001', '2025-04-17 09:04:14', NULL, NULL, 1, NULL, 4, 'sex', NULL, '', NULL, NULL); -- 软件抓图上传接口 需要上传的图片视图 CREATE view v_gnkssctp as SELECT (case when a.his_xmdm='8522' then 'xdt' else '' end) gnlx,concat(c.cus_name,'_',a.id,'.jpg') picname FROM ltkj_jianchajianyan_tree a left join tj_order b on b.card_id = a.card_id join tj_customer c on c.cus_id = b.user_id left join sys_attachment d on d.old_file_name<>concat(c.cus_name,'_',a.id,'.jpg') where a.his_xmdm in ('8522','gmd');