資源簡介
拍賣系統.zip

代碼片段和文件信息
package?controller;
import?java.util.List;
import?org.springframework.beans.factory.annotation.Autowired;
import?org.springframework.context.annotation.Scope;
import?org.springframework.stereotype.Controller;
import?org.springframework.ui.ModelMap;
import?org.springframework.web.bind.annotation.RequestMapping;
import?org.springframework.web.bind.annotation.RequestMethod;
import?org.springframework.web.bind.annotation.RequestParam;
import?com.github.pagehelper.PageHelper;
import?com.github.pagehelper.PageInfo;
import?entity.SkProduct;
import?entity.SkUser;
import?service.SkProductService;
import?service.SkUserService;
@Controller
@Scope(“prototype“)
public?class?BackGroundHomeController?{
@Autowired
private?SkProductService?productService;
@Autowired
private?SkUserService?userService;
@RequestMapping(“/backGroundHome2.do“)
public?String?index(@RequestParam(required=falsedefaultValue=“1“)Integer?pageModelMap?model){
int?pageSize=4;
System.out.println(“1111“);
PageHelper.startPage(page?pageSize);
List?products?=?productService.getProductBystatus();
PageInfo?pageInfo?=?new?PageInfo(products);
model.put(“pageInfo“?pageInfo);
return?“backGroundHome“;
/* List?users?=?userService.getUsers();
System.out.println(users.size());
model.put(“products“?users);*/
//model.put(“details“?details);
}
@RequestMapping(value?=?“/userstatusupdate.do“?method?=?{?RequestMethod.POST?})
public?String?statusupdate(SkUser?skuserModelMap?model)?{
try{
userService.userstatusupdate(skuser);
}catch(Exception?e){
e.printStackTrace();
model.put(“errror“?“狀態出錯“);
}
return?“..“;
}
//qnmmp上架
@RequestMapping(value?=?“/productstatusupdate.do“?method?=?{?RequestMethod.POST?})
public?String?statusupdate(SkProduct?skproductModelMap?model)?{
try{
productService.productstatusupdate(skproduct);
}catch(Exception?e){
e.printStackTrace();
model.put(“errror“?“狀態出錯“);
}
return?“..“;
}
//qnmmp官方估價
@RequestMapping(value?=?“/addskOfficialPrice.do“?method?=?{?RequestMethod.POST?})
public?String?addskOfficialPrice(SkProduct?skproductString?OfficialPriceModelMap?model)?{
skproduct.setSkOfficialPrice(Double.valueOf(OfficialPrice));
try{
productService.addskOfficialPrice(skproduct);
}catch(Exception?e){
e.printStackTrace();
model.put(“errror“?“狀態出錯“);
}
return?“..“;
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-11-11?09:06??ShiKe\
?????文件?????????868??2017-11-11?09:06??ShiKe\.classpath
?????文件?????????272??2017-11-11?09:06??ShiKe\.gitignore
?????文件????????1396??2017-11-11?09:06??ShiKe\.project
?????目錄???????????0??2017-11-11?09:06??ShiKe\.settings\
?????文件?????????552??2017-11-11?09:06??ShiKe\.settings\.jsdtscope
?????文件?????????104??2017-11-11?09:06??ShiKe\.settings\com.genuitec.runtime.libraries.xm
?????文件?????????122??2017-11-11?09:06??ShiKe\.settings\org.eclipse.core.resources.prefs
?????文件?????????422??2017-11-11?09:06??ShiKe\.settings\org.eclipse.jdt.core.prefs
?????文件??????????86??2017-11-11?09:06??ShiKe\.settings\org.eclipse.m2e.core.prefs
?????文件?????????564??2017-11-11?09:06??ShiKe\.settings\org.eclipse.wst.common.component
?????文件?????????293??2017-11-11?09:06??ShiKe\.settings\org.eclipse.wst.common.project.facet.core.prefs.xm
?????文件?????????433??2017-11-11?09:06??ShiKe\.settings\org.eclipse.wst.common.project.facet.core.xm
?????文件??????????49??2017-11-11?09:06??ShiKe\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2017-11-11?09:06??ShiKe\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????文件??????????48??2017-11-11?09:06??ShiKe\.settings\org.eclipse.wst.validation.prefs
?????文件?????????442??2017-11-11?09:06??ShiKe\.springBeans
?????文件??????????10??2017-11-11?09:06??ShiKe\README.md
?????目錄???????????0??2017-11-11?09:06??ShiKe\WebRoot\
?????目錄???????????0??2017-11-11?09:06??ShiKe\WebRoot\me
?????文件??????????36??2017-11-11?09:06??ShiKe\WebRoot\me
?????目錄???????????0??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\
?????目錄???????????0??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\
?????文件????????2098??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\backGroundHome.jsp
?????文件????????2433??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\biddingadd.jsp
?????文件????????3387??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\complete.jsp
?????文件???????10452??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\fenlei1.jsp
?????文件????????3497??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\fenlei2.jsp
?????文件???????11266??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\index.jsp
?????文件????????9779??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\index3.jsp
?????文件????????7599??2017-11-11?09:06??ShiKe\WebRoot\WEB-INF\jsp\index_top.jsp
............此處省略324個文件信息
- 上一篇:百度echart五種圖表案例
- 下一篇:豆丁當當V2.3.zip
評論
共有 條評論