|
|
@@ -32,6 +32,15 @@
|
|
32
|
32
|
<result property="importBatch" column="import_batch"/>
|
|
33
|
33
|
<result property="evidenceFile" column="evidence_file"/>
|
|
34
|
34
|
<result property="org" column="org"/>
|
|
|
35
|
+ <result property="terminlId" column="terminl_id"/>
|
|
|
36
|
+ <result property="terminlName" column="terminl_name"/>
|
|
|
37
|
+ <result property="regionalId" column="regional_id"/>
|
|
|
38
|
+ <result property="regionalName" column="regional_name"/>
|
|
|
39
|
+ <result property="channelId" column="channel_id"/>
|
|
|
40
|
+ <result property="channelName" column="channel_name"/>
|
|
|
41
|
+ <result property="postId" column="post_id"/>
|
|
|
42
|
+ <result property="postName" column="post_name"/>
|
|
|
43
|
+ <result property="scoreType" column="score_type"/>
|
|
35
|
44
|
<result property="remark" column="remark"/>
|
|
36
|
45
|
<result property="createBy" column="create_by"/>
|
|
37
|
46
|
<result property="createTime" column="create_time"/>
|
|
|
@@ -45,7 +54,9 @@
|
|
45
|
54
|
level2_name, level3_name, level4_name,
|
|
46
|
55
|
event_time, location, person_id, dept_id, team_id, group_id, person_name, dept_name, team_name, group_name,
|
|
47
|
56
|
score_value, cascade_score, total_score, event_desc,
|
|
48
|
|
- source_type, source_ledger, import_batch, evidence_file, org, remark,
|
|
|
57
|
+ source_type, source_ledger, import_batch, evidence_file, org,
|
|
|
58
|
+ terminl_id, terminl_name, regional_id, regional_name, channel_id, channel_name, post_id, post_name, score_type,
|
|
|
59
|
+ remark,
|
|
49
|
60
|
create_by, create_time, update_by, update_time
|
|
50
|
61
|
FROM score_event
|
|
51
|
62
|
WHERE del_flag = '0'
|
|
|
@@ -60,6 +71,17 @@
|
|
60
|
71
|
<if test="teamId != null">AND team_id = #{teamId}</if>
|
|
61
|
72
|
<if test="groupId != null">AND group_id = #{groupId}</if>
|
|
62
|
73
|
<if test="org != null and org != ''">AND org = #{org}</if>
|
|
|
74
|
+ <if test="terminlId != null">AND terminl_id = #{terminlId}</if>
|
|
|
75
|
+ <if test="terminlName != null and terminlName != ''">AND terminl_name LIKE CONCAT('%', #{terminlName}, '%')</if>
|
|
|
76
|
+ <if test="regionalId != null">AND regional_id = #{regionalId}</if>
|
|
|
77
|
+ <if test="regionalName != null and regionalName != ''">
|
|
|
78
|
+ AND regional_name LIKE CONCAT('%', #{regionalName}, '%')
|
|
|
79
|
+ </if>
|
|
|
80
|
+ <if test="channelId != null">AND channel_id = #{channelId}</if>
|
|
|
81
|
+ <if test="channelName != null and channelName != ''">AND channel_name LIKE CONCAT('%', #{channelName}, '%')</if>
|
|
|
82
|
+ <if test="postId != null">AND post_id = #{postId}</if>
|
|
|
83
|
+ <if test="postName != null and postName != ''">AND post_name LIKE CONCAT('%', #{postName}, '%')</if>
|
|
|
84
|
+ <if test="scoreType != null and scoreType != ''">AND score_type = #{scoreType}</if>
|
|
63
|
85
|
<if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
|
|
64
|
86
|
<if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
|
|
65
|
87
|
<if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
|