lyhzzz 1 bulan lalu
induk
melakukan
c5cb72620e

+ 2 - 0
src/main/java/com/fdkankan/agent/request/IncrementParam.java

@@ -15,4 +15,6 @@ public class IncrementParam extends RequestBase {
     private String incrementEndTime;
     private String memberLevels;
 
+    private String cameraSn;
+
 }

+ 3 - 0
src/main/resources/mapper/agent/UserIncrementMapper.xml

@@ -11,6 +11,9 @@
         <if test="param.userName != null and param.userName != ''">
             and u.user_name like concat ('%',#{param.userName},'%')
         </if>
+        <if test="param.cameraSn != null and param.cameraSn != ''">
+            and a.sn_code like concat ('%',#{param.cameraSn},'%')
+        </if>
         <if test="param.id != null ">
             and ui.id = #{param.id}
         </if>