Use of Maven properties tags

When using attributes on the command line, it is -D, for example: mvn -Dinput=test Quoting the official instructions https://maven.apache.org/pom.html#Properties: Properties Attributes are the last element to understand the basics of POM. Maven properties are value placeholders, like properties in Ant. Their values can be accessed anywhere in the POM by using the notation ${X}, where […]

Web front-end-CSS basics: selectors (tags, classes, ids, wildcards), box size and background color, text control properties, font size, font style, line height, vertical centering of single-line text, font family, font composite properties, text (indent, alignment, decorative lines, color

Release Notes Current version number [20230920]. Version Modification instructions 20230920 First edition Directory Article directory Release Notes Table of contents Knowledge overview map CSS basics First experience with CSS CSS introduction method Selector tag selector class selector id selector wildcard selector Box size and background color text control properties font size Font style (whether it […]

10-1 Related tags in the body tag (list, form, table)

1 list tag , , <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>List tag</title> </head> <body> <!–ul unordered list–> <ul> <li>Beijing</li> <li>Shanghai</li> <li>Hongkong</li> </ul> <!–Ordered list–> <ol type=”a”> <li>you</li> <li>good</li> <li>?</li> </ol> <!–Definition list–> <!–dt and dd can only be in dl; dl can only have dt and dd–> <dl> <dt>Rule 1</dt> <dd>No sleeping</dd> <dd>No […]

Custom tags & JSON data processing

I have participated in some interviews in the past few days, and I have gained more or less. Now we will analyze and summarize some of the interview questions we encountered. 1. Use native JS and cannot use recursion to find all custom tag tagNames starting with “

Iteratively obtain the contents of hyperlink tags

import requests from lxml import etree url = “https://desk.zol.com.cn/fengjing/” resp = requests.get(url) resp.encoding = “gbk” et = etree.HTML(resp.text) domin = “https://desk.zol.com.cn” result = et.xpath(“//dl[@class=’filter-item first clearfix’]/dd[@class=’brand-sel-box clearfix’]/a/@href”) for item in result: ur = domin + item resp_ = requests.get(ur) resp_.encoding = “gbk” et_ = etree.HTML(resp_.text) result_ = et_.xpath(“//ul[@class=’pic-list2 clearfix’]/li/a/@href”) for item_ in result_: link = […]

MyBatis dynamic SQL, MyBatis tags, MyBatis related query

MyBatis dynamic SQL, MyBatis tags, MyBatis related query 1. Features of MyBatis dynamic sql 2. MyBatis tag 2.1. if tag: conditional judgment 2.2. where + if tag 2.3. set tag 2.4. choose(when,otherwise) statement 2.5, trim 2.6. MyBatis foreach tag 3. Integration cases 3.1.XML 3.2. Test category 4. sql tag 5. include tag 6. How to […]

Mybatis dynamically generates SQL statements to partially update database information through set tags—–Mybatis framework

<?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE mapper PUBLIC “-//mybatis.org//DTD Mapper 3.0//EN” “http://mybatis.org/dtd/mybatis-3-mapper.dtd”> <mapper namespace=”com.powernode.mybatis.mappers.CarMapper”> <!– The attribute of the if tag is required. The test tag in the if tag must be true. The sql statement in the if tag will be automatically spliced, but not vice versa –> <!– The value of the test tag should […]