DECLARE @date DATETIME= '2016-11-01';
DECLARE @date2 DATETIME= DATEADD(day, 1, @date);
Declare @1 Table
( subdate INT)
Declare @result Table
(
Stype VARCHAR(50), count1 INT,count2 INT,count3 INT, count4 INT, count5 INT,
percent1 DECIMAL(10,2), percent2 DECIMAL(10,2), percent3 DECIMAL(10,2), percent4 DECIMAL(10,2)
)
INSERT INTO @1 SELECT DATEDIFF(HOUR, ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM dbo.TWX_TransportFromMst WITH ( NOLOCK ) WHERE Country = '中国香港' AND TooWeight = 0 AND DomesticWarehouseInTime > '2010-01-01' AND ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '香港小货', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '中国台湾' AND b.CarrierType='ZHIYUN' AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '台湾直送', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '中国台湾' AND b.CarrierType<>'ZHIYUN' AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '台湾集运', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
WHERE a.Country = '澳大利亚' AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '澳大利亚', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
WHERE a.Country = '新西兰' AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '新西兰', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
WHERE a.Country = '新加坡' AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '新加坡', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '马来西亚' AND b.Province IN ('纳闵','沙捞越','沙巴') AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '马来西亚(东)', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '马来西亚' AND b.Province NOT IN ('纳闵','沙捞越','沙巴') AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '马来西亚(西)', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
WHERE a.Country = '日本' AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT '日本', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '新加坡' AND b.InterDeliveryID=103 AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT 'Lazada新加坡空运', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '马来西亚' AND b.InterDeliveryID=103 AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT 'Lazada马来西亚空运', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '新加坡' AND a.TooWeight=0 AND b.InterDeliveryID=104 AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT 'Lazada新加坡海运(小货)', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '新加坡' AND a.TooWeight=1 AND b.InterDeliveryID=104 AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT 'Lazada新加坡海运(大货)', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '马来西亚' AND a.TooWeight=0 AND b.InterDeliveryID=104 AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT 'Lazada马来西亚海运(小货)', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

INSERT INTO @1 SELECT DATEDIFF(HOUR, a.ReceivedTime, DomesticWarehouseInTime) AS subdate
FROM TWX_TransportFromMst a WITH ( NOLOCK )
JOIN dbo.TWX_TransportOrder b ON a.TransportOrderCode = b.TransportOrderCode
WHERE b.Country = '马来西亚' AND a.TooWeight=1 AND b.InterDeliveryID=104 AND DomesticWarehouseInTime > '2010-01-01' AND a.ReceivedTime BETWEEN @date AND @date2
INSERT @result SELECT 'Lazada马来西亚海运(大货)', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5) FROM (SELECT (SELECT COUNT(1) FROM @1) a,(SELECT COUNT(1) FROM @1 WHERE subdate<=8) a1,(SELECT COUNT(1) FROM @1 WHERE subdate>8 AND subdate<=24) a2,
(SELECT COUNT(1) FROM @1 WHERE subdate>24 AND subdate<=48) a3, (SELECT COUNT(1) FROM @1 WHERE subdate>48) a4, (case when (SELECT COUNT(1) FROM @1) >0 THEN 0 ELSE 1 END) a5 ) b
DELETE FROM @1;

SELECT stype 渠道,count1 签收单量,count2 '0-8h入库单量',count3 '8-24h入库单量', count4 '24-48h入库单量',count5 '48小时以后入库单量',
percent1 '8小时内达成率',percent2 '24小时内达成率',percent3 '48小时内达成率',percent4 '48小时外占比' FROM @result;

------------------------------------------------------------------------------------------

SELECT '台湾直送', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5)
FROM (
SELECT (1) a,
(2) a1,
(3) a2,
(4) a3,
(5) a4,
(6) a5
) b

SELECT '台湾直送', a,a1,a2,a3,a4, a1*100.00/(a+a5),(a1+a2)*100.00/(a+a5),(a1+a2+a3)*100.00/(a+a5),a4*100.00/(a+a5)
FROM (
SELECT 1 a,
2 a1,
3 a2,
4 a3,
5 a4,
6 a5
) b

Mssql 比较好的写法的更多相关文章

  1. Sql Server 附加没有日志文件的数据库(.mdf)文件方法

    附加数据库,附加的时候会提醒找不到log文件 针对以上现象有两个写法的语句能解决: 写法一: USE MASTER; EXEC sp_detach_db @dbname = 'TestDB'; EXE ...

  2. group by <grouping sets(...) ><cube(...)>

    GROUP BY      GROUPING SETS() 后面将还会写学习 with cube,  with rollup,以及将它们转换为标准的GROUP BY的子句GROUP SET(), CU ...

  3. MSSQL 标准PROC 写法

    MSSQL 标准PROC 写法 ALTER PROC [dbo].[usp_ADM_InsertFlowSortInfo]@FlowSortName NVARCHAR(50),AS/*PAGE: 分类 ...

  4. mssql sqlserver 模拟for循环的写法

    转自:http://www.maomao365.com/?p=6567 摘要: 下文讲述sql脚本模拟for循环的写法,如下所示: /* for样例 for('初始值','条件','执行后自增') 通 ...

  5. 常用MS-SQL写法整理

    这里整理日常会用到的一些写法,一些常规的group by,系统函数等用法不在这里做记录了,大家有什么好的写法也可以分享下 1 sql操作xml内容(sp_xml_preparedocument和ope ...

  6. mssql 下删除 default 值的Sql写法

    FROM Sys.default_constraints a JOIN sys.columns b ON a.parent_object_id = b.object_id AND a.parent_c ...

  7. php 连接 mssql 常见的所有问题

    php连接mssql时 ntwdblib.dllPHP连接MSSQL配置和PHP代码演示 收藏 如果实现了PHP和MySQL链接了,PHP和MSSQL的链接其实很简单: 支持MSSQL的本地链接和远程 ...

  8. MSSQL 当前会话设置隔离级别与查询

    之前因为MySQL没有with(nolock)这种写法,于是想设置隔离级别,结果被坑. 直觉以为和MSSQL一样只要打set transaction isolation level xxx 就能搞定 ...

  9. ThinkPHP 连接Oracle的配置写法,(使用Oci扩展而非PDO的写法)

    測试了非常多遍,TP官网根本就没有给出正确的写法,并且网上搜索到的全都是错误的. 跟踪代码.终于找出了正确的配置写法,备份例如以下.(by default7#zbphp.com) 'DB_TYPE' ...

随机推荐

  1. 160816、webpack 入门指南

    什么是 webpack? webpack是近期最火的一款模块加载器兼打包工具,它能把各种资源,例如JS(含JSX).coffee.样式(含less/sass).图片等都作为模块来使用和处理. 我们可以 ...

  2. UVA Dividing coins

    题目链接: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_proble ...

  3. PHP heredoc 用法

    php 中的 heredoc技术是php用来引用字符串的一种方式.在phpwind中巧妙的运用了这个技术,实现了逻辑代码和界面设计的分离. 语法: 1. 使用操作符  “<<<” 2 ...

  4. git commit -a -m "DM 1、获取aliOssSTS值,计算签名,实现视频PUT/POST2种上传方式上传;"

    git commit -a -m "DM 1.获取aliOssSTS值,计算签名,实现视频PUT/POST2种上传方式上传:" 微信小程序的视频上传

  5. Bootstrap的js分页插件属性介绍

    Bootstrap Paginator是一款基于Bootstrap的js分页插件,功能很丰富,个人觉得这款插件已经无可挑剔了.它提供了一系列的参数用来支持用户的定 制,提供了公共的方法可随时获得插件状 ...

  6. Testlink安装成功后首页提示“There are security warning for your consideration.”

    Testlink安装成功后,登录Testlink,首页显示警告信息: “There are security warnings for your consideration. See details ...

  7. python面试题(五)

    1 谈谈你对面向对象的理解? 面向对象的编程---object oriented programming,简称:OOP,是一种编程的思想.OOP把对象当成一个程序的基本单元,一个对象包含了数据和操作数 ...

  8. window.onload和$(document).ready()比较

    浏览器在页面加载完毕后,JS通常使用window.onload方法为DOM元素添加事件,而jQuery使用的是$(document).ready()方法.两者功能相似,但也有细微差异,下面简要对比一下 ...

  9. 解决\build\outputs\apk\dream-debug.apk does not exist on disk错误

    \build\outputs\apk\dream-debug.apk does not exist on disk.错误,apk一直装不到手机里. 最有效的解决方法:Build>Buid APK

  10. 003-ARP地址解析协议

    一.概念 地址解析协议,即ARP(Address Resolution Protocol),是根据IP地址获取物理地址的一个TCP/IP协议.主机发送信息时将包含目标IP地址的ARP请求广播到网络上的 ...