|
@@ -25,7 +25,7 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
- id, mt_company_id, user_id, user_role, is_current_company, is_hx_registered, status,
|
|
|
+ id, mt_company_id, user_id, user_role, is_current_company, is_hx_registered, status,
|
|
|
service_total, satisfaction_total, service_count, maintenance_total, emergency_total,
|
|
|
lift_total, job, delete_flag, create_time, update_time, create_user_id,
|
|
|
update_user_id, repair_flag
|
|
@@ -45,7 +45,7 @@
|
|
|
select count(1) from emergency_repair er
|
|
|
where er.mt_company_id = #{companyId,jdbcType=BIGINT}
|
|
|
and er.worker_id = #{userId, jdbcType=BIGINT}
|
|
|
- and er.status <![CDATA[ <> ]]> 4
|
|
|
+ and er.status not in (2,3)
|
|
|
</select>
|
|
|
|
|
|
<!-- 获取用户电梯操作证信息 -->
|