最近ssm项目做数据库连表查询时,需要查询l_doctor_order_daily_statistic 表的所有数据,同时在 l_account_bank_card表中如果a.doctorid=c.account_id时,则查询该账号的银行卡号,如果不存在则只显示l_doctor_order_dai ...
分类:
数据库 时间:
2018-01-10 22:42:47
阅读次数:
271
Hello ereryone, I am Dennis, I have over 3 years of experience in .Net development. During the first job, my main job is migrating data from other pla ...
分类:
其他好文 时间:
2018-01-10 22:42:40
阅读次数:
154
Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other wo ...
分类:
其他好文 时间:
2018-01-09 22:13:57
阅读次数:
249
HTTP状态码负责表示客户端HTTP请求的返回结果、标记服务器端的处理是否正常、通知出现的错误等工作。 状态码的类别: 记录在RFC2616上的HTTP状态码有40种,再加上WebDAV等的扩展,数量达到了60余种,但是实际上经常使用的只有14种,接下来介绍下具有代表性的这14个状态码。 1、200 ...
分类:
Web程序 时间:
2018-01-09 20:18:19
阅读次数:
169
收集流程 1nxlog => 2logstash => 3elasticsearch 1. nxlog 使用模块 im_file 收集日志文件,开启位置记录功能 2. nxlog 使用模块tcp输出日志 3. logstash 使用input-tcp ,收集日志,并格式化,输出至es windows ...
$.fn.extend({ propAttr: $.fn.prop || $.fn.attr, _oldFocus: $.fn.focus,//为避免与jQuery ui冲突导致死循环,这里不要取名为'_focus' //设置元素焦点(delay:延迟时间) focus: function( del ...
分类:
Web程序 时间:
2018-01-08 11:04:13
阅读次数:
189
题目描述 Once in a forest, there lived N aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each other. But ...
分类:
其他好文 时间:
2018-01-07 20:12:10
阅读次数:
175
PROBLEM http://www.oi.edu.pl/old/ceoi2004/problems/jou.pdf 分析 这题属于需要一些思考的题目。对于这道题目,我们要了解到这个图其实就是一棵树。如何想到这是树?题目中又这样几句话: There are n cities in Byteland. ...
分类:
其他好文 时间:
2018-01-07 16:07:00
阅读次数:
175
A. Candy Game 显然最优策略是一个一个吃,故比较哪种糖果的个数比较多即可。 B. PreSuffix 对所有串建立AC自动机,那么若前缀$i$是前缀$j$的后缀,说明$i$是Fail树上$j$的祖先。 所以对于询问$(x,y)$,答案就是两点在Fail树上的LCA在原Trie中子树内的字 ...
分类:
其他好文 时间:
2018-01-06 22:15:03
阅读次数:
321
本篇前提: mycat配置正确,且能正常启动。 1、schema.xml <table>标签: dataNode 分片节点指定(取值:dataNode中的name属性值) rule 分片规则选择(取值:rule标签中的name属性值) 123 [root@dras test conf] ...
分类:
数据库 时间:
2018-01-05 16:51:17
阅读次数:
237