06 2022 档案
摘要:Mybatis转义字符表 < < 小于 > > 大于 & & 与 ' ' 单引号 " " 双引号
阅读全文
摘要:1、菜单新增权限 上面我配置的是查询本部门的数据。 如果项配置查询所有数据,不需要配置,因为你在给角色分配相应数据权限时,分配了部门就是部门权限,不分配就是所有权限。 2、分配角色 3、接口层 4、serviceimpl层 5、mapper.xml层 执行后日志显示sql为
阅读全文
摘要:<choose> <when test="bic.duedateQueryStart != null or bic.duedateQueryEnd != null"> <if test="bic.duedateQueryStart != null and bic.duedateQueryStart
阅读全文
摘要:<insert id="saveOrUpdatePayinfo" parameterType="com.bill.invoice.entity.BusBillPayinfo"> replace into bus_bill_payinfo <trim prefix="(" suffix=")" suf
阅读全文
摘要://1.获取年月日 时分秒 select SYSDATE() AS '年月日 时分秒'; 2020-07-02 16:36:17 //2.获取(年月日) select DATE(CURDATE()) as '年月日'; select CURDATE() as '年月日'; select curren
阅读全文
摘要:update BUS_BILL_INFO_CUST t set t.UPDATE_TIME = sysdate(), t.UPDATE_BY ='222', t.SYS_ORG_CODE ='2223' where t.ID = '0a41ca95d6a549219bfaea22bb72cdb0';
阅读全文
摘要:问题描述(虽然报错但是数据库没有回滚): 问题原因: mysql数据库引擎设置错误, 解决办法: 使用DBeaver修改表的引擎。 DBeaver下载地址 https://dbeaver.io/
阅读全文
摘要:安装cnpm: npm install -g cnpm --registry=https://registry.npm.taobao.org 搭建vue开发环境 1、必须要安装nodejs 2、搭建vue的开发环境 ,安装vue的脚手架工具 官方命令行工具 npm install --global
阅读全文
摘要:invoiceSubmit(record) { const _this = this; //判断签收状态是否签收和拒收 if(record.operflag == 'N'){ this.$message.error('已操作,不可再次签收'); return; } if (record.flag =
阅读全文
摘要:public Double CNYtoN(String amount) { double result = 0; double temp = -1;//存放一个单位的数字如:十万 int count = 0;//判断是否有chArr Map<Character, Double> map = new
阅读全文
摘要:public static void main(String[] args) throws ParseException { Calendar c1 = Calendar.getInstance();//实例化 Calendar c2 = Calendar.getInstance(); Simple
阅读全文
摘要:<select id="queryWaitSignPageList" parameterType="com.bill.intemag.entity.BusBillWaitsign" resultType="com.bill.intemag.entity.BusBillWaitsign"> SELEC
阅读全文
摘要:<style lang="less" scoped> /deep/ .ant-modal-content{ height: 500; } /deep/ .ant-table-wrapper{ overflow: auto; white-space: nowrap; } /deep/ .ant-mod
阅读全文
摘要:需求描述: 默认查询时间为上个月的数据。 问题描述: 默认值设置上了,但是查询的数据调用接口时没有加上这个参数。 出错代码描述: 页面效果:(默认日期设置上了,但是查询时参数没有传递到后端接口) 原因:(created执行顺序:执行完混入,再执行本页面) 混入的代码 解决办法: 知识点总结: 1.“
阅读全文
摘要:http://t.zoukankan.com/wjw1014-p-12242203.html 1.新增字典 2.实体类添加注解(注解值使用上一步的字典编码) 3.列表页面修改参数名(增加_dictText) 4.完成后
阅读全文
摘要:mybatis如果不做区分大小写的设置的话,默认是不会区分大小写的,执行出的sql字段全部大写。 方法1.加上字段别名加上双引号 Select name as "name" from v_zhyl_zxzf_hqyzflb 方法2.返回字段映射到实体类型: 以“com.demo.pojo.User”
阅读全文
摘要:Ctrl+Shift +R 运行查询窗口选中的sql语句
阅读全文