- 博客(27)
- 收藏
- 关注
原创 多次安装程序,注册码多处理方法
HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment\SideBySide\2.0\PackageMetadata,然后把原来的注册表删了,就可以安装了。如果没有其他CLICKONE程序,直接把下面的都删除掉即可。即使我们找到他的安装目录,实际上安装目录也不是固定的,只不过是放在当前用户的 Documents and Settings 文件夹中 Local Settings 目录下。
2023-09-05 20:01:20 99
原创 sql xml 传入多个值
foreach的主要用在构建in条件中,它可以在SQL语句中进行迭代一个集合。foreach元素的属性主要有 item,index,collection,open,separator,close。item集合中每一个元素进行迭代时的别名,index表示在迭代过程中,每次迭代到的位置,open该语句以什么开始,separator在每次进行迭代之间以什么符号作为分隔 符,close以什么结束,在使用foreach的时候最关键的也是最容易出错的就是collection属性,该属性是必须指定的,但是
2022-02-28 09:47:04 378 1
原创 vue elememnt-ui自带搜索框清空
resetSearch(formName) { this.$refs[formName].resetFields();//清空 this.getData();//查询 },
2022-02-15 11:57:28 595
原创 vue style 功能
<style lang="scss">//多行文字::v-deep .el-table .cell {white-space: pre-line;}//导入文件拉伸解决.el-upload-list__item{transition:none !important}//取消删除文件显示多余字解决(组件自带).el-icon-close-tip{display:none !important;}</style>...
2022-01-27 09:49:31 941
原创 el-table 二个按钮显示与隐藏
查询数据方法里:for (let i = 0; i <data.length; i++) { this.$set(data[i],'disShow','true') this.$set(data[i],'disHide','false') }return:{disShow: '', disHide: '',}vue:...
2021-12-07 17:41:31 738
原创 导出 树形数据 execl
1、安装依赖npm install -S file-savernpm install -S xlsxnpm install -D script-loader2、引入在src目录下引入相关文件(代码搬运此处)/* eslint-disable *//* Blob.js* A Blob implementation.* 2014-05-27** By Eli Grey, http://eligrey.com* By Devin Samarin, https://github...
2021-11-16 09:49:56 436
原创 前端修改时间格式
utils.jsexport function formatDate (date, fmt) { if (/(y+)/.test(fmt)) { fmt = fmt.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length)) } let o = { 'M+': date.getMonth() + 1, 'd+': date.getDate(), 'h+': ...
2021-11-12 09:22:34 1128
原创 vue 跨域 方法
export function getHestaBatchApi() { let port = '' if (process.env.VUE_APP_HESTA_APP_API.includes('localhost')) { port = ':8081' } return `${process.env.VUE_APP_HESTA_APP_API}${port}/*****-****/`}
2021-11-08 10:47:47 78
原创 String转换LocalDate,且取当前传的时间前一周数据
LocalDate cd = LocalDate.parse(createDate);LocalDate oldSevenDays =cd.minusDays(6);
2021-10-21 13:34:31 161
原创 新增数据,无今日数据新增,有今日数据修改
@GetMapping("/addHealthSleepSum") public ApiResult addHeartSleepSum(BackGroundHealthSleepSum healthSleepSum) { int count = healthSleepSumService.count(Wrappers.<BackGroundHealthSleepSum>lambdaQuery() .eq(BackGroundHe...
2021-10-13 16:11:00 77
原创 新增数值,体温,心率 ,血氧各一张表 map接收 ,并且保存时判断是否存在该数据,存在修改,不存在新增
// a添加心率值 thresholdInfoMap.get("user_id"); thresholdInfoMap.get("doctor_id"); thresholdInfoMap.get("heart_rate_max"); thresholdInfoMap.get("heart_rate_min"); BackGroundSysHeartRate backGroundSysHeartRate = new...
2021-10-12 09:59:03 100
原创 在金额前加人民币符号并且千位分割
common.jsexportfunctioncommonFormatMoney(number,decimals=0,decPoint='.',thousandsSep=','){number=(number+'').replace(/[^0-9+-Ee.]/g,'')letn=!isFinite(+number)?0:+numberletprec=!isFinite(+decima...
2021-09-30 10:33:21 423
原创 mybatis-plus 多条件check
controller: @PostMapping("/checkCount") public ApiResult checkCount(@RequestBody PaymentMPriceInfo paymentMPriceInfo) { return ApiResult.ok(paymentmpriceinfoservice.getOne(Wrappers.<PaymentMPriceInfo>lambdaQuery() .eq(P...
2021-09-26 11:26:48 196
原创 下拉框动态获取值
后端 sql mapper接口自己想吧,这个只要会写,不难service:List<Integer> getInquiryIdList(String question);List<String> getInquiryNameList(String question);serviceImpl:private final InquiryTypeInfoMapper inquiryTypeInfoMapper; @Override public L...
2021-09-24 09:22:33 175
原创 参数放在Body里
@postMapping("/queryTotalScore")public ResponseBean<JSONObject> queryTotalScore(@RequestBody String jsonParam){}function getTotalScore(){ var = postData = { "token" = token, "badgeNo" = badgeNo ...
2021-09-09 17:37:26 745
原创 vue 过滤器 转换数字
<el-table-column><templateslot-scope="{row}"><el-tag>{{row.questionType|questionTypeValue}}</el-tag></template></el-table-column>filters:{questionTyp...
2021-09-09 11:33:30 273
原创 判定创建账号名字相同
{validator:(rule,value,callback)=>{if(this.opType=='1'){checkQuestion(value).then(res=>{console.log(res)const{data}=resif(d...
2021-09-08 15:42:14 83
原创 计算机内存机制 深拷贝两个值不共用
说明:修改时,点击画面修改的值 ,不点击确定按钮, 页面值改变,数据库不改变修改: 在修改的方法中加{...data[0]}
2021-09-08 10:09:58 37
原创 在vue页面转换时间格式yyyy-MM-dd HH:mm:ss格式
el-table-column字段里:formatter="formatDate"methods里//替换表格时间格式formatDate(row,column){//获取单元格数据letdate=row[column.property];if(date){returnthis.transformDate(date)}else{...
2021-09-08 10:03:16 1476
原创 yyyy-MM-dd T HH : mm : ss格式类型问题
在前端页面显示yyyy-MM-dd T HH : mm : ss格式 这是LocalDateTime类型 在实体类该字段加@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")注解就解决了
2021-09-08 09:58:34 269
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人