
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
	<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head><card id="MainCard" title="&#x6B22;&#x8FCE;&#x5149;&#x4E34;"><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a><br/>&nbsp;</p><p><b>&#x6807;&#x9898;&#x3A;</b> &#x8054;&#x76DF;&#x540C;&#x6B65;&#x5B58;&#x50A8;&#x8FC7;&#x7A0B;&#x4FEE;&#x6539;&#x524D;&#x540E;&#x5BF9;&#x6BD4;</p><p><b>&#x4F5C;&#x8005;&#x3A;</b> &#x64;&#x6E;&#x61;&#x77;&#x6F;</p><p><b>&#x65E5;&#x671F;&#x3A;</b> &#x32;&#x30;&#x30;&#x38;&#x2D;&#x30;&#x34;&#x2D;&#x30;&#x39;&#x20;&#x30;&#x35;&#x3A;&#x35;&#x33;&#x20;&#x50;&#x4D;</p><p><b>&#x5206;&#x7C7B;&#x3A;</b> <a href="wap.asp?do=showLog&amp;cateID=5">&#x57;&#x65;&#x62;&#x7F16;&#x7A0B;</a></p><p><b>&#x5185;&#x5BB9;&#x3A;</b> &#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;---- &#x8BF4;&#x660E;&#xFF1A;&#x63A8;&#x5E7F;&#x540C;&#x6B65;<br/>---- &#x8F93;&#x5165;&#xFF1A; <br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[Mobile]&#160;&#160;&#160;&#160;&#x624B;&#x673A;&#x53F7;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[SynIp]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x540C;&#x6B65;&#x670D;&#x52A1;&#x5668;IP<br/>---- &#x8F93;&#x51FA;&#xFF1A;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[1]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x540C;&#x6B65;&#x6210;&#x529F;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[0]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x540C;&#x6B65;&#x610F;&#x5916;&#x5931;&#x8D25;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[-1]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x672A;&#x627E;&#x5230;&#x53D1;&#x8D77;<br/>Cr&#101;ate PROCEDURE dbo.Union_PromotionSynPR<br/>&#160;&#160;&#160;&#160;@Mobile&#160;&#160;&#160;&#160;nvarchar(20),<br/>&#160;&#160;&#160;&#160;@SynIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;nvarchar(20),<br/>&#160;&#160;&#160;&#160;@Message&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int output<br/> AS<br/>&#160;&#160;&#160;&#160;declare @count int<br/>&#160;&#160;&#160;&#160;declare @FileName nvarchar(100),@FileUrl nvarchar(200),@RaiseId int,@Union_Users_id int<br/>&#160;&#160;&#160;&#160;sel&#101;ct @count=count(*) from User_Raise_Promotion wh&#101;re Mobile=@Mobile<br/>&#160;&#160;&#160;&#160;if(@count=0)<br/>&#160;&#160;&#160;&#160;begin<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;set @Message=-1<br/>&#160;&#160;&#160;&#160;end<br/>&#160;&#160;&#160;&#160;else<br/>&#160;&#160;&#160;&#160;begin<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;sel&#101;ct top 1 @FileName=FileName,@FileUrl=FileUrl,@RaiseId=id,@Union_Users_id=Union_Users_id from User_Raise_Promotion wh&#101;re Mobile=@Mobile o&#114;der by ID desc<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;begin tran<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Ins&#101;rt into Users_Record_Promotion(RaiseId,Union_Users_id,FileName,FileUrl,Status,RaiseDateTime,SynIP) Values(@RaiseId,@Union_Users_id,@FileName,@FileUrl,1,getdate(),@SynIp)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(@@error&lt;&gt;0)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;begin<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;rollback tran<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Set @Message = 0<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;end<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;else<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;begin<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;commit tran<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Set @Message = 1<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;end<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;end<br/>GO<br/>&#x4FEE;&#x6539;&#x540E;&#xFF1A;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;---- &#x8BF4;&#x660E;&#xFF1A;&#x63A8;&#x5E7F;&#x540C;&#x6B65;<br/>---- &#x8F93;&#x5165;&#xFF1A; <br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[Mobile]&#160;&#160;&#160;&#160;&#x624B;&#x673A;&#x53F7;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[SynIp]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x540C;&#x6B65;&#x670D;&#x52A1;&#x5668;IP<br/>---- &#x8F93;&#x51FA;&#xFF1A;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[1]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x540C;&#x6B65;&#x6210;&#x529F;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[0]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x540C;&#x6B65;&#x610F;&#x5916;&#x5931;&#x8D25;<br/>----&#160;&#160;&#160;&#160;&nbsp;&nbsp;[-1]&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#x672A;&#x627E;&#x5230;&#x53D1;&#x8D77;<br/>Cr&#101;ate PROCEDURE dbo.Union_PromotionSynPR<br/>&#160;&#160;&#160;&#160;@Mobile&#160;&#160;&#160;&#160;nvarchar(20),<br/>&#160;&#160;&#160;&#160;@SynIp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;nvarchar(20)<br/> AS<br/>&#160;&#160;&#160;&#160;declare @count int<br/>&#160;&#160;&#160;&#160;declare @FileName nvarchar(100),@FileUrl nvarchar(200),@RaiseId int,@Union_Users_id int<br/>&#160;&#160;&#160;&#160;IF NOT EXISTS(Sel&#101;ct TOP 1 * FROM User_Raise_Promotion wh&#101;re Mobile=@Mobile)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return -1<br/>&#160;&#160;&#160;&#160;sel&#101;ct top 1 @FileName=FileName,@FileUrl=FileUrl,@RaiseId=id,@Union_Users_id=Union_Users_id from User_Raise_Promotion wh&#101;re Mobile=@Mobile o&#114;der by ID desc<br/>&#160;&#160;&#160;&#160;Ins&#101;rt into Users_Record_Promotion(RaiseId,Union_Users_id,FileName,FileUrl,Status,RaiseDateTime,SynIP) Values(@RaiseId,@Union_Users_id,@FileName,@FileUrl,1,getdate(),@SynIp)<br/>&#160;&#160;&#160;&#160;<br/>&#160;&#160;&#160;&#160;if(@@rowcount=1)<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return 1<br/>&#160;&#160;&#160;&#160;else<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return 0<br/>GO</p><p> + <a href="#CommentCard">&#x67E5;&#x770B;&#x5F53;&#x524D;&#x65E5;&#x5FD7;&#x8BC4;&#x8BBA;</a> (0)</p><p>&nbsp;<br/><br/><a href="wap.asp?do=Login">&#x767B;&#x5F55;</a></p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.047&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card><card id="postCommentCard"><p><b>&#x6807;&#x9898;&#x3A;</b> <a href="#MainCard">&#x8054;&#x76DF;&#x540C;&#x6B65;&#x5B58;&#x50A8;&#x8FC7;&#x7A0B;&#x4FEE;&#x6539;&#x524D;&#x540E;&#x5BF9;&#x6BD4;</a></p><p><br/>你没有权限发表评论</p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.047&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card><card id="CommentCard"><p>&#x6682;&#x65E0;&#x8BC4;&#x8BBA;</p><p><a href="#MainCard">&#x8FD4;&#x56DE;</a></p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.063&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card>
</wml>
