07 2022 档案
摘要:编写sh脚本 先拷贝,之后,清空。 待完成,压缩功能 #!/bin/sh #description split logs time1=$(date -d 'yesterday' "+%Y%m%d-%H%M%S") cp /usr/local/bussness/nohup.out /usr/local
阅读全文
摘要:主要是用 jquery-ui的库 主要是jquery-ui 的库,和jquery.js <link rel="stylesheet" href="${APP_PATH }/static/bootstrap-3.3.7-dist/css/bootstrap.css"> <link rel="style
阅读全文
摘要:404错误,解决的办法,主要是pom文件 <build> <resources> <resource> <directory>src/main/resources</directory> <!--包含antisamy.xml--> <includes> <!-- <include>**/*.prop
阅读全文
摘要:ROLE_ADMIN (总经理,财务经理,管理员) ROLE_WAREHOUSE (库管员) 和普通无标识的。 (普通用户)
阅读全文
摘要:基于角色的访问控制 建表语句,见 上一篇 的博文, https://www.cnblogs.com/sdgtxuyong/p/16157870.html 在配置类中,@EnableGlobalMethodSecurity(securedEnabled=true),启用那个级别的认证,就要在控制器中,
阅读全文
摘要:在 resource mapper下建立 user.xml, <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org
阅读全文
摘要:1张表,查2次,把2表分别名,作条件查询。 SELECT a.id,a.name ,b.name AS pname FROM tbl_test AS a ,tbl_test AS b WHERE a.pid = b.id AND a.id = 5;
阅读全文
摘要:金额类型转换 new BigDecimal(valueFrom.toString()).toPlainString()
阅读全文
摘要:几个要记住的地方 1. 主键策略 @TableId Auto 自动数据库自增 private Long id 2. 乐观锁 @Version @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { MybatisPlusInter
阅读全文
浙公网安备 33010602011771号