資源簡介
很好的系統,是課程設計的常見題目。包含源程序,以及文檔。

代碼片段和文件信息
package?com.netshop;
import?java.sql.*;
import?java.text.*;
import?com.netshop.*;
public?class?attention?extends?executeWay
{
???
????
????public?long?ID;??
????public?long?goodsID;???
????public?long?userID;?
????public?int?tag;????
????private?String?strSql;
???
????private?SimpleDateFormat?dateFormatter;
????
????
?????public?attention()
????{
????????super();
???????
????????ID=0;????????????
????????goodsID=0;?????????? ??????
????userID=0;????????????????????????????
???? tag=0;
??? strSql=““;????????????????
???}
???
???public?boolean?add()
???{
????????
????????strSql=“insert?into?attention?“;
????????strSql=strSql?+?“(“;?????
????????strSql=strSql?+?“goodsID“;
????????strSql=strSql?+?“userID“;???
????????strSql=strSql?+?“tag“;???????
????????strSql=strSql?+?“)?“;??????
strSql=strSql?+?“values(“;
strSql=strSql?+?“‘“?+?goodsID?+?“‘“;
strSql=strSql?+?“‘“?+?userID?+?“‘“;
strSql=strSql?+?“‘“?+?tag?+?“‘“;
strSql=strSql?+?“)“;
boolean?isAdd?=?super.exeSqlUpdate(strSql);
return?isAdd;
???}
???public?boolean?delete(String?webID)
???{
????????
????????strSql=“delete?from?‘attention‘?where?ID=‘“;
????????strSql=strSql?+?webID?+?“‘“;???????
????????boolean?isDelete?=?super.exeSqlUpdate(strSql);
?????????
return?isDelete;
???}
???
?
???public?ResultSet?showAllAttentions(String?userID)
???{
???? strSql=“select?*?from?‘attention‘?where?tag!=-1?and?userID=‘“+userID+“‘“;
????????ResultSet?rs?=?null;
??????????????
????????try
{
rs?=?super.exeSqlQuery(strSql);??? ???????????
???????????
}
catch(Exception?ex)
{
System.out.println(ex.toString());????????????
???????????
}
return?rs;
????????
???}
???
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????340??2009-11-01?19:13??網上交易平臺\netshop\.classpath
?????文件????????294??2009-11-01?19:13??網上交易平臺\netshop\.myme
?????文件???????1413??2009-11-01?19:13??網上交易平臺\netshop\.project
?????文件????????890??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\anonymity_top.jsp
?????文件???????1284??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\attentionSave.jsp
?????文件???????1097??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\deleteAttention.jsp
?????文件???????1115??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\deleteDiscussion.jsp
?????文件???????1230??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\deleteEmail.jsp
?????文件???????1374??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\discussionSave.jsp
?????文件????????567??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\emailManagement.jsp
?????文件???????1449??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\emailShow.jsp
?????文件????????453??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\email_left.jsp
?????文件???????2889??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\first.jsp
?????文件???????2219??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\getMypassword.jsp
?????文件????????582??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\getPassword.jsp
?????文件???????4120??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\goodsShow.jsp
?????文件????????561??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\index.jsp
?????文件????????567??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\infoManagement.jsp
?????文件????????662??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\info_left.jsp
?????文件???????1100??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\loginCheck.jsp
?????文件????????160??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\logout.jsp
?????文件???????1754??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\modifyPasswordForm.jsp
?????文件???????1275??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\modifyPasswordSave.jsp
?????文件???????2114??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\myAttentionList.jsp
?????文件???????1930??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\myDiscussionList.jsp
?????文件???????1927??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\myReceiveBox.jsp
?????文件????????558??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\normal_index.jsp
?????文件???????1027??2009-11-02?20:31??網上交易平臺\netshop\WebRoot\normal_top.jsp
?????文件???????1475??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\reg.jsp
?????文件????????851??2009-11-01?19:13??網上交易平臺\netshop\WebRoot\regCheck.jsp
............此處省略190個文件信息
- 上一篇:MFC非客戶區完美自繪
- 下一篇:用C++實現點云顯示
評論
共有 條評論