摘要:
# redis 配置文件示例 # 当你需要为某个配置项指定内存大小的时候,必须要带上单位, # 通常的格式就是 1k 5gb 4m 等酱紫: # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes # 1mb => 1024*1024 bytes # 1g => 1000000000 bytes # 1gb => 1... 阅读全文
阅读排行榜
where in 排序
2011-11-14 19:28 by 通心菜, 373 阅读, 收藏,
摘要:
某些情况下我们可能需要按照where in(2,7,3,5)这样查询的接口排序 默认情况下不是按照这个来的 以下方法ORDER BY FIELD 可以实现SELECT * FROM table WHERE id IN(2,7,3,5) ORDER BY FIELD(id,2,5,3,7);(mysql) 阅读全文
ibatis动态查询条件(转载待完善)
2012-06-18 15:27 by 通心菜, 364 阅读, 收藏,
摘要:
ibatis动态查询条件(转载待完善)IBatis 动态查询条件下面这个配置基本上包含了最复杂的功能:分页\搜索\排序\缓存\传值Hash表\返回hash表\动态sql<statement id="XinxiTable_SelectAll" listClass="ArrayList" resultMap="SimpleXinxi" parameterClass="Hashtable" cacheModel="xinxi-cache" > SELECT <dynamic prep 阅读全文
C#控件缩写
2012-10-30 14:00 by 通心菜, 361 阅读, 收藏,
摘要:
LabellblTextBoxtxtButtonbtnLinkButtonlnkbtnImageButtonimgbtnListBoxlstDropDownListddlDataGriddgDataListdlCheckBoxchkCheckBoxListchklstRadioButtonrdoRadioButtonListrdolstImageimgPanelpnlCalendercalAdRotatorarTabletblRequiredFieldValidatorrfvCompareValidatorcvRangeValidatorrvRangeExpressionValidatorre 阅读全文
浙公网安备 33010602011771号