<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOGICNAME`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID ) t1 where entityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXTPARAMS`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID ) t1 where entityid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.CODENAME, t1.DSID, t21.DSNAME, t1.ENTITYID, t1.ENTITYNAME, t1.EXTPARAMS, t1.LOGICNAME, t1.MODULEID, t31.MODULENAME, t1.SHOWORDER, t1.SYSTEMID, t11.PSSYSTEMNAME AS SYSTEMNAME, t1.TABLENAME FROM IBZENTITY t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID ) t1 where entityid=#{id}]]>
...
...
@@ -63,7 +63,7 @@
<!--数据查询[Default]-->
<sqlid="Default"databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOGICNAME`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID
<![CDATA[ SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID
]]>
</sql>
<!--数据查询[Default]-->
...
...
@@ -78,7 +78,7 @@
</sql>
<!--数据查询[View]-->
<sqlid="View"databaseId="mysql">
<![CDATA[ SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`LOGICNAME`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID
<![CDATA[ SELECT t1.`CODENAME`, t1.`DSID`, t21.`DSNAME`, t1.`ENTITYID`, t1.`ENTITYNAME`, t1.`EXTPARAMS`, t1.`LOGICNAME`, t1.`MODULEID`, t31.`MODULENAME`, t1.`SHOWORDER`, t1.`SYSTEMID`, t11.`PSSYSTEMNAME` AS `SYSTEMNAME`, t1.`TABLENAME` FROM `IBZENTITY` t1 LEFT JOIN IBZPSSYSTEM t11 ON t1.SYSTEMID = t11.PSSYSTEMID LEFT JOIN IBZDATASOURCE t21 ON t1.DSID = t21.DSID LEFT JOIN IBZMODULE t31 ON t1.MODULEID = t31.MODULEID