mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
package com.panzhihua.common.service.grid;
 
import java.util.List;
 
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
 
import com.panzhihua.common.model.dtos.IdDTO;
import com.panzhihua.common.model.dtos.community.bigscreen.event.ScreenDrawEventListDTO;
import com.panzhihua.common.model.dtos.community.bigscreen.event.ScreenEventListDTO;
import com.panzhihua.common.model.dtos.grid.*;
import com.panzhihua.common.model.dtos.grid.admin.EventGridMemberCascadeAddDTO;
import com.panzhihua.common.model.dtos.visit.EventVisitCompleteDTO;
import com.panzhihua.common.model.query.visit.EventTasksQuery;
import com.panzhihua.common.model.query.visit.EventVisitListQuery;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.grid.*;
import com.panzhihua.common.model.vos.visit.EventVisitingTasksVO;
 
/**
 * @author cedoo email:cedoo(a)qq.com
 * @version 1.0
 * @date 2021-05-26
 * @since 1.0
 */
@FeignClient(name = "grid")
public interface GridService {
 
    /**
     * 分页查找事件
     *
     * @param pageEventDTO
     * @return 维护结果
     */
    @PostMapping("/event/page")
    R query(@RequestBody PageEventDTO pageEventDTO);
 
    /**
     * 删除事件
     *
     * @param CommonEventDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/event/delete")
    R delete(@RequestBody CommonEventDeleteDTO CommonEventDeleteDTO);
 
    /**
     * 查询事件详细信息
     * 
     * @param id
     *            事件 id
     * @return 查找结果
     */
    @PostMapping("/event/{id}")
    R<EventDetailsVO> eventDetails(@PathVariable("id") Long id);
 
    /**
     * 新增网格和网格员的关联关系
     * 
     * @param eventGridMemberAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventgridmemberrelation/add")
    R add(@RequestBody EventGridMemberAddDTO eventGridMemberAddDTO);
 
    /**
     * 修改网格和网格员的关联关系
     * 
     * @param eventGridMemberEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventgridmemberrelation/edit")
    R edit(@RequestBody EventGridMemberEditDTO eventGridMemberEditDTO);
 
    /**
     * 分页查找网格和网格员的关联关系
     * 
     * @param pageEventGridMemberRelationDTO
     * @return 维护结果
     */
    @PostMapping("/eventgridmemberrelation/page")
    R query(@RequestBody PageEventGridMemberRelationDTO pageEventGridMemberRelationDTO);
 
    /**
     * 删除网格和网格员的关联关系
     *
     * @param eventGridMemberRelationDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventgridmemberrelation/delete")
    R delete(@RequestBody EventGridMemberRelationDeleteDTO eventGridMemberRelationDeleteDTO);
 
    /**
     * 查询网格和网格员的关联关系详细信息
     *
     * @param id
     *            网格和网格员的关联关系 id
     * @return 查找结果
     */
    @PostMapping("/eventgridmemberrelation/{id}")
    R<EventGridMemberRelationDetailsVO> eventGridMemberRelationDetails(@PathVariable("id") Long id);
 
    /**
     * 新增网格员定时上报地理预警记录
     * 
     * @param eventGridMemberWarnLogAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventgridmemberwarnlog/add")
    R add(@RequestBody EventGridMemberWarnLogAddDTO eventGridMemberWarnLogAddDTO);
 
    /**
     * 修改网格员定时上报地理预警记录
     *
     * @param eventGridMemberWarnLogEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventgridmemberwarnlog/edit")
    R edit(@RequestBody EventGridMemberWarnLogEditDTO eventGridMemberWarnLogEditDTO);
 
    /**
     * 分页查找网格员定时上报地理预警记录
     *
     * @param pageEventGridMemberWarnLogDTO
     * @return 维护结果
     */
    @PostMapping("/eventgridmemberwarnlog/page")
    R query(@RequestBody PageEventGridMemberWarnLogDTO pageEventGridMemberWarnLogDTO);
 
    /**
     * 删除网格员定时上报地理预警记录
     *
     * @param eventGridMemberWarnLogDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventgridmemberwarnlog/delete")
    R delete(@RequestBody EventGridMemberWarnLogDeleteDTO eventGridMemberWarnLogDeleteDTO);
 
    /**
     * 查询网格员定时上报地理预警记录详细信息
     *
     * @param id
     *            网格员定时上报地理预警记录 id
     * @return 查找结果
     */
    @PostMapping("/eventgridmemberwarnlog/{id}")
    R<EventGridMemberWarnLogDetailsVO> eventGridMemberWarnLogDetails(@PathVariable("id") Long id);
 
    /**
     * 新增重点人群记录
     *
     * @param eventMainMemberAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventmainmember/add")
    R add(@RequestBody EventMainMemberAddDTO eventMainMemberAddDTO);
 
    /**
     * 修改重点人群记录
     *
     * @param eventMainMemberEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventmainmember/edit")
    R edit(@RequestBody EventMainMemberEditDTO eventMainMemberEditDTO);
 
    /**
     * 分页查找重点人群记录
     *
     * @param pageEventMainMemberDTO
     * @return 维护结果
     */
    @PostMapping("/eventmainmember/page")
    R query(@RequestBody PageEventMainMemberDTO pageEventMainMemberDTO);
 
    /**
     * 删除重点人群记录
     * 
     * @param eventMainMemberDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventmainmember/delete")
    R delete(@RequestBody EventMainMemberDeleteDTO eventMainMemberDeleteDTO);
 
    /**
     * 查询重点人群记录详细信息
     * 
     * @param id
     *            重点人群记录 id
     * @return 查找结果
     */
    @PostMapping("/eventmainmember/{id}")
    R<EventMainMemberDetailsVO> eventMainMemberDetails(@PathVariable("id") Long id);
 
    /**
     * 新增事件或者走访中关联的图片音频和视频文件
     * 
     * @param eventResourceAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventresource/add")
    R add(@RequestBody EventResourceAddDTO eventResourceAddDTO);
 
    /**
     * 修改事件或者走访中关联的图片音频和视频文件
     * 
     * @param eventResourceEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventresource/edit")
    R edit(@RequestBody EventResourceEditDTO eventResourceEditDTO);
 
    /**
     * 分页查找事件或者走访中关联的图片音频和视频文件
     * 
     * @param pageEventResourceDTO
     * @return 维护结果
     */
    @PostMapping("/eventresource/page")
    R query(@RequestBody PageEventResourceDTO pageEventResourceDTO);
 
    /**
     * 删除事件或者走访中关联的图片音频和视频文件
     * 
     * @param eventResourceDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventresource/delete")
    R delete(@RequestBody EventResourceDeleteDTO eventResourceDeleteDTO);
 
    /**
     * 查询事件或者走访中关联的图片音频和视频文件详细信息
     * 
     * @param id
     *            事件或者走访中关联的图片音频和视频文件 id
     * @return 查找结果
     */
    @PostMapping("/eventresource/{id}")
    R<EventResourceDetailsVO> eventResourceDetails(@PathVariable("id") Long id);
 
    /**
     * 新增事件处理流转记录
     * 
     * @param eventTransferRecordAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventtransferrecord/add")
    R add(@RequestBody EventTransferRecordAddDTO eventTransferRecordAddDTO);
 
    /**
     * 修改事件处理流转记录
     * 
     * @param eventTransferRecordEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventtransferrecord/edit")
    R edit(@RequestBody EventTransferRecordEditDTO eventTransferRecordEditDTO);
 
    /**
     * 分页查找事件处理流转记录
     * 
     * @param pageEventTransferRecordDTO
     * @return 维护结果
     */
    @PostMapping("/eventtransferrecord/page")
    R query(@RequestBody PageEventTransferRecordDTO pageEventTransferRecordDTO);
 
    /**
     * 删除事件处理流转记录
     * 
     * @param eventTransferRecordDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventtransferrecord/delete")
    R delete(@RequestBody EventTransferRecordDeleteDTO eventTransferRecordDeleteDTO);
 
    /**
     * 查询事件处理流转记录详细信息
     *
     * @param id
     *            事件处理流转记录 id
     * @return 查找结果
     */
    @PostMapping("/eventtransferrecord/{id}")
    R<EventTransferRecordDetailsVO> eventTransferRecordDetails(@PathVariable("id") Long id);
 
    /**
     * 新增重点人群走访记录
     *
     * @param eventVisitingTasksAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventvisitingtasks/add")
    R add(@RequestBody EventVisitingTasksAddDTO eventVisitingTasksAddDTO);
 
    /**
     * 修改重点人群走访记录
     *
     * @param eventVisitingTasksEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventvisitingtasks/edit")
    R edit(@RequestBody EventVisitingTasksEditDTO eventVisitingTasksEditDTO);
 
    /**
     * 分页查找重点人群走访记录
     *
     * @param pageEventVisitingTasksDTO
     * @return 维护结果
     */
    @PostMapping("/eventvisitingtasks/page")
    R query(@RequestBody PageEventVisitingTasksDTO pageEventVisitingTasksDTO);
 
    /**
     * 删除重点人群走访记录
     *
     * @param eventVisitingTasksDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventvisitingtasks/delete")
    R delete(@RequestBody EventVisitingTasksDeleteDTO eventVisitingTasksDeleteDTO);
 
    /**
     * 查询重点人群走访记录详细信息
     *
     * @param id
     *            重点人群走访记录 id
     * @return 查找结果
     */
    @PostMapping("/eventvisitingtasks/{id}")
    R<EventVisitingTasksDetailsVO> eventVisitingTasksDetails(@PathVariable("id") Long id);
 
    /**
     * 新增APP应用版本信息
     *
     * @param eventApplicationAppReleaseAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventapplicationapprelease/add")
    R add(@RequestBody EventApplicationAppReleaseAddDTO eventApplicationAppReleaseAddDTO);
 
    /**
     * 修改APP应用版本信息
     *
     * @param eventApplicationAppReleaseEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventapplicationapprelease/edit")
    R edit(@RequestBody EventApplicationAppReleaseEditDTO eventApplicationAppReleaseEditDTO);
 
    /**
     * 分页查找APP应用版本信息
     *
     * @param pageEventApplicationAppReleaseDTO
     * @return 维护结果
     */
    @PostMapping("/eventapplicationapprelease/page")
    R query(@RequestBody PageEventApplicationAppReleaseDTO pageEventApplicationAppReleaseDTO);
 
    /**
     * 删除APP应用版本信息
     *
     * @param eventApplicationAppReleaseDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventapplicationapprelease/delete")
    R delete(@RequestBody EventApplicationAppReleaseDeleteDTO eventApplicationAppReleaseDeleteDTO);
 
    /**
     * 查询APP应用版本信息详细信息
     *
     * @param id
     *            APP应用版本信息 id
     * @return 查找结果
     */
    @PostMapping("/eventapplicationapprelease/{id}")
    R<EventApplicationAppReleaseDetailsVO> eventApplicationAppReleaseDetails(@PathVariable("id") Long id);
 
    /**
     * 新增用户协议和隐私政策信息
     *
     * @param eventApplicationUserNoticeAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventapplicationusernotice/add")
    R add(@RequestBody EventApplicationUserNoticeAddDTO eventApplicationUserNoticeAddDTO);
 
    /**
     * 修改用户协议和隐私政策信息
     *
     * @param eventApplicationUserNoticeEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventapplicationusernotice/edit")
    R edit(@RequestBody EventApplicationUserNoticeEditDTO eventApplicationUserNoticeEditDTO);
 
    /**
     * 分页查找用户协议和隐私政策信息
     *
     * @param pageEventApplicationUserNoticeDTO
     * @return 维护结果
     */
    @PostMapping("/eventapplicationusernotice/page")
    R query(@RequestBody PageEventApplicationUserNoticeDTO pageEventApplicationUserNoticeDTO);
 
    /**
     * 删除用户协议和隐私政策信息
     *
     * @param eventApplicationUserNoticeDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventapplicationusernotice/delete")
    R delete(@RequestBody EventApplicationUserNoticeDeleteDTO eventApplicationUserNoticeDeleteDTO);
 
    /**
     * 查询用户协议和隐私政策信息详细信息
     *
     * @param id
     *            用户协议和隐私政策信息 id
     * @return 查找结果
     */
    @PostMapping("/eventapplicationusernotice/{id}")
    R<EventApplicationUserNoticeDetailsVO> eventApplicationUserNoticeDetails(@PathVariable("id") Long id);
 
    /**
     * 新增区县/街道/社区/网格员网格数据管理
     *
     * @param eventGridDataAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventgriddata/add")
    R add(@RequestBody EventGridDataAddDTO eventGridDataAddDTO);
 
    /**
     * 修改区县/街道/社区/网格员网格数据管理
     *
     * @param eventGridDataEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventgriddata/edit")
    R edit(@RequestBody EventGridDataEditDTO eventGridDataEditDTO);
 
    /**
     * 分页查找区县/街道/社区/网格员网格数据管理
     *
     * @param pageEventGridDataDTO
     * @return 维护结果
     */
    @PostMapping("/eventgriddata/page")
    R query(@RequestBody PageEventGridDataDTO pageEventGridDataDTO);
 
    /**
     * 删除区县/街道/社区/网格员网格数据管理
     *
     * @param eventGridDataDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventgriddata/delete")
    R delete(@RequestBody EventGridDataDeleteDTO eventGridDataDeleteDTO);
 
    /**
     * 查询区县/街道/社区/网格员网格数据管理详细信息
     *
     * @param id
     *            区县/街道/社区/网格员网格数据管理 id
     * @return 查找结果
     */
    @PostMapping("/eventgriddata/{id}")
    R<EventGridDataDetailsVO> eventGridDataDetails(@PathVariable("id") Long id);
 
    /**
     * 新增网格员定时上报地理信息
     *
     * @param eventGridMemberGpsLogAddDTO
     * @return 新增结果
     */
    @PostMapping("/eventgridmembergpslog/add")
    R add(@RequestBody EventGridMemberGpsLogAddDTO eventGridMemberGpsLogAddDTO);
 
    /**
     * 修改网格员定时上报地理信息
     *
     * @param eventGridMemberGpsLogEditDTO
     * @return 维护结果
     */
    @PostMapping("/eventgridmembergpslog/edit")
    R edit(@RequestBody EventGridMemberGpsLogEditDTO eventGridMemberGpsLogEditDTO);
 
    /**
     * 分页查找网格员定时上报地理信息
     *
     * @param pageEventGridMemberGpsLogDTO
     * @return 维护结果
     */
    @PostMapping("/eventgridmembergpslog/page")
    R query(@RequestBody PageEventGridMemberGpsLogDTO pageEventGridMemberGpsLogDTO);
 
    /**
     * 删除网格员定时上报地理信息
     *
     * @param eventGridMemberGpsLogDeleteDTO
     * @return 平台用户信息
     */
    @PostMapping("/eventgridmembergpslog/delete")
    R delete(@RequestBody EventGridMemberGpsLogDeleteDTO eventGridMemberGpsLogDeleteDTO);
 
    /**
     * 查询网格员定时上报地理信息详细信息
     *
     * @param id
     *            网格员定时上报地理信息 id
     * @return 查找结果
     */
    @PostMapping("/eventgridmembergpslog/{id}")
    R<EventGridMemberGpsLogDetailsVO> eventGridMemberGpsLogDetails(@PathVariable("id") Long id);
 
    /**
     * 添加事件
     *
     * @param commonEventAddDTO
     * @return
     */
    @PostMapping("/event/addCommon")
    R addCommon(@RequestBody CommonEventAddDTO commonEventAddDTO);
 
    /**
     * 保存事件草稿
     *
     * @param commonEventEditDTO
     * @return
     */
    @PostMapping("/event/saveDraft")
    R saveDraft(@RequestBody CommonEventEditDTO commonEventEditDTO);
 
    /**
     * 突发事件上报社区
     *
     * @param commonEventReportDTO
     * @return
     */
    @PostMapping("/event/report")
    R report(@RequestBody CommonEventReportDTO commonEventReportDTO);
 
    /**
     * 突发事件撤销
     *
     * @param eventRevokeDTO
     * @return
     */
    @PostMapping("/event/emergenciesRevoke")
    R emergenciesRevoke(@RequestBody EventRevokeDTO eventRevokeDTO);
 
    /**
     * 处理事件
     *
     * @param commonEventDealDTO
     * @return
     */
    @PostMapping("/event/dealEvent")
    R dealEvent(@RequestBody CommonEventDealDTO commonEventDealDTO);
 
    /**
     * 处理事件
     *
     * @param commonEventVerifyDTO
     * @return
     */
    @PostMapping("/event/verify")
    R verifyEvent(@RequestBody CommonEventVerifyDTO commonEventVerifyDTO);
 
    /**
     * 处理事件
     *
     * @param commonEventRepublishDTO
     * @return
     */
    @PostMapping("/event/republish")
    R republishEvent(@RequestBody CommonEventRepublishDTO commonEventRepublishDTO);
 
    /**
     * 网格数据待处理统计信息
     *
     * @param eventGridStatisticsDataDTO
     * @return
     */
    @PostMapping("/eventgriddata/getGridStatisticsdData")
    R getGridStatisticsdData(@RequestBody EventGridStatisticsDataDTO eventGridStatisticsDataDTO);
 
    /**
     * 查询用户网格
     *
     * @param pageEventGridDataDTO
     * @return
     */
    @PostMapping("/eventgriddata/userGrid")
    R userGrid(@RequestBody PageEventGridDataDTO pageEventGridDataDTO);
 
    /**
     * 特殊人员信息上报
     *
     * @param specialEventAddDTO
     * @return
     */
    @PostMapping("/event/addSpecial")
    R addSpecial(@RequestBody SpecialEventAddDTO specialEventAddDTO);
 
    /**
     * 获取指定特殊人员信息
     *
     * @param idCard
     * @return
     */
    @PostMapping("/event/getSpecialPopulation")
    R getSpecialPopulation(String idCard);
 
    /**
     * 保存殊人群事件上报草稿
     *
     * @param specialEventEditDTO
     * @return
     */
    @PostMapping("/event/saveSpecialDraft")
    R saveSpecialDraft(@RequestBody SpecialEventEditDTO specialEventEditDTO);
 
    /**
     * 草稿发布
     *
     * @param commonEventPublicDTO
     * @return
     */
    @PostMapping("/event/draftRelease")
    R draftRelease(@RequestBody CommonEventPublicDTO commonEventPublicDTO);
 
    /**
     * 查询随手拍列表
     *
     * @param easyAppDTO
     *            请求参数
     * @return 随手拍列表
     */
    @PostMapping("/easy/list")
    R easyList(@RequestBody PageEasyAppDTO easyAppDTO);
 
    /**
     * 查询随手拍详情
     *
     * @param easyId
     *            随手拍id
     * @return 随手拍详情
     */
    @PostMapping("/easy/detail")
    R easyDetailByApp(@RequestParam("easyId") Long easyId);
 
    /**
     * 查询随手拍类型列表
     *
     * @return 类型列表
     */
    @PostMapping("/easy/type/list")
    R easyTypeListByApp();
 
    /**
     * 随手拍处理
     *
     * @param photoHandleDTO
     *            请求参数
     * @return 处理结果
     */
    @PostMapping("/easy/handle")
    R easyHandle(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
 
    /**
     * 随手拍公示状态切换
     *
     * @param photoHandleDTO
     *            请求参数
     * @return 切换结果
     */
    @PostMapping("/easy/publicity")
    R easyPublicity(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
 
    /**
     * 随手拍上报社区
     *
     * @param photoHandleDTO
     *            请求参数
     * @return 上报结果
     */
    @PostMapping("/easy/report")
    R easyReport(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
 
    /**
     * 添加发布宣传教育事件
     *
     * @param publicityEventAddDTO
     *            请求参数
     * @return 添加发布结果
     */
    @PostMapping("/event/addPublicity")
    R addPublicity(@RequestBody PublicityEventAddDTO publicityEventAddDTO);
 
    /**
     * 保存宣传教育事件草稿
     *
     * @param publicityEventEditDTO
     *            请求参数
     * @return 保存结果
     */
    @PostMapping("/event/savePublicityDraft")
    R savePublicityDraft(@RequestBody PublicityEventEditDTO publicityEventEditDTO);
 
    /**
     * 分页查询宣传教育事件
     *
     * @param pagePublicityEventDTO
     *            请求参数
     * @return 结果
     */
    @PostMapping("/event/queryPublicity")
    R queryPublicity(@RequestBody PagePublicityEventDTO pagePublicityEventDTO);
 
    /**
     * 分页查询宣传教育事件
     *
     * @param pagePublicityEventDTO
     *            请求参数
     * @return 结果
     */
    @PostMapping("/event/queryPublicityCommunity")
    R queryPublicityCommunity(@RequestBody PagePublicityEventCommunityDTO pagePublicityEventDTO);
 
    /**
     * 分页查询社区列表
     *
     * @return 结果
     */
    @PostMapping("/event/actList")
    R actList();
 
    /**
     * 地图模块-根据网格id查询网格详细信息
     *
     * @param gridId
     *            网格id
     * @return 网格详细信息
     */
    @PostMapping("/map/getGridDetail")
    R getGridDetail(@RequestParam("gridId") Long gridId);
 
    /**
     * 地图模块-根据网格员id查询今日运动轨迹
     *
     * @param userId
     *            网格员id
     * @return 运动轨迹
     */
    @PostMapping("/map/getTrajectoryByApp")
    R getTrajectoryByApp(@RequestParam("userId") Long userId);
 
    /**
     * 地图模块-根据网格员id查询关联网格列表
     *
     * @param userId
     *            网格员id
     * @return 网格列表
     */
    @PostMapping("/map/getMapGridListByApp")
    R getMapGridListByApp(@RequestParam("userId") Long userId);
 
    /**
     * 获取最新版本信息
     *
     * @return 版本信息
     */
    @GetMapping("/eventapplicationapprelease/edition")
    R editionUpdate();
 
    /**
     * 首页待处理
     *
     * @param eventGridTodoDataDTO
     * @return
     */
    @PostMapping("/eventgriddata/getGridTodoData")
    R getGridTodoData(@RequestBody EventGridTodoDataDTO eventGridTodoDataDTO);
 
    /**
     * 后台获取网格员运动轨迹
     *
     * @param workTrajectoryDTO
     *            请求参数
     * @return 运动轨迹
     */
    @PostMapping("/map/gridMemberWorkTrajectory")
    R gridMemberWorkTrajectory(@RequestBody EventGridMemberWorkTrajectoryDTO workTrajectoryDTO);
 
    /**
     * 后台获取网格员预警记录
     *
     * @param gridMemberWainDTO
     *            请求参数
     * @return 预警记录
     */
    @PostMapping("/map/gridMemberWorkWarning")
    R gridMemberWorkWarning(@RequestBody EventGridMemberWainDTO gridMemberWainDTO);
 
    /**
     * 分页查询网格
     *
     * @param eventGridDataDTO
     *            请求参数
     * @return 网格列表
     */
    @PostMapping("/eventgriddata/data/list")
    R getGridDataList(@RequestBody PageEventGridDataAdminDTO eventGridDataDTO);
 
    /**
     * 查询社区下所有网格员
     *
     * @param communityId
     *            社区id
     * @return 网格员列表
     */
    @PostMapping("/eventgriddata/member/list")
    R getGridMemberLists(@RequestParam("communityId") Long communityId);
 
    /**
     * 查询管理事件
     *
     * @param pageEventManageDTO
     * @return
     */
    @PostMapping("/event/manage/list")
    R queryEventToManage(@RequestBody PageEventManageDTO pageEventManageDTO);
 
    /**
     * 社区网格后台标记事件无效
     *
     * @param eventRevokeDTO
     * @return
     */
    @PostMapping("/event/markInvalid")
    R markEventInvalid(@RequestBody EventRevokeDTO eventRevokeDTO);
 
    /**
     * 社区网格后台重新发布已标记无效的事件
     *
     * @param commonEventRepublishDTO
     * @return
     */
    @PostMapping("/event/republishInvalid")
    R republishInvalidEvent(@RequestBody CommonEventRepublishDTO commonEventRepublishDTO);
 
    /**
     * 后台新增网格
     *
     * @param eventGridDataDTO
     *            请求参数
     * @return 新增结果
     */
    @PostMapping("/eventgriddata/data/add")
    R addGridDataByAdmin(@RequestBody EventGridDataAddAdminDTO eventGridDataDTO);
 
    /**
     * 后台修改网格
     *
     * @param eventGridDataDTO
     *            请求参数
     * @return 修改结果
     */
    @PostMapping("/eventgriddata/data/edit")
    R editGridDataByAdmin(@RequestBody EventGridDataEditAdminDTO eventGridDataDTO);
 
    /**
     * 后台管理-分页查询随手拍列表
     *
     * @param easyAppDTO
     *            请求参数
     * @return 随手拍列表
     */
    @PostMapping("/easy/admin/list")
    R easyListByAdmin(@RequestBody PageEasyAdminDTO easyAppDTO);
 
    /**
     * 后台管理-随手拍详情
     *
     * @param easyId
     *            随手拍id
     * @return 随手拍详情
     */
    @PostMapping("/easy/admin/detail")
    R easyDetailByAdmin(@RequestParam("easyId") Long easyId);
 
    /**
     * 后台管理-随手拍处理
     *
     * @param photoHandleDTO
     *            请求参数
     * @return 处理结果
     */
    @PostMapping("/easy/admin/handle")
    R easyHandleByAdmin(@RequestBody ComActEasyPhotoHandleDTO photoHandleDTO);
 
    /**
     * 后台管理-批量修改随手拍公示状态/删除随手拍
     *
     * @param photoHandleDTO
     *            请求参数
     * @return 修改/删除结果
     */
    @PostMapping("/easy/admin/publicity")
    R easyPublicityByAdmin(@RequestBody ComActEasyPhotoEditAdminDTO photoHandleDTO);
 
    /**
     * 查询网格下所有网格员
     *
     * @param gridId
     * @return
     */
    @PostMapping("/eventgriddata/grid/member")
    R getGridMemberListsByGrid(@RequestParam("gridId") Long gridId);
 
    /**
     * 查询网格下所有网格员
     *
     * @param communityId
     * @return
     */
    @PostMapping("/eventgriddata/communitygrid")
    R getGridDataListByCommunity(@RequestParam("gridId") Long communityId);
 
    /**
     * 后台管理-统计模块
     *
     * @param communityId
     *            社区id
     * @return 统计信息
     */
    @GetMapping("/statistics/admin/eventStatistics")
    R eventStatistics(@RequestParam("communityId") Long communityId);
 
    /**
     * 后台管理-删除网格
     *
     * @param Ids
     *            网格id集合
     * @return 删除结果
     */
    @PostMapping("/eventgriddata/data/delete")
    R deleteGridData(@RequestBody List<Long> Ids);
 
    /**
     * 后台管理-网格员统计
     *
     * @param statisticsAdminDTO
     *            请求参数
     * @return 网格员统计信息
     */
    @PostMapping("/statistics/admin/gridMemberStatistics")
    R gridMemberStatistics(@RequestBody MemberStatisticsAdminDTO statisticsAdminDTO);
 
    /**
     * 批量删除
     *
     * @param eventDeleteDTO
     * @return
     */
    @PostMapping("/event/deleteEventBatch")
    R deleteEventBatch(@RequestBody EventDeleteDTO eventDeleteDTO);
 
    /**
     * 批量发布事件
     *
     * @param commonEventBatchRepublishDTO
     * @return
     */
    @PostMapping("/event/batchRepublishEvent")
    R batchRepublishEvent(@RequestBody CommonEventBatchRepublishDTO commonEventBatchRepublishDTO);
 
    /**
     * 批量事件标为无效
     *
     * @param eventBatchRevokeDTO
     * @return
     */
    @PostMapping("/event/batchMarkInvalid")
    R batchMarkEventInvalid(@RequestBody EventBatchRevokeDTO eventBatchRevokeDTO);
 
    /**
     * 批量事件标为无效
     *
     * @param pageEventGridNearbyDTO
     * @return
     */
    @PostMapping("/event/grid/nearby")
    R getNearByGrid(PageEventGridNearbyDTO pageEventGridNearbyDTO);
 
    /**
     * 根据网格id查询网格统计数据
     *
     * @param gridId
     *            网格id
     * @return 网格统计数据
     */
    @PostMapping("/statistics/getGridEventStatistics")
    R getGridEventStatisticsByApp(@RequestParam("gridId") Long gridId, @RequestParam("userId") Long userId);
 
    /**
     * 查询网格事件统计数据
     *
     * @param statisticsDTO
     *            请求参数
     * @return 网格事件统计数据
     */
    @PostMapping("/statistics/event/getGridEventStatistics")
    R getGridEventDetailStatisticsByApp(@RequestBody GridEventStatisticsDTO statisticsDTO);
 
    /**
     * 网格员上报地理位置
     *
     * @param memberPositionDTO
     *            请求参数
     * @return 上报结果
     */
    @PostMapping("/eventgridmembergpslog/add")
    R gridReportPosition(@RequestBody GridMemberPositionDTO memberPositionDTO);
 
    /**
     * 直接上报社区
     *
     * @param commonEventDirectReportDTO
     * @return
     */
    @PostMapping("/event/reportDirect")
    R reportDirect(@RequestBody CommonEventDirectReportDTO commonEventDirectReportDTO);
 
    /**
     * 定时任务扫描网格员工作状态
     *
     * @return 定时任务扫描结果
     */
    @PostMapping("/eventgridmemberwarnlog/judge")
    R timedTaskGridMember();
 
    /**
     * 事件大屏查询事件列表
     *
     * @param eventListDTO
     *            请求参数
     * @return 事件列表
     */
    @PostMapping("/screen/event/list")
    R getScreenEventList(@RequestBody ScreenEventListDTO eventListDTO);
 
    /**
     * 特殊人群上报-社区人口数据列表
     *
     * @param specialPopulationDTO
     *            请求参数
     * @return 社区人口数据列表
     */
    @PostMapping("/event/special/population/list")
    R specialPopulationList(@RequestBody PageEventSpecialPopulationDTO specialPopulationDTO);
 
    /**
     * description 根据本地网格ID,查询对于的浪潮市平台对应的ID
     *
     * @param id
     *            本地网格ID
     * @return String 浪潮市平台对应的ID
     * @author manailin
     * @date 2021/6/10 17:00
     */
    @GetMapping("/lc_compare/{id}")
    String getLcGridIdByLocal(@PathVariable("id") Long id);
 
    /**
     * description 根据本地网格ID,查询对于的浪潮市平台对应的ID
     *
     * @param localUserId
     *            本地网格员ID
     * @return String 浪潮市平台对应的ID
     * @author manailin
     * @date 2021/6/10 17:00
     */
    @GetMapping("/lc_compare/getLcUserId")
    String getLcUserIdByLocalUserId(@RequestParam("localUserId") String localUserId);
 
    /**
     * description 获取所有未上传到浪潮平台的事件列表
     *
     * @return String 事件列表
     * @author manailin
     * @date 2021/6/10 17:00
     */
    @GetMapping("/event/getUnUploadEvent")
    List<EventDetailsVO> getUnUploadEvent();
 
    /**
     * description 更新上传是否成功标识
     *
     * @param id
     *            事件主键ID
     * @return Boolean 上传是否成功
     * @author manailin
     * @date 2021/6/10 17:00
     */
    @GetMapping("/event/updateLcUploadFlag")
    Boolean updateLcUploadFlag(@RequestParam("id") Long id);
 
    /**
     * 工作大屏-事件管理模块数据统计
     * 
     * @param communityId
     *            社区id
     * @return 事件管理数据统计
     */
    @GetMapping("/screen/work/event")
    R eventWork(@RequestParam("communityId") Long communityId);
 
    /**
     * description 获取所有未上传到浪潮平台的走访事件列表
     *
     * @return String 事件列表
     * @author manailin
     * @date 2021/6/10 17:00
     */
    @GetMapping("/eventvisitingtasks/getUnUploadVisitingTask")
    List<LcEventVisitingTasksListDTO> getUnUploadVisitingTask();
 
    /**
     * description 更新走访任务上传是否成功标识
     *
     * @param id
     *            事件主键ID
     * @return Boolean 上传是否成功
     * @author manailin
     * @date 2021/6/10 17:00
     */
    @PostMapping("/eventvisitingtasks/updateLcUploadFlagVisitingTask")
    Boolean updateLcUploadFlagVisitingTask(@RequestParam("id") Long id);
 
    /**
     * 后台统计走访任务
     *
     * @param communityId
     * @return
     */
    @GetMapping("/eventvisitingtasks/count")
    R countVisit(@RequestParam("communityId") Long communityId);
 
    /**
     * 查询走访记录
     *
     * @param query
     * @return
     */
    @PostMapping("/eventvisitingtasks/list")
    R list(@RequestBody EventTasksQuery query);
 
    /**
     * 走访任务列表
     *
     * app走访任务列表
     * 
     * @param query
     * @return
     */
    @PostMapping("/eventvisitingtasks/appTaskList")
    R appTaskList(@RequestBody EventTasksQuery query);
 
    /**
     * 后台走访任务列表
     * 
     * @param query
     * @return
     */
    @PostMapping("/eventvisitingtasks/taskList")
    R taskList(@RequestBody EventTasksQuery query);
 
    /**
     * 导出
     *
     * @param query
     * @return
     */
    @PostMapping("/eventvisitingtasks/exportTaskList")
    List<EventVisitingTasksVO> exportTaskList(@RequestBody EventTasksQuery query);
 
    /**
     * 删除走访任务
     *
     * @param idDTO
     * @param communityId
     * @return
     */
    @PostMapping("/eventvisitingtasks/delete")
    R delete(@RequestBody IdDTO idDTO, @RequestParam("communityId") Long communityId);
 
    /**
     * 被走访人员列表
     *
     * @param query
     * @return
     */
    @PostMapping("/eventvisitingtasks/visitorList")
    R visitorList(@RequestBody EventVisitListQuery query);
 
    /**
     * 走访详情
     *
     * @param id
     * @return
     */
    @GetMapping("/eventvisitingtasks/detail/{id}")
    R detail(@PathVariable("id") Long id);
 
    /**
     * 撤销走访
     *
     * @param idDTO
     * @return
     */
    @PostMapping("/eventvisitingtasks/cancel")
    R cancel(@RequestBody IdDTO idDTO);
 
    /**
     * 恢复走访
     *
     * @param idDTO
     * @return
     */
    @PostMapping("/eventvisitingtasks/reset")
    R reset(@RequestBody IdDTO idDTO);
 
    /**
     * 新增走访
     *
     * @param idDTO
     * @param communityId
     * @param userId
     * @return
     */
    @PostMapping("/eventvisitingtasks/add")
    R addVisitingTask(@RequestBody IdDTO idDTO, @RequestParam("communityId") Long communityId,
        @RequestParam("userId") Long userId);
 
    /**
     * 开始走访
     *
     * @param id
     * @return
     */
    @PostMapping("/eventvisitingtasks/start")
    R start(@RequestParam("id") Long id, @RequestParam("userId") Long userId);
 
    /**
     * 完成走访记录
     *
     * @param taskCompleteDTO
     * @return
     */
    @PostMapping("/eventvisitingtasks/complete")
    R complete(@RequestBody EventVisitCompleteDTO taskCompleteDTO);
 
    /**
     * 查询市平台网格员列表
     * 
     * @return 市平台网格员列表
     */
    @GetMapping("/eventgridmemberrelation/lc/list")
    R gridMemberLcList();
 
    /**
     * 综治后台-添加网格员级联列表
     * 
     * @param memberCascadeAddDTO
     *            请求参数
     * @return 级联列表
     */
    @PostMapping("/eventgridmemberrelation/cascade/list")
    R gridMemberCascadeList(@RequestBody EventGridMemberCascadeAddDTO memberCascadeAddDTO);
 
    /**
     * 综治后台-查询所有市平台网格列表
     * 
     * @return 市平台网格列表
     */
    @GetMapping("/eventgriddata/lc/list")
    R getLcGridLists();
 
    /**
     * 首页查询网格级联列表
     * 
     * @param cascadeListDTO
     *            请求参数
     * @return 网格列表
     */
    @PostMapping("/map/getMapGridListsByApp")
    R getMapGridListsByApp(@RequestBody EventGridCascadeListDTO cascadeListDTO);
 
    /**
     * 首页查询网格级联列表2
     * 
     * @param userId
     *            用户id
     * @return 网格列表
     */
    @PostMapping("/map/getMapGridsListsByApp")
    R getMapGridsListsByApp(@RequestParam("userId") Long userId);
 
    /**
     * 绘制多边形统计数据
     * 
     * @param eventListDTO
     *            请求参数
     * @return 统计数据
     */
    @PostMapping("/screen/getCivilDrawList")
    R getCivilDrawList(@RequestBody ScreenDrawEventListDTO eventListDTO);
 
    /**
     * 新版绘制多边形统计数据
     * @param eventListDTO
     * @return
     */
    @PostMapping("/screen/getCivilDrawListNew")
    R getCivilDrawListNew(@RequestBody ScreenDrawEventListDTO eventListDTO);
 
    /**
     * 大屏-根据小区id查询小区统计人数
     * 
     * @param villageId
     *            小区id
     * @return 小区统计数据
     */
    @GetMapping("/screen/village/statistics")
    R civilVillageStatistics(@RequestParam("villageId") Long villageId);
 
    /**
     * 查询所有网格员工作汇总数据
     * 
     * @param statisticsAdminDTO
     *            请求参数
     * @return 网格员工作汇总数据
     */
    @PostMapping("/statistics/admin/gridMemberStatisticsAll")
    R gridMemberStatisticsAll(@RequestBody MemberStatisticsAdminDTO statisticsAdminDTO);
 
    /**
     * 定时任务-给上月已走访的人员创建定时任务
     * @return  执行结果
     */
    @PostMapping("/eventvisitingtasks/timedTaskVisitingJobHandler")
    R timedTaskVisitingJobHandler();
 
    /**
     * 查询社区网格员运动轨迹
     * @param communityId   社区id
     * @return  社区网格员运动轨迹
     */
    @GetMapping("/screen/member/trajectory")
    R getGridsMemberTrajectory(@RequestParam("communityId") Long communityId);
 
    /**
     * 西区大数据分析平台-综合治理栏
     * @return
     */
    @GetMapping("/screen/comprehensive/governance")
    R getComprehensiveGovernanceStatics();
 
    /**
     * 大屏-新根据小区id查询小区统计人数
     *
     * @param villageId
     *            小区id
     * @return 小区统计数据
     */
    @GetMapping("/screen/village/statistics-new")
    R civilVillageStatisticsNew(@RequestParam("villageId") Long villageId);
}