码迷,mamicode.com
首页 >  
搜索关键字:price    ( 2479个结果
POST /product/:id 获取单个商品
{ itemid:“272475230”, item_name:“又再又环北冰洋”, stock:11, price:“11111.00”, sold:0, seller_id:“406467”, istop:0, merchant_code:“2e”, fx_fee_rate:“0.00”, status:"onsale", skus:[{ id:“914449912”, title:“gold”, price:“11111.00”, stock:“11..
分类:其他好文   时间:2015-05-16 18:45:11    阅读次数:315
(DP)Best Time to Buy and Sell Stock
题目:Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction ...
分类:其他好文   时间:2015-05-15 19:25:13    阅读次数:150
遍历复选框
$(function(){ $("input:checkbox").click(function(){ varcount=0; vartotal=0.00; $("input:checkbox").each(function(){ if($(this).is(":checked")){//被选中 varprice=$(this).attr("data"); count++; total=total+Number(price); $(‘#selectedTotal‘).html(count); ..
分类:其他好文   时间:2015-05-15 01:30:19    阅读次数:138
hybris商品价格及上下架状态查询
应业务部门的需求,导出hybris商城所有商品的价格及上下架状态 select?p.code, ???????plp.p_name, ???????prw.p_price, ???????case?st.code ?????????when?‘approved‘?then ...
分类:其他好文   时间:2015-05-14 14:32:13    阅读次数:128
python 正则分析nginx日志
有个需求要分析nginx日志,也懒得去研究logstach之类的开源工具,干脆直接写一个脚本,自己根据需求来实现:先看日志格式:我们跟别人的不太一样,所以没办法了:12.195.166.35[10/May/2015:14:38:09+0800]"list.xxxx.com""GET/new/10:00/9.html?cat=0,0&sort=price_ascHTT..
分类:编程语言   时间:2015-05-13 20:00:01    阅读次数:252
HDU ACM 4044 GeoDefense ->树形DP+分组背包
题意:地图是一个编号为1~n的节点的树,节点1是敌方基地,其他叶节点是我方基地。敌人基地会出来敌人,为了防止敌人攻进我方基地,我们可以选择造塔。每个节点只能造一个塔,节点i有ki种塔供选择,价值和攻击力为price_i, power_i,攻击力power_i是让敌人经过这个节点时让敌人的HP减少power_i点。因此从敌人基地到我方任意一个基地的路径,这条路径上所有塔的攻击力之和,就是这个基地的抵...
分类:其他好文   时间:2015-05-13 19:52:34    阅读次数:309
【LeetCode】121.Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他好文   时间:2015-05-11 16:05:56    阅读次数:174
使用 changes——Merge
insert into Book ( ISBN , Price , Shelf ,archivedAt)selectISBN , Price , Shelf , getdate() from( merge book as b usingWeeklyChange as wc on b.ISBN=...
分类:其他好文   时间:2015-05-09 13:18:56    阅读次数:122
MySQL学习笔记_3_MySQL创建数据表(中)
?? MySQL创建数据表(中) 三、数据字段属性 1、unsigned【无符号】 可以让空间增加一倍 比如可以让-128~127增加到0~255 注意:只能用在数值型字段 2、zerofill【前导零】 e.g. createtable if not exists t2(num int(5) zerofill,price float(7,2)zerofill,na...
分类:数据库   时间:2015-05-08 15:03:36    阅读次数:205
内存管理2-set方法的内存管理-程序解析
创建class Book.h 有@ property float price; //@synthesize 自动------------创建class Student#import "Book.h".h 有@property int age;@property Book *book; //@s...
分类:其他好文   时间:2015-05-08 12:22:27    阅读次数:111
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!