帆软报表点击表格给数据集传递参数案例

一、效果

有四个模块,分别是采购总金额,采购总数量,采购合同数量,采购合同申请数量通过点击单元格上的月份,展示不同的月份数据,进行单元格和表格之间的联动

二、准备好数据库表和展示数据内容

2.1 建表

在数据库创建好对应的表,下面的sql是oracle数据库作为案例

CREATE TABLE "purchase_data_test" (	"id" NUMBER, "purchase_time" VARCHAR2(255), "purchase_type_name" VARCHAR2(255), "purchase_money" VARCHAR2(255), "purchase_count" VARCHAR2(255), "purchase_hetong_count" VARCHAR2(255), "purchase_shenqing_count" VARCHAR2(255), PRIMARY KEY ("id"))

 2.2 插入展示数据

INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('1', '2023-01-24 05:00:12', '机油', '8000', '30', '2', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('101', '2023-01-24 05:00:12', '零食', '8000', '30', '2', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('102', '2023-02-24 05:00:12', '零食', '8000', '2', '4', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('103', '2023-03-24 05:00:12', '零食', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('104', '2023-04-24 05:00:12', '零食', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('105', '2023-05-24 05:00:12', '零食', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('106', '2023-06-24 05:00:12', '零食', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('107', '2023-07-24 05:00:12', '零食', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('108', '2023-08-24 05:00:12', '零食', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('109', '2023-09-24 05:00:12', '零食', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('110', '2023-10-24 05:00:12', '零食', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('111', '2023-11-24 05:00:12', '零食', '7777', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('112', '2023-12-24 05:00:12', '零食', '500', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('113', '2023-01-24 05:00:12', '工装', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('114', '2023-02-24 05:00:12', '工装', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('115', '2023-03-24 05:00:12', '工装', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('116', '2023-04-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('117', '2023-05-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('118', '2023-06-24 05:00:12', '工装', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('119', '2023-07-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('120', '2023-08-24 05:00:12', '工装', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('121', '2023-09-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('122', '2023-10-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('124', '2023-11-24 05:00:12', '零食', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('123', '2023-12-24 05:00:12', '工装', '7777', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('136', '2023-01-24 05:00:12', '工装', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('135', '2023-02-24 05:00:12', '工装', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('134', '2023-03-24 05:00:12', '工装', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('133', '2023-04-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('132', '2023-05-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('131', '2023-06-24 05:00:12', '工装', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('130', '2023-07-24 05:00:12', '工装', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('129', '2023-08-24 05:00:12', '工装', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('128', '2023-09-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('127', '2023-10-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('126', '2023-11-24 05:00:12', '工装', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('125', '2023-12-24 05:00:12', '工装', '7777', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('137', '2023-01-24 05:00:12', '礼品', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('138', '2023-02-24 05:00:12', '礼品', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('139', '2023-03-24 05:00:12', '礼品', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('140', '2023-04-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('141', '2023-05-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('142', '2023-06-24 05:00:12', '礼品', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('143', '2023-07-24 05:00:12', '礼品', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('144', '2023-08-24 05:00:12', '礼品', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('145', '2023-09-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('146', '2023-10-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('147', '2023-11-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('148', '2023-12-24 05:00:12', '礼品', '7777', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('160', '2023-01-24 05:00:12', '礼品', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('159', '2023-02-24 05:00:12', '礼品', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('158', '2023-03-24 05:00:12', '礼品', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('157', '2023-04-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('156', '2023-05-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('155', '2023-06-24 05:00:12', '礼品', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('154', '2023-07-24 05:00:12', '礼品', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('153', '2023-08-24 05:00:12', '礼品', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('152', '2023-09-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('151', '2023-10-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('150', '2023-11-24 05:00:12', '礼品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('149', '2023-12-24 05:00:12', '礼品', '7777', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('161', '2023-01-24 05:00:12', '机油', '8000', '30', '5', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('162', '2023-02-24 05:00:12', '机油', '8000', '2', '5', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('163', '2023-03-24 05:00:12', '机油', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('164', '2023-04-24 05:00:12', '机油', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('165', '2023-05-24 05:00:12', '机油', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('166', '2023-06-24 05:00:12', '机油', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('167', '2023-07-24 05:00:12', '机油', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('168', '2023-08-24 05:00:12', '机油', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('169', '2023-09-24 05:00:12', '机油', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('170', '2023-10-24 05:00:12', '机油', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('171', '2023-11-24 05:00:12', '机油', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('172', '2023-12-24 05:00:12', '机油', '6000', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('184', '2023-01-24 05:00:12', '办公类', '8000', '30', '6', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('183', '2023-02-24 05:00:12', '办公类', '8000', '2', '6', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('182', '2023-03-24 05:00:12', '办公类', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('181', '2023-04-24 05:00:12', '办公类', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('180', '2023-05-24 05:00:12', '办公类', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('179', '2023-06-24 05:00:12', '办公类', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('178', '2023-07-24 05:00:12', '办公类', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('177', '2023-08-24 05:00:12', '办公类', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('176', '2023-09-24 05:00:12', '办公类', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('175', '2023-10-24 05:00:12', '办公类', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('174', '2023-11-24 05:00:12', '办公类', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('173', '2023-12-24 05:00:12', '办公类', '6000', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('185', '2023-01-24 05:00:12', '轮胎', '8000', '30', '7', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('186', '2023-02-24 05:00:12', '轮胎', '8000', '2', '7', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('187', '2023-03-24 05:00:12', '轮胎', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('188', '2023-04-24 05:00:12', '轮胎', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('189', '2023-05-24 05:00:12', '轮胎', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('190', '2023-06-24 05:00:12', '轮胎', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('191', '2023-07-24 05:00:12', '轮胎', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('192', '2023-08-24 05:00:12', '轮胎', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('193', '2023-09-24 05:00:12', '轮胎', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('194', '2023-10-24 05:00:12', '轮胎', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('195', '2023-11-24 05:00:12', '轮胎', '6455', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('196', '2023-12-24 05:00:12', '轮胎', '6000', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('208', '2023-01-24 05:00:12', '木架', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('207', '2023-02-24 05:00:12', '木架', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('206', '2023-03-24 05:00:12', '木架', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('205', '2023-04-24 05:00:12', '木架', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('204', '2023-05-24 05:00:12', '木架', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('203', '2023-06-24 05:00:12', '木架', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('202', '2023-07-24 05:00:12', '木架', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('201', '2023-08-24 05:00:12', '木架', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('200', '2023-09-24 05:00:12', '木架', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('199', '2023-10-24 05:00:12', '木架', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('198', '2023-11-24 05:00:12', '木架', '6455', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('197', '2023-12-24 05:00:12', '木架', '6000', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('209', '2023-01-24 05:00:12', '货箱', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('210', '2023-02-24 05:00:12', '货箱', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('211', '2023-03-24 05:00:12', '货箱', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('212', '2023-04-24 05:00:12', '货箱', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('213', '2023-05-24 05:00:12', '货箱', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('214', '2023-06-24 05:00:12', '货箱', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('215', '2023-07-24 05:00:12', '货箱', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('216', '2023-08-24 05:00:12', '货箱', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('217', '2023-09-24 05:00:12', '货箱', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('218', '2023-10-24 05:00:12', '货箱', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('219', '2023-11-24 05:00:12', '货箱', '6455', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('220', '2023-12-24 05:00:12', '货箱', '6000', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('232', '2023-01-24 05:00:12', '电视', '8000', '30', '8', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('231', '2023-02-24 05:00:12', '电视', '8000', '2', '8', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('230', '2023-03-24 05:00:12', '电视', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('229', '2023-04-24 05:00:12', '电视', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('228', '2023-05-24 05:00:12', '电视', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('227', '2023-06-24 05:00:12', '电视', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('226', '2023-07-24 05:00:12', '电视', '4760', '9', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('225', '2023-08-24 05:00:12', '电视', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('224', '2023-09-24 05:00:12', '电视', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('223', '2023-10-24 05:00:12', '电视', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('222', '2023-11-24 05:00:12', '电视', '6455', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('221', '2023-12-24 05:00:12', '电视', '6000', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('233', '2023-01-24 05:00:12', '空调', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('234', '2023-02-24 05:00:12', '空调', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('235', '2023-03-24 05:00:12', '空调', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('236', '2023-04-24 05:00:12', '空调', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('237', '2023-05-24 05:00:12', '空调', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('238', '2023-06-24 05:00:12', '空调', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('239', '2023-07-24 05:00:12', '空调', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('240', '2023-08-24 05:00:12', '空调', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('241', '2023-09-24 05:00:12', '空调', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('242', '2023-10-24 05:00:12', '空调', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('243', '2023-11-24 05:00:12', '空调', '6455', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('244', '2023-12-24 05:00:12', '空调', '6000', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('2', '2023-02-24 05:00:12', '机油', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('3', '2023-03-24 05:00:12', '机油', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('4', '2023-04-24 05:00:12', '机油', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('5', '2023-05-24 05:00:12', '机油', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('6', '2023-06-24 05:00:12', '机油', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('7', '2023-07-24 05:00:12', '机油', '3205', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('8', '2023-08-24 05:00:12', '机油', '3205', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('9', '2023-01-24 05:00:12', '保鲜膜', '3205', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('10', '2023-01-24 05:00:12', '塑料桶', '3205', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('20', '2023-09-24 05:00:12', '机油', '3205', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('19', '2023-10-24 05:00:12', '机油', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('18', '2023-12-24 05:00:12', '机油', '500', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('17', '2023-11-24 05:00:12', '机油', '6455', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('16', '2023-01-24 05:00:12', '承运商', '8000', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('15', '2023-02-24 05:00:12', '承运商', '4650', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('14', '2023-03-24 05:00:12', '承运商', '4650', '20', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('13', '2023-04-24 05:00:12', '承运商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('12', '2023-05-24 05:00:12', '承运商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('11', '2024-06-24 05:00:12', '承运商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('21', '2023-07-24 05:00:12', '承运商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('22', '2023-08-24 05:00:12', '承运商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('23', '2023-09-24 05:00:12', '承运商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('24', '2023-10-24 05:00:12', '装卸商', '4650', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('25', '2023-12-10 05:00:12', '装卸商', '7777', '5', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('26', '2023-11-10 05:00:12', '装卸商', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('27', '2023-11-11 05:00:12', '装卸商', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('28', '2023-04-11 05:00:12', '电脑', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('29', '2023-04-11 05:00:12', '电脑', '8000', '2', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('30', '2023-05-11 05:00:12', '纸箱', '8000', '2', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('40', '2023-06-11 05:00:12', '电脑', '8000', '8', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('39', '2023-07-11 05:00:12', '纸箱', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('38', '2023-08-11 05:00:12', '纸箱', '8000', '8', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('37', '2023-09-24 05:00:12', '纸箱', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('36', '2023-12-24 05:00:12', '纸箱', '500', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('35', '2023-11-24 05:00:12', '纸箱', '6455', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('34', '2023-11-24 05:00:12', '轮胎', '6455', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('33', '2023-11-24 05:00:12', '轮胎', '6455', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('32', '2023-09-24 05:00:12', '轮胎', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('31', '2023-08-24 05:00:12', '轮胎', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('41', '2023-05-24 05:00:12', '轮胎', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('42', '2023-04-24 05:00:12', '轮胎', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('43', '2023-05-24 05:00:12', '椅子', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('44', '2023-11-24 05:00:12', '椅子', '6455', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('45', '2023-04-24 05:00:12', '椅子', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('46', '2023-09-24 05:00:12', '椅子', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('47', '2023-12-24 05:00:12', '电脑', '500', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('48', '2023-03-24 05:00:12', '电脑', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('49', '2023-09-24 05:00:12', '椅子', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('50', '2023-08-24 05:00:12', '叉车', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('51', '2023-08-24 05:00:12', '电脑', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('52', '2023-08-24 05:00:12', '电脑', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('53', '2023-08-24 05:00:12', '电脑', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('54', '2023-08-24 05:00:12', '电脑', '5620', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('55', '2023-08-24 05:00:12', '电脑', '8000', '30', '5', '6');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('56', '2023-08-24 05:00:12', '电脑', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('57', '2023-07-24 05:00:12', '电脑', '8000', '30', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('58', '2023-07-24 05:00:12', '电脑', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('59', '2023-07-24 05:00:12', '电脑', '8000', '8', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('60', '2023-07-24 05:00:12', '电脑', '8000', '8', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('61', '2023-07-24 05:00:12', '电脑', '8000', '8', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('62', '2023-07-24 05:00:12', '清洁类', '8000', '8', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('63', '2024-04-24 05:00:12', '电脑', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('64', '2023-06-24 05:00:12', '电脑', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('65', '2023-06-24 05:00:12', '清洁类', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('66', '2023-05-24 05:00:12', '清洁类', '8000', '8', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('67', '2023-04-24 05:00:12', '清洁类', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('68', '2023-03-24 05:00:12', '清洁类', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('69', '2023-01-24 05:00:12', '电脑', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('70', '2023-02-24 05:00:12', '电脑', '8000', '2', '0', '0');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('71', '2023-03-24 05:00:12', '电脑', '4760', '2', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('72', '2023-04-24 05:00:12', '电脑', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('73', '2023-05-24 05:00:12', '电脑', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('74', '2023-06-24 05:00:12', '电脑', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('75', '2023-07-24 05:00:12', '电脑', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('76', '2023-08-24 05:00:12', '电脑', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('77', '2023-09-24 05:00:12', '电脑', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('78', '2023-10-24 05:00:12', '电脑', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('79', '2023-11-24 05:00:12', '电脑', '7777', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('80', '2023-125-24 05:00:12', '电脑', '500', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('81', '2023-05-24 05:00:12', '食品', '4760', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('82', '2023-06-24 05:00:12', '食品', '4760', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('83', '2023-07-24 05:00:12', '食品', '9522', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('84', '2023-08-24 05:00:12', '食品', '9522', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('85', '2023-09-24 05:00:12', '食品', '9522', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('86', '2023-04-24 05:00:12', '叉车', '9522', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('87', '2023-04-24 05:00:12', '叉车', '9522', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('88', '2023-10-24 05:00:12', '食品', '9522', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('89', '2023-11-24 05:00:12', '食品', '7777', '5', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('90', '2023-12-24 05:00:12', '食品', '500', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('91', '2023-03-24 05:00:12', '办公类', '9522', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('92', '2023-04-24 05:00:12', '办公类', '8000', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('93', '2023-05-24 05:00:12', '办公类', '8000', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('94', '2023-06-24 05:00:12', '办公类', '6666', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('95', '2023-07-24 05:00:12', '办公类', '6666', '8', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('96', '2023-08-24 05:00:12', '办公类', '6666', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('97', '2023-09-24 05:00:12', '食品', '6666', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('98', '2023-09-24 05:00:12', '办公类', '6666', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('99', '2023-10-24 05:00:12', '办公类', '6666', '6', '8', '8');
INSERT INTO "purchase_data_test"("id", "purchase_time", "purchase_type_name", "purchase_money", "purchase_count", "purchase_hetong_count", "purchase_shenqing_count") VALUES ('100', '2023-11-24 05:00:12', '办公类', '7777', '5', '8', '8');

三、帆软下载

以帆软10.0版本作为案例

帆软下载地址(可以在历史版本选择10.0版本):免费下载FineReport - FineReport报表官网

四、帆软操作

打开帆软以后,新建一个文件对其操作

4.1 设置纸张背景

 4.1.1 设置纸张背景

点击左上角的模板->页面设置->纸张改为横向->纸张大小自己定义

4.1.2 设置纸张颜色

点击左上角的模板->点击纸张背景,选择对应的颜色

4.1.3 设置表头

4.1给表格添加内容,添加好对应的标题,添加好1月~12月

4.1.4 将月份单元格设置成控件

选中单元格 -> 点击右边选中控件功能 -> 选择按钮控件(控件名称可以随便填写) -> 点击事件 ->添加事件(选择点击) -> 添加对应代码

代码:

$.ajax({url: '/webroot/decision/view/form?op=fr_dialog&cmd=parameters_d',type: 'POST',data: {"ptime": ptime, "pmonth":pmonth	},headers: {sessionID: session},complete: function(res, status) {if (window.FR && FR.Chart && FR.Chart.WebUtils) {FR.Chart.WebUtils.clearCharts();//清除圖表内容}_g().loadContentPane();//加載報表内容}
});	

注意点:这里只有1月单元格的代码,剩下的单元格也需要执行一样的操作,只需要改对应的值就可以

4.2 采购总金额模块

4.2.1 新建采购总金额模块数据集

注意点:ptime是作为参数传递

select a.分类名称,ROUND(a.金额/10000, 2) 金额 from (select "purchase_type_name" 分类名称,sum("purchase_money") 金额 from "purchase_data_test"
where 1=1
${if(len(ptime)==0 ,"","and \"purchase_time\" like '%-"+ptime+"%'")} group by "purchase_type_name" order by sum("purchase_money") desc) a where rownum <=10

4.2.2 插入柱形图

创建完数据集,点击单元格,右键 -> 单元格元素 -> 插入图表 -> 选择柱形图 -> 设置对应的数据集内容

4.2.3 给柱形图添加样式

添加标题内容:点击标题函数,内容为:CONCATENATE($pmonth, '采购总金额')

给标签,图例,系列,坐标轴添加对应的样式

坐标轴标签格式代码

function(){ return this+"万元" 
}

4.2.4 柱形图效果

注意点:预览的时候要选择填报预览效果

4.3 采购总数量模块

4.3.1 新建采购总数量数据集

select a.分类名称,a.数量,a."采购日期",substr(a."采购日期",6,7) 月份 from (select "purchase_type_name" 分类名称,SUBSTR("purchase_time", 0, 7) 采购日期,sum("purchase_count") 数量 from "purchase_data_test"
where  1=1
${if(len(ptime)==0 ,"","and \"purchase_time\" like '%-"+ptime+"%'")} 
group by "purchase_type_name",SUBSTR("purchase_time", 0, 7) order by sum("purchase_count") desc) a where rownum <=10--and 采购日期 ='${left(monthdelta("2023-01-01",mod(datetonumber(now())/1000,12)),7)}'
order by a.数量 asc

4.3.2 插入条形图

创建完数据集,右键->单元格元素 -> 插入图表 -> 条形图

4.3.3 给条形图添加样式

设置标题,点击对应函数,代码为:CONCATENATE($pmonth, '采购总数量')

x轴标签格式返回的代码

function(){ return this+"件"; }

4.3.4 预览效果

预览要为填报预览

 4.4 采购合同数量模块

4.4.1 新建采购合同数量数据集

select a.分类名称,a.数量,a."采购日期" from (select "purchase_type_name" 分类名称,SUBSTR("purchase_time", 6, 2) 采购日期,sum("purchase_hetong_count") 数量 from "purchase_data_test"
where  1=1
${if(len(ptime)==0 ,"","and \"purchase_time\" like '%-"+ptime+"%'")} 
group by "purchase_type_name",SUBSTR("purchase_time", 6, 2) order by sum("purchase_hetong_count") desc) a where 1=1and a.数量 > 0
--and 采购日期 ='${left(monthdelta("2023-01-01",mod(datetonumber(now())/1000,12)),7)}'
order by a.采购日期 asc

 4.4.2 插入堆积柱形图

创建完数据集,右键->单元格元素 -> 插入图表 -> 柱形图 -> 堆积柱形图

4.4.3 给堆形图添加样式

给数据赋值,设置标题,图例,标签,系列,坐标轴

标题代码为:CONCATENATE($pmonth, '采购合同申请数量')

4.4.4 柱形堆积图预览效果

预览需要为填报预览

4.5 采购合同申请数量模块

4.5.1 新建采购合同申请数据集

select a.分类名称,a.数量 数量 from (select "purchase_type_name" 分类名称,sum("purchase_shenqing_count") 数量 from "purchase_data_test"
where 1=1
${if(len(ptime)==0 ,"","and \"purchase_time\" like '%-"+ptime+"%'")} 
group by "purchase_type_name" order by sum("purchase_shenqing_count") desc) a where rownum <=10

4.5.2 插入饼状图

数据集创建完成以后,右键->插入图表->插入饼状图

4.5.3 给饼状图添加样式

标题代码为:CONCATENATE($pmonth, '采购合同申请数量')

4.5.4 预览效果

预览为填报预览

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/18647.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

私人健身与教练预约|基于SprinBoot+vue的私人健身与教练预约管理系统(源码+数据库+文档)

私人健身与教练预约管理系统 目录 基于SprinBootvue的私人健身与教练预约管理系统 一、前言 二、系统设计 三、系统功能设计 1系统功能模块 2后台功能模块 5.2.1管理员功能 5.2.2用户功能 5.2.3教练功能 四、数据库设计 五、核心代码 六、论文参考 七、最新计算…

CentOS8搭载正反向解析dns服务器

1.介绍&#xff08;是什么&#xff09; DNS&#xff08;Domain Name System&#xff09;&#xff0c;即域名系统&#xff0c;是一个将域名和 IP 地址相互映射的分布式数据库&#xff0c;它可以将用户输入的域名转换成对应的 IP 地址。DNS 由多个服务器组成&#xff0c;分为多个…

Creo模型按一定的比例放大或缩小(实际尺寸)

原来&#xff0c;距离是100mm 缩放操作 放大3倍&#xff0c;距离变为300mm

使用QtCreator C++编写串口调试助手

100编程书屋_孔夫子旧书网 1.首先看一下我设计的界面&#xff08;我这里比较简单&#xff0c;大家可根据自己的需求进行设计&#xff09; &#xff08;界面设计的过程中&#xff0c;每一个控件的名称最好进行修改&#xff0c;便于后续控件太多不好区分&#xff0c;给控件命名的…

6.1 Go 数组

&#x1f49d;&#x1f49d;&#x1f49d;欢迎莅临我的博客&#xff0c;很高兴能够在这里和您见面&#xff01;希望您在这里可以感受到一份轻松愉快的氛围&#xff0c;不仅可以获得有趣的内容和知识&#xff0c;也可以畅所欲言、分享您的想法和见解。 推荐:「stormsha的主页」…

深入分析 Android Activity (十一)

文章目录 深入分析 Android Activity (十一)1. Activity 的内存管理和优化1.1 内存泄漏的常见原因1.2 避免内存泄漏的方法1.3 内存泄漏检测工具 2. Activity 的配置变更处理2.1 处理配置变更2.2 保存和恢复状态2.3 使用 ViewModel 3. Activity 的测试3.1 单元测试3.2 UI 测试 4…

质量工具系列之Dependency-Track

项目开发中依赖了很多第三方开源工具&#xff0c;对于其版本&#xff0c;漏洞等因为时间或者是数量太多而无法关注到&#xff0c;Dependency-Track解决这些问题。 Dependency-Track 是一个开源组件分析平台&#xff0c;是开放网络应用安全项目&#xff08;OWASP&#xff09;的一…

web自动化-数据驱动与失败用例截图、失败重新运行

因为只有失败的用例需要截图&#xff0c;那么问题就是&#xff1a; 什么时候用例会失败&#xff1f; 数据驱动测试 我们前面覆盖到的用例都是正常的用例&#xff0c;如果要测试异常的用例呢&#xff1f; 我们来写一下登录的异常 场景&#xff1a;【login_page】 # 用户输入框…

LAMP集群分布式实验报告

前景&#xff1a; 1.技术成熟度和稳定性&#xff1a; LAMP架构&#xff08;Linux、Apache、MySQL、PHP&#xff09;自1998年提出以来&#xff0c;经过长时间的发展和完善&#xff0c;已经成为非常成熟和稳定的Web开发平台。其中&#xff0c;Linux操作系统因其高度的灵活性和稳…

【XR806开发板试用】基础篇,从零开始搭建一个LCD彩屏时钟(ST7735S驱动)

本文从搭建环境开始&#xff0c;step by step教大家使用XR806实现驱动SPI屏幕&#xff08;ST7735S驱动&#xff09;&#xff0c;并连接WiFi实现ntp对时&#xff0c;最终实现把时间显示到屏幕上。 #1. 搭建开发环境 1. 安装编译环境所需的依赖包 基于ubuntu 20.04&#xff0c;按…

UI自动化测试最佳设计模式POM

当使用Selenium进行UI自动化测试时&#xff0c;Page Object Model&#xff08;POM&#xff09;是一种最佳实践的设计模式。POM的核心思想是通过将页面封装成对象&#xff0c;使得测试代码更加清晰、可维护和可重用。 POM的主要组成部分包括页面对象类、元素定位方式和操作方法…

LabVIEW车轮动平衡检测系统

LabVIEW车轮动平衡检测系统 随着汽车行业的快速发展&#xff0c;车轮动平衡问题对乘坐舒适性、操控稳定性及安全性的影响日益凸显&#xff0c;成为了提高汽车性能的一个关键环节。传统的检测系统因精度低、成本高、操作复杂等问题&#xff0c;难以满足现代汽车行业的需求。开发…

行车安全:UWB模块的智能化在车辆安全系统中的作用

随着交通车辆数量的不断增加和道路交通拥堵的加剧&#xff0c;车辆安全问题日益引起人们的关注。在这种背景下&#xff0c;超宽带&#xff08;UWB&#xff09;技术作为一种新兴的定位技术&#xff0c;正逐渐应用于车辆安全系统中&#xff0c;为提高车辆行车安全性提供了新的解决…

Django配置

后端开发&#xff1a; python 解释器、 pycharm 社区版、 navicate 、 mysql(phpstudy) 前段开发&#xff1a; vs code 、 google 浏览器 django 项目配置 配置项目启动方式 创建模型 创建一个应用 在应用中创建模型类 根据模型类生成数据表 创建应用 创建模型类 …

智能除螨—wtn6040-8s语音芯片方案引领除螨仪新时代

语音螨仪开发背景&#xff1a; 随着物联网技术的快速发展&#xff0c;除螨仪作为家庭清洁的重要工具&#xff0c;其智能化、人性化的设计成为提升市场竞争力的关键。置入语音芯片的除螨仪&#xff0c;通过开机提示、工作状态反馈、操作指引、故障提醒等内容。用户可以更加直观…

邦注科技三机一体除湿干燥机在工业中的应用

三机一体除湿干燥机在工业中的应用广泛且重要&#xff0c;其结合了传统除湿机、冷凝器和加热器的功能&#xff0c;具有节能、环保、方便等特点。以下是关于三机一体除湿干燥机在工业中应用的详细解析&#xff1a; 一、应用领域 电子制造行业&#xff1a;在半导体、集成电路和…

大模型中的Tokenizer

在使用GPT 、BERT模型输入词语常常会先进行tokenize 。 tokenize的目标是把输入的文本流&#xff0c;切分成一个个子串&#xff0c;每个子串相对有完整的语义&#xff0c;便于学习embedding表达和后续模型的使用。 一、粒度 三种粒度&#xff1a;word/subword/char word词&a…

【云原生】Kubernetes----POD调度策略

目录 引言 一、Pod调度策略 &#xff08;一&#xff09;基本概述 &#xff08;二&#xff09;调度原则 &#xff08;三&#xff09;Predicate常见算法 &#xff08;四&#xff09;优先级排序 &#xff08;五&#xff09;调度过程 1.过滤阶段 2.优先级排序 3.选择最优…

大模型部署推理应用技术浅析

大模型完成预训练后不是就万事大吉了&#xff0c;离推理应用还有很大距离&#xff0c;需要经过微调、部署等一系列工程化工作。尤其是在2B的行业大模型应用中&#xff0c;为解决大模型的幻觉、时效性和推理成本问题&#xff0c;需要建立单一模型之上的体系。模型部署中的技术大…

Windows找出权限维持的后门

Windows权限维持主要包含活动隐藏、自启动等技术。 隐藏文件 利用文件属性 最简单的一种隐藏文件的方式&#xff0c;文件右键属性&#xff0c;勾选隐藏&#xff0c;点击确定后&#xff0c;在这个文件里看不到刚刚的文件了。 如果要让文件显示出来&#xff0c;就点击查看&…