OA upload and edit data

1, VO: value object value object. It is usually used for data transfer between business layers. Like PO , it only contains data. But it should be an abstracted business object, which can correspond to a table or not, depending on the needs of the business. 

2、

When the String[] type prints tosring, it is displayed as a memory space. At this time, it can be judged that the value has been successfully received according to the key.

 

3、

 

When judging the conditions, pay attention to the writing of the fuzzy query, and the String type can subtract the spaces of the string class through trim().

 

4、

 

Note: Value is the value when the form is submitted, and if it is assigned a value, it can be loaded into the dialog box during initialization.

 

5、

 

Long is a wrapper class for the basic type long. When operating on a basic type, it is usually converted into the corresponding wrapper class to use the corresponding method.

 

6、

  

Note the difference between if and foreach.

 

7、

 

 

Type conversion?

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325055462&siteId=291194637