|
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
10
|
10
|
<result property="document" column="document" />
|
11
|
11
|
<result property="remark" column="remark" />
|
12
|
12
|
<result property="reportTime" column="report_time" />
|
|
13
|
+ <result property="reportDept" column="report_dept" />
|
13
|
14
|
<result property="managerUserId" column="manager_user_id" />
|
14
|
15
|
<result property="managerComment" column="manager_comment" />
|
15
|
16
|
<result property="managerTime" column="manager_time" />
|
|
@@ -21,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
21
|
22
|
</resultMap>
|
22
|
23
|
|
23
|
24
|
<sql id="selectCmcPerformanceVo">
|
24
|
|
- select performance_id, reporter, document, remark, report_time, manager_user_id, manager_comment, manager_time, zjl_user_id, zjl_comment, zjl_time, zh_user_id, zh_time from cmc_performance
|
|
25
|
+ select performance_id, reporter, document, remark, report_time, report_dept, manager_user_id, manager_comment, manager_time, zjl_user_id, zjl_comment, zjl_time, zh_user_id, zh_time from cmc_performance
|
25
|
26
|
</sql>
|
26
|
27
|
|
27
|
28
|
<select id="selectCmcPerformanceList" parameterType="CmcPerformance" resultMap="CmcPerformanceResult">
|
|
@@ -30,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
30
|
31
|
<if test="reporter != null "> and reporter = #{reporter}</if>
|
31
|
32
|
<if test="document != null and document != ''"> and document = #{document}</if>
|
32
|
33
|
<if test="reportTime != null "> and report_time = #{reportTime}</if>
|
|
34
|
+ <if test="reportDept != null "> and report_dept = #{reportDept}</if>
|
33
|
35
|
<if test="managerUserId != null "> and manager_user_id = #{managerUserId}</if>
|
34
|
36
|
<if test="managerComment != null and managerComment != ''"> and manager_comment = #{managerComment}</if>
|
35
|
37
|
<if test="managerTime != null "> and manager_time = #{managerTime}</if>
|
|
@@ -54,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
54
|
56
|
<if test="document != null">document,</if>
|
55
|
57
|
<if test="remark != null">remark,</if>
|
56
|
58
|
<if test="reportTime != null">report_time,</if>
|
|
59
|
+ <if test="reportDept != null">report_dept,</if>
|
57
|
60
|
<if test="managerUserId != null">manager_user_id,</if>
|
58
|
61
|
<if test="managerComment != null">manager_comment,</if>
|
59
|
62
|
<if test="managerTime != null">manager_time,</if>
|
|
@@ -69,6 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
69
|
72
|
<if test="document != null">#{document},</if>
|
70
|
73
|
<if test="remark != null">#{remark},</if>
|
71
|
74
|
<if test="reportTime != null">#{reportTime},</if>
|
|
75
|
+ <if test="reportDept != null">#{reportDept},</if>
|
72
|
76
|
<if test="managerUserId != null">#{managerUserId},</if>
|
73
|
77
|
<if test="managerComment != null">#{managerComment},</if>
|
74
|
78
|
<if test="managerTime != null">#{managerTime},</if>
|
|
@@ -87,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
87
|
91
|
<if test="document != null">document = #{document},</if>
|
88
|
92
|
<if test="remark != null">remark = #{remark},</if>
|
89
|
93
|
<if test="reportTime != null">report_time = #{reportTime},</if>
|
|
94
|
+ <if test="reportDept != null">report_dept = #{reportDept},</if>
|
90
|
95
|
<if test="managerUserId != null">manager_user_id = #{managerUserId},</if>
|
91
|
96
|
<if test="managerComment != null">manager_comment = #{managerComment},</if>
|
92
|
97
|
<if test="managerTime != null">manager_time = #{managerTime},</if>
|