Source/UBCS/ubcs-service/ubcs-code/src/main/resources/mapper/CodePhaseattrMapper.xml
@@ -70,12 +70,87 @@
               checkintime,
               codephaseoid,
               isfirstr
        from platformbtm_codephaseattr
        from PL_CODE_PHASEATTR
        where codephaseoid in
              (select oid
               from platformbtm_codetempphase
               from PL_CODE_TEMPPHASE
               where codeClassifyTemplateOid = #{oid})
    </select>
    <select id="selectByPhaseaIds" resultType="com.vci.ubcs.code.entity.CodePhaseattrEntity">
        select lastmodifier,
               revisionseq,
               versionvalue,
               description,
               oid,
               versionseq,
               checkinby,
               revisionrule,
               lctid,
               id,
               owner,
               checkoutby,
               creator,
               createtime,
               isfirstv,
               attributegroup,
               revisionoid,
               btmname,
               checkouttime,
               revisionvalue,
               versionrule,
               name,
               islastr,
               lastmodifytime,
               copyfromversion,
               nameoid,
               lcstatus,
               islastv,
               checkintime,
               codephaseoid,
               isfirstr
        from PL_CODE_PHASEATTR
        where codephaseoid in
              (#{oids})
    </select>
    <select id="listLinkAttrDOByTemplateAttrDOS" resultType="com.vci.ubcs.code.entity.CodePhaseattrEntity">
        SELECT lastmodifier,
               revisionseq,
               versionvalue,
               description,
               oid,
               versionseq, /*checkinby,*/
               revisionrule,
               lctid,
               id,
               owner, /*checkoutby, */
               creator,
               createtime, /*is*/
               firstv,
               attributegroup,
               revisionoid,
               btmname, /*checkouttime,*/
               revisionvalue,
               versionrule,
               name, /*is*/
               lastr,
               lastmodifytime,
               copyfromversion,
               nameoid,
               lcstatus, /*is*/
               lastv, /*checkintime,*/
               codephaseoid,
            /*is*/
               firstr,
               ts
        FROM PL_CODE_PHASEATTR
            where ID IN (#{id})
          AND codephaseoid in
              (select oid
               from PL_CODE_TEMPPHASE
               where codeClassifyTemplateOid =#{codeClassifyTemplateOid})
    </select>
</mapper>