03 2020 档案
摘要:<s:if>判断字符串的问题: 1、判断单个字符:<s:if test="#session.user.username=='c'"> 这样是从session中取出username的值,并且判断其是否为c,但是这样判断是不正确的,这样判断的话,根本判断不出来,要改成下面这样: <s:if test="
阅读全文
摘要:create definer = root@`%` event t_repay_event on schedule every '1' DAY starts '2019-05-14 01:00:00' on completion preserve enable do call 存储过程test();
阅读全文
摘要:declare cursor c1 is select rowid from wjf.wjf_t01 where state is null; type typ_row_id is table of urowid index by binary_integer; v_doi typ_row_id;
阅读全文
摘要:-- 分组取最后一条数据 搜索文字 -- 数据按小时分组,统计每分钟个数 搜索文字 -- 字符串转时间 STR_TO_DATE('2017-01-06 10:20:30','%Y-%m-%d %H:%i:%s') -- 取当天 to_days(create_dttm) = to_days(now()
阅读全文
摘要:分组查询最新记录的两种方式##第一种select * from IVMP_DEVICE d, IVMP_DEVICE_STATE ds where d.DEVICE_SERIES = ds.DEVICE_SERIES and ds.HAPPEN_TIME = ( select max(HAPPEN_
阅读全文
摘要:https://blog.csdn.net/weixin_41835612/article/details/83713891?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.n
阅读全文