ludc
2023-11-08 fb4762049abdca953db1ed4528d128dd8d887710
Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CommonsMapper.xml
@@ -17,6 +17,10 @@
        ${inSql}
    </select>
    <select id="selectCountByTableName" resultType="java.lang.String">
        select COUNT(*) FROM ${tableName}
    </select>
    <select id="selectBySql" resultType="java.util.Map">
        ${inSql}
    </select>
@@ -82,4 +86,13 @@
        where nameoid = #{nameoid}
    </select>
    <select id="getCurrentRevision" resultType="map" >
        select max(revisionSeq) revisionSeq,
               max(RevisionValue) revisionVal,
               max(VersionSeq) VersionSeq,
               max(VersionValue) VersionVal
        from ${tableName}
        where nameoid = #{nameoid}
    </select>
</mapper>