实现后端----修改操作

springboot整合项目-商城个人信息修改功能 个人资料 1持久层 1.1 需要规划sql语句 根据用户信息的sql语句 update t_user set phone =?, email =?,gender=? modified_time=?,modified_user =? where uid = ? 2.根据用户名查询用户的数据。 select * from t_user where uid =? 3.在测试类中进行测试 1.2抽... 阅读详情

实现后端----修改操作

在进行修改员工信息的时候,我们首先先要根据员工的ID查询员工的信息用于页面回显展示,然后用户修改员工数据之后,点击保存按钮,就可以将修改的数据提交到服务端,保存到数据库。 具体操作为:

  1. 根据ID查询员工信息
  2. 保存修改的员工信息

1、查询回显

在这里插入图片描述

  • EmpMapper
@Mapper
public interface EmpMapper {

    //根据ID查询员工信息
    @Select("select id, username, password, name, gender, image, job, entrydate, dept_id, create_time, update_time " +
            "from emp " +
            "where id = #{id}")
    public Emp findById(Integer id);

    
    //省略...
}
  • EmpService
public interface EmpService {

    /**
     * 根据ID查询员工
     * @param id
     * @return
     */
    public Emp getById(Integer id);
    
    //省略...
}
  • EmpServiceImpl
@Slf4j
@Service
public class EmpServiceImpl implements EmpService {
    @Autowired
    private EmpMapper empMapper;

    @Override
    public Emp getById(Integer id) {
        return empMapper.findById(id);
    }
    
    //省略...
}
  • EmpController
@Slf4j
@RestController
@RequestMapping("/emps")
public class EmpController {

    @Autowired
    private EmpService empService;

    //根据id查询
    @GetMapping("/{id}")
    public Result getById(@PathVariable Integer id){
        Emp emp = empService.getById(id);
        return Result.success(emp);
    }
    
    //省略...
}

2、修改员工

当用户修改完数据之后,点击保存按钮,就需要将数据提交到服务端,然后服务端需要将修改后的数据更新到数据库中。 不同于新增insert into values,而是update操作

在这里插入图片描述

代码实现

  • EmpMapper
@Mapper
public interface EmpMapper {
    //修改员工信息
    public void update(Emp emp);
    
    //省略...
}
  • EmpMapper.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.itheima.mapper.EmpMapper">

    <!--更新员工信息-->
    <update id="update">
        update emp
        <set>
            <if test="username != null and username != ''">
                username = #{username},
            </if>
            <if test="password != null and password != ''">
                password = #{password},
            </if>
            <if test="name != null and name != ''">
                name = #{name},
            </if>
            <if test="gender != null">
                gender = #{gender},
            </if>
            <if test="image != null and image != ''">
                image = #{image},
            </if>
            <if test="job != null">
                job = #{job},
            </if>
            <if test="entrydate != null">
                entrydate = #{entrydate},
            </if>
            <if test="deptId != null">
                dept_id = #{deptId},
            </if>
            <if test="updateTime != null">
                update_time = #{updateTime}
            </if>
        </set>
        where id = #{id}
    </update>

    <!-- 省略... -->
   
</mapper>
  • EmpService
public interface EmpService {
    /**
     * 更新员工
     * @param emp
     */
    public void update(Emp emp);
   
    //省略...
}
  • EmpServiceImpl
@Slf4j
@Service
public class EmpServiceImpl implements EmpService {
    @Autowired
    private EmpMapper empMapper;

    @Override
    public void update(Emp emp) {
        emp.setUpdateTime(LocalDateTime.now()); //更新修改时间为当前时间
        
        empMapper.update(emp);
    }
    
    //省略...
}
  • EmpController
@Slf4j
@RestController
@RequestMapping("/emps")
public class EmpController {

    @Autowired
    private EmpService empService;

    //修改员工
    @PutMapping
    public Result update(@RequestBody Emp emp){
        empService.update(emp);
        return Result.success();
    }
    
    //省略...
}
java后端对代码创建的动态表进行DML操作(插入、更新、删除、修改)的实现示例 项目上有个需求,需要根据业务类型,动态配置表单信息,根据配置完成的表单字段信息,动态创建与表单对应的业务数据表。然后将表单信息通过流程下发到具体的使用者用户,使用者用户根据业务类型配置的表单,填报表单数据,并提交业务数据到动态表单绑定的动态数据表中。数据提交完成后,要支持对已提交的数据进行修改、查询、删除,同时数据提交要支持批量插入已方便数据导入。 阅读详情

相关推荐

JavaWeb——案例(17/21)- 修改员工-查询回显(需求分析、查询回显思路、代码实现、测试与验证、结论)

在员工管理系统中,修改员工信息是一个常见的功能。在实现该功能时,首先需要,然后再进行修改并提交更新。因此,本节的重点是,即在点击“编辑”按钮后,根据员工 ID 查询员工信息,并将数据展示在表单中。

li13437542099的博客 1889

基于Springboot的个人博客管理系统

本项目为基于Springboot+Thymeleaf的个人博客管理系统系统介绍:本系统是一个个人博客的管理系统,用户可以注册账号并登陆系统查看发布的文章并进行阅读评论等本系统主要有三种用户:1、游客:没有登陆的用户,可以查询文章,但是无法进行评论,系统中的所有文章可以通过内容搜索,可以通过分类搜索也可以通过标签就行搜索2、注册用户:可以对所有的文章进行阅读以及评论等功能,可以对文章进行赞赏(支付宝或者微信付钱)3、自己:拥有注册用户的所有权限,管理分类以及发布文章和管理标签等,友链管理,时间轴管理等项目技术:SpringBoot+SpringSecurity+Mybatis+Mysql+Redis+Thymeleaf+JQuery等

Springboot简易实战-添加和修改员工功能实现

文章目录Springboot简易实战-添加和修改员工功能实现一、添加员工实现1.前端首页设置添加员工按钮:接收后端请求2.后端跳转请求3.创建添加员工的前端页面4.前端接收部门信息5.保存添加信息6.forom表单接收请求二、修改员工功能实现1.后端跳转到修改页面请求2.list员工列表页面添加跳转按钮3.前端添加修改页面4.Controller层完成修改数据请求 Springboot简易实战-添加和修改员工功能实现 一、添加员工实现 1.前端首页设置添加员工按钮:接收后端请求 <h2><

weixin_49512993的博客 1206

基于springboot3.x+vue3.x整合开发学生信息管理系统

基于SpringBoot3+Vue3整合开发学生信息管理系统系统功能结构本系统主要有两种角色,分别管理员角色和普通用户角色,其中:管理员角色主要功能有:后台首页展示、个人信息展示和修改、用户管理、角色管理、班级管理、学生管理、课程管理、教师管理、班级科目成绩管理、班级科目成绩统计、班级科目对比统计等功能,如图所示:普通用户角色主要功能有:后台首页展示、个人信息展示和修改、班级科目成绩管理、班级科目成绩统计、班级科目对比统计等功能,如图所示:  技术栈web框架:SpringBoot3.X数据库框架:Sping Data JPA数据库:MySql项目构建工具:Maven、vite前端框架:Vue3.X、element plus、pina、axios、Vue Router数据图表:ECharts数据库表本项目由七张表,分别如下:1、用户表(sys_user)2、角色表(sys_role)3、教师表(s_teacher)4、班级表(s_grade_class)5、学生表(s_student)6、课程表(s_course)7、学生成绩表(s_student_score) 

flask、layui实现前端后端数据交互,实现数据表格的添加、删除、修改、查询

前端使用layui框架、后端使用flask框架,实现数据表格的按条件查询,实现添加、删除、修改数据同步回显到页面

zhengzaifeidelushang的博客 5751

第十节:Vben Admin实战-系统管理之角色管理实现(分页查询,修改)-中

这里是Vben Admin角色管理的下半部分。第九节,我们实现了角色的添加功能。本节完成剩下的修改角色信息,删除角色等功能。提示:以下是本篇文章正文内容,下面案例可供参考目前,角色管理,已经实现了新增,修改,分页查询,还剩余的功能是:删除,切换角色状态按钮,还有参数查询,下一节来完成这部分功能。

cuiwin的专栏 1895

04 后端增删改查【小白入门SpringBoot + Vue3】

前端+后端+数据库,增删改查

qq_54075517的博客 1498

kubernetes rook 安装 cephfs

ceph root kubernete osd uuid partuuid

天津托的博客 1549

springboot实现修改用户信息功能

要实现修改用户信息的功能,需要编写对应的代码:如:在UserEntity中定义用户实体类的属性。在UserMapper中编写修改用户的SQL语句,并通过MyBatis-Plus提供的BaseMapper接口实现增删改查操作。在UserService中编写修改用户的逻辑,也就是调用UserMapper中的方法实现修改用户的功能。在User Controller中定义修改用户的接口,并将请求参数传递给UserService中的方法。

Lushengshi的博客 5556

PHP实战:5分钟搞定SM4国密加密算法集成(附完整代码)

本文提供了一份可直接用于生产环境的PHP SM4国密加密算法集成实战指南。文章详细解析了SM4算法核心,对比了ECB与CBC工作模式,并给出了包含完整代码、密钥管理、数据填充及性能优化的解决方案,帮助开发者快速、安全地在PHP项目中集成国密加密算法。

2a4s6d8f0g的博客 347

ubuntu20.04安装nvidia-docker(解决有 Release 文件。 N: 无法安全地用该源进行更新,所以默认禁用该源错误)

然后想都不要想,nvidia+linux安装的东西,那肯定是不能安装成功的,恶毒的nvidia。按照nvidia官网给出的安装nvidia-docker流程来。在sudo apt-get update出现报错。然后再次update,发现还是会有一些警告类似于。,直接点击网页手动下载,发现下载成功!,注意会有安装先后顺序,安装给的提示就行。最后输入命令发现安装成功。然后替换掉里面的内容。直接不管,直接上命令。

weixin_48144140的博客 1249

SSM虾米音乐项目6--后台专辑模块的修改和删除

后台专辑模块的删除和修改

2301_81453175的博客 794

哨兵1号后向散射系数土壤水分反演

打开之前预处理之后的VH和VV极化的后向散射系数转存的tiff文件。

所有专家都曾始于新手 3307

Spring框架下的管理员修改密码功能实现

1.前端JSP页面。  webapp——common——taglibs.jsp Ext.onReady(function(){ if(undefined!=Ext.get(' navigationButtonTag ')){ Ext.Function.defer(function() { new  Ext.Button({  xtype: ' button ', iconCls:

wzjnbl111的专栏 7506

FLUENT Meshing Watertight Geometry工作流入门 - 4 局部加密区域

总结一下本课程中学到的内容:我们了解了如何使用模型中特定兴趣区域的BOI和FOI局部尺寸控制来加密网格。然后,了解了如何使用Box类型的局部细化区域。最后,学习了Ansys Fluent Meshing Watertight Geometry Workflow的Offset Surface类型创建局部细化区域任务。

B_etter_Man的博客 6678

基于 YOLOv26 的食品包装缺陷检测系统:智能视觉质检方案

本文提出了一种基于YOLOv26深度学习的食品包装缺陷智能检测系统。该系统能够自动识别多种常见包装缺陷,包括密封不良、破损、污染、标签错误等8类问题。相比传统人工检测方法,该系统具有高精度、多类别分类、实时推理等优势。文章详细介绍了系统架构,包含数据采集、预处理、YOLOv26检测模型和后处理四个核心模块,并提供了完整的环境配置和数据处理代码实现。该系统为食品包装行业提供了一种高效、准确的智能视觉质检解决方案。

一键难忘的博客 701

若依框架之批量删除或修改的前后端总结

批量删除或修改的前后端代码记录

一起加油吧~ 4961

Android So加载机制分析----基于Android14源码

本文深入分析Android 14系统中SO(共享库)的两种加载机制:System.loadLibrary()和System.load()。前者通过ClassLoader查找标准路径加载,后者直接加载指定路径的SO文件。文档详细追踪了从Java层到动态链接器的完整加载链路,包括ClassLoader路径查找、JNI桥接、ART虚拟机处理以及底层linker的符号解析和重定位过程。同时还分析了Namespace隔离、JNI_OnLoad机制等核心内容,为开发者提供全面的SO加载技术解析和问题排查指南。

保持专注,保持热爱 359

django前后端添加修改

python前后端的添加和修改

bmw1239的博客 497

面向 OData V4 的 Fiori elements 为何强制使用 draft、它到底是什么、以及是否能关闭

本文深入解析了SAP Fiori elements中draft handling的核心机制与必要性。关键点包括:1)draft机制通过中间版本实现复杂编辑的安全恢复与并发控制;2)Fiori elements for OData V4强制要求draft-enabled服务支持事务编辑;3)非draft服务仅适用于只读场景;4)替代方案需承担完全自定义开发的成本。文章基于SAP官方文档,系统阐述了draft在事务型应用中的基础性作用,为架构决策提供了明确指导。

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 280

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

javaweb实现数据库数据修改功能(例:密码修改)

一、密码修改的功能实现过程: 1、通过前端输入数据:用户名(用作数据库数据查询的条件),新的密码(该用户名的原密码修改为当前输入的密码); 2、点击提交按钮,将数据传送到后端; 3、后端接收数据之后进行相应验证; 4、验证成功则修改数据库信息; 5、修改失败则跳出反馈信息。 二、代码实现 ❀密码修改页面 ❀页面代码 <%@ page contentType="text/html;cha...

dawn_1108的博客 1万+

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

Python Flask实现修改和删除数据

Python Flask实现修改和删除数据 上一篇文章写了查询和添加数据,这篇文章继续写修改和删除数据。 查询和添加数据参考:https://blog.csdn.net/weixin_43790276/article/details/103378470 一、数据准备和后端代码准备 继续使用查询和添加数据时的数据表和数据,新建一个 update_and_delete.py 文件,复制查询和...

weixin_43790276的博客 1万+

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

后端用户管理-删除-修改

因为注册和修改共页面,如何判断是注册还是修改,通过判断语句if else语句判断id的valuel, id为null则为注册,id有值则为修改。无论修改还是删除都需要先查询数据(查询id)删除的后端接口servlet。

QTXLY的博客 342

MVC基础操作之一:修改数据

开发工具与关键技术:VS MVC基础 作者:卢雅婷 撰写时间:2019/04/16 修改数据是MVC基础操作,因为其要修改的数据大小、内容复杂程度不同,所用的方法也有所差异,单条数据的修改会比多条数据的修改复杂很多,比如多条数据是可能会涉及图片的回填、保存,会用到正则表达式的验证和二进制的保存,但其逻辑和原理都是一致的,只不过是知识面的扩展的大小不同,而我现在要讲的是最基础的修改:单条数据的修改。...

weixin_44538353的博客 1274

Vue和后端开发的参数传递操作方式(包括增、删、改、查)

一、查询操作 比如vue里的js这样写 queryStudentList(tableQuery, tablePage) { return request({ url: '/queryStudentList', method: 'post', params:{ ...tablePage }, data: { ...

JavaAlliance 4185

ssm数据修改的实现

修改门店信息0.修改功能概述1.创建控制层创建doorInfo方法,根据id查询,2.如何在door_update.jsp中接收到服务器传过来的参数? ${door.xxx}3.在door_update.jsp的form表单点击提交后,跳转到真正的修改方法里,4.在控制类写根据id修改门店的方法,此时获取的door对象,为查询时封装好返回的door.5.点击dao.updateById( door...

偶尔想看云飞的博客 4456
上一篇: 阿里云OSS入门
下一篇: yml配置文件
小白在努力~~
博客等级 码龄5年 380粉丝 36原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值