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

news2024/11/15 19:34:01

一、效果

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

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

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=1
 and 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.coloradmin.cn/o/1706362.html

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

相关文章

英语四级翻译练习笔记③——大学英语四级考试2023年12月真题(第三套)

目录 引言&#xff08;必看&#xff09; 四级翻译评分标准分析及真题解析 四级翻译评分标准 四级翻译真题 学生作答 1. 评分 2. 修正翻译中的错误 错误标记&#xff1a; 3. 改正句子 4. 标出错误单词 5. 标准答案 6. 常考万能句子 7.重点单词的中文意思 引言&…

Excel未响应时强关后,Excel插件消失

目录 我们分析一下插件消失的原因&#xff1a; 针对上面表现出来的2个问题&#xff0c;进行针对性的解决 &#xff1a; 1、不被关进去&#xff0c;是不是就没有后续的一系列的问题了&#xff0c;各自安好 2、保留住自动加载的行为 PS&#xff1a;配置受信任的位置注册列表…

【K8s】专题四(1):Kubernetes 控制器简介

以下内容均来自个人笔记并重新梳理&#xff0c;如有错误欢迎指正&#xff01;如果对您有帮助&#xff0c;烦请点赞、关注、转发&#xff01;欢迎扫码关注个人公众号&#xff01; 目录 一、基本概念 二、工作原理 三、常见类型 四、相关特性 一、基本概念 Kubernetes 控制器…

Python考试练习题---day1

1.计算2的n次幂结果的后3位 获得用户输入的一个数字N&#xff0c;计算并输出2的N次幂结果的后3位。 【输出样例】-----因为2的10次方等于1024 输入10输出024 ninput() print(str(2**eval(n))[-3:]) 2.分割四位正整数 例1&#xff1a; 编写程序&#xff0c;提示用户从键盘…

[Redis]String类型

基本命令 set命令 将 string 类型的 value 设置到 key 中。如果 key 之前存在&#xff0c;则覆盖&#xff0c;无论原来的数据类型是什么。之前关于此 key 的 TTL 也全部失效。 set key value [expiration EX seconds|PX milliseconds] [NX|XX] 选项[EX|PX] EX seconds⸺使用…

vscode+docker搭建迷你开发环境。制作docker镜像,并通过vscode连接后进行开发

制作自己的docker镜像&#xff0c;将docker镜像作为服务器&#xff0c;接受vscode连接 目录 1. 制作开发环境镜像 1.1 选择基础镜像 1.2 编写dockerfile 1.3 构建镜像 2. 启动镜像 3. 添加用户 3.1 查看物理机上用户信息 3.2 登录到docker中 3.3 按照物理机的用户和组…

在visual studio 2022中编译yaml-cpp 32位静态库的严重踩坑问题解决过程

使用vcpkg 引入yaml-cpp把程序调试好了,但是分发的时候不想带着yaml-cpp的动态链接库文件,所以参考网上的文章想进行程序的静态编译,关于如何编译yaml-cpp的静态库网上有很多文章,而且去看yaml-cpp的github官方说明文件人家说你啥都不干就是默认编译为静态库了,好家伙,兴…

MySQL主从复制故障:“ Slave_SQL_Running:No“ 两种解决办法

问题 今天搭建MySQL的主从复制&#xff0c;查看从机状态时show slave status\G&#xff0c;发现这个参数为NO&#xff0c;导致主从复制失败。 Slave_SQL_Running: No 后面上网查阅了一下资料&#xff0c;大概就是因为在连接支持数据库后&#xff0c;也就是这个命令后&#xff…

Python 应用开发:Streamlit 布局篇(容器布局)

st.columns 以并列方式插入容器。 插入若干并排排列的多元素容器&#xff0c;并返回一个容器对象列表。 要在返回的容器中添加元素&#xff0c;可以使用 with 符号&#xff08;首选&#xff09;或直接调用返回对象的方法。请参见下面的示例。 列只能放置在其他列的内部&…

word如何创造新的格式标题

1 效果如下&#xff1a;&#xff08;标题命名默认音序排序&#xff09; 2 创建 选中自己喜欢的标题&#xff0c;修改字号字体&#xff0c;then 3 修改 注意要点如下&#xff1a; 后续&#xff1a;以上操作可能导致后续一级标题不能折叠二级标题&#xff0c;目录导航栏也不能…

QListWidget详解

QListWidget详解 QListWidget 是 PyQt5 中一个方便的部件&#xff0c;用于创建和管理列表。它继承自 QListView&#xff0c;并提供了一些高级功能&#xff0c;使得添加和管理列表项更加简单。以下是 QListWidget 的详解&#xff0c;包括基本用法、主要方法和属性以及如何与其他…

张驰咨询:六西格玛培训,IT界的“福尔摩斯”

六西格玛&#xff0c;这个曾以制造业为背景的管理理念&#xff0c;如今却在IT领域大放异彩。其背后的原因&#xff0c;不仅仅是因为六西格玛追求零缺陷、持续改进的核心价值观与IT行业对产品质量和用户体验的极致追求不谋而合&#xff0c;更是因为它提供了一种全新的思维方式和…

全球首个,985重大突破!

据长江日报消息&#xff0c;今年7月&#xff0c;华中科技大学团队研发的全球首台用于肌骨的新式B超将正式进入临床阶段&#xff0c;刚刚完成临床、用于乳腺的B超也即将上市。 据了解&#xff0c;华中科技大学生物医学工程学院丁明跃、尉迟明教授团队&#xff0c;自2010年以来一…

调试面对面翻译小程序

调试面对面翻译小程序 文章目录 调试面对面翻译小程序预览1.拉取项目2.在微信开发者工具打开使用 微信版本要求微信同声传译插件支持功能 此demo用于学习 预览 1.拉取项目 git clone https://github.com/Tencent/Face2FaceTranslator或者&#xff08;加速镜像&#xff09; git …

905. 按奇偶排序数组 - 力扣

1. 题目 给你一个整数数组 nums&#xff0c;将 nums 中的的所有偶数元素移动到数组的前面&#xff0c;后跟所有奇数元素。 返回满足此条件的 任一数组 作为答案。 2. 示例 3. 分析 开辟一个数组res用来保存操作过后的元素。第一次遍历数组只插入偶数&#xff0c;第二次遍历数组…

【Spring-01】BeanFactory和ApplicationContext

【Spring-01】BeanFactory和ApplicationContext 1. 容器接口1.1 什么是 BeanFactory1.2 BeanFactory 能做什么&#xff1f; 1. 容器接口 以 SpringBoot 的启动类为例&#xff1a; /*** BeanFactory 与 ApplicationContext的区别*/ SpringBootApplication public class Spring…

拉普拉斯IPO:新能源产业快速发展,为低碳转型注入强劲动力

近年来&#xff0c;我国新能源产业快速发展&#xff0c;为全球绿色低碳转型注入强劲动力。国际人士认为&#xff0c;中国新能源产业快速发展&#xff0c;得益于超大规模市场优势、完整的工业体系和丰富的人力资源&#xff0c;得益于企业对研发创新的巨大投入&#xff0c;我国市…

安装PyTorch详细步骤

&#x1f4a5;注意事项&#xff1a; CPU版和GPU版选一个进行安装即可 如果有Nvidia显卡&#xff0c;则安装cuda版本的PyTorch&#xff0c;如没有nvidia显卡&#xff0c;则安装cpu版。 目前常见的深度学习框架有很多&#xff0c;最出名的是&#xff1a;PyTorch&#xff08;faceb…

5位机械工程师如何共享一台服务器算力

在数字化浪潮的推动下&#xff0c;算力共享技术正逐渐成为机械工程师们提升工作效率、优化资源配置的重要工具。那么五位机械工程师如何共享一台服务器算力呢&#xff1f; 首先&#xff0c;我们需要了解算力共享的基本概念。算力共享是指通过特定的技术手段&#xff0c;将分散…

学习笔记之——2D Gaussian Splatting(2DGS)

3DGS在辐射场重建中取得了巨大的成就&#xff0c;实现高质量的新视图合成和快速渲染。最近新出了3DGS的升级版本&#xff0c;2DGS。写下本博文记录本人学习及测试2DGS的过程&#xff0c;本博文仅为本人学习记录用~ Project WebsiteGithub CodeOriginal paper 原理解读 由于3D…