国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文

這篇具有很好參考價值的文章主要介紹了基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

由于APP軟件在開發(fā)以及運營上面所需成本較高,而用戶手機需要安裝各種APP軟件,因此占用用戶過多的手機存儲空間,導(dǎo)致用戶手機運行緩慢,體驗度比較差,進而導(dǎo)致用戶會卸載非必要的APP,倒逼管理者必須改變運營策略。隨著微信小程序的出現(xiàn),解決了用戶非獨立APP不可訪問內(nèi)容的痛點,所以很多APP軟件都轉(zhuǎn)向微信小程序。本次課題就運用了微信小程序技術(shù)開發(fā)一個陽光電腦公司的維修服務(wù)微信小程序。

陽光電腦公司的維修服務(wù)微信小程序借助微信開發(fā)者工具開發(fā)用戶前端,使用SSM框架和Java語言開發(fā)管理員后臺,使用Mysql創(chuàng)建數(shù)據(jù)表保存本系統(tǒng)產(chǎn)生的數(shù)據(jù)。系統(tǒng)可以提供信息顯示和相應(yīng)服務(wù),其管理員管理配件,電腦,維修,購買訂單,客服通知以及用戶評價。用戶購買電腦,申請電腦維修,支付維修費用并評價維修訂單。

總之,陽光電腦公司的維修服務(wù)微信小程序可以更加方便用戶購買電腦,申請電腦維修,并在線支付費用。

基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序

關(guān)鍵詞:陽光電腦公司的維修服務(wù)微信小程序;微信開發(fā)者工具;SSM框架

基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文weixin154

基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序
Abstract

Due to the high cost of APP software development and operation, and the user's mobile phone needs to install various APP software, it takes up too much mobile phone storage space of the user, causing the user's mobile phone to run slowly, the experience is relatively poor, and the user will uninstall Non-essential APPs force managers to change their operating strategies. With the emergence of WeChat mini-programs, the pain point that users cannot access content from non-independent APPs has been solved, so many APP software have turned to WeChat mini-programs. In this project, the WeChat applet technology was used to develop a WeChat applet for Sunshine Computer's maintenance service.

Sunshine Computer’s maintenance service WeChat applet uses WeChat developer tools to develop the user front end, uses the SSM framework and Java language to develop the administrator backend, and uses Mysql to create a data table to save the data generated by the system. The system can provide information display and corresponding services, and its administrator manages accessories, computers, maintenance, purchase orders, customer service notifications and user reviews. Users purchase computers, apply for computer repairs, pay for repairs, and evaluate repair orders.

In short, Sunshine Computer’s maintenance service WeChat applet can make it more convenient for users to purchase computers, apply for computer repairs, and pay online.

Key WordsSunshine Computer’s maintenance service WeChat applet; WeChat developer tool; SSM framework

主要中文參考資料與外文資料(在確定了畢業(yè)論文(設(shè)計)題目和明確了要求后,指導(dǎo)教師應(yīng)給學生提供一些相關(guān)資料和相關(guān)信息,或劃定參考資料的范圍,指導(dǎo)學生收集反映當前研究進展的近1-3年參考資料和文獻。外文資料是指導(dǎo)老師根據(jù)選題情況明確學生需要閱讀或翻譯成中文的外文文獻。)

[1]徐星明. 微信小程序第三方平臺的設(shè)計與實現(xiàn)[D].山東大學,2020.

[2]袁久琛. 企業(yè)級通用小程序管理平臺設(shè)計與實現(xiàn)[D].大連理工大學,2020.

[3]張振超,吳杰,陳序蓬.淺談Java中Mysql數(shù)據(jù)庫的連接與操作[J].信息記錄材料,2020,21(02):144-145.

[4]鄭智方,魏愷樂,李彬,謝易壯.MySQL得到廣泛使用的原因以及它的嵌入應(yīng)用[J].科技風,2020(05):114.

[5]趙秀芹,劉楊青,李瑞祥.MySQL數(shù)據(jù)庫使用技巧三例[J].網(wǎng)絡(luò)安全和信息化,2019(08):90-91.

[6]余濤.計算機軟件開發(fā)中Java編程語言的應(yīng)用研究[J].信息記錄材料,2020,21(01):113-115.

[7]岳青玲.Java面向?qū)ο缶幊痰娜筇匦訹J].電子技術(shù)與軟件工程,2019(24):239-240.

[8]耿學.關(guān)于Java Web中中文亂碼問題的探討[J].現(xiàn)代信息科技,2020,4(01):74-75+78.

[9]張彥芳.Java Web項目開發(fā)中的中文亂碼問題與對策[J].電腦知識與技術(shù),2020,16(09):96-97.

[10]薛茹.基于SSM框架的Web系統(tǒng)研究與應(yīng)用[J].計算機產(chǎn)品與流通,2018(07):30.

[11]邱丹萍.Web開發(fā)中SSM框架的分析[J].電腦知識與技術(shù),2020,16(17):81-82.

[12]袁堂青,亓婧.基于微信小程序的開發(fā)與研究[J].網(wǎng)絡(luò)安全技術(shù)與應(yīng)用,2020(04):66-67.

[13]邢榕珊,匡芳君.微信小程序設(shè)計[J].計算機時代,2018(08):9-12.

[14]仲崇文.關(guān)于計算機軟件開發(fā)中常見問題的研究[J].通訊世界,2020,27(07):89-90.

[15]Raffi Khatchadourian.Automated refactoring of legacy Java software to enumerated types[J].Automated Software Engineering,2017,24(4).

[16]Ben White.Marx and Chayanov at the margins:understanding agrarian change in Java[J].The Journal of Peasant Studies,2018,45(5-6).

基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文,微信小程序,小程序

package com.controller;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;

import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;

import com.entity.YonghuEntity;
import com.entity.view.YonghuView;

import com.service.YonghuService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;


/**
 * 用戶
 * 后端接口
 * @author 
 * @email 
 * @date 2021-04-27 14:05:12
 */
@RestController
@RequestMapping("/yonghu")
public class YonghuController {
    @Autowired
    private YonghuService yonghuService;
    
	@Autowired
	private TokenService tokenService;
	
	/**
	 * 登錄
	 */
	@IgnoreAuth
	@RequestMapping(value = "/login")
	public R login(String username, String password, String captcha, HttpServletRequest request) {
		YonghuEntity user = yonghuService.selectOne(new EntityWrapper<YonghuEntity>().eq("zhanghao", username));
		if(user==null || !user.getMima().equals(password)) {
			return R.error("賬號或密碼不正確");
		}
		String token = tokenService.generateToken(user.getId(), username,"yonghu",  "用戶" );
		return R.ok().put("token", token);
	}
	
	/**
     * 注冊
     */
	@IgnoreAuth
    @RequestMapping("/register")
    public R register(@RequestBody YonghuEntity yonghu){
    	//ValidatorUtils.validateEntity(yonghu);
    	YonghuEntity user = yonghuService.selectOne(new EntityWrapper<YonghuEntity>().eq("zhanghao", yonghu.getZhanghao()));
		if(user!=null) {
			return R.error("注冊用戶已存在");
		}
		Long uId = new Date().getTime();
		yonghu.setId(uId);
        yonghuService.insert(yonghu);
        return R.ok();
    }
	
	/**
	 * 退出
	 */
	@RequestMapping("/logout")
	public R logout(HttpServletRequest request) {
		request.getSession().invalidate();
		return R.ok("退出成功");
	}
	
	/**
     * 獲取用戶的session用戶信息
     */
    @RequestMapping("/session")
    public R getCurrUser(HttpServletRequest request){
    	Long id = (Long)request.getSession().getAttribute("userId");
        YonghuEntity user = yonghuService.selectById(id);
        return R.ok().put("data", user);
    }
    
    /**
     * 密碼重置
     */
    @IgnoreAuth
	@RequestMapping(value = "/resetPass")
    public R resetPass(String username, HttpServletRequest request){
    	YonghuEntity user = yonghuService.selectOne(new EntityWrapper<YonghuEntity>().eq("zhanghao", username));
    	if(user==null) {
    		return R.error("賬號不存在");
    	}
    	user.setMima("123456");
        yonghuService.updateById(user);
        return R.ok("密碼已重置為:123456");
    }


    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,YonghuEntity yonghu, 
		HttpServletRequest request){

        EntityWrapper<YonghuEntity> ew = new EntityWrapper<YonghuEntity>();
		PageUtils page = yonghuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yonghu), params), params));
        return R.ok().put("data", page);
    }
    
    /**
     * 前端列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,YonghuEntity yonghu, 
		HttpServletRequest request){
        EntityWrapper<YonghuEntity> ew = new EntityWrapper<YonghuEntity>();
		PageUtils page = yonghuService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yonghu), params), params));
        return R.ok().put("data", page);
    }

	/**
     * 列表
     */
    @RequestMapping("/lists")
    public R list( YonghuEntity yonghu){
       	EntityWrapper<YonghuEntity> ew = new EntityWrapper<YonghuEntity>();
      	ew.allEq(MPUtil.allEQMapPre( yonghu, "yonghu")); 
        return R.ok().put("data", yonghuService.selectListView(ew));
    }

	 /**
     * 查詢
     */
    @RequestMapping("/query")
    public R query(YonghuEntity yonghu){
        EntityWrapper< YonghuEntity> ew = new EntityWrapper< YonghuEntity>();
 		ew.allEq(MPUtil.allEQMapPre( yonghu, "yonghu")); 
		YonghuView yonghuView =  yonghuService.selectView(ew);
		return R.ok("查詢用戶成功").put("data", yonghuView);
    }
	
    /**
     * 后端詳情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        YonghuEntity yonghu = yonghuService.selectById(id);
        return R.ok().put("data", yonghu);
    }

    /**
     * 前端詳情
     */
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") Long id){
        YonghuEntity yonghu = yonghuService.selectById(id);
        return R.ok().put("data", yonghu);
    }
    



    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody YonghuEntity yonghu, HttpServletRequest request){
    	yonghu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(yonghu);
    	YonghuEntity user = yonghuService.selectOne(new EntityWrapper<YonghuEntity>().eq("zhanghao", yonghu.getZhanghao()));
		if(user!=null) {
			return R.error("用戶已存在");
		}

		yonghu.setId(new Date().getTime());
        yonghuService.insert(yonghu);
        return R.ok();
    }
    
    /**
     * 前端保存
     */
    @RequestMapping("/add")
    public R add(@RequestBody YonghuEntity yonghu, HttpServletRequest request){
    	yonghu.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(yonghu);
    	YonghuEntity user = yonghuService.selectOne(new EntityWrapper<YonghuEntity>().eq("zhanghao", yonghu.getZhanghao()));
		if(user!=null) {
			return R.error("用戶已存在");
		}

		yonghu.setId(new Date().getTime());
        yonghuService.insert(yonghu);
        return R.ok();
    }

    /**
     * 修改
     */
    @RequestMapping("/update")
    public R update(@RequestBody YonghuEntity yonghu, HttpServletRequest request){
        //ValidatorUtils.validateEntity(yonghu);
        yonghuService.updateById(yonghu);//全部更新
        return R.ok();
    }
    

    /**
     * 刪除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        yonghuService.deleteBatchIds(Arrays.asList(ids));
        return R.ok();
    }
    
    /**
     * 提醒接口
     */
	@RequestMapping("/remind/{columnName}/{type}")
	public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, 
						 @PathVariable("type") String type,@RequestParam Map<String, Object> map) {
		map.put("column", columnName);
		map.put("type", type);
		
		if(type.equals("2")) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			Calendar c = Calendar.getInstance();
			Date remindStartDate = null;
			Date remindEndDate = null;
			if(map.get("remindstart")!=null) {
				Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
				c.setTime(new Date()); 
				c.add(Calendar.DAY_OF_MONTH,remindStart);
				remindStartDate = c.getTime();
				map.put("remindstart", sdf.format(remindStartDate));
			}
			if(map.get("remindend")!=null) {
				Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
				c.setTime(new Date());
				c.add(Calendar.DAY_OF_MONTH,remindEnd);
				remindEndDate = c.getTime();
				map.put("remindend", sdf.format(remindEndDate));
			}
		}
		
		Wrapper<YonghuEntity> wrapper = new EntityWrapper<YonghuEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}


		int count = yonghuService.selectCount(wrapper);
		return R.ok().put("count", count);
	}
	


}

?文章來源地址http://www.zghlxwxcb.cn/news/detail-803348.html

package com.controller;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;

import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;

import com.entity.YonghupingjiaEntity;
import com.entity.view.YonghupingjiaView;

import com.service.YonghupingjiaService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;


/**
 * 用戶評價
 * 后端接口
 * @author 
 * @email 
 * @date 2021-04-27 14:05:12
 */
@RestController
@RequestMapping("/yonghupingjia")
public class YonghupingjiaController {
    @Autowired
    private YonghupingjiaService yonghupingjiaService;
    


    /**
     * 后端列表
     */
    @RequestMapping("/page")
    public R page(@RequestParam Map<String, Object> params,YonghupingjiaEntity yonghupingjia, 
		HttpServletRequest request){

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("yonghu")) {
			yonghupingjia.setZhanghao((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper<YonghupingjiaEntity> ew = new EntityWrapper<YonghupingjiaEntity>();
		PageUtils page = yonghupingjiaService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yonghupingjia), params), params));
        return R.ok().put("data", page);
    }
    
    /**
     * 前端列表
     */
    @RequestMapping("/list")
    public R list(@RequestParam Map<String, Object> params,YonghupingjiaEntity yonghupingjia, 
		HttpServletRequest request){

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("yonghu")) {
			yonghupingjia.setZhanghao((String)request.getSession().getAttribute("username"));
		}
        EntityWrapper<YonghupingjiaEntity> ew = new EntityWrapper<YonghupingjiaEntity>();
		PageUtils page = yonghupingjiaService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, yonghupingjia), params), params));
        return R.ok().put("data", page);
    }

	/**
     * 列表
     */
    @RequestMapping("/lists")
    public R list( YonghupingjiaEntity yonghupingjia){
       	EntityWrapper<YonghupingjiaEntity> ew = new EntityWrapper<YonghupingjiaEntity>();
      	ew.allEq(MPUtil.allEQMapPre( yonghupingjia, "yonghupingjia")); 
        return R.ok().put("data", yonghupingjiaService.selectListView(ew));
    }

	 /**
     * 查詢
     */
    @RequestMapping("/query")
    public R query(YonghupingjiaEntity yonghupingjia){
        EntityWrapper< YonghupingjiaEntity> ew = new EntityWrapper< YonghupingjiaEntity>();
 		ew.allEq(MPUtil.allEQMapPre( yonghupingjia, "yonghupingjia")); 
		YonghupingjiaView yonghupingjiaView =  yonghupingjiaService.selectView(ew);
		return R.ok("查詢用戶評價成功").put("data", yonghupingjiaView);
    }
	
    /**
     * 后端詳情
     */
    @RequestMapping("/info/{id}")
    public R info(@PathVariable("id") Long id){
        YonghupingjiaEntity yonghupingjia = yonghupingjiaService.selectById(id);
        return R.ok().put("data", yonghupingjia);
    }

    /**
     * 前端詳情
     */
    @RequestMapping("/detail/{id}")
    public R detail(@PathVariable("id") Long id){
        YonghupingjiaEntity yonghupingjia = yonghupingjiaService.selectById(id);
        return R.ok().put("data", yonghupingjia);
    }
    



    /**
     * 后端保存
     */
    @RequestMapping("/save")
    public R save(@RequestBody YonghupingjiaEntity yonghupingjia, HttpServletRequest request){
    	yonghupingjia.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(yonghupingjia);

        yonghupingjiaService.insert(yonghupingjia);
        return R.ok();
    }
    
    /**
     * 前端保存
     */
    @RequestMapping("/add")
    public R add(@RequestBody YonghupingjiaEntity yonghupingjia, HttpServletRequest request){
    	yonghupingjia.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
    	//ValidatorUtils.validateEntity(yonghupingjia);
    	yonghupingjia.setUserid((Long)request.getSession().getAttribute("userId"));

        yonghupingjiaService.insert(yonghupingjia);
        return R.ok();
    }

    /**
     * 修改
     */
    @RequestMapping("/update")
    public R update(@RequestBody YonghupingjiaEntity yonghupingjia, HttpServletRequest request){
        //ValidatorUtils.validateEntity(yonghupingjia);
        yonghupingjiaService.updateById(yonghupingjia);//全部更新
        return R.ok();
    }
    

    /**
     * 刪除
     */
    @RequestMapping("/delete")
    public R delete(@RequestBody Long[] ids){
        yonghupingjiaService.deleteBatchIds(Arrays.asList(ids));
        return R.ok();
    }
    
    /**
     * 提醒接口
     */
	@RequestMapping("/remind/{columnName}/{type}")
	public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, 
						 @PathVariable("type") String type,@RequestParam Map<String, Object> map) {
		map.put("column", columnName);
		map.put("type", type);
		
		if(type.equals("2")) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			Calendar c = Calendar.getInstance();
			Date remindStartDate = null;
			Date remindEndDate = null;
			if(map.get("remindstart")!=null) {
				Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
				c.setTime(new Date()); 
				c.add(Calendar.DAY_OF_MONTH,remindStart);
				remindStartDate = c.getTime();
				map.put("remindstart", sdf.format(remindStartDate));
			}
			if(map.get("remindend")!=null) {
				Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
				c.setTime(new Date());
				c.add(Calendar.DAY_OF_MONTH,remindEnd);
				remindEndDate = c.getTime();
				map.put("remindend", sdf.format(remindEndDate));
			}
		}
		
		Wrapper<YonghupingjiaEntity> wrapper = new EntityWrapper<YonghupingjiaEntity>();
		if(map.get("remindstart")!=null) {
			wrapper.ge(columnName, map.get("remindstart"));
		}
		if(map.get("remindend")!=null) {
			wrapper.le(columnName, map.get("remindend"));
		}

		String tableName = request.getSession().getAttribute("tableName").toString();
		if(tableName.equals("yonghu")) {
			wrapper.eq("zhanghao", (String)request.getSession().getAttribute("username"));
		}

		int count = yonghupingjiaService.selectCount(wrapper);
		return R.ok().put("count", count);
	}
	


}

到了這里,關(guān)于基于ssm的手機電腦電子產(chǎn)品維修服務(wù)微信小程序源碼和論文的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔相關(guān)法律責任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • 基于Java的電子產(chǎn)品倉庫管理系統(tǒng)開發(fā)與實現(xiàn)(Springboot框架)研究背景和意義、國內(nèi)外現(xiàn)狀

    ?博主介紹 :黃菊華老師《Vue.js入門與商城開發(fā)實戰(zhàn)》《微信小程序商城開發(fā)》圖書作者,CSDN博客專家,在線教育專家,CSDN鉆石講師;專注大學生畢業(yè)設(shè)計教育和輔導(dǎo)。 所有項目都配有從入門到精通的基礎(chǔ)知識視頻課程,免費 項目配有對應(yīng)開發(fā)文檔、開題報告、任務(wù)書、

    2024年02月03日
    瀏覽(17)
  • 48 | 電子產(chǎn)品銷售分析

    數(shù)據(jù)來源:電子產(chǎn)品銷售分析.csv 該文件包含2020年4月至2020年11月從大型家用電器和電子產(chǎn)品在線商店購買的數(shù)據(jù) 說明:數(shù)據(jù)量:564169 原始字段:12 Unnamed: 行號 event_time:下單時間 order_id:訂單編號 product_id:產(chǎn)品標號 category_id :類別編號 category_code :類別 brand :品牌 price :價格

    2024年02月13日
    瀏覽(93)
  • ⑨電子產(chǎn)品拆解分析-觸摸化妝鏡

    ⑨電子產(chǎn)品拆解分析-觸摸化妝鏡

    ①短按白光、暖光、冷光三檔色溫切換; ②長按支持無極調(diào)光; ③三檔調(diào)亮度關(guān)機記憶當前亮度功能;

    2024年02月09日
    瀏覽(41)
  • 電子產(chǎn)品如何設(shè)計和實施上下電壓力測試方案?

    電子產(chǎn)品如何設(shè)計和實施上下電壓力測試方案?

    目錄 一、引言 二、測試方案步驟 三、設(shè)計方案介紹 3.1 設(shè)計思路 3.2 實現(xiàn)方法說明 3.2.1 測試板原理框圖 3.2.2 跳變沿檢測法 3.2.2.1 接線方式 3.2.2.2 檢測流程 3.2.2.3 參考代碼? 3.2.3 字符串匹配法 3.2.3.1 接線方式 3.2.3.2 檢測流程 3.2.3.3 實現(xiàn)代碼 3.2.4 繼電器控制法 3.2.4.1 接線方式

    2024年02月03日
    瀏覽(29)
  • 汽車電子之功能安全產(chǎn)品設(shè)計過程

    汽車電子之功能安全產(chǎn)品設(shè)計過程

    汽車電子之功能安全產(chǎn)品設(shè)計過程 內(nèi)容來自 驅(qū)動視界 學習為主。 1.概念階段 2.系統(tǒng)階段 3.硬件層面 4.軟件層面 5.3“V” 6.大追溯關(guān)系 隨著電動化、智能化的發(fā)展,越來越多的汽車配備了電子電氣系統(tǒng),如電傳動系統(tǒng)、助力轉(zhuǎn)向系統(tǒng)、自動駕駛系統(tǒng)等,原有的機械部件被電子

    2024年02月15日
    瀏覽(22)
  • 區(qū)塊鏈技術(shù)在消費電子產(chǎn)品追溯系統(tǒng)中的應(yīng)用

    區(qū)塊鏈技術(shù)在消費電子產(chǎn)品追溯系統(tǒng)中的應(yīng)用

    隨著物聯(lián)網(wǎng)和智能制造的發(fā)展,消費電子產(chǎn)品種類和數(shù)量日趨增加,人們對消費電子產(chǎn)品的依賴程度也不斷加深。然而,一些不法商家為了賺取高額利潤,將假冒偽劣消費電子產(chǎn)品投入市場,以次充好、以假充真,甚至將消費電子產(chǎn)品翻新再銷售,給人們的財產(chǎn)安全造成了巨

    2024年02月11日
    瀏覽(20)
  • 區(qū)塊鏈溯源:為電子產(chǎn)品行業(yè)創(chuàng)造新的市場機會

    電子產(chǎn)品行業(yè)在全球范圍內(nèi)的發(fā)展已經(jīng)進入了一個新的階段。隨著消費者對產(chǎn)品質(zhì)量和可持續(xù)發(fā)展的需求不斷增加,電子產(chǎn)品的溯源和追溯變得越來越重要。傳統(tǒng)的溯源方法已經(jīng)不能滿足現(xiàn)代市場的需求,因此,需要尋找一種更加高效、安全和透明的溯源方法。 區(qū)塊鏈技術(shù)在

    2024年04月08日
    瀏覽(22)
  • 密碼產(chǎn)品推介 | 沃通安全電子簽章系統(tǒng)(ES-1)

    密碼產(chǎn)品推介 | 沃通安全電子簽章系統(tǒng)(ES-1)

    沃通安全電子簽章系統(tǒng)(ES-1)是一款基于密碼技術(shù)、完全自主研發(fā)的商用密碼產(chǎn)品,嚴格遵循國家密碼管理局制定的相關(guān)標準,可為企業(yè)和個人提供安全、合規(guī)的電子簽章功能服務(wù)。產(chǎn)品的主要用途是為各類文書、合同、表單等電子文件提供合法、有效的電子簽章,以確保文

    2024年01月18日
    瀏覽(49)
  • 3D格式轉(zhuǎn)換工具HOOPS Exchange?助力Zuken打造電子設(shè)計自動化產(chǎn)品

    3D格式轉(zhuǎn)換工具HOOPS Exchange?助力Zuken打造電子設(shè)計自動化產(chǎn)品

    行業(yè): 電子制造 挑戰(zhàn): 對制造商來說,電子設(shè)計變得越來越復(fù)雜?-?電氣和機械設(shè)計的融合需要將二維和三維數(shù)據(jù)結(jié)合起來?-?需要提供對多種不同CAD格式的支持 解決方案: HOOPS Exchange是用于快速、準確的CAD數(shù)據(jù)轉(zhuǎn)換的領(lǐng)先SDK,使開發(fā)人員能夠輕松地在其產(chǎn)品中建立強大的

    2024年02月11日
    瀏覽(30)
  • 中國電子云-隱私計算-云原生安全可信計算,物理-硬件-系統(tǒng)-云產(chǎn)品-云平臺,數(shù)據(jù)安全防護

    目錄 聯(lián)邦學習的架構(gòu)思想 中國電子云-隱私計算-云原生安全

    2024年02月06日
    瀏覽(26)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包