|
|
@@ -178,6 +178,82 @@
|
|
|
where id = #{id}
|
|
|
</delete>
|
|
|
|
|
|
+
|
|
|
+ <select id="findAdminTaskScoreList" resultType="com.goafanti.order.bo.TaskScore.OutTaskScore">
|
|
|
+ select a.id,a.name ,a.department_id depId,c.name depName,a.superior_id superId,a2.name superName,a.status ,a.last_login_time lastLoginTime
|
|
|
+ b.htSatCount htSatCount
|
|
|
+ from admin a left join admin_project_statistics b on a.id =b.aid
|
|
|
+ left join department c on a.department_id =c.id
|
|
|
+ left join admin a2 on a.superior_id =a2.id
|
|
|
+ <where>
|
|
|
+ <if test="id != null">
|
|
|
+ and id = #{id}
|
|
|
+ </if>
|
|
|
+ <if test="tid != null">
|
|
|
+ and tid = #{tid}
|
|
|
+ </if>
|
|
|
+ <if test="professionalism != null">
|
|
|
+ and professionalism = #{professionalism}
|
|
|
+ </if>
|
|
|
+ <if test="communicationSkills != null">
|
|
|
+ and communication_skills = #{communicationSkills}
|
|
|
+ </if>
|
|
|
+ <if test="responsiveness != null">
|
|
|
+ and responsiveness = #{responsiveness}
|
|
|
+ </if>
|
|
|
+ <if test="publicImage != null">
|
|
|
+ and public_image = #{publicImage}
|
|
|
+ </if>
|
|
|
+ <if test="serviceAttitude != null">
|
|
|
+ and service_attitude = #{serviceAttitude}
|
|
|
+ </if>
|
|
|
+ <if test="monthlyReport != null">
|
|
|
+ and monthly_report = #{monthlyReport}
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ and create_time = #{createTime}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ <if test="page_sql != null">
|
|
|
+ ${page_sql}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <!--统计总行数-->
|
|
|
+ <select id="findTaskScoreCount" resultType="java.lang.Integer">
|
|
|
+ select count(1)
|
|
|
+ from task_score
|
|
|
+ <where>
|
|
|
+ <if test="id != null">
|
|
|
+ and id = #{id}
|
|
|
+ </if>
|
|
|
+ <if test="tid != null">
|
|
|
+ and tid = #{tid}
|
|
|
+ </if>
|
|
|
+ <if test="professionalism != null">
|
|
|
+ and professionalism = #{professionalism}
|
|
|
+ </if>
|
|
|
+ <if test="communicationSkills != null">
|
|
|
+ and communication_skills = #{communicationSkills}
|
|
|
+ </if>
|
|
|
+ <if test="responsiveness != null">
|
|
|
+ and responsiveness = #{responsiveness}
|
|
|
+ </if>
|
|
|
+ <if test="publicImage != null">
|
|
|
+ and public_image = #{publicImage}
|
|
|
+ </if>
|
|
|
+ <if test="serviceAttitude != null">
|
|
|
+ and service_attitude = #{serviceAttitude}
|
|
|
+ </if>
|
|
|
+ <if test="monthlyReport != null">
|
|
|
+ and monthly_report = #{monthlyReport}
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ and create_time = #{createTime}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
<select id="queryByTid" resultMap="TaskScoreMap">
|
|
|
select
|
|
|
<include refid="TaskScoreAllSql"/>
|