All Downloads are FREE. Search and download functionalities are using the official Maven repository.

amework.framework-persistence-jdbc.4.2.1809.source-code.ExtendedSqlMap.xml Maven / Gradle / Ivy

Go to download

定义了一组和core兼容的表结构,并用先腾jdbc实现了表的增删改查

There is a newer version: 4.4.1812
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap [
        <!ELEMENT sqlMap (sql*)>
        <!ELEMENT sql (#PCDATA)>
        <!ATTLIST sql id  CDATA #REQUIRED>
        ]>
<sqlMap>
    <sql id="QUERY_ID_TEST1">
        <![CDATA[select a.userCode,a.uintCode,b.projectID,
				b.name as projectName,b.projectType,b.totalPoeples
				from projectInfo b join projectOwner a  on a.projectID=b.projectID
				 [companyType | join CompanyInfo c on b.companyId=c.companyId]
				where 1=1 {projectOwner:a,projectInfo:b}
				[projectType:pt| and b.projectType=:pt]
				[:companyType,:companyName | and
				 	 c.companyType=:companyType and c.companyName like :companyName]
				 order by b.name ]]>
    </sql>
</sqlMap>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy