wangli 4 gadi atpakaļ
vecāks
revīzija
e06dd7c33c

+ 0 - 2
sms_water/src/main/java/com/huaxu/controller/DeviceController.java

@@ -17,10 +17,8 @@ import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiParam;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
-import sun.plugin.javascript.navig.Array;
 
 import java.util.ArrayList;
-import java.util.Arrays;
 import java.util.List;
 
 /**

+ 0 - 6
sms_water/src/main/resources/mapper/DeviceMapper.xml

@@ -137,9 +137,7 @@
         <if test="companyOrgId != null ">
             COMPANY_ORG_ID  = #{companyOrgId},
         </if>
-        <if test="deptOrgId != null ">
             DEPT_ORG_ID  = #{deptOrgId},
-        </if>
         <if test="sceneId != null ">
             SCENE_ID  = #{sceneId},
         </if>
@@ -155,12 +153,8 @@
         <if test="lastUpdateTime != null ">
             LAST_UPDATE_TIME  = #{lastUpdateTime},
         </if>
-        <if test="address != null and address != '' ">
             ADDRESS  = #{address},
-        </if>
-        <if test="remark != null and remark != '' ">
             REMARK  = #{remark},
-        </if>
         <if test="status != null ">
             STATUS  = #{status},
         </if>