File download - Download Excel

1. Prepare the data first. The data here is not the data directly found in the database, but a copy of the data found. The data of the two does not affect each other, so that the copied data can be modified. (1) define a method (implementation class method of service layer) of data found from database, omit the method of mapper mapping file and ...

Posted by Duey on Tue, 12 May 2020 07:10:01 -0700

Usage and implementation of apply call bind

concept apply call and bind allow assignment and invocation of functions/methods belonging to one object for different objects.They can also change the direction of this within the function. Difference apply and call receive parameters in different forms Both apply and call call call call functions directly and get the result of their ...

Posted by rckehoe on Mon, 11 May 2020 16:53:17 -0700

Spring boot Learning Series -- declarative transaction

1, Spring's transaction mechanism All data access technologies have transaction processing mechanisms, which provide API s to enable transactions, commit transactions to complete data operations, or roll back data in case of errors. Spring's transaction mechanism is to use a unified mechanism to handle transactions of different data a ...

Posted by fredi_bieging on Mon, 11 May 2020 00:00:46 -0700

JD sliding verification code cracking of selenium and PIL

Single layer graph slide verification code of selenium and PIL How to crack the slide verification code preparation in advance Code operation How to crack the slide verification code There are various mechanisms of anti climbing on the market, among which the sliding verification code is divided into two-layer graph ...

Posted by Kev on Sun, 10 May 2020 01:54:26 -0700

iOS development network part -- complex JSON analysis data display

The data in the tableView below is downloaded from the network (server). Normally, clicking each cell will play the video. The url address of the video here is wrong. Therefore, the playback is wrong. Normally, the video can be played! Format online http://tool.oschina.net/codeformat/json The renderings are as follows: This project u ...

Posted by mayus on Sat, 09 May 2020 09:58:04 -0700

Define the person class and its subclasses, and design, define, and instantiate classes (instances) as required

problem Design a person class with the following conditions: 1) Define the protected attribute: name (name), age (age), sex (gender) 2) Define static attribute: num (used to calculate the number of instantiated persons) 3) Define a constructor that outputs "I am a person" when an object is created and adds 1 to num; 4) Define a dest ...

Posted by moise on Fri, 08 May 2020 10:33:34 -0700

Java + element UI realizes simple tree menu

1, Simple entry level tree menu implementation (pure background logic) 1. Introduction (1) Development environment  IDEA + JDK1.8 + mysql 1.8  SpringBoot 2.2.6 + mybatis-plusHere, it is only developed in the background (json data is returned), which will be explained in the subsequent presentation of the front page. (2) Data sheetAs follows ...

Posted by msnhockey on Fri, 08 May 2020 03:48:21 -0700

Code specification for vue development eslint

ESLint   whether it's a multi person collaboration or a personal project, code specification is very important. This can not only avoid basic syntax errors to a great extent, but also ensure the readability of the code. preparation 1, VSCode ESLint plug in The ESLint plug-in is used to display some error prompts in the editor accordi ...

Posted by rowantrimmer on Fri, 08 May 2020 03:07:25 -0700

Summary of jvm learning [past and present life of a class]

1 I am Queen of the Jing King of Zhongshan Hello, my name is Li Dahammer, and I am an unrivalled actor. I am about to participate in a stage play called The Romance of the Three Kingdoms, directed by Mr. Luo Guanzhong, an old man whose coffin cannot be pressed down.And I, Uncle Liu, who is about to play one of the three leading characters, hey ...

Posted by Pasa Mike on Thu, 07 May 2020 10:20:05 -0700

Visualization interface of PID-feed system based on HTML5

Preface With the popularization and development of industrial Internet of Things and Internet technology, the way of artificial filling has been gradually replaced by mechanical equipment.Industrial manufacturers are increasingly demanding higher standards and stringent requirements for equipment in order to reduce misoperation, improve equipme ...

Posted by smartknightinc on Thu, 07 May 2020 10:15:40 -0700