//点击左边全选选中时,都全选$('.goods_tag_ids_all').on('click',function(){ if($('.goods_tag_ids_all').is(':checked')){ var elements = $('.goods_tag_ids'); for(var ...
分类:
其他好文 时间:
2017-10-25 23:33:51
阅读次数:
125
需求:1.启动程序后,让用户输入工资,然后打印商品列表;2.允许用户根据商品编号购买商品;3.用户选择商品后,检测余额是否足够,够就直接扣款,不够就提醒;4.可随时退出,退出时打印已购买的商品列表。# Author: Ewan Wangshopping_list = []goods_list = [ ...
分类:
其他好文 时间:
2017-10-25 23:29:53
阅读次数:
98
switch ($goods['leixing']) { case 1: $data['type'] = 1; $data['orderid'] = 'PT' . rand(000000, 999999) . time(); ... ...
分类:
其他好文 时间:
2017-10-25 14:20:45
阅读次数:
180
java:练习超市卖场 涉及到:大商品类,具体商品(以书为例),卖场类 Goods,Book,superMart, 商品类Goods: 书: 注意:复写hashCode,和equals是为了实现删除按钮 超级市场: 需要注意remove删除方法,必须在BOOK中定义相关的equals,hashCod ...
分类:
编程语言 时间:
2017-10-16 00:08:38
阅读次数:
277
1.存储过程的分类 系统存储过程 本地存储过程(用户自定义) 临时存储过程(局部【#】、全局【##】临时存储过程) 2.创建存储过程 执行存储过程: execute sp_goods_price 200 2000 3.修改存储过程 4.删除存储过程 5.查看存储过程 6.重命名存储过程 **局部存储 ...
分类:
其他好文 时间:
2017-10-12 10:11:37
阅读次数:
134
一、删除商品(数据库) 二、删除商品对应的照片(文件) //这里加?p=p是因为&ids 这里需要这样的格式 String deleteUrl=basePath+"pages/back/admin/goods/GoodsBackServlet/delete?p=p"; public String d... ...
分类:
其他好文 时间:
2017-10-11 20:32:05
阅读次数:
201
1 goods_list=[ 2 ('huaweiP9',3200), 3 ('Macbook',6180), 4 ('furongwang',225), 5 ('chengguangCup',85), 6 ('pythonbook',84) 7 ] 8 shopping_list=[] 9 sal ...
分类:
其他好文 时间:
2017-10-10 20:45:28
阅读次数:
207
J题:company 题目描述 There are n kinds of goods in the company, with each of them has a inventory of cnti and direct unit benefit vali. Now you find due to ...
分类:
其他好文 时间:
2017-10-07 14:52:10
阅读次数:
183
连接查询: 1,连接上表 2,连接条件 左连接: select 列1,…… from tableA left join tableB on tableA.列 = tableB.列 where group by,having 照常写 [连接成一张大表后,可以当作一张表操作] slect goods_i ...
分类:
数据库 时间:
2017-09-29 16:31:06
阅读次数:
159
平均数 select avg(shop_price) from goods; 求最大最小 select min(shop_price) from goods; select max(shop_price) from goods; 求行数 select count(*) from goods; 分组统 ...
分类:
数据库 时间:
2017-09-24 16:49:06
阅读次数:
191