|
@@ -1,6 +1,7 @@
|
|
package com.rongwei.bscommon.sys.dao;
|
|
package com.rongwei.bscommon.sys.dao;
|
|
|
|
|
|
import com.rongwei.bsentity.vo.ZhcxOutsideInspectionVo;
|
|
import com.rongwei.bsentity.vo.ZhcxOutsideInspectionVo;
|
|
|
|
+import org.apache.ibatis.annotations.Insert;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Select;
|
|
import org.apache.ibatis.annotations.Select;
|
|
@@ -67,4 +68,10 @@ public interface ZhcxApiDao {
|
|
" AND DELETED = '0' AND t.STATUS = '正常' "+
|
|
" AND DELETED = '0' AND t.STATUS = '正常' "+
|
|
"</script>")
|
|
"</script>")
|
|
List<Map<String, Object>> getSupervisionJJYBySupervisionId(@Param("ids") List<String> ids);
|
|
List<Map<String, Object>> getSupervisionJJYBySupervisionId(@Param("ids") List<String> ids);
|
|
|
|
+
|
|
|
|
+ @Select("SELECT count(*) FROM ZHCX_IP WHERE IP = #{ip}")
|
|
|
|
+ int getIp(@Param("ip") String ip);
|
|
|
|
+
|
|
|
|
+ @Insert("INSERT INTO ZHCX_IP (ID,IP) VALUES (#{id},#{ip})")
|
|
|
|
+ void saveIp(@Param("id")String id,@Param("ip")String ip);
|
|
}
|
|
}
|