国产亚洲精品福利在线无卡一,国产精久久一区二区三区,亚洲精品无码国模,精品久久久久久无码专区不卡

當(dāng)前位置: 首頁 > news >正文

網(wǎng)上購物系統(tǒng)源碼seo診斷a5

網(wǎng)上購物系統(tǒng)源碼,seo診斷a5,成都手機(jī)號碼銷售網(wǎng)站建設(shè),企業(yè)網(wǎng)站的搭建流程ssm亞盛汽車配件銷售業(yè)績管理統(tǒng)源碼和論文PPT007 開發(fā)工具:idea 數(shù)據(jù)庫mysql5.7(mysql5.7最佳) 數(shù)據(jù)庫鏈接工具:navcat,小海豚等 開發(fā)技術(shù):java ssm tomcat8.5 研究的意義 汽車配件銷售類企業(yè)近年來得到長足發(fā)展,在市場份額不斷擴(kuò)大同時…

ssm亞盛汽車配件銷售業(yè)績管理統(tǒng)源碼和論文PPT007

開發(fā)工具:idea?

?數(shù)據(jù)庫mysql5.7+(mysql5.7最佳)

?數(shù)據(jù)庫鏈接工具:navcat,小海豚等

開發(fā)技術(shù):java ?ssm tomcat8.5

研究的意義

汽車配件銷售類企業(yè)近年來得到長足發(fā)展,在市場份額不斷擴(kuò)大同時,如何更好地管理企業(yè)現(xiàn)有銷售項目資源成為擺在該類企業(yè)面前的重要課題之一。本次打算開發(fā)的亞盛汽車配件銷售業(yè)績管理系統(tǒng)的開發(fā)過程引用 J2EE平臺技術(shù),該平臺中所包含的JDBC、JNDI等組件,規(guī)定訪問數(shù)據(jù)庫的形式。MVC設(shè)計模式以分層作為基本思想,可降低組件間的耦合性。

亞盛汽車配件銷售業(yè)績管理系統(tǒng)服務(wù)于汽車配件公司業(yè)務(wù),實(shí)現(xiàn)了客戶管理,主要負(fù)責(zé)對客戶相關(guān)數(shù)據(jù)的增刪改查方面、渠道管理,主要對渠道信息也就是設(shè)備的供應(yīng)商渠道信息進(jìn)行管理、項目管理,主要是一些項目信息的記錄與整理、銷售數(shù)據(jù)管理,主要對相關(guān)的汽車配件相關(guān)的銷售記錄作為一個存檔,方便汽車配件銷售分析等功能。

此系統(tǒng)面向汽車配件類企業(yè)的銷售項目管理工作,實(shí)際應(yīng)用后有助于管理層掌握下屬機(jī)構(gòu)的銷售數(shù)據(jù)業(yè)績,便于其制定具有前瞻性的銷售計劃;同時對企業(yè)的銷售行為起到規(guī)范作用,確保企業(yè)銷售工作基于本企業(yè)實(shí)際利益開展。

研究思路和方法

(1)調(diào)查法:從實(shí)際的系統(tǒng)開發(fā)目的出發(fā),結(jié)合系統(tǒng)需求調(diào)研,得出本系統(tǒng)的功能結(jié)構(gòu)模塊。

(2)文獻(xiàn)研究法:通過大量查閱有關(guān)本系統(tǒng)的相關(guān)技術(shù)書籍,更詳盡地了解網(wǎng)上有關(guān)系統(tǒng)的現(xiàn)狀及相關(guān)技術(shù)。

(3)經(jīng)驗(yàn)總結(jié)法:經(jīng)過網(wǎng)絡(luò)搜索、老師指導(dǎo)以及自己的開發(fā)經(jīng)驗(yàn)結(jié)合,對系統(tǒng)開發(fā)具體情況,進(jìn)行歸納與分析,使之系統(tǒng)化、理論化。

(4)實(shí)證研究法:自己進(jìn)行大量的編碼測試,一切從動手編碼出發(fā),結(jié)合自己以前的編程基礎(chǔ),實(shí)現(xiàn)系統(tǒng)所需要的功能。

?

package com.controller;import java.text.SimpleDateFormat;
import java.util.*;
import javax.servlet.http.HttpServletRequest;import com.annotation.IgnoreAuth;
import com.entity.YonghuxinxiEntity;
import com.service.TokenService;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;import com.entity.YonghuxinxiEntity;import com.service.YonghuxinxiService;
import com.utils.PageUtils;
import com.utils.R;/*** 員工信息* 后端接口* @author* @email* @date 2024-02-02
*/
@RestController
@Controller
@RequestMapping("/yonghuxinxi")
public class YonghuxinxiController {private static final Logger logger = LoggerFactory.getLogger(YonghuxinxiController.class);@Autowiredprivate YonghuxinxiService yonghuxinxiService;@Autowiredprivate TokenService tokenService;/*** 登錄*/@IgnoreAuth@PostMapping(value = "/login")public R login(String username, String password, String role, HttpServletRequest request) {YonghuxinxiEntity user = yonghuxinxiService.selectOne(new EntityWrapper<YonghuxinxiEntity>().eq("account", username));if(user != null){if(!user.getRole().equals(role)){return R.error("權(quán)限不正常");}if(user==null || !user.getPassword().equals(password)) {return R.error("賬號或密碼不正確");}String token = tokenService.generateToken(user.getId(),user.getName(), "users", user.getRole());return R.ok().put("token", token);}else{return R.error("賬號或密碼或權(quán)限不對");}}/*** 注冊*/@IgnoreAuth@PostMapping(value = "/register")public R register(@RequestBody YonghuxinxiEntity user){
//    	ValidatorUtils.validateEntity(user);if(yonghuxinxiService.selectOne(new EntityWrapper<YonghuxinxiEntity>().eq("username", user.getAccount())) !=null) {return R.error("用戶已存在");}yonghuxinxiService.insert(user);return R.ok();}/*** 退出*/@GetMapping(value = "logout")public R logout(HttpServletRequest request) {request.getSession().invalidate();return R.ok("退出成功");}/*** 獲取用戶的session用戶信息*/@RequestMapping("/session")public R getCurrUser(HttpServletRequest request){Integer id = (Integer)request.getSession().getAttribute("userId");YonghuxinxiEntity user = yonghuxinxiService.selectById(id);return R.ok().put("data", user);}/*** 密碼重置*/@IgnoreAuth@RequestMapping(value = "/resetPass")public R resetPass(String username, HttpServletRequest request){YonghuxinxiEntity user = yonghuxinxiService.selectOne(new EntityWrapper<YonghuxinxiEntity>().eq("username", username));if(user==null) {return R.error("賬號不存在");}user.setPassword("123456");yonghuxinxiService.update(user,null);return R.ok("密碼已重置為:123456");}/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params, HttpServletRequest request){logger.debug("Controller:"+this.getClass().getName()+",page方法");Object role = request.getSession().getAttribute("role");PageUtils page = null;if(role.equals("員工")){params.put("yh",request.getSession().getAttribute("userId"));page = yonghuxinxiService.queryPage(params);}else{page = yonghuxinxiService.queryPage(params);}return R.ok().put("data", page);}/*** 后端詳情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){logger.debug("Controller:"+this.getClass().getName()+",info方法");YonghuxinxiEntity yonghuxinxi = yonghuxinxiService.selectById(id);if(yonghuxinxi!=null){return R.ok().put("data", yonghuxinxi);}else {return R.error(511,"查不到數(shù)據(jù)");}}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody YonghuxinxiEntity yonghuxinxi, HttpServletRequest request){logger.debug("Controller:"+this.getClass().getName()+",save");Wrapper<YonghuxinxiEntity> queryWrapper = new EntityWrapper<YonghuxinxiEntity>().eq("name", yonghuxinxi.getName()).in("account",yonghuxinxi.getAccount());logger.info("sql語句:"+queryWrapper.getSqlSegment());YonghuxinxiEntity yonghuxinxiEntity = yonghuxinxiService.selectOne(queryWrapper);if("".equals(yonghuxinxi.getImgPhoto()) || "null".equals(yonghuxinxi.getImgPhoto())){yonghuxinxi.setImgPhoto(null);}yonghuxinxi.setRole("員工");if(yonghuxinxiEntity==null){yonghuxinxiService.insert(yonghuxinxi);return R.ok();}else {return R.error(511,"表中有相同數(shù)據(jù)");}}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody YonghuxinxiEntity yonghuxinxi, HttpServletRequest request){logger.debug("Controller:"+this.getClass().getName()+",update");//根據(jù)字段查詢是否有相同數(shù)據(jù)Wrapper<YonghuxinxiEntity> queryWrapper = new EntityWrapper<YonghuxinxiEntity>().notIn("id",yonghuxinxi.getId()).in("name",yonghuxinxi.getName()).in("account",yonghuxinxi.getAccount());logger.info("sql語句:"+queryWrapper.getSqlSegment());YonghuxinxiEntity yonghuxinxiEntity = yonghuxinxiService.selectOne(queryWrapper);if("".equals(yonghuxinxi.getImgPhoto()) || "null".equals(yonghuxinxi.getImgPhoto())){yonghuxinxi.setImgPhoto(null);}if(yonghuxinxiEntity==null){yonghuxinxiService.updateById(yonghuxinxi);//根據(jù)id更新return R.ok();}else {return R.error(511,"表中有相同數(shù)據(jù)");}}/*** 刪除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){logger.debug("Controller:"+this.getClass().getName()+",delete");yonghuxinxiService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}

http://m.aloenet.com.cn/news/34716.html

相關(guān)文章:

  • 視頻公司的網(wǎng)站設(shè)計模板網(wǎng)站建站公司
  • 如何對網(wǎng)站建設(shè)和維護(hù)企業(yè)策劃
  • 用織夢網(wǎng)站后臺發(fā)布文章為什么還需要審核谷歌下載安裝
  • 公司網(wǎng)站建設(shè)南寧百度競價收費(fèi)標(biāo)準(zhǔn)
  • 房地產(chǎn)營銷網(wǎng)站建設(shè)新浪微指數(shù)
  • 鄭州中揚(yáng)科技網(wǎng)站建設(shè)公司怎么樣網(wǎng)絡(luò)營銷方案ppt
  • 手機(jī)端網(wǎng)站建站品牌營銷案例分析
  • wordpress耗資源關(guān)閉深圳最好的外貿(mào)seo培訓(xùn)
  • 安徽省建設(shè)廳網(wǎng)站域名容易被百度收錄的網(wǎng)站
  • 網(wǎng)站開發(fā)需求調(diào)研互動營銷案例100
  • 用vue做的網(wǎng)站模板seo網(wǎng)站推廣如何做
  • 江蘇中南建筑信息平臺搜索引擎seo優(yōu)化怎么做
  • 做網(wǎng)站合肥百度搜索推廣平臺
  • 做電商網(wǎng)站用什么框架電商平臺開發(fā)需要多少錢
  • 游戲網(wǎng)站怎么做推廣成人大學(xué)報名官網(wǎng)入口
  • 網(wǎng)站制作應(yīng)該注意到的問題seo有哪些優(yōu)缺點(diǎn)?
  • 營銷型網(wǎng)站建設(shè)公司價格經(jīng)典網(wǎng)絡(luò)營銷案例
  • openshift安裝wordpress密碼忘記百度seo關(guān)鍵詞報價
  • wordpress模板工作室佛山網(wǎng)絡(luò)公司 樂云seo
  • 服裝設(shè)計圖seo營銷推廣服務(wù)公司
  • 網(wǎng)站設(shè)計怎么做鏈接中國疫情最新消息
  • 做網(wǎng)站推廣的方法佛山關(guān)鍵詞排名效果
  • 食藥監(jiān)局網(wǎng)站建設(shè)方案濰坊網(wǎng)站seo
  • 90設(shè)計網(wǎng)站可以商用嗎學(xué)生班級優(yōu)化大師
  • 個人網(wǎng)站有什么缺點(diǎn)it人必看的網(wǎng)站
  • 西寧做網(wǎng)站的公司力請君博d百度網(wǎng)站關(guān)鍵詞排名查詢
  • 高端品牌男鞋有哪些優(yōu)化營商環(huán)境心得體會個人
  • 哪個網(wǎng)站 的域名最便宜seo推廣外包企業(yè)
  • 模板網(wǎng)站 可以做推廣嗎如何優(yōu)化搜索引擎
  • 招聘網(wǎng)站上怎么做推廣青島網(wǎng)站建設(shè)公司電話