| | |
| | | |
| | | |
| | | <select id="selectCodeClstempattrPage" resultMap="CodeClstempattrResultMap"> |
| | | select * from PL_CODE_CLSTEMPATTR where is_deleted = 0 |
| | | select * from PL_CODE_CLSTEMPATTR where 1=1 |
| | | </select> |
| | | |
| | | <select id="selectByClassifytemplateoid" resultMap="CodeClstempattrResultMap"> |
| | | select * from PL_CODE_CLSTEMPATTR where classifytemplateoid in (${classifytemplateoid}) |
| | | </select> |
| | | |
| | | <select id="selectRefByOid" resultType="com.vci.ubcs.code.entity.CodeClstempattrEntity"> |
| | | select codeclstempattr0.EXPLAIN as explain, |
| | | codeclstempattr0.SAMEREPEATATTRFLAG as samerepeatattrflag, |
| | | codeclstempattr0.LASTMODIFIER as lastmodifier, |
| | | codeclstempattr0.ATTRTABLEWIDTH as attrtablewidth, |
| | | codeclstempattr0.CONTROLLENGTH as controllength, |
| | | codeclstempattr0.CLASSIFYTEMPLATEOID as classifytemplateoid, |
| | | codeclstempattr0.VERIFYRULE as verifyrule, |
| | | codeclstempattr0.ENUMNAME as enumname, |
| | | codeclstempattr0.TABLEDISPLAYFLAG as tabledisplayflag, |
| | | codeclstempattr0.PARENTQUERYATTR as parentqueryattr, |
| | | codeclstempattr0.ID as id, |
| | | codeclstempattr0.FILTERSOURCEATTRNAME as filtersourceattrname, |
| | | codeclstempattr0.VALUEAREA as valuearea, |
| | | codeclstempattr0.TABLEDISPLAYSTYLE as tabledisplaystyle, |
| | | codeclstempattr0.TABLEDISPLAYJS as tabledisplayjs, |
| | | codeclstempattr0.FORMDISPLAYFLAG as formdisplayflag, |
| | | codeclstempattr0.DEFAULTVALUE as defaultvalue, |
| | | codeclstempattr0.FORMHREF as formhref, |
| | | codeclstempattr0.BTMNAME as btmname, |
| | | codeclstempattr0.READONLYFLAG as readonlyflag, |
| | | codeclstempattr0.NAME as name, |
| | | codeclstempattr0.COMPONENTRULE as componentrule, |
| | | codeclstempattr0.SORTATTRFLAG as sortattrflag, |
| | | codeclstempattr0.REFERBTMNAME as referbtmname, |
| | | codeclstempattr0.ENUMID as enumid, |
| | | codeclstempattr0.FORMDISPLAYSTYLE as formdisplaystyle, |
| | | codeclstempattr0.SCALELENGTH as scalelength, |
| | | codeclstempattr0.PARENTNAME as parentname, |
| | | codeclstempattr0.PRECISIONLENGTH as precisionlength, |
| | | codeclstempattr0.PREFIXVALUE as prefixvalue, |
| | | codeclstempattr0.FILTERSOURCEATTR as filtersourceattr, |
| | | codeclstempattr0.TEXTAREAFLAG as textareaflag, |
| | | codeclstempattr0.BARCODEFLAG as barcodeflag, |
| | | codeclstempattr0.DESCRIPTION as description, |
| | | codeclstempattr0.KEYATTRFLAG as keyattrflag, |
| | | codeclstempattr0.QRCODEFLAG as qrcodeflag, |
| | | codeclstempattr0.OID as oid, |
| | | codeclstempattr0.CLASSIFYINVOKELEVEL as classifyinvokelevel, |
| | | codeclstempattr0.CLASSIFYINVOKEATTRNAME as classifyinvokeattrname, |
| | | codeclstempattr0.CLASSIFYINVOKEATTR as classifyinvokeattr, |
| | | codeclstempattr0.REFERBTMID as referbtmid, |
| | | codeclstempattr0.CLASSIFYINVOKEEDITFLAG as classifyinvokeeditflag, |
| | | codeclstempattr0.CODEDATEFORMAT as codedateformat, |
| | | codeclstempattr0.SENIORQUERYATTRFLAG as seniorqueryattrflag, |
| | | codeclstempattr0.OWNER as owner, |
| | | codeclstempattr0.ATTRIBUTEDATATYPE as attributedatatype, |
| | | codeclstempattr0.CREATOR as creator, |
| | | codeclstempattr0.CREATETIME as createtime, |
| | | codeclstempattr0.ENUMEDITFLAG as enumeditflag, |
| | | codeclstempattr0.ATTRIBUTEGROUP as attributegroup, |
| | | codeclstempattr0.PARENTCODE as parentcode, |
| | | codeclstempattr0.SUFFIXVALUE as suffixvalue, |
| | | codeclstempattr0.ORDERNUM as ordernum, |
| | | codeclstempattr0.REFERCONFIG as referconfig, |
| | | codeclstempattr0.REQUIREFLAG as requireflag, |
| | | codeclstempattr0.LIBRARYIDENTIFICATION as libraryidentification, |
| | | codeclstempattr0.ENUMSTRING as enumstring, |
| | | codeclstempattr0.IMAGEFLAG as imageflag, |
| | | codeclstempattr0.LASTMODIFYTIME as lastmodifytime, |
| | | codeclstempattr0.TABLEHREF as tablehref, |
| | | codeclstempattr0.QUERYATTRFLAG as queryattrflag, |
| | | codeclstempattr0.TS as ts, |
| | | classifytemplateoid.name as classifyTemplateOidName |
| | | from platformbtm_codeclstempattr codeclstempattr0 |
| | | left join platformbtm_codeclstemplate classifytemplateoid |
| | | <select id="selectRefByOid" resultMap="CodeClstempattrResultMap"> |
| | | select codeclstempattr0.OID as oid |
| | | from PL_CODE_CLSTEMPATTR codeclstempattr0 |
| | | left join PL_CODE_CLSTEMPLATE classifytemplateoid |
| | | on codeclstempattr0.classifyTemplateOid = classifytemplateoid.oid |
| | | where codeclstempattr0.classifytemplateoid = #{oid} |
| | | </select> |