|
@@ -59,6 +59,6 @@ public interface MaintenancePlanMapper extends BaseMapper<MaintenancePlan> {
|
|
|
Long getCountByPlanId(Long planId);
|
|
|
|
|
|
@Select("select (select value from global_set where company_id = #{mtCompanyId} and code = 'sameUnits') >" +
|
|
|
- " (select count(*) from maintenance_record where worker_id1 = #{workerId1} and status = '1')")
|
|
|
+ " (select count(*) from maintenance_record where mt_company_id=#{mtCompanyId} and worker_id1 = #{workerId1} and status = '1')")
|
|
|
boolean selectLiftMaintainableBy(Long workerId1, Long mtCompanyId);
|
|
|
}
|