【plan】【01】2015.07月计划

2015年7月,制定个人成长计划,包括在线学习PHP工程师课程、阅读并撰写笔记,提升工作效率,记录工作日志进行自我反思,以及实践网站制作。

【2015.07计划  分为学习、工作与实战】

学习 :

1、慕课网 PHP工程师学习计划

2、读书+笔记

工作:

1、多学习

2、做工作日志,自省

3、工作计划

实战:

nextPHPer网站制作





package com.zzyl.nursing.controller; import java.util.List; import javax.servlet.http.HttpServletResponse; import com.zzyl.common.core.domain.R; import com.zzyl.nursing.vo.NursingProjectVo; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.DeleteMapping; 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.RestController; import com.zzyl.common.annotation.Log; import com.zzyl.common.core.controller.BaseController; import com.zzyl.common.core.domain.AjaxResult; import com.zzyl.common.enums.BusinessType; import com.zzyl.nursing.domain.NursingProject; import com.zzyl.nursing.service.INursingProjectService; import com.zzyl.common.utils.poi.ExcelUtil; import com.zzyl.common.core.page.TableDataInfo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiImplicitParam; /** * 护理项目Controller * * @author ruoyi * @date 2025-08-07 */ @RestController @RequestMapping("/nursing/project") @Api(tags = "护理项目管理", description = "护理项目相关的操作接口") public class NursingProjectController extends BaseController { @Autowired private INursingProjectService nursingProjectService; /** * 获取所有护理计划 * @return */ @GetMapping("/all") @ApiOperation("获取所有护理计划") public AjaxResult all() { List<NursingProjectVo> list = nursingProjectService.listAll(); return success(list); } /** * 查询护理项目列表 */ @PreAuthorize("@ss.hasPermi('nursing:project:list')") @GetMapping("/list") @ApiOperation(value = "查询护理项目列表", notes = "根据条件查询护理项目列表信息") public TableDataInfo<List<NursingProject>> list( @ApiParam(name = "nursingProject", value = "护理项目查询条件", required = false) NursingProject nursingProject) { startPage(); List<NursingProject> list = nursingProjectService.selectNursingProjectList(nursingProject); return getDataTable(list); } /** * 导出护理项目列表 */ @PreAuthorize("@ss.hasPermi('nursing:project:export')") @Log(title = "护理项目", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "导出护理项目列表", notes = "将护理项目数据导出为Excel文件") public void export( @ApiParam(name = "response", value = "HttpServletResponse对象", required = true) HttpServletResponse response, @ApiParam(name = "nursingProject", value = "护理项目查询条件", required = false) NursingProject nursingProject) { List<NursingProject> list = nursingProjectService.selectNursingProjectList(nursingProject); ExcelUtil<NursingProject> util = new ExcelUtil<NursingProject>(NursingProject.class); util.exportExcel(response, list, "护理项目数据"); } /** * 获取护理项目详细信息 */ @PreAuthorize("@ss.hasPermi('nursing:project:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "获取护理项目详情", notes = "根据ID获取护理项目的详细信息") @ApiImplicitParam(name = "id", value = "护理项目ID", required = true, dataType = "Long", paramType = "path") public R<NursingProject> getInfo( @ApiParam(name = "id", value = "护理项目ID", required = true) @PathVariable("id") Long id) { return R.ok(nursingProjectService.selectNursingProjectById(id)); } /** * 新增护理项目 */ @PreAuthorize("@ss.hasPermi('nursing:project:add')") @Log(title = "护理项目", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "新增护理项目", notes = "添加一个新的护理项目信息") public AjaxResult add( @ApiParam(name = "nursingProject", value = "护理项目信息", required = true) @RequestBody NursingProject nursingProject) { return toAjax(nursingProjectService.insertNursingProject(nursingProject)); } /** * 修改护理项目 */ @PreAuthorize("@ss.hasPermi('nursing:project:edit')") @Log(title = "护理项目", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "修改护理项目", notes = "更新已有的护理项目信息") public AjaxResult edit( @ApiParam(name = "nursingProject", value = "护理项目信息", required = true) @RequestBody NursingProject nursingProject) { return toAjax(nursingProjectService.updateNursingProject(nursingProject)); } /** * 删除护理项目 */ @PreAuthorize("@ss.hasPermi('nursing:project:remove')") @Log(title = "护理项目", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "删除护理项目", notes = "根据ID批量删除护理项目信息") @ApiImplicitParam(name = "ids", value = "护理项目ID数组", required = true, dataType = "Long[]", paramType = "path") public AjaxResult remove( @ApiParam(name = "ids", value = "护理项目ID数组", required = true) @PathVariable Long[] ids) { return toAjax(nursingProjectService.deleteNursingProjectByIds(ids)); } } package com.zzyl.nursing.dto; import com.zzyl.nursing.domain.NursingProjectPlan; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.List; @Data public class NursingPlanDto { private Long id; /** * 排序号 */ @ApiModelProperty(value = "排序号") private Integer sortNo; /** * 计划名称 */ @ApiModelProperty(value = "计划名称") private String planName; /** * 状态(0:禁用,1:启用) */ @ApiModelProperty(value = "状态(0:禁用,1:启用)") private Integer status; /** * 护理计划关联项目列表 */ List<NursingProjectPlan> projectPlans; } package com.zzyl.nursing.vo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.List; @Data @ApiModel(description = "护理计划") public class NursingPlanVo { /** * 护理计划id */ private Long id; /** * 排序号 */ @ApiModelProperty(value = "护理计划排序号") private Integer sortNo; @ApiModelProperty(value = "护理计划名称") private String planName; @ApiModelProperty(value = "状态(0:禁用,1:启用)") private Integer status; @ApiModelProperty(value = "护理计划项目计划列表") List<NursingProjectPlanVo> projectPlans; } package com.zzyl.nursing.vo; import com.zzyl.common.annotation.Excel; import lombok.Data; @Data public class NursingProjectPlanVo { /** 项目id */ private String projectId; /** $column.columnComment */ private Long id; /** 计划id */ @Excel(name = "计划id") private Long planId; /** 计划执行时间 */ @Excel(name = "计划执行时间") private String executeTime; /** 执行周期 0 天 1 周 2月 */ @Excel(name = "执行周期 0 天 1 周 2月") private Long executeCycle; /** 执行频次 */ @Excel(name = "执行频次") private Long executeFrequency; } package com.zzyl.plan.controller; import java.util.List; import javax.servlet.http.HttpServletResponse; import com.zzyl.nursing.dto.NursingPlanDto; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bind.annotation.DeleteMapping; 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.RestController; import com.zzyl.common.annotation.Log; import com.zzyl.common.core.controller.BaseController; import com.zzyl.common.core.domain.AjaxResult; import com.zzyl.common.enums.BusinessType; import com.zzyl.plan.domain.NursingPlan; import com.zzyl.plan.service.INursingPlanService; import com.zzyl.common.utils.poi.ExcelUtil; import com.zzyl.common.core.page.TableDataInfo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; /** * 护理计划Controller * * @author ruoyi * @date 2025-08-07 */ @Api(tags = "护理计划管理") @RestController @RequestMapping("/nursing/plan") public class NursingPlanController extends BaseController { @Autowired private INursingPlanService nursingPlanService; /** * 查询护理计划列表 */ @ApiOperation("查询护理计划列表") @PreAuthorize("@ss.hasPermi('nursing:plan:list')") @GetMapping("/list") public TableDataInfo list( @ApiParam("护理计划查询参数") NursingPlan nursingPlan) { startPage(); List<NursingPlan> list = nursingPlanService.selectNursingPlanList(nursingPlan); return getDataTable(list); } /** * 导出护理计划列表 */ @ApiOperation("导出护理计划列表") @PreAuthorize("@ss.hasPermi('nursing:plan:export')") @Log(title = "护理计划", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export( @ApiParam("HTTP响应对象") HttpServletResponse response, @ApiParam("护理计划查询参数") NursingPlan nursingPlan) { List<NursingPlan> list = nursingPlanService.selectNursingPlanList(nursingPlan); ExcelUtil<NursingPlan> util = new ExcelUtil<NursingPlan>(NursingPlan.class); util.exportExcel(response, list, "护理计划数据"); } /** * 获取护理计划详细信息 */ @ApiOperation("获取护理计划详细信息") @PreAuthorize("@ss.hasPermi('nursing:plan:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo( @ApiParam("护理计划ID") @PathVariable("id") Long id) { return success(nursingPlanService.selectNursingPlanById(id)); } /** * 新增护理计划 */ @ApiOperation("新增护理计划") @PreAuthorize("@ss.hasPermi('nursing:plan:add')") @Log(title = "护理计划", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add( @ApiParam("护理计划对象") @RequestBody NursingPlanDto dto) { return toAjax(nursingPlanService.insertNursingPlan(dto)); } /** * 修改护理计划 */ @ApiOperation("修改护理计划") @PreAuthorize("@ss.hasPermi('nursing:plan:edit')") @Log(title = "护理计划", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit( @ApiParam("护理计划对象") @RequestBody NursingPlan nursingPlan) { return toAjax(nursingPlanService.updateNursingPlan(nursingPlan)); } /** * 删除护理计划 */ @ApiOperation("删除护理计划") @PreAuthorize("@ss.hasPermi('nursing:plan:remove')") @Log(title = "护理计划", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove( @ApiParam("护理计划ID数组") @PathVariable Long[] ids) { return toAjax(nursingPlanService.deleteNursingPlanByIds(ids)); } } 基于我现有代码如何实现
08-11
下载前必看:https://pan.quark.cn/s/a4b39357ea24 在当前快节奏的社会背景下,快递代拿服务已演变为日常生活中不可或缺的组成部分。 基于SSM(Spring、SpringMVC、MyBatis)框架的Java快递代拿系统,正是为了迎合这一需求而进行设计和构建的。 接下来将系统性地阐述系统的功能特性、架构布局以及具体的实现步骤。 1. **系统功能**: - **用户模块**:用户具备注册账户、登录验证、提交订单、挑选快递代取服务以及完成线上支付的各项操作。 - **订单模块**:当客户提交订单后,系统将自动生成包含快递种类、取件地点、送件地点等详细信息的订单记录,用户能够实时追踪订单进展,如待接单、处理中、已完成等不同阶段。 - **管理员模块**:管理员享有高级操作权限,能够接收并处理订单,执行订单的添加、删除、查询和修改等操作,同时负责处理用户的疑问和投诉。 - **支付模块**:系统整合了在线支付接口,支持用户通过第三方支付渠道完成支付,以此保障交易过程的安全性和便利性。 2. **技术选型**: - **SSM框架**:Spring主要用于依赖注入和事务控制,SpringMVC负责处理客户端请求与服务器响应,MyBatis作为数据持久化层,执行数据库交互,三者协同工作构建了一个高效且灵活的开发环境。 - **MySQL数据库**:系统内所有数据,包括用户资料、订单详情、支付历史等,均存储于MySQL数据库中,其卓越的查询性能和稳定性为系统提供了可靠的数据基础。 3. **系统架构**: - **前端**:运用HTML、CSS和JavaScript进行界面设计,可能还会引入Vue.js或jQuery等库以增强用户体验。 - **后端*...
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值