自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(18)
  • 收藏
  • 关注

原创 redis问题解决

先看问题:Caused by: io.lettuce.core.RedisException: io.lettuce.core.RedisConnectionException: DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specifie一般搜寻之后的解决办法是vim redis.conf修改 protected-mode yes改为pro

2020-09-22 13:44:35 32

原创 sql拼接查询

<!--月度考勤汇总list列表--> <select id="queryAttendanceSummaryList" resultType="org.jeecg.modules.oa.vo.AttendanceSummaryMonthVo"> SELECT a1.id AS employeeId, a1.organization_id AS organizationId, a1.dep.

2020-09-15 11:53:08 6

原创 传入map、page分页

controller 传入分页@AutoLog(value = "安全照护-报警列表") @ApiOperation(value="安全照护-报警列表", notes="安全照护-报警列表") @GetMapping(value = "/queryPageInfoList") public Result<IPage<SafetyFenceInfoVo>> queryPageInfoList(@RequestParam(name="safetyTime" ,require

2020-09-11 11:15:42 21

原创 vue 页面电话号码或者手机号验证

//输入手机号或者座机号<a-col :md="12" :sm="8"> <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="电话"> <a-input placeholder="请输入电话" v-decorator="['phone', validatorRules.phone ]

2020-09-02 14:40:49 164

原创 VUE 页面时间查询、重置后数据加载

<template> <a-card :bordered="false"> <!-- 查询区域 --> <div class="table-page-search-wrapper"> <a-form layout="inline"> <a-row :gutter="24"> <a-col :md="6" :sm="8"> <

2020-09-02 10:05:17 71

原创 日期区间查询处理String日期

时间查询 _输入框提示信息“开始时间”@RequestParam(name="startTime" ,required = false) @ApiParam(value = "开始时间") @DateTimeFormat(pattern = "yyyy-MM-dd") String startTime,@RequestParam(name="endTime" ,required = false) @ApiParam(value = "结束时间") @DateTimeFormat(pattern = "y

2020-09-01 15:35:44 30

原创 单个信息翻译字典项

public Result<IPage> queryById(@RequestParam(name=“id”,required=true) String id) { Result<IPage<StorageInventoryDetail>> result = new Result<IPage<StorageInventoryDetail>>(); Page<StorageInventoryDetail> page = new P

2020-08-19 14:04:43 34

原创 嵌套返回result ,返回success

public Result readUnread(@RequestParam(name=“employeeId”,required=true) String employeeId) {Result result = new Result();int num = 0;QueryWrapper queryWrapper = new QueryWrapper<>();queryWrapper.eq(“user_ids”,employeeId);queryWrapper.eq(“del_fla

2020-07-15 11:32:25 258

原创 Result「?」 返回类型拼接

Result<?>@AutoLog(value = “app消息通知-已读”)@ApiOperation(value=“app消息通知-已读”, notes=“app消息通知-已读”)@GetMapping(value = “/queryMessageRead”)public Result<?> queryMessageRead(@RequestParam(name = “sysId”) String sysId) {SysAnnouncementSend announce

2020-07-14 10:59:09 67

原创 代码分类查询数据

public IPage queryListPage(Page page, ActivityManagementVo activityManagementVo) {QueryWrapper queryWrapper = new QueryWrapper<>();if(StringUtils.isNotEmpty(activityManagementVo.getTheme())) {queryWrapper.like(“theme”, activityManagementVo.getThem

2020-06-16 09:05:56 154

原创 新增详情和分类表

public IPage pageList(Page page, String cardNumber, String equityName, String cardStatus, String organizatioId) throws InvocationTargetException, IllegalAccessException {List memberCardVoList = this.baseMapper.selectPageInfo(page,cardNumber ,equityName ,c

2020-06-11 16:33:42 42

原创 转化json串

List ss = JSON.parseArray((String)maintenance.getPhoto(),String.class);equipmentInfoVo.setPhotoInfo(ss);

2020-06-10 15:03:31 49

原创 单个翻译 多个照片去掉斜杠 copy转换

/*** 通过id查询* @param id* @return*/@AutoLog(value = “设备维修管理-通过id查询”)@ApiOperation(value=“设备维修管理-通过id查询”, notes=“设备维修管理-通过id查询”)@GetMapping(value = “/queryById”)public Result<IPage> queryById(@RequestParam(name=“id”,required=true) String id) {R

2020-05-25 17:00:22 63

原创 spring boot时间区间查询

1.controller@RequestParam(name=“startTime” ,required = false) @ApiParam(value = “开始时间”) @DateTimeFormat(pattern = “yyyy-MM-dd”) String startTime,@RequestParam(name=“endTime” ,required = false) @ApiParam(value = “结束时间”) @DateTimeFormat(pattern = “yyyy-MM-

2020-05-09 09:58:31 327

原创 查询单个的信息并翻译--给其中一个赋值

@AutoLog(value = “通过登录人查询基本信息”)@ApiOperation(value=“通过登录人查询基本信息”, notes=“通过登录人查询基本信息”)@GetMapping(value = “/queryByApprovalIdId”)public Result<IPage> queryByApprovalIdId() {Result<IPage&g...

2020-05-06 18:01:13 59

原创 QueryWrapper用法

QueryWrapper用法1:public IPage initAppEvaluateInfoBaseInfoIdVO(String elderId){List evaluateInfoBaseInfoIdVOList = new ArrayList();QueryWrapper queryWrapper = new QueryWrapper();queryWrapper.eq(“del...

2020-04-29 17:14:09 21363

原创 BeanUtils.copyProperties(evaluateInfo,evaluateInfoPojo);

//word生成评估最后总结private EvaluateInfoPojo initEvaluateInfoPojo(String baseInfoId){EvaluateInfoPojo evaluateInfoPojo = new EvaluateInfoPojo();EvaluateInfo evaluateInfo = evaluateInfoService.getDetailBy...

2020-04-29 17:03:39 36

原创 jeecg boot使用心得

/建表规范/ALTER TABLE edu_trial_classADD COLUMN create_by varchar(32) NULLCOMMENT ‘创建人’,ADD COLUMN create_time datetime NULLCOMMENT ‘创建时间’AFTER create_by,ADD COLUMN update_by varchar(32) NULLCOMME...

2019-12-13 15:40:44 239

空空如也

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人 TA的粉丝

提示
确定要删除当前文章?
取消 删除