@Override
    public boolean sqlMapUpsertByExampleSelectiveElementGenerated(XmlElement element, List<IntrospectedColumn> columns, XmlElement insertColumnsEle, XmlElement insertValuesEle, XmlElement setsEle, IntrospectedTable introspectedTable) {
    """
	upsertByExampleSelective xml
	@param element
	@param columns
	@param insertColumnsEle
	@param insertValuesEle
	@param setsEle
	@param introspectedTable
	@return
    """

        // 替换insert column
        XmlElementTools.replaceXmlElement(insertColumnsEle, this.generateInsertColumnSelective(columns));

        // 替换insert values
        XmlElementTools.replaceXmlElement(insertValuesEle, this.generateInsertValuesSelective(columns, false));

        // 替换update set
        XmlElementTools.replaceXmlElement(setsEle, this.generateSetsSelective(columns));

        return true;
    }
@Override
    public boolean sqlMapUpsertByExampleSelectiveElementGenerated(XmlElement element, List<IntrospectedColumn> columns, XmlElement insertColumnsEle, XmlElement insertValuesEle, XmlElement setsEle, IntrospectedTable introspectedTable) {

        // 替换insert column
        XmlElementTools.replaceXmlElement(insertColumnsEle, this.generateInsertColumnSelective(columns));

        // 替换insert values
        XmlElementTools.replaceXmlElement(insertValuesEle, this.generateInsertValuesSelective(columns, false));

        // 替换update set
        XmlElementTools.replaceXmlElement(setsEle, this.generateSetsSelective(columns));

        return true;
    }
@ Override public boolean sqlMapUpsertByExampleSelectiveElementGenerated ( XmlElement element , List < IntrospectedColumn > columns , XmlElement insertColumnsEle , XmlElement insertValuesEle , XmlElement setsEle , IntrospectedTable introspectedTable ) { // 替换insert column XmlElementTools . replaceXmlElement ( insertColumnsEle , this . generateInsertColumnSelective ( columns ) ) ; // 替换insert values XmlElementTools . replaceXmlElement ( insertValuesEle , this . generateInsertValuesSelective ( columns , false ) ) ; // 替换update set XmlElementTools . replaceXmlElement ( setsEle , this . generateSetsSelective ( columns ) ) ; return true ; }
upsertByExampleSelective xml
@param element
@param columns
@param insertColumnsEle
@param insertValuesEle
@param setsEle
@param introspectedTable
@return
upsertByExampleSelective xml