Browse Source

保养单加上区域主管id查询

别傲 5 years ago
parent
commit
b37c19143f

+ 1 - 1
lift-business-service/src/main/java/cn/com/ty/lift/business/maintenance/dao/entity/model/request/MtRecordRequest.java

@@ -96,5 +96,5 @@ public class MtRecordRequest extends PageRequest {
      */
     private String liftCodeQuery;
 
-    private Long userId;
+    private Long areaDirectorId;
 }

+ 2 - 2
lift-business-service/src/main/resources/mapper/maintenance/MaintenanceRecordMapper.xml

@@ -237,8 +237,8 @@
             <if test="cond.projectId != null and cond.projectId > 0">
                 AND pr.id = #{cond.projectId}
             </if>
-            <if test="cond.userId != null and cond.userId > 0">
-                AND r.user_id = #{cond.userId}
+            <if test="cond.areaDirectorId != null and cond.areaDirectorId > 0">
+                AND r.user_id = #{cond.areaDirectorId}
             </if>
             <if test="cond.workerId != null and cond.workerId > 0">
                 AND mr.worker_id1 = #{cond.workerId}