对比新文件 |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodePhaseAttrMapper"> |
| | | |
| | | <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 --> |
| | | <resultMap id="CodePhaseattrResultMap" type="com.vci.ubcs.code.entity.CodePhaseAttr"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionOid"/> |
| | | <result column="NAMEOID" property="nameOid"/> |
| | | <result column="BTMNAME" property="btmname"/> |
| | | <result column="LASTR" property="lastR"/> |
| | | <result column="FIRSTR" property="firstR"/> |
| | | <result column="LASTV" property="lastV"/> |
| | | <result column="FIRSTV" property="firstV"/> |
| | | <result column="CREATOR" property="creator"/> |
| | | <result column="CREATETIME" property="createTime"/> |
| | | <result column="LASTMODIFIER" property="lastModifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastModifyTime"/> |
| | | <result column="REVISIONRULE" property="revisionRule"/> |
| | | <result column="VERSIONRULE" property="versionRule"/> |
| | | <result column="REVISIONSEQ" property="revisionSeq"/> |
| | | <result column="REVISIONVALUE" property="revisionValue"/> |
| | | <result column="VERSIONSEQ" property="versionSeq"/> |
| | | <result column="VERSIONVALUE" property="versionValue"/> |
| | | <result column="LCTID" property="lctid"/> |
| | | <result column="LCSTATUS" property="lcStatus"/> |
| | | <result column="TS" property="ts"/> |
| | | <result column="ID" property="id"/> |
| | | <result column="NAME" property="name"/> |
| | | <result column="DESCRIPTION" property="description"/> |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyFromVersion"/> |
| | | <result column="CODEPHASEOID" property="codePhaseOid"/> |
| | | <result column="ATTRIBUTEGROUP" property="attributegroup"/> |
| | | </resultMap> |
| | | |
| | | <select id="selectCodePhaseattrPage" resultMap="CodePhaseattrResultMap"> |
| | | select * from PL_CODE_PHASEATTR where is_deleted = 0 |
| | | </select> |
| | | |
| | | <select id="selectByPhasea" resultMap="CodePhaseattrResultMap"> |
| | | 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 |
| | | (select oid |
| | | from PL_CODE_TEMPPHASE |
| | | where codeClassifyTemplateOid = #{oid}) |
| | | </select> |
| | | |
| | | <select id="selectByPhaseaIds" resultMap="CodePhaseattrResultMap"> |
| | | 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" resultMap="CodePhaseattrResultMap"> |
| | | |
| | | 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> |