248 changed files with 8261 additions and 668 deletions
@ -0,0 +1,103 @@ |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654829394234654722', 'yt_Householder_relationship_type', '与户主关系', '【烟台需求】居民信息-与户主关系(60)', 0, 0, 0, '1', '2023-05-06 20:44:07', '1', '2023-05-07 08:49:11'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017423142338562', 'yt_household_category', '户别', '【烟台需求】居住信息', 0, 0, 0, '1', '2023-05-07 09:11:17', '1', '2023-05-07 09:11:17'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803329994932225', 'yt_id_card_type', '证件类型', '【烟台需求】居民信息:证件类型;因烟台需求增加', 0, 0, 0, '1', '2023-05-06 19:00:33', '1', '2023-05-06 19:20:52'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017027942432770', 'yt_is_now_live', '是否现居住', '【烟台需求】居住信息', 0, 0, 0, '1', '2023-05-07 09:09:43', '1', '2023-05-07 09:09:43'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654808342884466689', 'yt_key_point_user_type', '重点人群', '【烟台需求】:居民信息-重点人群', 0, 0, 0, '1', '2023-05-06 19:20:28', '1', '2023-05-06 19:21:01'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813824277757953', 'yt_politics_status', '政治面貌', '【烟台需求】居民信息-政治面貌', 0, 0, 0, '1', '2023-05-06 19:42:15', '1', '2023-05-06 19:42:15'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_type` (`id`, `dict_type`, `dict_name`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654809078326312962', 'yt_population_type', '人口类型', '【烟台需求】居民信息-人口类型', 0, 0, 0, '1', '2023-05-06 19:23:24', '1', '2023-05-06 19:23:24'); |
|||
|
|||
|
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837838383628290', 1654829394234654722, '弟', 'di', '0', '', 47, 0, 0, '1', '2023-05-06 21:17:41', '1', '2023-05-06 21:17:41'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837906998247426', 1654829394234654722, '弟媳', 'dixi', '0', '', 48, 0, 0, '1', '2023-05-06 21:17:57', '1', '2023-05-06 21:17:57'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654838406774734850', 1654829394234654722, '独生女', 'dushegnnv', '0', '', 15, 0, 0, '1', '2023-05-06 21:19:56', '1', '2023-05-06 21:19:56'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654831181419200514', 1654829394234654722, '长子', 'eldest_son', '0', '', 7, 0, 0, '1', '2023-05-06 20:51:14', '1', '2023-05-06 20:51:14'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654838530770944002', 1654829394234654722, '二女', 'ernv', '0', '', 15, 0, 0, '1', '2023-05-06 21:20:26', '1', '2023-05-06 21:20:26'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654832115159351297', 1654829394234654722, '五子', 'five_son', '0', '', 11, 0, 0, '1', '2023-05-06 20:54:56', '1', '2023-05-06 20:58:20'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654831817560899585', 1654829394234654722, '四子', 'fourth_son', '0', '', 10, 0, 0, '1', '2023-05-06 20:53:45', '1', '2023-05-06 20:58:10'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835876648927233', 1654829394234654722, '父母', 'fumu', '0', '', 25, 0, 0, '1', '2023-05-06 21:09:53', '1', '2023-05-06 21:09:53'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835969879916545', 1654829394234654722, '父亲', 'fuqin', '0', '', 26, 0, 0, '1', '2023-05-06 21:10:15', '1', '2023-05-06 21:10:15'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836121109741570', 1654829394234654722, '公公', 'gonggong', '0', '', 28, 0, 0, '1', '2023-05-06 21:10:51', '1', '2023-05-06 21:10:51'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654829713467326465', 1654829394234654722, '户主', 'householder', '0', '', 0, 0, 0, '1', '2023-05-06 20:45:24', '1', '2023-05-06 20:46:46'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654830288644816898', 1654829394234654722, '夫', 'hubby', '0', '', 3, 0, 0, '1', '2023-05-06 20:47:41', '1', '2023-05-06 20:47:41'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836063958155265', 1654829394234654722, '母亲', 'muqin', '0', '', 27, 0, 0, '1', '2023-05-06 21:10:38', '1', '2023-05-06 21:10:38'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654838316743999489', 1654829394234654722, '女', 'nv', '0', '', 15, 0, 0, '1', '2023-05-06 21:19:35', '1', '2023-05-06 21:19:35'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654834501059821570', 1654829394234654722, '女婿', 'nvxu', '0', '', 13, 0, 0, '1', '2023-05-06 21:04:25', '1', '2023-05-06 21:04:25'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654830916922195970', 1654829394234654722, '独生子', 'only_child', '0', '', 6, 0, 0, '1', '2023-05-06 20:50:11', '1', '2023-05-06 20:50:11'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837022348230657', 1654829394234654722, '配偶的祖父母或外祖父母', 'peigoudezhufumu', '0', '', 39, 0, 0, '1', '2023-05-06 21:14:26', '1', '2023-05-06 21:14:26'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837542756499457', 1654829394234654722, '配偶的曾祖父母', 'peioudezengzhufuwu', '0', '', 42, 0, 0, '1', '2023-05-06 21:16:30', '1', '2023-05-06 21:16:30'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836180257816578', 1654829394234654722, '婆婆', 'popo', '0', '', 29, 0, 0, '1', '2023-05-06 21:11:05', '1', '2023-05-06 21:11:05'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837996081070082', 1654829394234654722, '迁出或死亡', 'qianchuhuosiwagn', '0', '', 49, 0, 0, '1', '2023-05-06 21:18:18', '1', '2023-05-06 21:18:18'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654834610833145857', 1654829394234654722, '其他儿子', 'qitaerzi', '0', '', 14, 0, 0, '1', '2023-05-06 21:04:51', '1', '2023-05-06 21:05:24'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836584563556354', 1654829394234654722, '其他父母关系', 'qitafumuguanxi', '0', '', 34, 0, 0, '1', '2023-05-06 21:12:42', '1', '2023-05-06 21:12:42'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835786156818433', 1654829394234654722, '其他孙子或外孙子', 'qitasunzi', '0', '', 24, 0, 0, '1', '2023-05-06 21:09:31', '1', '2023-05-06 21:09:31'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837613787037697', 1654829394234654722, '其他祖父母或外祖父母关系', 'qitazhufumu', '0', '', 43, 0, 0, '1', '2023-05-06 21:16:47', '1', '2023-05-06 21:16:47'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654838597863030785', 1654829394234654722, '三女', 'sannv', '0', '', 15, 0, 0, '1', '2023-05-06 21:20:42', '1', '2023-05-06 21:20:42'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837786110017537', 1654829394234654722, '嫂', 'sao', '0', '', 46, 0, 0, '1', '2023-05-06 21:17:28', '1', '2023-05-06 21:17:28'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654831393202192386', 1654829394234654722, '次子', 'second_son', '0', '', 8, 0, 0, '1', '2023-05-06 20:52:04', '1', '2023-05-06 20:52:04'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654838660240719873', 1654829394234654722, '四女', 'sinv', '0', '', 15, 0, 0, '1', '2023-05-06 21:20:57', '1', '2023-05-06 21:20:57'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654830757131796482', 1654829394234654722, '子', 'son', '0', '', 5, 0, 0, '1', '2023-05-06 20:49:32', '1', '2023-05-06 20:49:32'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654829941117370370', 1654829394234654722, '配偶', 'spouse', '0', '', 1, 0, 0, '1', '2023-05-06 20:46:18', '1', '2023-05-06 20:46:58'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835172760829953', 1654829394234654722, '孙女', 'sunnv', '0', '', 17, 0, 0, '1', '2023-05-06 21:07:05', '1', '2023-05-06 21:07:05'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835574851977217', 1654829394234654722, '孙女婿或外孙女婿', 'sunnvxu', '0', '', 21, 0, 0, '1', '2023-05-06 21:08:41', '1', '2023-05-06 21:08:41'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835098777501697', 1654829394234654722, '孙子', 'sunzi', '0', '', 16, 0, 0, '1', '2023-05-06 21:06:48', '1', '2023-05-06 21:06:48'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654834879696420865', 1654829394234654722, '孙子、孙女或外孙子、 外孙女', 'szsnhwszwsn', '0', '', 15, 0, 0, '1', '2023-05-06 21:05:55', '1', '2023-05-06 21:06:05'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654831637797224450', 1654829394234654722, '三子', 'third_son', '0', '', 9, 0, 0, '1', '2023-05-06 20:53:02', '1', '2023-05-06 20:57:59'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835238154223617', 1654829394234654722, '外孙女', 'waisunnv', '0', '', 18, 0, 0, '1', '2023-05-06 21:07:21', '1', '2023-05-06 21:07:21'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835506849726465', 1654829394234654722, '外媳妇或外孙媳妇', 'waisunxifu', '0', '', 20, 0, 0, '1', '2023-05-06 21:08:25', '1', '2023-05-06 21:08:25'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835316738703362', 1654829394234654722, '外孙子', 'waisunzi', '0', '', 19, 0, 0, '1', '2023-05-06 21:07:40', '1', '2023-05-06 21:07:40'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836879225995265', 1654829394234654722, '外祖父', 'waizhufu', '0', '', 37, 0, 0, '1', '2023-05-06 21:13:52', '1', '2023-05-06 21:13:52'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836936633434114', 1654829394234654722, '外祖母', 'waizhumu', '0', '', 38, 0, 0, '1', '2023-05-06 21:14:06', '1', '2023-05-06 21:14:06'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654830377236905985', 1654829394234654722, '妻', 'wife', '0', '', 4, 0, 0, '1', '2023-05-06 20:48:02', '1', '2023-05-06 20:48:09'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837736759836673', 1654829394234654722, '兄', 'xiong', '0', '', 45, 0, 0, '1', '2023-05-06 21:17:16', '1', '2023-05-06 21:17:16'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837671941062658', 1654829394234654722, '兄弟姐妹', 'xiongdijiemei', '0', '', 44, 0, 0, '1', '2023-05-06 21:17:01', '1', '2023-05-06 21:17:01'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836453831294978', 1654829394234654722, '养父或继父', 'yangfuhuojifu', '0', '', 32, 0, 0, '1', '2023-05-06 21:12:11', '1', '2023-05-06 21:12:11'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836517219811330', 1654829394234654722, '养母或继母', 'yangmuhuojimu', '0', '', 33, 0, 0, '1', '2023-05-06 21:12:26', '1', '2023-05-06 21:12:26'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836243453394945', 1654829394234654722, '岳父', 'yuefu', '0', '', 30, 0, 0, '1', '2023-05-06 21:11:20', '1', '2023-05-06 21:11:31'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836362152198145', 1654829394234654722, '岳母', 'yuemu', '0', '', 31, 0, 0, '1', '2023-05-06 21:11:49', '1', '2023-05-06 21:11:49'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654834368284934145', 1654829394234654722, '养子或继子', 'yzhjz', '0', '', 12, 0, 0, '1', '2023-05-06 21:03:53', '1', '2023-05-06 21:04:02'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835725985333249', 1654829394234654722, '曾孙女或曾外孙女', 'zengsunnv', '0', '', 23, 0, 0, '1', '2023-05-06 21:09:17', '1', '2023-05-06 21:09:17'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654835645924458497', 1654829394234654722, '曾孙子或曾外孙子', 'zengsunzi', '0', '', 22, 0, 0, '1', '2023-05-06 21:08:58', '1', '2023-05-06 21:08:58'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837100391645185', 1654829394234654722, '曾祖父', 'zengzhufu', '0', '', 40, 0, 0, '1', '2023-05-06 21:14:45', '1', '2023-05-06 21:14:45'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654837458128027649', 1654829394234654722, '曾祖母', 'zengzhumu', '0', '', 41, 0, 0, '1', '2023-05-06 21:16:10', '1', '2023-05-06 21:16:10'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654838466149302273', 1654829394234654722, '长女', 'zhangnv', '0', '', 15, 0, 0, '1', '2023-05-06 21:20:10', '1', '2023-05-06 21:20:10'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836710568837121', 1654829394234654722, '祖父', 'zhufu', '0', '', 35, 0, 0, '1', '2023-05-06 21:13:12', '1', '2023-05-06 21:13:12'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836785378443265', 1654829394234654722, '祖母', 'zhumu', '0', '', 36, 0, 0, '1', '2023-05-06 21:13:30', '1', '2023-05-06 21:13:30'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654836652540641281', 1654829394234654722, '祖母或外祖母', 'zhumuhuowaizhumu', '0', '', 34, 0, 0, '1', '2023-05-06 21:12:58', '1', '2023-05-06 21:12:58'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017525068120065', 1655017423142338562, '家庭户', 'jiatinghu', '0', '家庭户', 1, 0, 0, '1', '2023-05-07 09:11:41', '1', '2023-05-07 09:12:12'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017594743898113', 1655017423142338562, '集体户', 'jitihu', '0', '集体户', 2, 0, 0, '1', '2023-05-07 09:11:58', '1', '2023-05-07 09:11:58'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017720258445313', 1655017423142338562, '空挂户', 'kongguahu', '0', '空挂户', 3, 0, 0, '1', '2023-05-07 09:12:28', '1', '2023-05-07 09:12:28'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017773593214977', 1655017423142338562, '团结户', 'tuanjiehu', '0', '团结户', 4, 0, 0, '1', '2023-05-07 09:12:41', '1', '2023-05-07 09:12:41'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803510186426370', 1654803329994932225, '身份证号', '1', '0', '身份证号', 1, 0, 0, '1', '2023-05-06 19:01:16', '1', '2023-05-06 19:05:20'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803553832353793', 1654803329994932225, '护照', '2', '0', '护照', 2, 0, 0, '1', '2023-05-06 19:01:27', '1', '2023-05-06 19:01:27'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803595087527937', 1654803329994932225, '港澳通行证', '3', '0', '港澳通行证', 3, 0, 0, '1', '2023-05-06 19:01:36', '1', '2023-05-06 19:01:36'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803649835778049', 1654803329994932225, '军人证', '4', '0', '军人证', 4, 0, 0, '1', '2023-05-06 19:01:50', '1', '2023-05-06 19:01:50'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803737236684802', 1654803329994932225, '其他', '6', '0', '其他', 6, 0, 0, '1', '2023-05-06 19:02:10', '1', '2023-05-06 19:02:10'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654803693234241537', 1654803329994932225, '台胞证', '5', '0', '台胞证', 5, 0, 0, '1', '2023-05-06 19:02:00', '1', '2023-05-06 19:02:00'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017197153239042', 1655017027942432770, '否', '0', '0', '否', 2, 0, 0, '1', '2023-05-07 09:10:23', '1', '2023-05-07 09:10:23'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1655017153138212865', 1655017027942432770, '是', '1', '0', '是', 1, 0, 0, '1', '2023-05-07 09:10:13', '1', '2023-05-07 09:10:13'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654808917751578626', 1654808342884466689, '监管对象', 'jianguanduixiang', '0', '监管对象', 4, 0, 0, '1', '2023-05-06 19:22:46', '1', '2023-05-06 19:22:46'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654808584195358722', 1654808342884466689, '否', 'no', '0', '', 1, 0, 0, '1', '2023-05-06 19:21:26', '1', '2023-05-06 20:15:33'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654808858024689665', 1654808342884466689, '视线对象', 'shixianduixiang', '0', '', 3, 0, 0, '1', '2023-05-06 19:22:31', '1', '2023-05-06 19:22:31'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654808655167176705', 1654808342884466689, '重点人员', 'zhongdianrenyuan', '0', '', 2, 0, 0, '1', '2023-05-06 19:21:43', '1', '2023-05-06 19:21:43'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815948533350402', 1654813824277757953, '九三学社社员', 'jsxssy', '0', '九三学社社员', 11, 0, 0, '1', '2023-05-06 19:50:42', '1', '2023-05-06 19:50:42'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654814620180496385', 1654813824277757953, '群众', 'qunzhong', '0', '群众', 1, 0, 0, '1', '2023-05-06 19:45:25', '1', '2023-05-06 19:45:25'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654816041563013121', 1654813824277757953, '台湾民主自治同盟盟员', 'twmzzztmmy', '0', '台湾民主自治同盟盟员', 12, 0, 0, '1', '2023-05-06 19:51:04', '1', '2023-05-06 19:51:04'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654816151323754497', 1654813824277757953, '无党派民主人士', 'wdpmzrs', '0', '无党派民主人士', 13, 0, 0, '1', '2023-05-06 19:51:30', '1', '2023-05-06 19:51:30'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654814740867399682', 1654813824277757953, '中国共产党党员', 'zggcddy', '0', '中国共产党党员', 2, 0, 0, '1', '2023-05-06 19:45:54', '1', '2023-05-06 19:45:54'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654814827379113986', 1654813824277757953, '中国共产党预备党员', 'zggcdybdy', '0', '中国共产党预备党员', 3, 0, 0, '1', '2023-05-06 19:46:14', '1', '2023-05-06 19:46:14'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654814930802262018', 1654813824277757953, '中国共产主义青年团团员', 'zggczyqntty', '0', '中国共产主义青年团团员', 4, 0, 0, '1', '2023-05-06 19:46:39', '1', '2023-05-06 19:46:39'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815140559405057', 1654813824277757953, '中国国民党革命委员会会员', 'zggmdgmwyhhy', '0', '中国国民党革命委员会会员', 5, 0, 0, '1', '2023-05-06 19:47:29', '1', '2023-05-06 19:47:29'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815461771788290', 1654813824277757953, '中国民主促进会会员', 'zgmzcjhhy', '0', '中国民主促进会会员', 8, 0, 0, '1', '2023-05-06 19:48:46', '1', '2023-05-06 19:48:46'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815380884635650', 1654813824277757953, '中国民主建国会会员', 'zgmzghhy', '0', '中国民主建国会会员', 7, 0, 0, '1', '2023-05-06 19:48:26', '1', '2023-05-06 19:48:26'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815285199978497', 1654813824277757953, '中国民主同盟盟员', 'zgmztmmy', '0', '中国民主同盟盟员', 6, 0, 0, '1', '2023-05-06 19:48:04', '1', '2023-05-06 19:48:04'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815553366999041', 1654813824277757953, '中国农工民主党党员', 'zgngmzddy', '0', '中国农工民主党党员', 9, 0, 0, '1', '2023-05-06 19:49:08', '1', '2023-05-06 19:49:08'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654815880791146497', 1654813824277757953, '中国致公党党员', 'zgzgddy', '0', '中国致公党党员', 10, 0, 0, '1', '2023-05-06 19:50:26', '1', '2023-05-06 19:50:26'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813111699062786', 1654809078326312962, '常住人口', 'changzhurenkou', '0', '常住人口', 2, 0, 0, '1', '2023-05-06 19:39:25', '1', '2023-05-06 19:39:25'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813223993163777', 1654809078326312962, '户籍常住人口', 'hujichangzhurenkou', '0', '户籍常住人口', 3, 0, 0, '1', '2023-05-06 19:39:52', '1', '2023-05-06 19:39:52'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654812924658270210', 1654809078326312962, '户籍人口', 'hujirenkou', '0', '户籍人口', 1, 0, 0, '1', '2023-05-06 19:38:41', '1', '2023-05-06 19:38:41'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813508635410433', 1654809078326312962, '境外人口', 'jingwairenkou', '0', '境外人口', 7, 0, 0, '1', '2023-05-06 19:41:00', '1', '2023-05-06 19:41:00'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813451265720321', 1654809078326312962, '空挂人口', 'kongguarenkou', '0', '空挂人口', 6, 0, 0, '1', '2023-05-06 19:40:46', '1', '2023-05-06 19:40:46'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813283262873601', 1654809078326312962, '流动人口', 'liudongrenkou', '0', '流动人口', 4, 0, 0, '1', '2023-05-06 19:40:06', '1', '2023-05-06 19:40:06'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813676109774849', 1654809078326312962, '其他', 'other', '0', '其他', 9, 0, 0, '1', '2023-05-06 19:41:40', '1', '2023-05-06 19:41:40'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813338686406658', 1654809078326312962, '外出人口', 'waichurenkou', '0', '外出人口', 5, 0, 0, '1', '2023-05-06 19:40:20', '1', '2023-05-06 19:40:20'); |
|||
INSERT INTO `epmet_admin`.`sys_dict_data` (`id`, `dict_type_id`, `dict_label`, `dict_value`, `dict_p_value`, `remark`, `sort`, `DEL_FLAG`, `REVISION`, `CREATED_BY`, `CREATED_TIME`, `UPDATED_BY`, `UPDATED_TIME`) VALUES ('1654813576394391553', 1654809078326312962, '未落户人口', 'weiluohurenkou', '0', '未落户人口', 8, 0, 0, '1', '2023-05-06 19:41:16', '1', '2023-05-06 19:41:16'); |
|||
@ -0,0 +1,52 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.Valid; |
|||
import javax.validation.constraints.NotBlank; |
|||
import javax.validation.constraints.NotEmpty; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
|
|||
/** |
|||
* 组织发布消息(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Data |
|||
public class OrganizationMessageFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public interface AddShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
/** |
|||
* 发布渠道:0:专属app |
|||
*/ |
|||
@NotBlank(message = "发布渠道不能为空", groups = {AddShowGroup.class}) |
|||
private String publishDitch; |
|||
|
|||
/** |
|||
* 消息内容;最多输入500 |
|||
*/ |
|||
@NotBlank(message = "内容不能为空", groups = {AddShowGroup.class}) |
|||
@Length(max = 500, message = "内容输入500字", groups = {AddShowGroup.class}) |
|||
private String content; |
|||
|
|||
@Valid |
|||
@NotEmpty(message = "发布范围不能为空", groups = {AddShowGroup.class}) |
|||
private List<OrganizationMessagePublishRangeDTO> rangeList; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
/** |
|||
* 发布人staffId |
|||
*/ |
|||
private String publishStaffId; |
|||
} |
|||
@ -0,0 +1,63 @@ |
|||
package com.epmet.dto; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
|
|||
/** |
|||
* 消息发布范围(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Data |
|||
public class OrganizationMessagePublishRangeDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 消息id:organization_message.id |
|||
*/ |
|||
private String messageId; |
|||
|
|||
/** |
|||
* 组织或者网格id |
|||
*/ |
|||
@NotBlank(message = "orgId不能为空",groups = {OrganizationMessageFormDTO.AddShowGroup.class}) |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 组织:agency;网格:grid |
|||
*/ |
|||
@NotBlank(message = "orgType不能为空",groups = {OrganizationMessageFormDTO.AddShowGroup.class}) |
|||
private String orgType; |
|||
|
|||
/** |
|||
* org_id的父级 |
|||
*/ |
|||
private String pid; |
|||
|
|||
/** |
|||
* org_id的全路径,包含org_id |
|||
*/ |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 组织名称或者网格名称;如果是网格名称,存储的是XXX社区-XX网格 |
|||
*/ |
|||
private String orgName; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,30 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Description 烟台消息管理,列表查询入参 |
|||
* @Author yzm |
|||
* @Date 2023/5/4 16:05 |
|||
*/ |
|||
@Data |
|||
public class OrganizationMessagePageFormDTO extends PageFormDTO { |
|||
/** |
|||
* 发布渠道:0:专属app |
|||
*/ |
|||
private String publishDitch; |
|||
/** |
|||
* 发布范围,组织id或者网格id |
|||
*/ |
|||
private String orgId; |
|||
/** |
|||
* yyyy-MM-dd |
|||
*/ |
|||
private String startDate; |
|||
/** |
|||
* yyyy-MM-dd |
|||
*/ |
|||
private String endDate; |
|||
} |
|||
|
|||
@ -0,0 +1,84 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.dto.OrganizationMessagePublishRangeDTO; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 烟台消息管理,列表查询 |
|||
* @Author yzm |
|||
* @Date 2023/5/4 16:06 |
|||
*/ |
|||
@Data |
|||
public class OrganizationMessageResultDTO { |
|||
/** |
|||
* 消息id |
|||
*/ |
|||
private String messageId; |
|||
|
|||
/** |
|||
* 发布渠道:0:专属app |
|||
*/ |
|||
private String publishDitch; |
|||
|
|||
/** |
|||
* 消息内容;最多输入500 |
|||
*/ |
|||
private String content; |
|||
/** |
|||
* 发布范围 |
|||
*/ |
|||
private String publishRangeName; |
|||
|
|||
/** |
|||
* 发布时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date publishTime; |
|||
|
|||
/** |
|||
* 发布人staffId |
|||
*/ |
|||
private String publishStaffId; |
|||
|
|||
/** |
|||
* 发布人姓名 |
|||
*/ |
|||
private String publishStaffName; |
|||
|
|||
/** |
|||
* 发布人所属组织id |
|||
*/ |
|||
private String publishOrgId; |
|||
|
|||
/** |
|||
* org_id_path |
|||
*/ |
|||
private String publishOrgIdPath; |
|||
|
|||
/** |
|||
* 发布人所属组织名称 |
|||
*/ |
|||
private String publishOrgName; |
|||
|
|||
/** |
|||
* 发送结果 |
|||
*/ |
|||
private String sendMsgRes; |
|||
/** |
|||
* 共发送出多少条消息 |
|||
*/ |
|||
private Integer totalReceiver; |
|||
|
|||
/** |
|||
* 发送完成时间 |
|||
*/ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date finishSendTime; |
|||
|
|||
private List<OrganizationMessagePublishRangeDTO> rangeList; |
|||
} |
|||
|
|||
@ -0,0 +1,76 @@ |
|||
package com.epmet.controller; |
|||
|
|||
import com.epmet.commons.tools.annotation.LoginUser; |
|||
import com.epmet.commons.tools.page.PageData; |
|||
import com.epmet.commons.tools.security.dto.TokenDto; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.commons.tools.validator.ValidatorUtils; |
|||
import com.epmet.dto.OrganizationMessageFormDTO; |
|||
import com.epmet.dto.form.OrganizationMessagePageFormDTO; |
|||
import com.epmet.dto.result.OrganizationMessageResultDTO; |
|||
import com.epmet.service.OrganizationMessageService; |
|||
import org.apache.commons.lang3.StringUtils; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
|
|||
/** |
|||
* 组织发布消息(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("organization/message") |
|||
public class OrganizationMessageController { |
|||
|
|||
@Autowired |
|||
private OrganizationMessageService organizationMessageService; |
|||
|
|||
/** |
|||
* 列表查询 |
|||
* |
|||
* @param formDTO |
|||
* @return |
|||
*/ |
|||
@PostMapping("list") |
|||
public Result<PageData<OrganizationMessageResultDTO>> pageList(@RequestBody OrganizationMessagePageFormDTO formDTO) { |
|||
return new Result<PageData<OrganizationMessageResultDTO>>().ok(organizationMessageService.pageList(formDTO.getPageNo(), formDTO.getPageSize(), |
|||
formDTO.getPublishDitch(), |
|||
formDTO.getOrgId(), |
|||
formDTO.getStartDate(), |
|||
formDTO.getEndDate())); |
|||
} |
|||
|
|||
/** |
|||
* 查询消息详情 |
|||
* |
|||
* @param messageId |
|||
* @return |
|||
*/ |
|||
@PostMapping("detail/{messageId}") |
|||
public Result<OrganizationMessageResultDTO> getDetail(@PathVariable("messageId") String messageId) { |
|||
if (StringUtils.isBlank(messageId)) { |
|||
return new Result<>(); |
|||
} |
|||
return new Result<OrganizationMessageResultDTO>().ok(organizationMessageService.getDetail(messageId)); |
|||
} |
|||
|
|||
/** |
|||
* 发布消息 |
|||
* |
|||
* @param formDTO |
|||
* @return 返回消息id |
|||
*/ |
|||
@PostMapping("publish") |
|||
public Result publish(@LoginUser TokenDto tokenDto, @RequestBody OrganizationMessageFormDTO formDTO) { |
|||
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|||
formDTO.setPublishStaffId(tokenDto.getUserId()); |
|||
ValidatorUtils.validateEntity(formDTO, OrganizationMessageFormDTO.AddShowGroup.class); |
|||
String messageId=organizationMessageService.publish(formDTO); |
|||
// 发送消息 发布范围下有哪些网格,网格下所有的注册居民,每人发送一条消息
|
|||
organizationMessageService.sendUserMsg(messageId,formDTO.getContent(),formDTO.getPublishStaffId(),formDTO.getRangeList(),formDTO.getCustomerId()); |
|||
return new Result().ok(messageId); |
|||
} |
|||
|
|||
} |
|||
@ -0,0 +1,36 @@ |
|||
package com.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.result.OrganizationMessageResultDTO; |
|||
import com.epmet.entity.OrganizationMessageEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 组织发布消息(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Mapper |
|||
public interface OrganizationMessageDao extends BaseDao<OrganizationMessageEntity> { |
|||
|
|||
/** |
|||
* |
|||
* @param staffOrgIdPath 工作人员所属组织的orgIdPath |
|||
* @param publishDitch 发布渠道;0:专属app |
|||
* @param orgId 发布范围,组织id或者网格id |
|||
* @param startDate yyyy-MM-dd |
|||
* @param endDate yyyy-MM-dd |
|||
* @return |
|||
*/ |
|||
List<OrganizationMessageResultDTO> pageList(@Param("customerId")String customerId, |
|||
@Param("staffOrgIdPath") String staffOrgIdPath, |
|||
@Param("publishDitch")String publishDitch, |
|||
@Param("orgId")String orgId, |
|||
@Param("startDate")String startDate, |
|||
@Param("endDate")String endDate, |
|||
@Param("messageId")String messageId); |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
package com.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.entity.OrganizationMessagePublishRangeEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* 消息发布范围(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Mapper |
|||
public interface OrganizationMessagePublishRangeDao extends BaseDao<OrganizationMessagePublishRangeEntity> { |
|||
|
|||
} |
|||
@ -0,0 +1,82 @@ |
|||
package com.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* 组织发布消息(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("organization_message") |
|||
public class OrganizationMessageEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 发布渠道:0:专属app |
|||
*/ |
|||
private String publishDitch; |
|||
|
|||
/** |
|||
* 消息内容;最多输入500 |
|||
*/ |
|||
private String content; |
|||
|
|||
/** |
|||
* 发布人staffId |
|||
*/ |
|||
private String publishStaffId; |
|||
|
|||
/** |
|||
* 发布人姓名 |
|||
*/ |
|||
private String publishStaffName; |
|||
|
|||
/** |
|||
* 发布人所属组织id |
|||
*/ |
|||
private String publishOrgId; |
|||
|
|||
/** |
|||
* org_id_path |
|||
*/ |
|||
private String publishOrgIdPath; |
|||
|
|||
/** |
|||
* 发布人所属组织名称 |
|||
*/ |
|||
private String publishOrgName; |
|||
|
|||
/** |
|||
* 发布时间 |
|||
*/ |
|||
private Date publishTime; |
|||
/** |
|||
* 发送结果 |
|||
* sending发送中;failed失败;success成功 |
|||
*/ |
|||
private String sendMsgRes; |
|||
/** |
|||
* 共发送出多少条消息 |
|||
*/ |
|||
private Integer totalReceiver; |
|||
|
|||
/** |
|||
* 发送完成时间 |
|||
*/ |
|||
private Date finishSendTime; |
|||
} |
|||
@ -0,0 +1,56 @@ |
|||
package com.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
/** |
|||
* 消息发布范围(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("organization_message_publish_range") |
|||
public class OrganizationMessagePublishRangeEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 消息id:organization_message.id |
|||
*/ |
|||
private String messageId; |
|||
|
|||
/** |
|||
* 组织或者网格id |
|||
*/ |
|||
private String orgId; |
|||
|
|||
/** |
|||
* 组织:agency;网格:grid |
|||
*/ |
|||
private String orgType; |
|||
|
|||
/** |
|||
* org_id的父级 |
|||
*/ |
|||
private String pid; |
|||
|
|||
/** |
|||
* org_id的全路径,包含org_id |
|||
*/ |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 组织名称或者网格名称;如果是网格名称,存储的是XXX社区-XX网格 |
|||
*/ |
|||
private String orgName; |
|||
|
|||
} |
|||
@ -0,0 +1,47 @@ |
|||
package com.epmet.service; |
|||
|
|||
import com.epmet.commons.mybatis.service.BaseService; |
|||
import com.epmet.commons.tools.page.PageData; |
|||
import com.epmet.dto.OrganizationMessageFormDTO; |
|||
import com.epmet.dto.OrganizationMessagePublishRangeDTO; |
|||
import com.epmet.dto.result.OrganizationMessageResultDTO; |
|||
import com.epmet.entity.OrganizationMessageEntity; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 组织发布消息(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
public interface OrganizationMessageService extends BaseService<OrganizationMessageEntity> { |
|||
|
|||
/** |
|||
* 分页列表 |
|||
* @param pageNo |
|||
* @param pageSize |
|||
* @param publishDitch 发布渠道;0:专属app |
|||
* @param orgId 发布范围,组织id或者网格id |
|||
* @param startDate yyyy-MM-dd |
|||
* @param endDate yyyy-MM-dd |
|||
* @return |
|||
*/ |
|||
PageData<OrganizationMessageResultDTO> pageList(Integer pageNo, Integer pageSize, String publishDitch, String orgId, String startDate, String endDate); |
|||
|
|||
/** |
|||
* 查询详情 |
|||
* @param messageId |
|||
* @return |
|||
*/ |
|||
OrganizationMessageResultDTO getDetail(String messageId); |
|||
|
|||
/** |
|||
* 发布消息 |
|||
* @param formDTO |
|||
* @return 返回消息id |
|||
*/ |
|||
String publish(OrganizationMessageFormDTO formDTO); |
|||
|
|||
void sendUserMsg(String messageId, String content, String publishStaffId, List<OrganizationMessagePublishRangeDTO> rangeList, String customerId); |
|||
} |
|||
@ -0,0 +1,219 @@ |
|||
package com.epmet.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|||
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl; |
|||
import com.epmet.commons.tools.constant.AppClientConstant; |
|||
import com.epmet.commons.tools.constant.Constant; |
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import com.epmet.commons.tools.constant.StrConstant; |
|||
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; |
|||
import com.epmet.commons.tools.enums.OrgTypeEnum; |
|||
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|||
import com.epmet.commons.tools.exception.EpmetException; |
|||
import com.epmet.commons.tools.exception.ExceptionUtils; |
|||
import com.epmet.commons.tools.page.PageData; |
|||
import com.epmet.commons.tools.redis.common.CustomerOrgRedis; |
|||
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|||
import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache; |
|||
import com.epmet.commons.tools.redis.common.bean.GridInfoCache; |
|||
import com.epmet.commons.tools.utils.*; |
|||
import com.epmet.dao.OrganizationMessageDao; |
|||
import com.epmet.dao.OrganizationMessagePublishRangeDao; |
|||
import com.epmet.dao.UserMessageDao; |
|||
import com.epmet.dto.OrganizationMessageFormDTO; |
|||
import com.epmet.dto.OrganizationMessagePublishRangeDTO; |
|||
import com.epmet.dto.RegisterRelationDTO; |
|||
import com.epmet.dto.form.RegisterRelationPageFormDTO; |
|||
import com.epmet.dto.result.OrganizationMessageResultDTO; |
|||
import com.epmet.entity.OrganizationMessageEntity; |
|||
import com.epmet.entity.OrganizationMessagePublishRangeEntity; |
|||
import com.epmet.entity.UserMessageEntity; |
|||
import com.epmet.feign.EpmetUserOpenFeignClient; |
|||
import com.epmet.service.OrganizationMessageService; |
|||
import com.github.pagehelper.PageHelper; |
|||
import com.github.pagehelper.PageInfo; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.apache.commons.collections4.CollectionUtils; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.scheduling.annotation.Async; |
|||
import org.springframework.stereotype.Service; |
|||
import org.springframework.transaction.annotation.Transactional; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 组织发布消息(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-04 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
public class OrganizationMessageServiceImpl extends BaseServiceImpl<OrganizationMessageDao, OrganizationMessageEntity> implements OrganizationMessageService { |
|||
@Autowired |
|||
private OrganizationMessagePublishRangeDao organizationMessagePublishRangeDao; |
|||
@Autowired |
|||
private UserMessageDao userMessageDao; |
|||
@Autowired |
|||
private EpmetUserOpenFeignClient epmetUserOpenFeignClient; |
|||
|
|||
|
|||
/** |
|||
* 分页列表 |
|||
* |
|||
* @param pageNo |
|||
* @param pageSize |
|||
* @param publishDitch 发布渠道;0:专属app |
|||
* @param orgId 发布范围,组织id或者网格id |
|||
* @param startDate yyyy-MM-dd |
|||
* @param endDate yyyy-MM-dd |
|||
* @return |
|||
*/ |
|||
@Override |
|||
public PageData<OrganizationMessageResultDTO> pageList(Integer pageNo, Integer pageSize, String publishDitch, String orgId, String startDate, String endDate) { |
|||
CustomerStaffInfoCacheResult staffInfoCacheResult = CustomerStaffRedis.getStaffInfo(EpmetRequestHolder.getLoginUserCustomerId(), EpmetRequestHolder.getLoginUserId()); |
|||
if (null == staffInfoCacheResult) { |
|||
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "customerId:" + EpmetRequestHolder.getLoginUserCustomerId() + "staffId:" + EpmetRequestHolder.getLoginUserId(), "获取工作人员信息异常"); |
|||
} |
|||
String staffOrgIdPath = PidUtils.convertPid2OrgIdPath(staffInfoCacheResult.getAgencyId(), staffInfoCacheResult.getAgencyPIds()); |
|||
PageHelper.startPage(pageNo, pageSize); |
|||
List<OrganizationMessageResultDTO> list = baseDao.pageList(EpmetRequestHolder.getLoginUserCustomerId(),staffOrgIdPath, publishDitch, orgId, startDate, endDate,null); |
|||
PageInfo<OrganizationMessageResultDTO> pageInfo = new PageInfo<>(list); |
|||
return new PageData<>(list, pageInfo.getTotal(),pageSize); |
|||
} |
|||
|
|||
/** |
|||
* 查询详情 |
|||
* |
|||
* @param messageId |
|||
* @return |
|||
*/ |
|||
@Override |
|||
public OrganizationMessageResultDTO getDetail(String messageId) { |
|||
List<OrganizationMessageResultDTO> list = baseDao.pageList(EpmetRequestHolder.getLoginUserCustomerId(),null, null, null, null, null,messageId); |
|||
if(CollectionUtils.isNotEmpty(list)){ |
|||
OrganizationMessageResultDTO resultDTO=list.get(NumConstant.ZERO); |
|||
LambdaQueryWrapper<OrganizationMessagePublishRangeEntity> queryWrapper=new LambdaQueryWrapper<>(); |
|||
queryWrapper.eq(OrganizationMessagePublishRangeEntity::getMessageId,messageId) |
|||
.orderByAsc(OrganizationMessagePublishRangeEntity::getCreatedTime); |
|||
List<OrganizationMessagePublishRangeEntity> rangeList=organizationMessagePublishRangeDao.selectList(queryWrapper); |
|||
resultDTO.setRangeList(ConvertUtils.sourceToTarget(rangeList,OrganizationMessagePublishRangeDTO.class)); |
|||
return resultDTO; |
|||
} |
|||
return null; |
|||
} |
|||
|
|||
/** |
|||
* 发布消息 |
|||
* |
|||
* @param formDTO |
|||
* @return 返回消息id |
|||
*/ |
|||
@Transactional(rollbackFor = Exception.class) |
|||
@Override |
|||
public String publish(OrganizationMessageFormDTO formDTO) { |
|||
OrganizationMessageEntity messageEntity = ConvertUtils.sourceToTarget(formDTO, OrganizationMessageEntity.class); |
|||
CustomerStaffInfoCacheResult staffInfoCacheResult = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getPublishStaffId()); |
|||
messageEntity.setPublishStaffName(staffInfoCacheResult.getRealName()); |
|||
messageEntity.setPublishOrgId(staffInfoCacheResult.getAgencyId()); |
|||
messageEntity.setPublishOrgIdPath(PidUtils.convertPid2OrgIdPath(staffInfoCacheResult.getAgencyId(), staffInfoCacheResult.getAgencyPIds())); |
|||
messageEntity.setPublishOrgName(staffInfoCacheResult.getAgencyName()); |
|||
messageEntity.setPublishTime(new Date()); |
|||
messageEntity.setSendMsgRes("sending"); |
|||
baseDao.insert(messageEntity); |
|||
for (OrganizationMessagePublishRangeDTO dto : formDTO.getRangeList()) { |
|||
OrganizationMessagePublishRangeEntity rangeEntity = new OrganizationMessagePublishRangeEntity(); |
|||
rangeEntity.setCustomerId(messageEntity.getCustomerId()); |
|||
rangeEntity.setMessageId(messageEntity.getId()); |
|||
rangeEntity.setOrgId(dto.getOrgId()); |
|||
rangeEntity.setOrgType(dto.getOrgType()); |
|||
if (OrgTypeEnum.GRID.getCode().equals(dto.getOrgType())) { |
|||
GridInfoCache gridInfoCache = CustomerOrgRedis.getGridInfo(dto.getOrgId()); |
|||
rangeEntity.setPid(gridInfoCache.getPid()); |
|||
rangeEntity.setOrgIdPath(PidUtils.convertPid2OrgIdPath(dto.getOrgId(), gridInfoCache.getPids())); |
|||
rangeEntity.setOrgName(gridInfoCache.getGridNamePath()); |
|||
} else { |
|||
//if (OrgTypeEnum.AGENCY.getCode().equals(dto.getOrgType()))
|
|||
AgencyInfoCache agencyInfoCache = CustomerOrgRedis.getAgencyInfo(dto.getOrgId()); |
|||
rangeEntity.setPid(agencyInfoCache.getPid()); |
|||
rangeEntity.setOrgIdPath(PidUtils.convertPid2OrgIdPath(dto.getOrgId(), agencyInfoCache.getPids())); |
|||
rangeEntity.setOrgName(agencyInfoCache.getOrganizationName()); |
|||
} |
|||
dto.setPid(rangeEntity.getPid()); |
|||
dto.setOrgIdPath(rangeEntity.getOrgIdPath()); |
|||
organizationMessagePublishRangeDao.insert(rangeEntity); |
|||
} |
|||
String messageId = messageEntity.getId(); |
|||
return messageId; |
|||
} |
|||
|
|||
|
|||
@Async |
|||
@Override |
|||
public void sendUserMsg(String messageId, String content, String publishStaffId,List<OrganizationMessagePublishRangeDTO> rangeList, String customerId) { |
|||
String result = "success"; |
|||
int totalMsg = NumConstant.ZERO; |
|||
try { |
|||
for (OrganizationMessagePublishRangeDTO rangeDto : rangeList) { |
|||
RegisterRelationPageFormDTO pageFormDTO=new RegisterRelationPageFormDTO(); |
|||
pageFormDTO.setCustomerId(customerId); |
|||
pageFormDTO.setFirstRegister(NumConstant.ONE_STR); |
|||
pageFormDTO.setPageNo(NumConstant.ONE); |
|||
pageFormDTO.setPageSize(NumConstant.TWO); |
|||
// pageFormDTO.setPageSize(NumConstant.ONE_THOUSAND);
|
|||
if (OrgTypeEnum.GRID.getCode().equals(rangeDto.getOrgType())) { |
|||
// 查询该网格下的注册居民
|
|||
pageFormDTO.setGridId(rangeDto.getOrgId()); |
|||
} else { |
|||
// 查询该组织下的注册居民
|
|||
pageFormDTO.setAgencyIdPath(rangeDto.getOrgIdPath()); |
|||
} |
|||
List<RegisterRelationDTO> list=null; |
|||
do { |
|||
Result<PageData<RegisterRelationDTO>> regRes = epmetUserOpenFeignClient.pageQueryRegisterUser(pageFormDTO); |
|||
list = regRes.getData().getList(); |
|||
for (RegisterRelationDTO regUser : list) { |
|||
LambdaQueryWrapper<UserMessageEntity> queryWrapper=new LambdaQueryWrapper(); |
|||
queryWrapper.eq(UserMessageEntity::getCustomerId,customerId) |
|||
.eq(UserMessageEntity::getTargetId,messageId) |
|||
.eq(UserMessageEntity::getUserId,regUser.getUserId()); |
|||
UserMessageEntity origin=userMessageDao.selectOne(queryWrapper); |
|||
if(null==origin){ |
|||
UserMessageEntity userMessageEntity = new UserMessageEntity(); |
|||
userMessageEntity.setCustomerId(customerId); |
|||
userMessageEntity.setGridId(regUser.getGridId()); |
|||
userMessageEntity.setUserId(regUser.getUserId()); |
|||
userMessageEntity.setApp(AppClientConstant.APP_RESI); |
|||
userMessageEntity.setTitle("您有一条社区消息!"); |
|||
userMessageEntity.setMessageContent(content); |
|||
userMessageEntity.setReadFlag(Constant.UNREAD); |
|||
userMessageEntity.setReferer(StrConstant.EPMETY_STR); |
|||
userMessageEntity.setMessageType("organization_message"); |
|||
userMessageEntity.setTargetId(messageId); |
|||
userMessageEntity.setCreatedBy(publishStaffId); |
|||
userMessageEntity.setUpdatedBy(publishStaffId); |
|||
userMessageDao.insert(userMessageEntity); |
|||
totalMsg += 1; |
|||
} |
|||
} |
|||
pageFormDTO.setPageNo(pageFormDTO.getPageNo() + NumConstant.ONE); |
|||
} while (CollectionUtils.isNotEmpty(list) && list.size() == pageFormDTO.getPageSize()); |
|||
} |
|||
} catch (Exception e) { |
|||
log.error(String.format("messageId:%s,发送消息异常:%s", messageId, ExceptionUtils.getErrorStackTrace(e))); |
|||
result = "failed"; |
|||
} finally { |
|||
LambdaUpdateWrapper<OrganizationMessageEntity> updateWrapper = new LambdaUpdateWrapper<>(); |
|||
updateWrapper.eq(OrganizationMessageEntity::getId, messageId) |
|||
.set(OrganizationMessageEntity::getSendMsgRes, result) |
|||
.set(OrganizationMessageEntity::getTotalReceiver, totalMsg) |
|||
.set(OrganizationMessageEntity::getFinishSendTime,new Date()) |
|||
.set(OrganizationMessageEntity::getUpdatedTime,new Date()); |
|||
baseDao.update(null, updateWrapper); |
|||
} |
|||
} |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,66 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.dao.OrganizationMessageDao"> |
|||
|
|||
<resultMap type="com.epmet.entity.OrganizationMessageEntity" id="organizationMessageMap"> |
|||
<result property="id" column="ID"/> |
|||
<result property="customerId" column="CUSTOMER_ID"/> |
|||
<result property="publishDitch" column="PUBLISH_DITCH"/> |
|||
<result property="content" column="CONTENT"/> |
|||
<result property="publishStaffId" column="PUBLISH_STAFF_ID"/> |
|||
<result property="publishStaffName" column="PUBLISH_STAFF_NAME"/> |
|||
<result property="publishOrgId" column="PUBLISH_ORG_ID"/> |
|||
<result property="publishOrgIdPath" column="PUBLISH_ORG_ID_PATH"/> |
|||
<result property="publishOrgName" column="PUBLISH_ORG_NAME"/> |
|||
<result property="publishTime" column="PUBLISH_TIME"/> |
|||
<result property="delFlag" column="DEL_FLAG"/> |
|||
<result property="revision" column="REVISION"/> |
|||
<result property="createdBy" column="CREATED_BY"/> |
|||
<result property="createdTime" column="CREATED_TIME"/> |
|||
<result property="updatedBy" column="UPDATED_BY"/> |
|||
<result property="updatedTime" column="UPDATED_TIME"/> |
|||
</resultMap> |
|||
|
|||
<select id="pageList" parameterType="map" resultType="com.epmet.dto.result.OrganizationMessageResultDTO"> |
|||
select |
|||
distinct om.ID as messageId, |
|||
om.PUBLISH_DITCH as publishDitch, |
|||
om.CONTENT as content, |
|||
om.PUBLISH_TIME as publishTime, |
|||
om.PUBLISH_STAFF_ID as publishStaffId, |
|||
om.PUBLISH_ORG_ID as publishStaffName, |
|||
om.PUBLISH_ORG_ID as publishOrgId, |
|||
om.PUBLISH_ORG_ID_PATH as publishOrgIdPath, |
|||
OM.PUBLISH_ORG_NAME as publishOrgName, |
|||
om.SEND_MSG_RES as sendMsgRes, |
|||
om.TOTAL_RECEIVER as totalReceiver, |
|||
om.FINISH_SEND_TIME as finishSendTime, |
|||
GROUP_CONCAT(r.ORG_NAME) as publishRangeName |
|||
from organization_message om |
|||
left join organization_message_publish_range r |
|||
on(om.id=r.MESSAGE_ID and r.del_flag='0') |
|||
where om.DEL_FLAG='0' |
|||
and om.CUSTOMER_ID =#{customerId} |
|||
<if test='staffOrgIdPath != null and staffOrgIdPath != "" '> |
|||
and om.PUBLISH_ORG_ID_PATH like concat(#{staffOrgIdPath},'%') |
|||
</if> |
|||
<if test='publishDitch != null and publishDitch != "" '> |
|||
and om.PUBLISH_DITCH =#{publishDitch} |
|||
</if> |
|||
<if test='orgId != null and orgId != "" '> |
|||
and r.ORG_ID =#{orgId} |
|||
</if> |
|||
<if test='startDate != null and startDate != "" '> |
|||
AND DATE_FORMAT(om.PUBLISH_TIME,'%Y-%m-%d') >= #{startDate} |
|||
</if> |
|||
<if test='endDate != null and endDate != "" '> |
|||
AND DATE_FORMAT(om.PUBLISH_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{endDate} |
|||
</if> |
|||
<if test='messageId != null and messageId != "" '> |
|||
and om.id =#{messageId} |
|||
</if> |
|||
group by om.id |
|||
order by om.PUBLISH_TIME desc |
|||
</select> |
|||
</mapper> |
|||
@ -0,0 +1,24 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.dao.OrganizationMessagePublishRangeDao"> |
|||
|
|||
<resultMap type="com.epmet.entity.OrganizationMessagePublishRangeEntity" id="organizationMessagePublishRangeMap"> |
|||
<result property="id" column="ID"/> |
|||
<result property="customerId" column="CUSTOMER_ID"/> |
|||
<result property="messageId" column="MESSAGE_ID"/> |
|||
<result property="orgId" column="ORG_ID"/> |
|||
<result property="orgType" column="ORG_TYPE"/> |
|||
<result property="pid" column="PID"/> |
|||
<result property="orgIdPath" column="ORG_ID_PATH"/> |
|||
<result property="orgName" column="ORG_NAME"/> |
|||
<result property="delFlag" column="DEL_FLAG"/> |
|||
<result property="revision" column="REVISION"/> |
|||
<result property="createdBy" column="CREATED_BY"/> |
|||
<result property="createdTime" column="CREATED_TIME"/> |
|||
<result property="updatedBy" column="UPDATED_BY"/> |
|||
<result property="updatedTime" column="UPDATED_TIME"/> |
|||
</resultMap> |
|||
|
|||
|
|||
</mapper> |
|||
@ -0,0 +1,33 @@ |
|||
package com.epmet.dto.form.yt; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author yzm |
|||
* @Date 2023/4/19 14:13 |
|||
*/ |
|||
@Data |
|||
public class ChooseGridFormDTO extends PageFormDTO { |
|||
/** |
|||
* 客户id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 组织id |
|||
*/ |
|||
private String agencyId; |
|||
|
|||
/** |
|||
* 网格id |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 楼栋名 |
|||
*/ |
|||
private String buildingName; |
|||
} |
|||
|
|||
@ -0,0 +1,80 @@ |
|||
package com.epmet.dto.form.yt; |
|||
|
|||
import com.epmet.commons.tools.dto.form.PageFormDTO; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Description |
|||
* @Author yzm |
|||
* @Date 2023/5/6 13:53 |
|||
*/ |
|||
@Data |
|||
public class CommunityBuildingManagerPageFormDTO extends PageFormDTO { |
|||
// start
|
|||
private String customerId; |
|||
private String staffId; |
|||
/** |
|||
* 工作人员所属组织的org_id_path |
|||
* 列表数据应查询本组织及下级 |
|||
* 网格的全路径,包含网格id |
|||
*/ |
|||
private String orgIdPath; |
|||
// end
|
|||
|
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 联系电话 |
|||
*/ |
|||
private String phone; |
|||
|
|||
/** |
|||
* 身份证号 |
|||
*/ |
|||
private String idCard; |
|||
|
|||
/** |
|||
* 类型:0楼长;1单元长 |
|||
*/ |
|||
private String type; |
|||
|
|||
/** |
|||
* 所属区县id;取名字关联customer_agency |
|||
*/ |
|||
private String districtId; |
|||
|
|||
/** |
|||
* 所属街道id;取名字关联customer_agency |
|||
*/ |
|||
private String streetId; |
|||
|
|||
/** |
|||
* 所属社区id;取名字关联customer_agency |
|||
*/ |
|||
private String communityId; |
|||
|
|||
/** |
|||
* 所属网格id;取名字关联customer_grid |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 所属小区id |
|||
*/ |
|||
private String viliageId; |
|||
|
|||
/** |
|||
* 所属楼栋id |
|||
*/ |
|||
private String buildingId; |
|||
|
|||
/** |
|||
* 所属单元id; 单元长时必填此列 |
|||
*/ |
|||
private String unitId; |
|||
} |
|||
|
|||
@ -0,0 +1,115 @@ |
|||
package com.epmet.dto.result; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
|
|||
/** |
|||
* 楼长单元长信息表(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-06 |
|||
*/ |
|||
@Data |
|||
public class CommunityBuildingManagerDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -2526419541953300212L; |
|||
public interface AddShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
|
|||
public interface UpdateShowGroup extends CustomerClientShowGroup { |
|||
} |
|||
/** |
|||
* 主键(烟台需求) |
|||
*/ |
|||
@NotBlank(message ="id不能为空" ,groups = {UpdateShowGroup.class}) |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户Id customer.id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
@Length(max = 50,message = "姓名最多输入50字",groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
@NotBlank(message ="姓名不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String name; |
|||
|
|||
/** |
|||
* 联系电话 |
|||
*/ |
|||
@Length(max = 50,message = "联系电话最多输入50字",groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
@NotBlank(message ="联系电话不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String phone; |
|||
|
|||
/** |
|||
* 身份证号 |
|||
*/ |
|||
@Length(max = 50,message = "身份证号最多输入50字",groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
@NotBlank(message ="身份证号不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String idCard; |
|||
|
|||
/** |
|||
* 类型:0楼长;1单元长 |
|||
*/ |
|||
@NotBlank(message ="类型不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String type; |
|||
private String typeName; |
|||
|
|||
/** |
|||
* 所属区县id;取名字关联customer_agency |
|||
*/ |
|||
@NotBlank(message ="所属区县不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String districtId; |
|||
|
|||
/** |
|||
* 所属街道id;取名字关联customer_agency |
|||
*/ |
|||
@NotBlank(message ="所属街道不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String streetId; |
|||
|
|||
/** |
|||
* 所属社区id;取名字关联customer_agency |
|||
*/ |
|||
@NotBlank(message ="所属社区不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String communityId; |
|||
|
|||
/** |
|||
* 所属网格id;取名字关联customer_grid |
|||
*/ |
|||
@NotBlank(message ="所属网格不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String gridId; |
|||
private String gridName; |
|||
|
|||
/** |
|||
* 网格的全路径,包含网格id |
|||
*/ |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 所属小区id |
|||
*/ |
|||
@NotBlank(message ="所属小区不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String viliageId; |
|||
private String viliageName; |
|||
|
|||
/** |
|||
* 所属楼栋id |
|||
*/ |
|||
@NotBlank(message ="楼栋不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class}) |
|||
private String buildingId; |
|||
private String buildingName; |
|||
|
|||
/** |
|||
* 所属单元id |
|||
*/ |
|||
private String unitId; |
|||
private String unitName; |
|||
|
|||
} |
|||
@ -0,0 +1,137 @@ |
|||
package com.epmet.dto.result.yt; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelIgnore; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
|
|||
/** |
|||
* 楼长单元长信息表(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-06 |
|||
*/ |
|||
@Data |
|||
public class CommunityBuildingManagerResultDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键(烟台需求) |
|||
*/ |
|||
@ExcelIgnore |
|||
private String id; |
|||
|
|||
/** |
|||
* 客户Id customer.id |
|||
*/ |
|||
@ExcelIgnore |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
@ExcelProperty(value = "姓名") |
|||
@ColumnWidth(20) |
|||
private String name; |
|||
|
|||
/** |
|||
* 联系电话 |
|||
*/ |
|||
@ExcelProperty(value = "联系电话") |
|||
@ColumnWidth(25) |
|||
private String phone; |
|||
|
|||
/** |
|||
* 身份证号 |
|||
*/ |
|||
@ExcelProperty(value = "身份证号") |
|||
@ColumnWidth(30) |
|||
private String idCard; |
|||
|
|||
/** |
|||
* 类型:0楼长;1单元长 |
|||
*/ |
|||
@ExcelIgnore |
|||
private String type; |
|||
|
|||
@ExcelProperty(value = "类型") |
|||
@ColumnWidth(20) |
|||
private String typeName; |
|||
|
|||
/** |
|||
* 所属区县id;取名字关联customer_agency |
|||
*/ |
|||
@ExcelIgnore |
|||
private String districtId; |
|||
@ExcelProperty(value = "所属区市") |
|||
@ColumnWidth(30) |
|||
private String districtName; |
|||
/** |
|||
* 所属街道id;取名字关联customer_agency |
|||
*/ |
|||
@ExcelIgnore |
|||
private String streetId; |
|||
@ExcelProperty(value = "所属镇街") |
|||
@ColumnWidth(30) |
|||
private String streetName; |
|||
|
|||
/** |
|||
* 所属社区id;取名字关联customer_agency |
|||
*/ |
|||
@ExcelIgnore |
|||
private String communityId; |
|||
@ExcelProperty(value = "所属社区") |
|||
@ColumnWidth(30) |
|||
private String communityName; |
|||
|
|||
/** |
|||
* 所属网格id;取名字关联customer_grid |
|||
*/ |
|||
@ExcelIgnore |
|||
private String gridId; |
|||
@ExcelProperty(value = "所属网格") |
|||
@ColumnWidth(30) |
|||
private String gridName; |
|||
|
|||
/** |
|||
* 网格的全路径,包含网格id |
|||
*/ |
|||
@ExcelIgnore |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 所属小区id |
|||
*/ |
|||
@ExcelIgnore |
|||
private String viliageId; |
|||
@ExcelProperty(value = "所属小区") |
|||
@ColumnWidth(30) |
|||
private String viliageName; |
|||
|
|||
/** |
|||
* 所属楼栋id |
|||
*/ |
|||
@ExcelIgnore |
|||
private String buildingId; |
|||
@ExcelProperty(value = "楼栋") |
|||
@ColumnWidth(20) |
|||
private String buildingName; |
|||
|
|||
/** |
|||
* 所属单元id; 单元长时必填此列 |
|||
*/ |
|||
@ExcelIgnore |
|||
private String unitId; |
|||
/** |
|||
* 所属单元id; 单元长时必填此列 |
|||
*/ |
|||
@ExcelProperty(value = "单元") |
|||
@ColumnWidth(20) |
|||
private String unitName; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,275 @@ |
|||
package com.epmet.controller; |
|||
|
|||
import com.alibaba.excel.EasyExcel; |
|||
import com.alibaba.excel.ExcelWriter; |
|||
import com.alibaba.excel.write.metadata.WriteSheet; |
|||
import com.alibaba.excel.write.metadata.style.WriteCellStyle; |
|||
import com.alibaba.excel.write.style.HorizontalCellStyleStrategy; |
|||
import com.alibaba.excel.write.style.column.LongestMatchColumnWidthStyleStrategy; |
|||
import com.alibaba.fastjson.JSON; |
|||
import com.epmet.commons.tools.annotation.LoginUser; |
|||
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|||
import com.epmet.commons.tools.constant.NumConstant; |
|||
import com.epmet.commons.tools.constant.ServiceConstant; |
|||
import com.epmet.commons.tools.exception.EpmetErrorCode; |
|||
import com.epmet.commons.tools.exception.EpmetException; |
|||
import com.epmet.commons.tools.exception.ExceptionUtils; |
|||
import com.epmet.commons.tools.feign.ResultDataResolver; |
|||
import com.epmet.commons.tools.page.PageData; |
|||
import com.epmet.commons.tools.security.dto.TokenDto; |
|||
import com.epmet.commons.tools.utils.DateUtils; |
|||
import com.epmet.commons.tools.utils.ExcelUtils; |
|||
import com.epmet.commons.tools.utils.FileUtils; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.commons.tools.utils.poi.excel.handler.FreezeAndFilter; |
|||
import com.epmet.commons.tools.validator.ValidatorUtils; |
|||
import com.epmet.constants.ImportTaskConstants; |
|||
import com.epmet.dto.form.yt.CommunityBuildingManagerPageFormDTO; |
|||
import com.epmet.dto.result.CommunityBuildingManagerDTO; |
|||
import com.epmet.dto.result.ImportTaskCommonResultDTO; |
|||
import com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO; |
|||
import com.epmet.service.CommunityBuildingManagerService; |
|||
import com.epmet.utils.ImportTaskUtils; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.apache.commons.io.IOUtils; |
|||
import org.apache.poi.ss.usermodel.IndexedColors; |
|||
import org.apache.poi.ss.usermodel.VerticalAlignment; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.http.HttpHeaders; |
|||
import org.springframework.util.CollectionUtils; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import org.springframework.web.multipart.MultipartFile; |
|||
|
|||
import javax.servlet.ServletOutputStream; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import java.io.FileOutputStream; |
|||
import java.io.IOException; |
|||
import java.io.InputStream; |
|||
import java.io.PrintWriter; |
|||
import java.net.URLEncoder; |
|||
import java.nio.file.Path; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
import java.util.UUID; |
|||
|
|||
|
|||
/** |
|||
* 楼长单元长信息表(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-06 |
|||
*/ |
|||
@Slf4j |
|||
@RestController |
|||
@RequestMapping("communityBuildingManager") |
|||
public class CommunityBuildingManagerController implements ResultDataResolver { |
|||
|
|||
@Autowired |
|||
private CommunityBuildingManagerService communityBuildingManagerService; |
|||
|
|||
/** |
|||
* 列表分页查询 |
|||
* @param formDTO |
|||
* @return |
|||
*/ |
|||
@RequestMapping("page") |
|||
public Result<PageData<CommunityBuildingManagerResultDTO>> page(@LoginUser TokenDto tokenDto, @RequestBody CommunityBuildingManagerPageFormDTO formDTO){ |
|||
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|||
formDTO.setStaffId(tokenDto.getUserId()); |
|||
PageData<CommunityBuildingManagerResultDTO> page = communityBuildingManagerService.page(formDTO); |
|||
return new Result<PageData<CommunityBuildingManagerResultDTO>>().ok(page); |
|||
} |
|||
|
|||
/** |
|||
* 查看详情 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@RequestMapping(value = "detail/{id}",method = {RequestMethod.POST}) |
|||
public Result<CommunityBuildingManagerResultDTO> get(@PathVariable("id") String id){ |
|||
CommunityBuildingManagerResultDTO data = communityBuildingManagerService.get(id); |
|||
return new Result<CommunityBuildingManagerResultDTO>().ok(data); |
|||
} |
|||
|
|||
/** |
|||
* 新增楼长/单元长 |
|||
* 同步到具体的楼栋 |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
@NoRepeatSubmit |
|||
@PostMapping("save") |
|||
public Result save(@LoginUser TokenDto tokenDto,@RequestBody CommunityBuildingManagerDTO dto){ |
|||
dto.setCustomerId(tokenDto.getCustomerId()); |
|||
ValidatorUtils.validateEntity(dto, CommunityBuildingManagerDTO.AddShowGroup.class); |
|||
/* //类型:0楼长;1单元长
|
|||
if("1".equals(dto.getType())&& StringUtils.isBlank(dto.getUnitId())){ |
|||
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"单元长必须选择所属单元","单元长必须选择所属单元"); |
|||
}*/ |
|||
communityBuildingManagerService.save(dto); |
|||
return new Result(); |
|||
} |
|||
|
|||
/** |
|||
* 编辑楼长/单元长 |
|||
* 同步到具体的楼栋 |
|||
* @param dto |
|||
* @return |
|||
*/ |
|||
@NoRepeatSubmit |
|||
@PostMapping("update") |
|||
public Result update(@RequestBody CommunityBuildingManagerDTO dto){ |
|||
ValidatorUtils.validateEntity(dto, CommunityBuildingManagerDTO.UpdateShowGroup.class); |
|||
/* //类型:0楼长;1单元长
|
|||
if("1".equals(dto.getType())&& StringUtils.isBlank(dto.getUnitId())){ |
|||
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"单元长必须选择所属单元","单元长必须选择所属单元"); |
|||
}*/ |
|||
communityBuildingManagerService.update(dto); |
|||
return new Result(); |
|||
} |
|||
|
|||
/** |
|||
* 批量删除楼长/单元长 |
|||
* 同时清空楼栋表里的信息 |
|||
* @param ids |
|||
* @return |
|||
*/ |
|||
@PostMapping("delete") |
|||
public Result delete(@RequestBody List<String> ids){ |
|||
if(!CollectionUtils.isEmpty(ids)){ |
|||
communityBuildingManagerService.delete(ids); |
|||
} |
|||
return new Result(); |
|||
} |
|||
|
|||
/** |
|||
* 楼长单元长-下载导入模板 |
|||
* @param response |
|||
* @throws IOException |
|||
*/ |
|||
@RequestMapping(value = "download-tem", method = {RequestMethod.GET, RequestMethod.POST}) |
|||
public void downloadTemplate(HttpServletResponse response) throws IOException { |
|||
response.setCharacterEncoding("UTF-8"); |
|||
response.addHeader(HttpHeaders.ACCESS_CONTROL_EXPOSE_HEADERS, "Content-Disposition"); |
|||
//response.setHeader(HttpHeaders.CONTENT_TYPE, "application/vnd.ms-excel");
|
|||
response.setHeader(HttpHeaders.CONTENT_TYPE, "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"); |
|||
response.setHeader(HttpHeaders.CONTENT_DISPOSITION, "attachment;filename=" + URLEncoder.encode("楼长单元长导入模版", "UTF-8") + ".xlsx"); |
|||
|
|||
InputStream is = this.getClass().getClassLoader().getResourceAsStream("excel/yantai/community_building_manager_import_temp.xlsx"); |
|||
try { |
|||
ServletOutputStream os = response.getOutputStream(); |
|||
IOUtils.copy(is, os); |
|||
} finally { |
|||
if (is != null) { |
|||
is.close(); |
|||
} |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* 楼长单元长-列表导出 |
|||
* |
|||
* @param tokenDto |
|||
* @param formDTO |
|||
* @param response |
|||
* @return |
|||
* @throws IOException |
|||
*/ |
|||
@PostMapping("export") |
|||
public void exportCommunityBuildingManager(@LoginUser TokenDto tokenDto, @RequestBody CommunityBuildingManagerPageFormDTO formDTO, HttpServletResponse response) throws IOException { |
|||
formDTO.setCustomerId(tokenDto.getCustomerId()); |
|||
formDTO.setStaffId(tokenDto.getUserId()); |
|||
ExcelWriter excelWriter = null; |
|||
formDTO.setPageNo(NumConstant.ONE); |
|||
formDTO.setPageSize(NumConstant.TEN_THOUSAND); |
|||
try { |
|||
String fileName = "楼长单元长列表导出" + DateUtils.format(new Date()) + ".xlsx"; |
|||
WriteCellStyle headWriteCellStyle = new WriteCellStyle(); |
|||
headWriteCellStyle.setFillForegroundColor(IndexedColors.PALE_BLUE.getIndex()); |
|||
WriteCellStyle contentWriteCellStyle = new WriteCellStyle(); |
|||
contentWriteCellStyle.setVerticalAlignment(VerticalAlignment.CENTER); |
|||
HorizontalCellStyleStrategy horizontalCellStyleStrategy = new HorizontalCellStyleStrategy(headWriteCellStyle, contentWriteCellStyle); |
|||
FreezeAndFilter writeHandler = new FreezeAndFilter(); |
|||
excelWriter = EasyExcel.write(ExcelUtils.getOutputStreamForExcel(fileName, response), CommunityBuildingManagerResultDTO.class) |
|||
.registerWriteHandler(horizontalCellStyleStrategy) |
|||
.registerWriteHandler(new LongestMatchColumnWidthStyleStrategy()) |
|||
.registerWriteHandler(writeHandler).build(); |
|||
WriteSheet writeSheet = EasyExcel.writerSheet("Sheet1").registerWriteHandler(new FreezeAndFilter()).build(); |
|||
PageData<CommunityBuildingManagerResultDTO> data = null; |
|||
do { |
|||
data = communityBuildingManagerService.page(formDTO); |
|||
formDTO.setPageNo(formDTO.getPageNo() + NumConstant.ONE); |
|||
excelWriter.write(data.getList(), writeSheet); |
|||
} while (org.apache.commons.collections4.CollectionUtils.isNotEmpty(data.getList()) && data.getList().size() == formDTO.getPageSize()); |
|||
} catch (EpmetException e) { |
|||
response.reset(); |
|||
response.setCharacterEncoding("UTF-8"); |
|||
response.setHeader("content-type", "application/json; charset=UTF-8"); |
|||
PrintWriter printWriter = response.getWriter(); |
|||
Result<Object> result = new Result<>().error(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), e.getMsg()); |
|||
printWriter.write(JSON.toJSONString(result)); |
|||
printWriter.close(); |
|||
} catch (Exception e) { |
|||
log.error("楼长单元长导出异常export exception", e); |
|||
} finally { |
|||
if (excelWriter != null) { |
|||
excelWriter.finish(); |
|||
} |
|||
} |
|||
} |
|||
|
|||
/** |
|||
* 导入excel |
|||
* |
|||
* @return |
|||
*/ |
|||
@PostMapping("import") |
|||
public Result importExcel(@LoginUser TokenDto tokenDto,@RequestPart("file") MultipartFile file) { |
|||
// 只有社区级账号可以导入
|
|||
communityBuildingManagerService.checkImportPermission(tokenDto.getCustomerId(),tokenDto.getUserId()); |
|||
|
|||
// 1.暂存文件
|
|||
String originalFilename = file.getOriginalFilename(); |
|||
String extName = originalFilename.substring(originalFilename.lastIndexOf(".")); |
|||
|
|||
Path fileSavePath; |
|||
try { |
|||
Path importPath = FileUtils.getAndCreateDirUnderEpmetFilesDir(ImportTaskConstants.COMMUNITY_BUILDING_MANAGER, "import"); |
|||
fileSavePath = importPath.resolve(UUID.randomUUID().toString().concat(extName)); |
|||
} catch (IOException e) { |
|||
String errorMsg = ExceptionUtils.getErrorStackTrace(e); |
|||
log.error("【楼长单元长导入】创建临时存储文件失败:{}", errorMsg); |
|||
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "文件上传失败", "文件上传失败"); |
|||
} |
|||
|
|||
InputStream is = null; |
|||
FileOutputStream os = null; |
|||
|
|||
try { |
|||
is = file.getInputStream(); |
|||
os = new FileOutputStream(fileSavePath.toString()); |
|||
IOUtils.copy(is, os); |
|||
} catch (Exception e) { |
|||
log.error(ImportTaskConstants.COMMUNITY_BUILDING_MANAGER + "表 importExcel exception", e); |
|||
} finally { |
|||
org.apache.poi.util.IOUtils.closeQuietly(is); |
|||
org.apache.poi.util.IOUtils.closeQuietly(os); |
|||
} |
|||
|
|||
// 2.生成导入任务记录
|
|||
ImportTaskCommonResultDTO rstData = getResultDataOrThrowsException( |
|||
ImportTaskUtils.createImportTask(originalFilename, ImportTaskConstants.COMMUNITY_BUILDING_MANAGER), |
|||
ServiceConstant.EPMET_COMMON_SERVICE, |
|||
EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), |
|||
"楼长单元长导入excel错误", |
|||
"楼长单元长导入excel错误"); |
|||
|
|||
// 3.执行导入
|
|||
communityBuildingManagerService.execAsyncExcelImport(fileSavePath, rstData.getTaskId()); |
|||
return new Result(); |
|||
} |
|||
|
|||
|
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,50 @@ |
|||
package com.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO; |
|||
import com.epmet.entity.CommunityBuildingManagerEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 楼长单元长信息表(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-06 |
|||
*/ |
|||
@Mapper |
|||
public interface CommunityBuildingManagerDao extends BaseDao<CommunityBuildingManagerEntity> { |
|||
/** |
|||
* 楼长单元长分页列表查询 |
|||
* @param customerId |
|||
* @param orgIdPath |
|||
* @param name |
|||
* @param phone |
|||
* @param idCard |
|||
* @param type |
|||
* @param districtId |
|||
* @param streetId |
|||
* @param communityId |
|||
* @param gridId |
|||
* @param viliageId |
|||
* @param buildingId |
|||
* @param unitId |
|||
* @return |
|||
*/ |
|||
List<CommunityBuildingManagerResultDTO> pageList(@Param("customerId") String customerId, |
|||
@Param("orgIdPath")String orgIdPath, |
|||
@Param("name")String name, |
|||
@Param("phone")String phone, |
|||
@Param("idCard")String idCard, |
|||
@Param("type")String type, |
|||
@Param("districtId")String districtId, |
|||
@Param("streetId")String streetId, |
|||
@Param("communityId")String communityId, |
|||
@Param("gridId")String gridId, |
|||
@Param("viliageId")String viliageId, |
|||
@Param("buildingId")String buildingId, |
|||
@Param("unitId")String unitId, |
|||
@Param("id")String id); |
|||
} |
|||
@ -0,0 +1,89 @@ |
|||
package com.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.FieldFill; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
/** |
|||
* 楼长单元长信息表(烟台) |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2023-05-06 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("community_building_manager") |
|||
public class CommunityBuildingManagerEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 客户Id customer.id |
|||
*/ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 姓名 |
|||
*/ |
|||
private String name; |
|||
|
|||
/** |
|||
* 联系电话 |
|||
*/ |
|||
private String phone; |
|||
|
|||
/** |
|||
* 身份证号 |
|||
*/ |
|||
private String idCard; |
|||
|
|||
/** |
|||
* 类型:0楼长;1单元长 |
|||
*/ |
|||
private String type; |
|||
|
|||
/** |
|||
* 所属区县id;取名字关联customer_agency |
|||
*/ |
|||
private String districtId; |
|||
|
|||
/** |
|||
* 所属街道id;取名字关联customer_agency |
|||
*/ |
|||
private String streetId; |
|||
|
|||
/** |
|||
* 所属社区id;取名字关联customer_agency |
|||
*/ |
|||
private String communityId; |
|||
|
|||
/** |
|||
* 所属网格id;取名字关联customer_grid |
|||
*/ |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 网格的全路径,包含网格id |
|||
*/ |
|||
private String orgIdPath; |
|||
|
|||
/** |
|||
* 所属小区id |
|||
*/ |
|||
private String viliageId; |
|||
|
|||
/** |
|||
* 所属楼栋id |
|||
*/ |
|||
private String buildingId; |
|||
|
|||
/** |
|||
* 所属单元id |
|||
*/ |
|||
private String unitId; |
|||
|
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue