amework.framework-persistence-jdbc.4.1.1806.source-code.ExtendedSqlMap.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework-persistence-jdbc Show documentation
Show all versions of framework-persistence-jdbc Show documentation
定义了一组和core兼容的表结构,并用先腾jdbc实现了表的增删改查
<?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