cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
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
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
package cn.ksource.beans;
 
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
 
import org.apache.commons.lang.StringUtils;
 
 
import cn.ksource.core.dao.BaseBean;
import cn.ksource.core.util.ConvertUtil;
import cn.ksource.core.util.StringUtil;
 
/**
 * 事件基本信息
 */
public class SC_WORKFLOW_INCIDENT_TEMPLATE extends BaseBean{
 
    public final static Map<String, String> KEYS = new HashMap<String, String>();
    private Map BEAN_VALUES = null;
    
    static {
        KEYS.put("id", "String");
        KEYS.put("order_code", "String");
        KEYS.put("template_name", "String");
        KEYS.put("name", "String");
        KEYS.put("descrip", "String");
        KEYS.put("happen_time", "Long");
        KEYS.put("first_category_name", "String");
        KEYS.put("first_category_id", "String");
        KEYS.put("second_category_id", "String");
        KEYS.put("second_category_name", "String");
        KEYS.put("third_category_id", "String");
        KEYS.put("third_category_name", "String");
        KEYS.put("priority_id", "String");
        KEYS.put("priority_name", "String");
        KEYS.put("influence_id", "String");
        KEYS.put("influence_name", "String");
        KEYS.put("sla_id", "String");
        KEYS.put("sla_name", "String");
        KEYS.put("customer_id", "String");
        KEYS.put("customer_name", "String");
        KEYS.put("keshi", "String");
        KEYS.put("contact_id", "String");
        KEYS.put("contact_name", "String");
        KEYS.put("contact_phone", "String");
        KEYS.put("apply_type_id", "String");
        KEYS.put("apply_type_name", "String");
        KEYS.put("apply_user_name", "String");
        KEYS.put("apply_user_phone", "String");
        KEYS.put("apply_time", "Long");
        KEYS.put("create_user_id", "String");
        KEYS.put("create_user_name", "String");
        KEYS.put("create_time", "Long");
        KEYS.put("type_id", "String");
        KEYS.put("type_name", "String");
        KEYS.put("source_id", "String");
        KEYS.put("source_name", "String");
        KEYS.put("state", "Integer");
        KEYS.put("merged_business_id", "String");
        KEYS.put("resolve_user_id", "String");
        KEYS.put("resolve_user_name", "String");
        KEYS.put("resolve_time", "Long");
        KEYS.put("resolve_type_id", "String");
        KEYS.put("resolve_type_name", "String");
        KEYS.put("resolve_role_id", "String");
        KEYS.put("resolve_role_name", "String");
        KEYS.put("resolve", "String");
        KEYS.put("suggest", "String");
        KEYS.put("flow_id", "String");
        KEYS.put("flow_name", "String");
        KEYS.put("request_answer_time", "Long");
        KEYS.put("request_deal_time", "Long");
        KEYS.put("answer_time", "Long");
        KEYS.put("answer_timeout", "Integer");
        KEYS.put("answer_use_time", "String");
        KEYS.put("answer_timeout_time", "Long");
        KEYS.put("deal_timeout", "Integer");
        KEYS.put("deal_use_time", "String");
        KEYS.put("deal_timeout_time", "Long");
        KEYS.put("sub_customer_name", "String");
        KEYS.put("sub_customer_id", "String");
        KEYS.put("create_type", "Integer");
        KEYS.put("questionid", "String");
        KEYS.put("knowledgeid", "String");
        KEYS.put("currentnode", "String");
        KEYS.put("applydept", "String");
        KEYS.put("ordertag", "String");
        KEYS.put("ywgroup", "String");
        KEYS.put("ishf", "Integer");
        KEYS.put("hfcg", "Integer");
        KEYS.put("create_end_time", "Long");
        KEYS.put("resolve_start_time", "Long");
        KEYS.put("hf_start_time", "Long");
        KEYS.put("hf_end_time", "Long");
        KEYS.put("yj_timeout_state", "Integer");
        KEYS.put("order_state", "String");
        KEYS.put("order_type", "String");
        KEYS.put("ims_ordercode", "String");
        KEYS.put("orderback_type", "String");
        KEYS.put("orderback_reason", "String");
    }
    public Map getColumnMap(){
        return KEYS;
    }
 
    private String id;
    private Boolean isSetted_id = false;;
    
    private String order_code;
    private Boolean isSetted_order_code = false;
    private String template_name;
    private Boolean isSetted_template_name = false;
    private String name;
    private Boolean isSetted_name = false;
    private String descrip;
    private Boolean isSetted_descrip = false;
    private Long happen_time;
    private Boolean isSetted_happen_time = false;
    private String first_category_name;
    private Boolean isSetted_first_category_name = false;
    private String first_category_id;
    private Boolean isSetted_first_category_id = false;
    private String second_category_id;
    private Boolean isSetted_second_category_id = false;
    private String second_category_name;
    private Boolean isSetted_second_category_name = false;
    private String third_category_id;
    private Boolean isSetted_third_category_id = false;
    private String third_category_name;
    private Boolean isSetted_third_category_name = false;
    private String priority_id;
    private Boolean isSetted_priority_id = false;
    private String priority_name;
    private Boolean isSetted_priority_name = false;
    private String influence_id;
    private Boolean isSetted_influence_id = false;
    private String influence_name;
    private Boolean isSetted_influence_name = false;
    private String sla_id;
    private Boolean isSetted_sla_id = false;
    private String sla_name;
    private Boolean isSetted_sla_name = false;
    private String customer_id;
    private Boolean isSetted_customer_id = false;
    private String customer_name;
    private Boolean isSetted_customer_name = false;
    private String keshi;
    private Boolean isSetted_keshi = false;
    private String contact_id;
    private Boolean isSetted_contact_id = false;
    private String contact_name;
    private Boolean isSetted_contact_name = false;
    private String contact_phone;
    private Boolean isSetted_contact_phone = false;
    private String apply_type_id;
    private Boolean isSetted_apply_type_id = false;
    private String apply_type_name;
    private Boolean isSetted_apply_type_name = false;
    private String apply_user_name;
    private Boolean isSetted_apply_user_name = false;
    private String apply_user_phone;
    private Boolean isSetted_apply_user_phone = false;
    private Long apply_time;
    private Boolean isSetted_apply_time = false;
    private String create_user_id;
    private Boolean isSetted_create_user_id = false;
    private String create_user_name;
    private Boolean isSetted_create_user_name = false;
    private Long create_time;
    private Boolean isSetted_create_time = false;
    private String type_id;
    private Boolean isSetted_type_id = false;
    private String type_name;
    private Boolean isSetted_type_name = false;
    private String source_id;
    private Boolean isSetted_source_id = false;
    private String source_name;
    private Boolean isSetted_source_name = false;
    private Integer state;
    private Boolean isSetted_state = false;
    private String merged_business_id;
    private Boolean isSetted_merged_business_id = false;
    private String resolve_user_id;
    private Boolean isSetted_resolve_user_id = false;
    private String resolve_user_name;
    private Boolean isSetted_resolve_user_name = false;
    private Long resolve_time;
    private Boolean isSetted_resolve_time = false;
    private String resolve_type_id;
    private Boolean isSetted_resolve_type_id = false;
    private String resolve_type_name;
    private Boolean isSetted_resolve_type_name = false;
    private String resolve_role_id;
    private Boolean isSetted_resolve_role_id = false;
    private String resolve_role_name;
    private Boolean isSetted_resolve_role_name = false;
    private String resolve;
    private Boolean isSetted_resolve = false;
    private String suggest;
    private Boolean isSetted_suggest = false;
    private String flow_id;
    private Boolean isSetted_flow_id = false;
    private String flow_name;
    private Boolean isSetted_flow_name = false;
    private Long request_answer_time;
    private Boolean isSetted_request_answer_time = false;
    private Long request_deal_time;
    private Boolean isSetted_request_deal_time = false;
    private Long answer_time;
    private Boolean isSetted_answer_time = false;
    private Integer answer_timeout;
    private Boolean isSetted_answer_timeout = false;
    private String answer_use_time;
    private Boolean isSetted_answer_use_time = false;
    private Long answer_timeout_time;
    private Boolean isSetted_answer_timeout_time = false;
    private Integer deal_timeout;
    private Boolean isSetted_deal_timeout = false;
    private String deal_use_time;
    private Boolean isSetted_deal_use_time = false;
    private Long deal_timeout_time;
    private Boolean isSetted_deal_timeout_time = false;
    private String sub_customer_name;
    private Boolean isSetted_sub_customer_name = false;
    private String sub_customer_id;
    private Boolean isSetted_sub_customer_id = false;
    private Integer create_type;
    private Boolean isSetted_create_type = false;
    private String questionid;
    private Boolean isSetted_questionid = false;
    private String knowledgeid;
    private Boolean isSetted_knowledgeid = false;
    private String currentnode;
    private Boolean isSetted_currentnode = false;
    private String applydept;
    private Boolean isSetted_applydept = false;
    private String ordertag;
    private Boolean isSetted_ordertag = false;
    private String ywgroup;
    private Boolean isSetted_ywgroup = false;
    private Integer ishf;
    private Boolean isSetted_ishf = false;
    private Integer hfcg;
    private Boolean isSetted_hfcg = false;
    private Long create_end_time;
    private Boolean isSetted_create_end_time = false;
    private Long resolve_start_time;
    private Boolean isSetted_resolve_start_time = false;
    private Long hf_start_time;
    private Boolean isSetted_hf_start_time = false;
    private Long hf_end_time;
    private Boolean isSetted_hf_end_time = false;
    private Integer yj_timeout_state;
    private Boolean isSetted_yj_timeout_state = false;
    private String order_state;
    private Boolean isSetted_order_state = false;
    private String order_type;
    private Boolean isSetted_order_type = false;
    private String ims_ordercode;
    private Boolean isSetted_ims_ordercode = false;
    private String orderback_type;
    private Boolean isSetted_orderback_type = false;
    private String orderback_reason;
    private Boolean isSetted_orderback_reason = false;
 
    private void initBeanValues(){
        BEAN_VALUES = new HashMap<String, Object>();
        BEAN_VALUES.put("id",id);
            BEAN_VALUES.put("order_code", null);
            BEAN_VALUES.put("template_name", null);
            BEAN_VALUES.put("name", null);
            BEAN_VALUES.put("descrip", null);
            BEAN_VALUES.put("happen_time", null);
            BEAN_VALUES.put("first_category_name", null);
            BEAN_VALUES.put("first_category_id", null);
            BEAN_VALUES.put("second_category_id", null);
            BEAN_VALUES.put("second_category_name", null);
            BEAN_VALUES.put("third_category_id", null);
            BEAN_VALUES.put("third_category_name", null);
            BEAN_VALUES.put("priority_id", null);
            BEAN_VALUES.put("priority_name", null);
            BEAN_VALUES.put("influence_id", null);
            BEAN_VALUES.put("influence_name", null);
            BEAN_VALUES.put("sla_id", null);
            BEAN_VALUES.put("sla_name", null);
            BEAN_VALUES.put("customer_id", null);
            BEAN_VALUES.put("customer_name", null);
            BEAN_VALUES.put("keshi", null);
            BEAN_VALUES.put("contact_id", null);
            BEAN_VALUES.put("contact_name", null);
            BEAN_VALUES.put("contact_phone", null);
            BEAN_VALUES.put("apply_type_id", null);
            BEAN_VALUES.put("apply_type_name", null);
            BEAN_VALUES.put("apply_user_name", null);
            BEAN_VALUES.put("apply_user_phone", null);
            BEAN_VALUES.put("apply_time", null);
            BEAN_VALUES.put("create_user_id", null);
            BEAN_VALUES.put("create_user_name", null);
            BEAN_VALUES.put("create_time", null);
            BEAN_VALUES.put("type_id", null);
            BEAN_VALUES.put("type_name", null);
            BEAN_VALUES.put("source_id", null);
            BEAN_VALUES.put("source_name", null);
            BEAN_VALUES.put("state", null);
            BEAN_VALUES.put("merged_business_id", null);
            BEAN_VALUES.put("resolve_user_id", null);
            BEAN_VALUES.put("resolve_user_name", null);
            BEAN_VALUES.put("resolve_time", null);
            BEAN_VALUES.put("resolve_type_id", null);
            BEAN_VALUES.put("resolve_type_name", null);
            BEAN_VALUES.put("resolve_role_id", null);
            BEAN_VALUES.put("resolve_role_name", null);
            BEAN_VALUES.put("resolve", null);
            BEAN_VALUES.put("suggest", null);
            BEAN_VALUES.put("flow_id", null);
            BEAN_VALUES.put("flow_name", null);
            BEAN_VALUES.put("request_answer_time", null);
            BEAN_VALUES.put("request_deal_time", null);
            BEAN_VALUES.put("answer_time", null);
            BEAN_VALUES.put("answer_timeout", null);
            BEAN_VALUES.put("answer_use_time", null);
            BEAN_VALUES.put("answer_timeout_time", null);
            BEAN_VALUES.put("deal_timeout", null);
            BEAN_VALUES.put("deal_use_time", null);
            BEAN_VALUES.put("deal_timeout_time", null);
            BEAN_VALUES.put("sub_customer_name", null);
            BEAN_VALUES.put("sub_customer_id", null);
            BEAN_VALUES.put("create_type", null);
            BEAN_VALUES.put("questionid", null);
            BEAN_VALUES.put("knowledgeid", null);
            BEAN_VALUES.put("currentnode", null);
            BEAN_VALUES.put("applydept", null);
            BEAN_VALUES.put("ordertag", null);
            BEAN_VALUES.put("ywgroup", null);
            BEAN_VALUES.put("ishf", null);
            BEAN_VALUES.put("hfcg", null);
            BEAN_VALUES.put("create_end_time", null);
            BEAN_VALUES.put("resolve_start_time", null);
            BEAN_VALUES.put("hf_start_time", null);
            BEAN_VALUES.put("hf_end_time", null);
            BEAN_VALUES.put("yj_timeout_state", null);
            BEAN_VALUES.put("order_state", null);
            BEAN_VALUES.put("order_type", null);
            BEAN_VALUES.put("ims_ordercode", null);
            BEAN_VALUES.put("orderback_type", null);
            BEAN_VALUES.put("orderback_reason", null);
    }
    
    public SC_WORKFLOW_INCIDENT_TEMPLATE() {
        initBeanValues();
    }
    
    public SC_WORKFLOW_INCIDENT_TEMPLATE(String id) {
        super();
        this.id = id;
        initBeanValues();
        BEAN_VALUES.put("id",id);
    }
 
    /**
     * 获取ID
     */
    public String getId() {
        return this.id;
    }
    /**
     * 设置ID
     */
    public SC_WORKFLOW_INCIDENT_TEMPLATE setId(String id) {
        this.id = id;
        this.isSetted_id = true;
        BEAN_VALUES.put("id",id);
        return this;
    }
    
    @Override
    public String getUpdateSql() {
        StringBuffer sBuffer = new StringBuffer("update SC_WORKFLOW_INCIDENT_TEMPLATE set ");
            if (isSetted_order_code) {
                sBuffer.append("order_code=:order_code,");
            }
            if (isSetted_template_name) {
                sBuffer.append("template_name=:template_name,");
            }
            if (isSetted_name) {
                sBuffer.append("name=:name,");
            }
            if (isSetted_descrip) {
                sBuffer.append("descrip=:descrip,");
            }
            if (isSetted_happen_time) {
                sBuffer.append("happen_time=:happen_time,");
            }
            if (isSetted_first_category_name) {
                sBuffer.append("first_category_name=:first_category_name,");
            }
            if (isSetted_first_category_id) {
                sBuffer.append("first_category_id=:first_category_id,");
            }
            if (isSetted_second_category_id) {
                sBuffer.append("second_category_id=:second_category_id,");
            }
            if (isSetted_second_category_name) {
                sBuffer.append("second_category_name=:second_category_name,");
            }
            if (isSetted_third_category_id) {
                sBuffer.append("third_category_id=:third_category_id,");
            }
            if (isSetted_third_category_name) {
                sBuffer.append("third_category_name=:third_category_name,");
            }
            if (isSetted_priority_id) {
                sBuffer.append("priority_id=:priority_id,");
            }
            if (isSetted_priority_name) {
                sBuffer.append("priority_name=:priority_name,");
            }
            if (isSetted_influence_id) {
                sBuffer.append("influence_id=:influence_id,");
            }
            if (isSetted_influence_name) {
                sBuffer.append("influence_name=:influence_name,");
            }
            if (isSetted_sla_id) {
                sBuffer.append("sla_id=:sla_id,");
            }
            if (isSetted_sla_name) {
                sBuffer.append("sla_name=:sla_name,");
            }
            if (isSetted_customer_id) {
                sBuffer.append("customer_id=:customer_id,");
            }
            if (isSetted_customer_name) {
                sBuffer.append("customer_name=:customer_name,");
            }
            if (isSetted_keshi) {
                sBuffer.append("keshi=:keshi,");
            }
            if (isSetted_contact_id) {
                sBuffer.append("contact_id=:contact_id,");
            }
            if (isSetted_contact_name) {
                sBuffer.append("contact_name=:contact_name,");
            }
            if (isSetted_contact_phone) {
                sBuffer.append("contact_phone=:contact_phone,");
            }
            if (isSetted_apply_type_id) {
                sBuffer.append("apply_type_id=:apply_type_id,");
            }
            if (isSetted_apply_type_name) {
                sBuffer.append("apply_type_name=:apply_type_name,");
            }
            if (isSetted_apply_user_name) {
                sBuffer.append("apply_user_name=:apply_user_name,");
            }
            if (isSetted_apply_user_phone) {
                sBuffer.append("apply_user_phone=:apply_user_phone,");
            }
            if (isSetted_apply_time) {
                sBuffer.append("apply_time=:apply_time,");
            }
            if (isSetted_create_user_id) {
                sBuffer.append("create_user_id=:create_user_id,");
            }
            if (isSetted_create_user_name) {
                sBuffer.append("create_user_name=:create_user_name,");
            }
            if (isSetted_create_time) {
                sBuffer.append("create_time=:create_time,");
            }
            if (isSetted_type_id) {
                sBuffer.append("type_id=:type_id,");
            }
            if (isSetted_type_name) {
                sBuffer.append("type_name=:type_name,");
            }
            if (isSetted_source_id) {
                sBuffer.append("source_id=:source_id,");
            }
            if (isSetted_source_name) {
                sBuffer.append("source_name=:source_name,");
            }
            if (isSetted_state) {
                sBuffer.append("state=:state,");
            }
            if (isSetted_merged_business_id) {
                sBuffer.append("merged_business_id=:merged_business_id,");
            }
            if (isSetted_resolve_user_id) {
                sBuffer.append("resolve_user_id=:resolve_user_id,");
            }
            if (isSetted_resolve_user_name) {
                sBuffer.append("resolve_user_name=:resolve_user_name,");
            }
            if (isSetted_resolve_time) {
                sBuffer.append("resolve_time=:resolve_time,");
            }
            if (isSetted_resolve_type_id) {
                sBuffer.append("resolve_type_id=:resolve_type_id,");
            }
            if (isSetted_resolve_type_name) {
                sBuffer.append("resolve_type_name=:resolve_type_name,");
            }
            if (isSetted_resolve_role_id) {
                sBuffer.append("resolve_role_id=:resolve_role_id,");
            }
            if (isSetted_resolve_role_name) {
                sBuffer.append("resolve_role_name=:resolve_role_name,");
            }
            if (isSetted_resolve) {
                sBuffer.append("resolve=:resolve,");
            }
            if (isSetted_suggest) {
                sBuffer.append("suggest=:suggest,");
            }
            if (isSetted_flow_id) {
                sBuffer.append("flow_id=:flow_id,");
            }
            if (isSetted_flow_name) {
                sBuffer.append("flow_name=:flow_name,");
            }
            if (isSetted_request_answer_time) {
                sBuffer.append("request_answer_time=:request_answer_time,");
            }
            if (isSetted_request_deal_time) {
                sBuffer.append("request_deal_time=:request_deal_time,");
            }
            if (isSetted_answer_time) {
                sBuffer.append("answer_time=:answer_time,");
            }
            if (isSetted_answer_timeout) {
                sBuffer.append("answer_timeout=:answer_timeout,");
            }
            if (isSetted_answer_use_time) {
                sBuffer.append("answer_use_time=:answer_use_time,");
            }
            if (isSetted_answer_timeout_time) {
                sBuffer.append("answer_timeout_time=:answer_timeout_time,");
            }
            if (isSetted_deal_timeout) {
                sBuffer.append("deal_timeout=:deal_timeout,");
            }
            if (isSetted_deal_use_time) {
                sBuffer.append("deal_use_time=:deal_use_time,");
            }
            if (isSetted_deal_timeout_time) {
                sBuffer.append("deal_timeout_time=:deal_timeout_time,");
            }
            if (isSetted_sub_customer_name) {
                sBuffer.append("sub_customer_name=:sub_customer_name,");
            }
            if (isSetted_sub_customer_id) {
                sBuffer.append("sub_customer_id=:sub_customer_id,");
            }
            if (isSetted_create_type) {
                sBuffer.append("create_type=:create_type,");
            }
            if (isSetted_questionid) {
                sBuffer.append("questionid=:questionid,");
            }
            if (isSetted_knowledgeid) {
                sBuffer.append("knowledgeid=:knowledgeid,");
            }
            if (isSetted_currentnode) {
                sBuffer.append("currentnode=:currentnode,");
            }
            if (isSetted_applydept) {
                sBuffer.append("applydept=:applydept,");
            }
            if (isSetted_ordertag) {
                sBuffer.append("ordertag=:ordertag,");
            }
            if (isSetted_ywgroup) {
                sBuffer.append("ywgroup=:ywgroup,");
            }
            if (isSetted_ishf) {
                sBuffer.append("ishf=:ishf,");
            }
            if (isSetted_hfcg) {
                sBuffer.append("hfcg=:hfcg,");
            }
            if (isSetted_create_end_time) {
                sBuffer.append("create_end_time=:create_end_time,");
            }
            if (isSetted_resolve_start_time) {
                sBuffer.append("resolve_start_time=:resolve_start_time,");
            }
            if (isSetted_hf_start_time) {
                sBuffer.append("hf_start_time=:hf_start_time,");
            }
            if (isSetted_hf_end_time) {
                sBuffer.append("hf_end_time=:hf_end_time,");
            }
            if (isSetted_yj_timeout_state) {
                sBuffer.append("yj_timeout_state=:yj_timeout_state,");
            }
            if (isSetted_order_state) {
                sBuffer.append("order_state=:order_state,");
            }
            if (isSetted_order_type) {
                sBuffer.append("order_type=:order_type,");
            }
            if (isSetted_ims_ordercode) {
                sBuffer.append("ims_ordercode=:ims_ordercode,");
            }
            if (isSetted_orderback_type) {
                sBuffer.append("orderback_type=:orderback_type,");
            }
            if (isSetted_orderback_reason) {
                sBuffer.append("orderback_reason=:orderback_reason,");
            }
        String sql = sBuffer.toString();
        return StringUtils.removeEnd(sql, ",") + " where id=:id";
    }
    
    
    @Override
    public String getInsertSql() {
        StringBuffer sBuffer = new StringBuffer("insert into SC_WORKFLOW_INCIDENT_TEMPLATE(");
        StringBuffer fileds = new StringBuffer("id,");
        StringBuffer values = new StringBuffer(":id,");        
            fileds.append("order_code,");
            values.append(":order_code,");
            fileds.append("template_name,");
            values.append(":template_name,");
            fileds.append("name,");
            values.append(":name,");
            fileds.append("descrip,");
            values.append(":descrip,");
            fileds.append("happen_time,");
            values.append(":happen_time,");
            fileds.append("first_category_name,");
            values.append(":first_category_name,");
            fileds.append("first_category_id,");
            values.append(":first_category_id,");
            fileds.append("second_category_id,");
            values.append(":second_category_id,");
            fileds.append("second_category_name,");
            values.append(":second_category_name,");
            fileds.append("third_category_id,");
            values.append(":third_category_id,");
            fileds.append("third_category_name,");
            values.append(":third_category_name,");
            fileds.append("priority_id,");
            values.append(":priority_id,");
            fileds.append("priority_name,");
            values.append(":priority_name,");
            fileds.append("influence_id,");
            values.append(":influence_id,");
            fileds.append("influence_name,");
            values.append(":influence_name,");
            fileds.append("sla_id,");
            values.append(":sla_id,");
            fileds.append("sla_name,");
            values.append(":sla_name,");
            fileds.append("customer_id,");
            values.append(":customer_id,");
            fileds.append("customer_name,");
            values.append(":customer_name,");
            fileds.append("keshi,");
            values.append(":keshi,");
            fileds.append("contact_id,");
            values.append(":contact_id,");
            fileds.append("contact_name,");
            values.append(":contact_name,");
            fileds.append("contact_phone,");
            values.append(":contact_phone,");
            fileds.append("apply_type_id,");
            values.append(":apply_type_id,");
            fileds.append("apply_type_name,");
            values.append(":apply_type_name,");
            fileds.append("apply_user_name,");
            values.append(":apply_user_name,");
            fileds.append("apply_user_phone,");
            values.append(":apply_user_phone,");
            fileds.append("apply_time,");
            values.append(":apply_time,");
            fileds.append("create_user_id,");
            values.append(":create_user_id,");
            fileds.append("create_user_name,");
            values.append(":create_user_name,");
            fileds.append("create_time,");
            values.append(":create_time,");
            fileds.append("type_id,");
            values.append(":type_id,");
            fileds.append("type_name,");
            values.append(":type_name,");
            fileds.append("source_id,");
            values.append(":source_id,");
            fileds.append("source_name,");
            values.append(":source_name,");
            fileds.append("state,");
            values.append(":state,");
            fileds.append("merged_business_id,");
            values.append(":merged_business_id,");
            fileds.append("resolve_user_id,");
            values.append(":resolve_user_id,");
            fileds.append("resolve_user_name,");
            values.append(":resolve_user_name,");
            fileds.append("resolve_time,");
            values.append(":resolve_time,");
            fileds.append("resolve_type_id,");
            values.append(":resolve_type_id,");
            fileds.append("resolve_type_name,");
            values.append(":resolve_type_name,");
            fileds.append("resolve_role_id,");
            values.append(":resolve_role_id,");
            fileds.append("resolve_role_name,");
            values.append(":resolve_role_name,");
            fileds.append("resolve,");
            values.append(":resolve,");
            fileds.append("suggest,");
            values.append(":suggest,");
            fileds.append("flow_id,");
            values.append(":flow_id,");
            fileds.append("flow_name,");
            values.append(":flow_name,");
            fileds.append("request_answer_time,");
            values.append(":request_answer_time,");
            fileds.append("request_deal_time,");
            values.append(":request_deal_time,");
            fileds.append("answer_time,");
            values.append(":answer_time,");
            fileds.append("answer_timeout,");
            values.append(":answer_timeout,");
            fileds.append("answer_use_time,");
            values.append(":answer_use_time,");
            fileds.append("answer_timeout_time,");
            values.append(":answer_timeout_time,");
            fileds.append("deal_timeout,");
            values.append(":deal_timeout,");
            fileds.append("deal_use_time,");
            values.append(":deal_use_time,");
            fileds.append("deal_timeout_time,");
            values.append(":deal_timeout_time,");
            fileds.append("sub_customer_name,");
            values.append(":sub_customer_name,");
            fileds.append("sub_customer_id,");
            values.append(":sub_customer_id,");
            fileds.append("create_type,");
            values.append(":create_type,");
            fileds.append("questionid,");
            values.append(":questionid,");
            fileds.append("knowledgeid,");
            values.append(":knowledgeid,");
            fileds.append("currentnode,");
            values.append(":currentnode,");
            fileds.append("applydept,");
            values.append(":applydept,");
            fileds.append("ordertag,");
            values.append(":ordertag,");
            fileds.append("ywgroup,");
            values.append(":ywgroup,");
            fileds.append("ishf,");
            values.append(":ishf,");
            fileds.append("hfcg,");
            values.append(":hfcg,");
            fileds.append("create_end_time,");
            values.append(":create_end_time,");
            fileds.append("resolve_start_time,");
            values.append(":resolve_start_time,");
            fileds.append("hf_start_time,");
            values.append(":hf_start_time,");
            fileds.append("hf_end_time,");
            values.append(":hf_end_time,");
            fileds.append("yj_timeout_state,");
            values.append(":yj_timeout_state,");
            fileds.append("order_state,");
            values.append(":order_state,");
            fileds.append("order_type,");
            values.append(":order_type,");
            fileds.append("ims_ordercode,");
            values.append(":ims_ordercode,");
            fileds.append("orderback_type,");
            values.append(":orderback_type,");
            fileds.append("orderback_reason,");
            values.append(":orderback_reason,");
        sBuffer.append(StringUtils.removeEnd(fileds.toString(), ",") + ") values("+StringUtils.removeEnd(values.toString(), ",")+")");
        return sBuffer.toString();
    }
    
 
        /**
         * 获取工单编码<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getOrder_code() {
            return order_code;
        }
        /**
         * 设置工单编码<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setOrder_code(String order_code) {
            this.order_code = order_code;
            this.isSetted_order_code = true;
            BEAN_VALUES.put("order_code",order_code);
            return this;
        }
        /**
         * 获取<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getTemplate_name() {
            return template_name;
        }
        /**
         * 设置<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setTemplate_name(String template_name) {
            this.template_name = template_name;
            this.isSetted_template_name = true;
            BEAN_VALUES.put("template_name",template_name);
            return this;
        }
        /**
         * 获取事件名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getName() {
            return name;
        }
        /**
         * 设置事件名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setName(String name) {
            this.name = name;
            this.isSetted_name = true;
            BEAN_VALUES.put("name",name);
            return this;
        }
        /**
         * 获取事件描述<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getDescrip() {
            return descrip;
        }
        /**
         * 设置事件描述<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setDescrip(String descrip) {
            this.descrip = descrip;
            this.isSetted_descrip = true;
            BEAN_VALUES.put("descrip",descrip);
            return this;
        }
        /**
         * 获取事件发生时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getHappen_time() {
            return happen_time;
        }
        /**
         * 设置事件发生时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setHappen_time(Long happen_time) {
            this.happen_time = happen_time;
            this.isSetted_happen_time = true;
            BEAN_VALUES.put("happen_time",happen_time);
            return this;
        }
        /**
         * 获取服务目录一级名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getFirst_category_name() {
            return first_category_name;
        }
        /**
         * 设置服务目录一级名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setFirst_category_name(String first_category_name) {
            this.first_category_name = first_category_name;
            this.isSetted_first_category_name = true;
            BEAN_VALUES.put("first_category_name",first_category_name);
            return this;
        }
        /**
         * 获取服务目录一级编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getFirst_category_id() {
            return first_category_id;
        }
        /**
         * 设置服务目录一级编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setFirst_category_id(String first_category_id) {
            this.first_category_id = first_category_id;
            this.isSetted_first_category_id = true;
            BEAN_VALUES.put("first_category_id",first_category_id);
            return this;
        }
        /**
         * 获取服务目录二级编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSecond_category_id() {
            return second_category_id;
        }
        /**
         * 设置服务目录二级编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSecond_category_id(String second_category_id) {
            this.second_category_id = second_category_id;
            this.isSetted_second_category_id = true;
            BEAN_VALUES.put("second_category_id",second_category_id);
            return this;
        }
        /**
         * 获取服务目录二级名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSecond_category_name() {
            return second_category_name;
        }
        /**
         * 设置服务目录二级名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSecond_category_name(String second_category_name) {
            this.second_category_name = second_category_name;
            this.isSetted_second_category_name = true;
            BEAN_VALUES.put("second_category_name",second_category_name);
            return this;
        }
        /**
         * 获取服务目录三级编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getThird_category_id() {
            return third_category_id;
        }
        /**
         * 设置服务目录三级编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setThird_category_id(String third_category_id) {
            this.third_category_id = third_category_id;
            this.isSetted_third_category_id = true;
            BEAN_VALUES.put("third_category_id",third_category_id);
            return this;
        }
        /**
         * 获取服务目录三级名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getThird_category_name() {
            return third_category_name;
        }
        /**
         * 设置服务目录三级名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setThird_category_name(String third_category_name) {
            this.third_category_name = third_category_name;
            this.isSetted_third_category_name = true;
            BEAN_VALUES.put("third_category_name",third_category_name);
            return this;
        }
        /**
         * 获取事件优先级编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getPriority_id() {
            return priority_id;
        }
        /**
         * 设置事件优先级编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setPriority_id(String priority_id) {
            this.priority_id = priority_id;
            this.isSetted_priority_id = true;
            BEAN_VALUES.put("priority_id",priority_id);
            return this;
        }
        /**
         * 获取事件优先级名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getPriority_name() {
            return priority_name;
        }
        /**
         * 设置事件优先级名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setPriority_name(String priority_name) {
            this.priority_name = priority_name;
            this.isSetted_priority_name = true;
            BEAN_VALUES.put("priority_name",priority_name);
            return this;
        }
        /**
         * 获取事件影响度编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getInfluence_id() {
            return influence_id;
        }
        /**
         * 设置事件影响度编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setInfluence_id(String influence_id) {
            this.influence_id = influence_id;
            this.isSetted_influence_id = true;
            BEAN_VALUES.put("influence_id",influence_id);
            return this;
        }
        /**
         * 获取事件影响度名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getInfluence_name() {
            return influence_name;
        }
        /**
         * 设置事件影响度名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setInfluence_name(String influence_name) {
            this.influence_name = influence_name;
            this.isSetted_influence_name = true;
            BEAN_VALUES.put("influence_name",influence_name);
            return this;
        }
        /**
         * 获取SLA编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSla_id() {
            return sla_id;
        }
        /**
         * 设置SLA编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSla_id(String sla_id) {
            this.sla_id = sla_id;
            this.isSetted_sla_id = true;
            BEAN_VALUES.put("sla_id",sla_id);
            return this;
        }
        /**
         * 获取SLA名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSla_name() {
            return sla_name;
        }
        /**
         * 设置SLA名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSla_name(String sla_name) {
            this.sla_name = sla_name;
            this.isSetted_sla_name = true;
            BEAN_VALUES.put("sla_name",sla_name);
            return this;
        }
        /**
         * 获取客户编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getCustomer_id() {
            return customer_id;
        }
        /**
         * 设置客户编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCustomer_id(String customer_id) {
            this.customer_id = customer_id;
            this.isSetted_customer_id = true;
            BEAN_VALUES.put("customer_id",customer_id);
            return this;
        }
        /**
         * 获取客户名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getCustomer_name() {
            return customer_name;
        }
        /**
         * 设置客户名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCustomer_name(String customer_name) {
            this.customer_name = customer_name;
            this.isSetted_customer_name = true;
            BEAN_VALUES.put("customer_name",customer_name);
            return this;
        }
        /**
         * 获取科室<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getKeshi() {
            return keshi;
        }
        /**
         * 设置科室<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setKeshi(String keshi) {
            this.keshi = keshi;
            this.isSetted_keshi = true;
            BEAN_VALUES.put("keshi",keshi);
            return this;
        }
        /**
         * 获取客户联系人编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getContact_id() {
            return contact_id;
        }
        /**
         * 设置客户联系人编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setContact_id(String contact_id) {
            this.contact_id = contact_id;
            this.isSetted_contact_id = true;
            BEAN_VALUES.put("contact_id",contact_id);
            return this;
        }
        /**
         * 获取客户联系人名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getContact_name() {
            return contact_name;
        }
        /**
         * 设置客户联系人名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setContact_name(String contact_name) {
            this.contact_name = contact_name;
            this.isSetted_contact_name = true;
            BEAN_VALUES.put("contact_name",contact_name);
            return this;
        }
        /**
         * 获取客户联系方式<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getContact_phone() {
            return contact_phone;
        }
        /**
         * 设置客户联系方式<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setContact_phone(String contact_phone) {
            this.contact_phone = contact_phone;
            this.isSetted_contact_phone = true;
            BEAN_VALUES.put("contact_phone",contact_phone);
            return this;
        }
        /**
         * 获取申报方式编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getApply_type_id() {
            return apply_type_id;
        }
        /**
         * 设置申报方式编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setApply_type_id(String apply_type_id) {
            this.apply_type_id = apply_type_id;
            this.isSetted_apply_type_id = true;
            BEAN_VALUES.put("apply_type_id",apply_type_id);
            return this;
        }
        /**
         * 获取申报方式名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getApply_type_name() {
            return apply_type_name;
        }
        /**
         * 设置申报方式名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setApply_type_name(String apply_type_name) {
            this.apply_type_name = apply_type_name;
            this.isSetted_apply_type_name = true;
            BEAN_VALUES.put("apply_type_name",apply_type_name);
            return this;
        }
        /**
         * 获取申报人姓名<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getApply_user_name() {
            return apply_user_name;
        }
        /**
         * 设置申报人姓名<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setApply_user_name(String apply_user_name) {
            this.apply_user_name = apply_user_name;
            this.isSetted_apply_user_name = true;
            BEAN_VALUES.put("apply_user_name",apply_user_name);
            return this;
        }
        /**
         * 获取申报人联系方式<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getApply_user_phone() {
            return apply_user_phone;
        }
        /**
         * 设置申报人联系方式<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setApply_user_phone(String apply_user_phone) {
            this.apply_user_phone = apply_user_phone;
            this.isSetted_apply_user_phone = true;
            BEAN_VALUES.put("apply_user_phone",apply_user_phone);
            return this;
        }
        /**
         * 获取申报时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getApply_time() {
            return apply_time;
        }
        /**
         * 设置申报时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setApply_time(Long apply_time) {
            this.apply_time = apply_time;
            this.isSetted_apply_time = true;
            BEAN_VALUES.put("apply_time",apply_time);
            return this;
        }
        /**
         * 获取创建人编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getCreate_user_id() {
            return create_user_id;
        }
        /**
         * 设置创建人编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCreate_user_id(String create_user_id) {
            this.create_user_id = create_user_id;
            this.isSetted_create_user_id = true;
            BEAN_VALUES.put("create_user_id",create_user_id);
            return this;
        }
        /**
         * 获取创建人名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getCreate_user_name() {
            return create_user_name;
        }
        /**
         * 设置创建人名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCreate_user_name(String create_user_name) {
            this.create_user_name = create_user_name;
            this.isSetted_create_user_name = true;
            BEAN_VALUES.put("create_user_name",create_user_name);
            return this;
        }
        /**
         * 获取创建时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getCreate_time() {
            return create_time;
        }
        /**
         * 设置创建时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCreate_time(Long create_time) {
            this.create_time = create_time;
            this.isSetted_create_time = true;
            BEAN_VALUES.put("create_time",create_time);
            return this;
        }
        /**
         * 获取事件类型编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getType_id() {
            return type_id;
        }
        /**
         * 设置事件类型编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setType_id(String type_id) {
            this.type_id = type_id;
            this.isSetted_type_id = true;
            BEAN_VALUES.put("type_id",type_id);
            return this;
        }
        /**
         * 获取事件类型名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getType_name() {
            return type_name;
        }
        /**
         * 设置事件类型名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setType_name(String type_name) {
            this.type_name = type_name;
            this.isSetted_type_name = true;
            BEAN_VALUES.put("type_name",type_name);
            return this;
        }
        /**
         * 获取事件来源编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSource_id() {
            return source_id;
        }
        /**
         * 设置事件来源编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSource_id(String source_id) {
            this.source_id = source_id;
            this.isSetted_source_id = true;
            BEAN_VALUES.put("source_id",source_id);
            return this;
        }
        /**
         * 获取事件来源名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSource_name() {
            return source_name;
        }
        /**
         * 设置事件来源名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSource_name(String source_name) {
            this.source_name = source_name;
            this.isSetted_source_name = true;
            BEAN_VALUES.put("source_name",source_name);
            return this;
        }
        /**
         * 获取事件状态(-1=分配到服务台;0=服务台处理中;1=分配到远程技术支持;2=远程技术支持处理中;3=分配到一线;4=一线处理中;5=分配到二线;6=二线处理中;7=分配到三线;8=三线处理中;9=已解决;10=已关闭;11=已评价)<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getState() {
            return state;
        }
        /**
         * 设置事件状态(-1=分配到服务台;0=服务台处理中;1=分配到远程技术支持;2=远程技术支持处理中;3=分配到一线;4=一线处理中;5=分配到二线;6=二线处理中;7=分配到三线;8=三线处理中;9=已解决;10=已关闭;11=已评价)<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setState(Integer state) {
            this.state = state;
            this.isSetted_state = true;
            BEAN_VALUES.put("state",state);
            return this;
        }
        /**
         * 获取目标事件业务编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getMerged_business_id() {
            return merged_business_id;
        }
        /**
         * 设置目标事件业务编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setMerged_business_id(String merged_business_id) {
            this.merged_business_id = merged_business_id;
            this.isSetted_merged_business_id = true;
            BEAN_VALUES.put("merged_business_id",merged_business_id);
            return this;
        }
        /**
         * 获取解决人编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve_user_id() {
            return resolve_user_id;
        }
        /**
         * 设置解决人编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_user_id(String resolve_user_id) {
            this.resolve_user_id = resolve_user_id;
            this.isSetted_resolve_user_id = true;
            BEAN_VALUES.put("resolve_user_id",resolve_user_id);
            return this;
        }
        /**
         * 获取解决人姓名<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve_user_name() {
            return resolve_user_name;
        }
        /**
         * 设置解决人姓名<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_user_name(String resolve_user_name) {
            this.resolve_user_name = resolve_user_name;
            this.isSetted_resolve_user_name = true;
            BEAN_VALUES.put("resolve_user_name",resolve_user_name);
            return this;
        }
        /**
         * 获取解决时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getResolve_time() {
            return resolve_time;
        }
        /**
         * 设置解决时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_time(Long resolve_time) {
            this.resolve_time = resolve_time;
            this.isSetted_resolve_time = true;
            BEAN_VALUES.put("resolve_time",resolve_time);
            return this;
        }
        /**
         * 获取解决方式编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve_type_id() {
            return resolve_type_id;
        }
        /**
         * 设置解决方式编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_type_id(String resolve_type_id) {
            this.resolve_type_id = resolve_type_id;
            this.isSetted_resolve_type_id = true;
            BEAN_VALUES.put("resolve_type_id",resolve_type_id);
            return this;
        }
        /**
         * 获取解决方式名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve_type_name() {
            return resolve_type_name;
        }
        /**
         * 设置解决方式名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_type_name(String resolve_type_name) {
            this.resolve_type_name = resolve_type_name;
            this.isSetted_resolve_type_name = true;
            BEAN_VALUES.put("resolve_type_name",resolve_type_name);
            return this;
        }
        /**
         * 获取解决人角色编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve_role_id() {
            return resolve_role_id;
        }
        /**
         * 设置解决人角色编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_role_id(String resolve_role_id) {
            this.resolve_role_id = resolve_role_id;
            this.isSetted_resolve_role_id = true;
            BEAN_VALUES.put("resolve_role_id",resolve_role_id);
            return this;
        }
        /**
         * 获取解决人角色名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve_role_name() {
            return resolve_role_name;
        }
        /**
         * 设置解决人角色名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_role_name(String resolve_role_name) {
            this.resolve_role_name = resolve_role_name;
            this.isSetted_resolve_role_name = true;
            BEAN_VALUES.put("resolve_role_name",resolve_role_name);
            return this;
        }
        /**
         * 获取解决方案<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getResolve() {
            return resolve;
        }
        /**
         * 设置解决方案<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve(String resolve) {
            this.resolve = resolve;
            this.isSetted_resolve = true;
            BEAN_VALUES.put("resolve",resolve);
            return this;
        }
        /**
         * 获取优化建议<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSuggest() {
            return suggest;
        }
        /**
         * 设置优化建议<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSuggest(String suggest) {
            this.suggest = suggest;
            this.isSetted_suggest = true;
            BEAN_VALUES.put("suggest",suggest);
            return this;
        }
        /**
         * 获取流程编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getFlow_id() {
            return flow_id;
        }
        /**
         * 设置流程编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setFlow_id(String flow_id) {
            this.flow_id = flow_id;
            this.isSetted_flow_id = true;
            BEAN_VALUES.put("flow_id",flow_id);
            return this;
        }
        /**
         * 获取流程名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getFlow_name() {
            return flow_name;
        }
        /**
         * 设置流程名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setFlow_name(String flow_name) {
            this.flow_name = flow_name;
            this.isSetted_flow_name = true;
            BEAN_VALUES.put("flow_name",flow_name);
            return this;
        }
        /**
         * 获取要求响应时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getRequest_answer_time() {
            return request_answer_time;
        }
        /**
         * 设置要求响应时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setRequest_answer_time(Long request_answer_time) {
            this.request_answer_time = request_answer_time;
            this.isSetted_request_answer_time = true;
            BEAN_VALUES.put("request_answer_time",request_answer_time);
            return this;
        }
        /**
         * 获取要求解决时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getRequest_deal_time() {
            return request_deal_time;
        }
        /**
         * 设置要求解决时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setRequest_deal_time(Long request_deal_time) {
            this.request_deal_time = request_deal_time;
            this.isSetted_request_deal_time = true;
            BEAN_VALUES.put("request_deal_time",request_deal_time);
            return this;
        }
        /**
         * 获取第一次响应时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getAnswer_time() {
            return answer_time;
        }
        /**
         * 设置第一次响应时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setAnswer_time(Long answer_time) {
            this.answer_time = answer_time;
            this.isSetted_answer_time = true;
            BEAN_VALUES.put("answer_time",answer_time);
            return this;
        }
        /**
         * 获取响应超时(1=是;2=否)<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getAnswer_timeout() {
            return answer_timeout;
        }
        /**
         * 设置响应超时(1=是;2=否)<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setAnswer_timeout(Integer answer_timeout) {
            this.answer_timeout = answer_timeout;
            this.isSetted_answer_timeout = true;
            BEAN_VALUES.put("answer_timeout",answer_timeout);
            return this;
        }
        /**
         * 获取响应耗时<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getAnswer_use_time() {
            return answer_use_time;
        }
        /**
         * 设置响应耗时<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setAnswer_use_time(String answer_use_time) {
            this.answer_use_time = answer_use_time;
            this.isSetted_answer_use_time = true;
            BEAN_VALUES.put("answer_use_time",answer_use_time);
            return this;
        }
        /**
         * 获取响应超时时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getAnswer_timeout_time() {
            return answer_timeout_time;
        }
        /**
         * 设置响应超时时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setAnswer_timeout_time(Long answer_timeout_time) {
            this.answer_timeout_time = answer_timeout_time;
            this.isSetted_answer_timeout_time = true;
            BEAN_VALUES.put("answer_timeout_time",answer_timeout_time);
            return this;
        }
        /**
         * 获取处理超时(1=是;2=否)<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getDeal_timeout() {
            return deal_timeout;
        }
        /**
         * 设置处理超时(1=是;2=否)<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setDeal_timeout(Integer deal_timeout) {
            this.deal_timeout = deal_timeout;
            this.isSetted_deal_timeout = true;
            BEAN_VALUES.put("deal_timeout",deal_timeout);
            return this;
        }
        /**
         * 获取处理耗时<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getDeal_use_time() {
            return deal_use_time;
        }
        /**
         * 设置处理耗时<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setDeal_use_time(String deal_use_time) {
            this.deal_use_time = deal_use_time;
            this.isSetted_deal_use_time = true;
            BEAN_VALUES.put("deal_use_time",deal_use_time);
            return this;
        }
        /**
         * 获取处理超时时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getDeal_timeout_time() {
            return deal_timeout_time;
        }
        /**
         * 设置处理超时时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setDeal_timeout_time(Long deal_timeout_time) {
            this.deal_timeout_time = deal_timeout_time;
            this.isSetted_deal_timeout_time = true;
            BEAN_VALUES.put("deal_timeout_time",deal_timeout_time);
            return this;
        }
        /**
         * 获取下级单位名称<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSub_customer_name() {
            return sub_customer_name;
        }
        /**
         * 设置下级单位名称<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSub_customer_name(String sub_customer_name) {
            this.sub_customer_name = sub_customer_name;
            this.isSetted_sub_customer_name = true;
            BEAN_VALUES.put("sub_customer_name",sub_customer_name);
            return this;
        }
        /**
         * 获取下级单位编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getSub_customer_id() {
            return sub_customer_id;
        }
        /**
         * 设置下级单位编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setSub_customer_id(String sub_customer_id) {
            this.sub_customer_id = sub_customer_id;
            this.isSetted_sub_customer_id = true;
            BEAN_VALUES.put("sub_customer_id",sub_customer_id);
            return this;
        }
        /**
         * 获取创建者类型【1:服务台  2:工程师  3:驻场运维升级】<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getCreate_type() {
            return create_type;
        }
        /**
         * 设置创建者类型【1:服务台  2:工程师  3:驻场运维升级】<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCreate_type(Integer create_type) {
            this.create_type = create_type;
            this.isSetted_create_type = true;
            BEAN_VALUES.put("create_type",create_type);
            return this;
        }
        /**
         * 获取转问题(问题工单ID )<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getQuestionid() {
            return questionid;
        }
        /**
         * 设置转问题(问题工单ID )<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setQuestionid(String questionid) {
            this.questionid = questionid;
            this.isSetted_questionid = true;
            BEAN_VALUES.put("questionid",questionid);
            return this;
        }
        /**
         * 获取转知识(知识工单ID )<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getKnowledgeid() {
            return knowledgeid;
        }
        /**
         * 设置转知识(知识工单ID )<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setKnowledgeid(String knowledgeid) {
            this.knowledgeid = knowledgeid;
            this.isSetted_knowledgeid = true;
            BEAN_VALUES.put("knowledgeid",knowledgeid);
            return this;
        }
        /**
         * 获取当前环节<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getCurrentnode() {
            return currentnode;
        }
        /**
         * 设置当前环节<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCurrentnode(String currentnode) {
            this.currentnode = currentnode;
            this.isSetted_currentnode = true;
            BEAN_VALUES.put("currentnode",currentnode);
            return this;
        }
        /**
         * 获取申请人单位<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getApplydept() {
            return applydept;
        }
        /**
         * 设置申请人单位<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setApplydept(String applydept) {
            this.applydept = applydept;
            this.isSetted_applydept = true;
            BEAN_VALUES.put("applydept",applydept);
            return this;
        }
        /**
         * 获取工单标签<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getOrdertag() {
            return ordertag;
        }
        /**
         * 设置工单标签<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setOrdertag(String ordertag) {
            this.ordertag = ordertag;
            this.isSetted_ordertag = true;
            BEAN_VALUES.put("ordertag",ordertag);
            return this;
        }
        /**
         * 获取运维组<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getYwgroup() {
            return ywgroup;
        }
        /**
         * 设置运维组<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setYwgroup(String ywgroup) {
            this.ywgroup = ywgroup;
            this.isSetted_ywgroup = true;
            BEAN_VALUES.put("ywgroup",ywgroup);
            return this;
        }
        /**
         * 获取是否回访(1:是;0:否)<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getIshf() {
            return ishf;
        }
        /**
         * 设置是否回访(1:是;0:否)<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setIshf(Integer ishf) {
            this.ishf = ishf;
            this.isSetted_ishf = true;
            BEAN_VALUES.put("ishf",ishf);
            return this;
        }
        /**
         * 获取回访成功(1:是;0:否)<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getHfcg() {
            return hfcg;
        }
        /**
         * 设置回访成功(1:是;0:否)<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setHfcg(Integer hfcg) {
            this.hfcg = hfcg;
            this.isSetted_hfcg = true;
            BEAN_VALUES.put("hfcg",hfcg);
            return this;
        }
        /**
         * 获取创建结束时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getCreate_end_time() {
            return create_end_time;
        }
        /**
         * 设置创建结束时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setCreate_end_time(Long create_end_time) {
            this.create_end_time = create_end_time;
            this.isSetted_create_end_time = true;
            BEAN_VALUES.put("create_end_time",create_end_time);
            return this;
        }
        /**
         * 获取处理开始时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getResolve_start_time() {
            return resolve_start_time;
        }
        /**
         * 设置处理开始时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setResolve_start_time(Long resolve_start_time) {
            this.resolve_start_time = resolve_start_time;
            this.isSetted_resolve_start_time = true;
            BEAN_VALUES.put("resolve_start_time",resolve_start_time);
            return this;
        }
        /**
         * 获取回访开始时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getHf_start_time() {
            return hf_start_time;
        }
        /**
         * 设置回访开始时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setHf_start_time(Long hf_start_time) {
            this.hf_start_time = hf_start_time;
            this.isSetted_hf_start_time = true;
            BEAN_VALUES.put("hf_start_time",hf_start_time);
            return this;
        }
        /**
         * 获取回访结束时间<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Long getHf_end_time() {
            return hf_end_time;
        }
        /**
         * 设置回访结束时间<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setHf_end_time(Long hf_end_time) {
            this.hf_end_time = hf_end_time;
            this.isSetted_hf_end_time = true;
            BEAN_VALUES.put("hf_end_time",hf_end_time);
            return this;
        }
        /**
         * 获取预警超期状态<BR/>
         * 䣺2017-35-12 hh:05
         */
        public Integer getYj_timeout_state() {
            return yj_timeout_state;
        }
        /**
         * 设置预警超期状态<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setYj_timeout_state(Integer yj_timeout_state) {
            this.yj_timeout_state = yj_timeout_state;
            this.isSetted_yj_timeout_state = true;
            BEAN_VALUES.put("yj_timeout_state",yj_timeout_state);
            return this;
        }
        /**
         * 获取工单状态<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getOrder_state() {
            return order_state;
        }
        /**
         * 设置工单状态<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setOrder_state(String order_state) {
            this.order_state = order_state;
            this.isSetted_order_state = true;
            BEAN_VALUES.put("order_state",order_state);
            return this;
        }
        /**
         * 获取工单类型<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getOrder_type() {
            return order_type;
        }
        /**
         * 设置工单类型<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setOrder_type(String order_type) {
            this.order_type = order_type;
            this.isSetted_order_type = true;
            BEAN_VALUES.put("order_type",order_type);
            return this;
        }
        /**
         * 获取ims工单编号<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getIms_ordercode() {
            return ims_ordercode;
        }
        /**
         * 设置ims工单编号<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setIms_ordercode(String ims_ordercode) {
            this.ims_ordercode = ims_ordercode;
            this.isSetted_ims_ordercode = true;
            BEAN_VALUES.put("ims_ordercode",ims_ordercode);
            return this;
        }
        /**
         * 获取退单类型<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getOrderback_type() {
            return orderback_type;
        }
        /**
         * 设置退单类型<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setOrderback_type(String orderback_type) {
            this.orderback_type = orderback_type;
            this.isSetted_orderback_type = true;
            BEAN_VALUES.put("orderback_type",orderback_type);
            return this;
        }
        /**
         * 获取退单原因<BR/>
         * 䣺2017-35-12 hh:05
         */
        public String getOrderback_reason() {
            return orderback_reason;
        }
        /**
         * 设置退单原因<BR/>
         * 2017-35-12 hh:05
         */
        public SC_WORKFLOW_INCIDENT_TEMPLATE setOrderback_reason(String orderback_reason) {
            this.orderback_reason = orderback_reason;
            this.isSetted_orderback_reason = true;
            BEAN_VALUES.put("orderback_reason",orderback_reason);
            return this;
        }
 
        /**
         * 使用ID删除Bean<BR/>
         */
        public void deleteById() {
            if (StringUtils.isBlank(id)) {
                throw new RuntimeException("删除bean时ID不能为空");
            }
            dao.execute("delete from " + getTableName() + " where id = :id", BEAN_VALUES);
        }
    
        @Override
        public SC_WORKFLOW_INCIDENT_TEMPLATE getInstanceById() {
            if (StringUtils.isBlank(id)) {
                throw new RuntimeException("获取Bean时ID不能为空");
            }
            return dao.queryForBean("select * from " + getTableName() + " where id=:id", BEAN_VALUES, this);
        }
    
        
        
        @Override
        public SC_WORKFLOW_INCIDENT_TEMPLATE queryForBean() {
            StringBuffer sBuffer = new StringBuffer("select * from SC_WORKFLOW_INCIDENT_TEMPLATE where ");
            if(isSetted_id){
                sBuffer.append("id=:id and ");
            }
                if (isSetted_order_code) {
                    sBuffer.append("order_code=:order_code and ");
                }
                if (isSetted_template_name) {
                    sBuffer.append("template_name=:template_name and ");
                }
                if (isSetted_name) {
                    sBuffer.append("name=:name and ");
                }
                if (isSetted_descrip) {
                    sBuffer.append("descrip=:descrip and ");
                }
                if (isSetted_happen_time) {
                    sBuffer.append("happen_time=:happen_time and ");
                }
                if (isSetted_first_category_name) {
                    sBuffer.append("first_category_name=:first_category_name and ");
                }
                if (isSetted_first_category_id) {
                    sBuffer.append("first_category_id=:first_category_id and ");
                }
                if (isSetted_second_category_id) {
                    sBuffer.append("second_category_id=:second_category_id and ");
                }
                if (isSetted_second_category_name) {
                    sBuffer.append("second_category_name=:second_category_name and ");
                }
                if (isSetted_third_category_id) {
                    sBuffer.append("third_category_id=:third_category_id and ");
                }
                if (isSetted_third_category_name) {
                    sBuffer.append("third_category_name=:third_category_name and ");
                }
                if (isSetted_priority_id) {
                    sBuffer.append("priority_id=:priority_id and ");
                }
                if (isSetted_priority_name) {
                    sBuffer.append("priority_name=:priority_name and ");
                }
                if (isSetted_influence_id) {
                    sBuffer.append("influence_id=:influence_id and ");
                }
                if (isSetted_influence_name) {
                    sBuffer.append("influence_name=:influence_name and ");
                }
                if (isSetted_sla_id) {
                    sBuffer.append("sla_id=:sla_id and ");
                }
                if (isSetted_sla_name) {
                    sBuffer.append("sla_name=:sla_name and ");
                }
                if (isSetted_customer_id) {
                    sBuffer.append("customer_id=:customer_id and ");
                }
                if (isSetted_customer_name) {
                    sBuffer.append("customer_name=:customer_name and ");
                }
                if (isSetted_keshi) {
                    sBuffer.append("keshi=:keshi and ");
                }
                if (isSetted_contact_id) {
                    sBuffer.append("contact_id=:contact_id and ");
                }
                if (isSetted_contact_name) {
                    sBuffer.append("contact_name=:contact_name and ");
                }
                if (isSetted_contact_phone) {
                    sBuffer.append("contact_phone=:contact_phone and ");
                }
                if (isSetted_apply_type_id) {
                    sBuffer.append("apply_type_id=:apply_type_id and ");
                }
                if (isSetted_apply_type_name) {
                    sBuffer.append("apply_type_name=:apply_type_name and ");
                }
                if (isSetted_apply_user_name) {
                    sBuffer.append("apply_user_name=:apply_user_name and ");
                }
                if (isSetted_apply_user_phone) {
                    sBuffer.append("apply_user_phone=:apply_user_phone and ");
                }
                if (isSetted_apply_time) {
                    sBuffer.append("apply_time=:apply_time and ");
                }
                if (isSetted_create_user_id) {
                    sBuffer.append("create_user_id=:create_user_id and ");
                }
                if (isSetted_create_user_name) {
                    sBuffer.append("create_user_name=:create_user_name and ");
                }
                if (isSetted_create_time) {
                    sBuffer.append("create_time=:create_time and ");
                }
                if (isSetted_type_id) {
                    sBuffer.append("type_id=:type_id and ");
                }
                if (isSetted_type_name) {
                    sBuffer.append("type_name=:type_name and ");
                }
                if (isSetted_source_id) {
                    sBuffer.append("source_id=:source_id and ");
                }
                if (isSetted_source_name) {
                    sBuffer.append("source_name=:source_name and ");
                }
                if (isSetted_state) {
                    sBuffer.append("state=:state and ");
                }
                if (isSetted_merged_business_id) {
                    sBuffer.append("merged_business_id=:merged_business_id and ");
                }
                if (isSetted_resolve_user_id) {
                    sBuffer.append("resolve_user_id=:resolve_user_id and ");
                }
                if (isSetted_resolve_user_name) {
                    sBuffer.append("resolve_user_name=:resolve_user_name and ");
                }
                if (isSetted_resolve_time) {
                    sBuffer.append("resolve_time=:resolve_time and ");
                }
                if (isSetted_resolve_type_id) {
                    sBuffer.append("resolve_type_id=:resolve_type_id and ");
                }
                if (isSetted_resolve_type_name) {
                    sBuffer.append("resolve_type_name=:resolve_type_name and ");
                }
                if (isSetted_resolve_role_id) {
                    sBuffer.append("resolve_role_id=:resolve_role_id and ");
                }
                if (isSetted_resolve_role_name) {
                    sBuffer.append("resolve_role_name=:resolve_role_name and ");
                }
                if (isSetted_resolve) {
                    sBuffer.append("resolve=:resolve and ");
                }
                if (isSetted_suggest) {
                    sBuffer.append("suggest=:suggest and ");
                }
                if (isSetted_flow_id) {
                    sBuffer.append("flow_id=:flow_id and ");
                }
                if (isSetted_flow_name) {
                    sBuffer.append("flow_name=:flow_name and ");
                }
                if (isSetted_request_answer_time) {
                    sBuffer.append("request_answer_time=:request_answer_time and ");
                }
                if (isSetted_request_deal_time) {
                    sBuffer.append("request_deal_time=:request_deal_time and ");
                }
                if (isSetted_answer_time) {
                    sBuffer.append("answer_time=:answer_time and ");
                }
                if (isSetted_answer_timeout) {
                    sBuffer.append("answer_timeout=:answer_timeout and ");
                }
                if (isSetted_answer_use_time) {
                    sBuffer.append("answer_use_time=:answer_use_time and ");
                }
                if (isSetted_answer_timeout_time) {
                    sBuffer.append("answer_timeout_time=:answer_timeout_time and ");
                }
                if (isSetted_deal_timeout) {
                    sBuffer.append("deal_timeout=:deal_timeout and ");
                }
                if (isSetted_deal_use_time) {
                    sBuffer.append("deal_use_time=:deal_use_time and ");
                }
                if (isSetted_deal_timeout_time) {
                    sBuffer.append("deal_timeout_time=:deal_timeout_time and ");
                }
                if (isSetted_sub_customer_name) {
                    sBuffer.append("sub_customer_name=:sub_customer_name and ");
                }
                if (isSetted_sub_customer_id) {
                    sBuffer.append("sub_customer_id=:sub_customer_id and ");
                }
                if (isSetted_create_type) {
                    sBuffer.append("create_type=:create_type and ");
                }
                if (isSetted_questionid) {
                    sBuffer.append("questionid=:questionid and ");
                }
                if (isSetted_knowledgeid) {
                    sBuffer.append("knowledgeid=:knowledgeid and ");
                }
                if (isSetted_currentnode) {
                    sBuffer.append("currentnode=:currentnode and ");
                }
                if (isSetted_applydept) {
                    sBuffer.append("applydept=:applydept and ");
                }
                if (isSetted_ordertag) {
                    sBuffer.append("ordertag=:ordertag and ");
                }
                if (isSetted_ywgroup) {
                    sBuffer.append("ywgroup=:ywgroup and ");
                }
                if (isSetted_ishf) {
                    sBuffer.append("ishf=:ishf and ");
                }
                if (isSetted_hfcg) {
                    sBuffer.append("hfcg=:hfcg and ");
                }
                if (isSetted_create_end_time) {
                    sBuffer.append("create_end_time=:create_end_time and ");
                }
                if (isSetted_resolve_start_time) {
                    sBuffer.append("resolve_start_time=:resolve_start_time and ");
                }
                if (isSetted_hf_start_time) {
                    sBuffer.append("hf_start_time=:hf_start_time and ");
                }
                if (isSetted_hf_end_time) {
                    sBuffer.append("hf_end_time=:hf_end_time and ");
                }
                if (isSetted_yj_timeout_state) {
                    sBuffer.append("yj_timeout_state=:yj_timeout_state and ");
                }
                if (isSetted_order_state) {
                    sBuffer.append("order_state=:order_state and ");
                }
                if (isSetted_order_type) {
                    sBuffer.append("order_type=:order_type and ");
                }
                if (isSetted_ims_ordercode) {
                    sBuffer.append("ims_ordercode=:ims_ordercode and ");
                }
                if (isSetted_orderback_type) {
                    sBuffer.append("orderback_type=:orderback_type and ");
                }
                if (isSetted_orderback_reason) {
                    sBuffer.append("orderback_reason=:orderback_reason and ");
                }
            String sql = sBuffer.toString();
            sql = StringUtils.removeEnd(sql, " and ");
            return dao.queryForBean(sql,this);
        }
    
        @Override
        public String getTableName() {
            return "SC_WORKFLOW_INCIDENT_TEMPLATE";
        }
        
        
        public Map getBeanValues(){
            return this.BEAN_VALUES;
        }
    
        @Override
        public SC_WORKFLOW_INCIDENT_TEMPLATE insert() {
            if (StringUtils.isBlank(id)) {
                this.setId(StringUtil.getUUID());
            }
            dao.execute(getInsertSql(),BEAN_VALUES);
            return this;
        }
    
        @Override
        public SC_WORKFLOW_INCIDENT_TEMPLATE update() {
            if (StringUtils.isBlank(id)) {
                throw new RuntimeException("更新Bean时ID不能为空");
            }
            dao.execute(getUpdateSql(),BEAN_VALUES);
            return this;
        }  
        
        public SC_WORKFLOW_INCIDENT_TEMPLATE insertOrUpdate(){
            if (StringUtils.isNotBlank(id)) {
                return update();
            } else {
                return insert();
            }
        }
        
        /**
         * 通过ID获取该条信息的Map结构
         */
        public Map getBeanMapById() {
            
            if (StringUtils.isBlank(id)) {
                throw new RuntimeException("ID不能为空!");
            }
            
            return dao.queryForMap("select * from SC_WORKFLOW_INCIDENT_TEMPLATE where id=:id",BEAN_VALUES);
        }
 
        public Object mapRow(ResultSet rs, int rownum) throws SQLException {
            Object id = rs.getObject("ID");
            this.setId(ConvertUtil.obj2Str(id));
            BEAN_VALUES.put("id",id);
            Object obj = null;
            obj = rs.getObject("ORDER_CODE");
            BEAN_VALUES.put("order_code",obj);
                this.setOrder_code(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("TEMPLATE_NAME");
            BEAN_VALUES.put("template_name",obj);
                this.setTemplate_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("NAME");
            BEAN_VALUES.put("name",obj);
                this.setName(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("DESCRIP");
            BEAN_VALUES.put("descrip",obj);
                this.setDescrip(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("HAPPEN_TIME");
            BEAN_VALUES.put("happen_time",obj);
                this.setHappen_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("FIRST_CATEGORY_NAME");
            BEAN_VALUES.put("first_category_name",obj);
                this.setFirst_category_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("FIRST_CATEGORY_ID");
            BEAN_VALUES.put("first_category_id",obj);
                this.setFirst_category_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SECOND_CATEGORY_ID");
            BEAN_VALUES.put("second_category_id",obj);
                this.setSecond_category_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SECOND_CATEGORY_NAME");
            BEAN_VALUES.put("second_category_name",obj);
                this.setSecond_category_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("THIRD_CATEGORY_ID");
            BEAN_VALUES.put("third_category_id",obj);
                this.setThird_category_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("THIRD_CATEGORY_NAME");
            BEAN_VALUES.put("third_category_name",obj);
                this.setThird_category_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("PRIORITY_ID");
            BEAN_VALUES.put("priority_id",obj);
                this.setPriority_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("PRIORITY_NAME");
            BEAN_VALUES.put("priority_name",obj);
                this.setPriority_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("INFLUENCE_ID");
            BEAN_VALUES.put("influence_id",obj);
                this.setInfluence_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("INFLUENCE_NAME");
            BEAN_VALUES.put("influence_name",obj);
                this.setInfluence_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SLA_ID");
            BEAN_VALUES.put("sla_id",obj);
                this.setSla_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SLA_NAME");
            BEAN_VALUES.put("sla_name",obj);
                this.setSla_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CUSTOMER_ID");
            BEAN_VALUES.put("customer_id",obj);
                this.setCustomer_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CUSTOMER_NAME");
            BEAN_VALUES.put("customer_name",obj);
                this.setCustomer_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("KESHI");
            BEAN_VALUES.put("keshi",obj);
                this.setKeshi(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CONTACT_ID");
            BEAN_VALUES.put("contact_id",obj);
                this.setContact_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CONTACT_NAME");
            BEAN_VALUES.put("contact_name",obj);
                this.setContact_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CONTACT_PHONE");
            BEAN_VALUES.put("contact_phone",obj);
                this.setContact_phone(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("APPLY_TYPE_ID");
            BEAN_VALUES.put("apply_type_id",obj);
                this.setApply_type_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("APPLY_TYPE_NAME");
            BEAN_VALUES.put("apply_type_name",obj);
                this.setApply_type_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("APPLY_USER_NAME");
            BEAN_VALUES.put("apply_user_name",obj);
                this.setApply_user_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("APPLY_USER_PHONE");
            BEAN_VALUES.put("apply_user_phone",obj);
                this.setApply_user_phone(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("APPLY_TIME");
            BEAN_VALUES.put("apply_time",obj);
                this.setApply_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("CREATE_USER_ID");
            BEAN_VALUES.put("create_user_id",obj);
                this.setCreate_user_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CREATE_USER_NAME");
            BEAN_VALUES.put("create_user_name",obj);
                this.setCreate_user_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CREATE_TIME");
            BEAN_VALUES.put("create_time",obj);
                this.setCreate_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("TYPE_ID");
            BEAN_VALUES.put("type_id",obj);
                this.setType_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("TYPE_NAME");
            BEAN_VALUES.put("type_name",obj);
                this.setType_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SOURCE_ID");
            BEAN_VALUES.put("source_id",obj);
                this.setSource_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SOURCE_NAME");
            BEAN_VALUES.put("source_name",obj);
                this.setSource_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("STATE");
            BEAN_VALUES.put("state",obj);
                this.setState(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("MERGED_BUSINESS_ID");
            BEAN_VALUES.put("merged_business_id",obj);
                this.setMerged_business_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE_USER_ID");
            BEAN_VALUES.put("resolve_user_id",obj);
                this.setResolve_user_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE_USER_NAME");
            BEAN_VALUES.put("resolve_user_name",obj);
                this.setResolve_user_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE_TIME");
            BEAN_VALUES.put("resolve_time",obj);
                this.setResolve_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("RESOLVE_TYPE_ID");
            BEAN_VALUES.put("resolve_type_id",obj);
                this.setResolve_type_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE_TYPE_NAME");
            BEAN_VALUES.put("resolve_type_name",obj);
                this.setResolve_type_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE_ROLE_ID");
            BEAN_VALUES.put("resolve_role_id",obj);
                this.setResolve_role_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE_ROLE_NAME");
            BEAN_VALUES.put("resolve_role_name",obj);
                this.setResolve_role_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("RESOLVE");
            BEAN_VALUES.put("resolve",obj);
                this.setResolve(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SUGGEST");
            BEAN_VALUES.put("suggest",obj);
                this.setSuggest(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("FLOW_ID");
            BEAN_VALUES.put("flow_id",obj);
                this.setFlow_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("FLOW_NAME");
            BEAN_VALUES.put("flow_name",obj);
                this.setFlow_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("REQUEST_ANSWER_TIME");
            BEAN_VALUES.put("request_answer_time",obj);
                this.setRequest_answer_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("REQUEST_DEAL_TIME");
            BEAN_VALUES.put("request_deal_time",obj);
                this.setRequest_deal_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("ANSWER_TIME");
            BEAN_VALUES.put("answer_time",obj);
                this.setAnswer_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("ANSWER_TIMEOUT");
            BEAN_VALUES.put("answer_timeout",obj);
                this.setAnswer_timeout(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("ANSWER_USE_TIME");
            BEAN_VALUES.put("answer_use_time",obj);
                this.setAnswer_use_time(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("ANSWER_TIMEOUT_TIME");
            BEAN_VALUES.put("answer_timeout_time",obj);
                this.setAnswer_timeout_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("DEAL_TIMEOUT");
            BEAN_VALUES.put("deal_timeout",obj);
                this.setDeal_timeout(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("DEAL_USE_TIME");
            BEAN_VALUES.put("deal_use_time",obj);
                this.setDeal_use_time(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("DEAL_TIMEOUT_TIME");
            BEAN_VALUES.put("deal_timeout_time",obj);
                this.setDeal_timeout_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("SUB_CUSTOMER_NAME");
            BEAN_VALUES.put("sub_customer_name",obj);
                this.setSub_customer_name(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("SUB_CUSTOMER_ID");
            BEAN_VALUES.put("sub_customer_id",obj);
                this.setSub_customer_id(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CREATE_TYPE");
            BEAN_VALUES.put("create_type",obj);
                this.setCreate_type(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("QUESTIONID");
            BEAN_VALUES.put("questionid",obj);
                this.setQuestionid(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("KNOWLEDGEID");
            BEAN_VALUES.put("knowledgeid",obj);
                this.setKnowledgeid(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("CURRENTNODE");
            BEAN_VALUES.put("currentnode",obj);
                this.setCurrentnode(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("APPLYDEPT");
            BEAN_VALUES.put("applydept",obj);
                this.setApplydept(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("ORDERTAG");
            BEAN_VALUES.put("ordertag",obj);
                this.setOrdertag(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("YWGROUP");
            BEAN_VALUES.put("ywgroup",obj);
                this.setYwgroup(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("ISHF");
            BEAN_VALUES.put("ishf",obj);
                this.setIshf(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("HFCG");
            BEAN_VALUES.put("hfcg",obj);
                this.setHfcg(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("CREATE_END_TIME");
            BEAN_VALUES.put("create_end_time",obj);
                this.setCreate_end_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("RESOLVE_START_TIME");
            BEAN_VALUES.put("resolve_start_time",obj);
                this.setResolve_start_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("HF_START_TIME");
            BEAN_VALUES.put("hf_start_time",obj);
                this.setHf_start_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("HF_END_TIME");
            BEAN_VALUES.put("hf_end_time",obj);
                this.setHf_end_time(ConvertUtil.obj2Long(obj));
            obj = rs.getObject("YJ_TIMEOUT_STATE");
            BEAN_VALUES.put("yj_timeout_state",obj);
                this.setYj_timeout_state(ConvertUtil.obj2Integer(obj));
            obj = rs.getObject("ORDER_STATE");
            BEAN_VALUES.put("order_state",obj);
                this.setOrder_state(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("ORDER_TYPE");
            BEAN_VALUES.put("order_type",obj);
                this.setOrder_type(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("IMS_ORDERCODE");
            BEAN_VALUES.put("ims_ordercode",obj);
                this.setIms_ordercode(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("ORDERBACK_TYPE");
            BEAN_VALUES.put("orderback_type",obj);
                this.setOrderback_type(ConvertUtil.obj2Str(obj));
            obj = rs.getObject("ORDERBACK_REASON");
            BEAN_VALUES.put("orderback_reason",obj);
                this.setOrderback_reason(ConvertUtil.obj2Str(obj));
            return this;
        }
        
        
        public String toString() {
            StringBuffer sb = new StringBuffer("[");
            for (Iterator iterator = KEYS.keySet().iterator(); iterator.hasNext();) {
                String key = (String) iterator.next();
                sb.append(key+"=" + BEAN_VALUES.get(key)+",");
            }
            sb.append("]");
            return sb.toString();
        }
        
        public SC_WORKFLOW_INCIDENT_TEMPLATE newInstance(){
            return new SC_WORKFLOW_INCIDENT_TEMPLATE();
        }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
}