| | |
| | | |
| | | <select id="selectPlCodeClassifyPage" resultMap="plCodeClassifyResultMap"> |
| | | select * from PL_CODE_CLASSIFY where is_deleted = 0 |
| | | <if test="tenantId != null and tenantId != ''"> |
| | | and tenant_id = #{tenantId} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectAllLevelChildOid" resultType="java.util.HashMap"> |
| | |
| | | codeclassify0.tenant_id = #{tenantId} |
| | | </if> |
| | | </where> |
| | | order by id asc |
| | | order by lastmodifytime asc |
| | | </select> |
| | | |
| | | <select id="selectAllLevelChildHasPath" resultMap="plCodeClassifyResultMap"> |
| | |
| | | <if test="tenantId != null and tenantId != ''"> |
| | | and codeclassify0.tenant_id = #{tenantId} |
| | | </if> |
| | | order by id asc |
| | | order by lastmodifytime desc |
| | | </select> |
| | | |
| | | <select id="selectClassifyByKeyAndReseRel" resultMap="plCodeClassifyResultMap"> |
| | |
| | | </if> |
| | | |
| | | <if test="tenantId != null and tenantId != ''"> |
| | | codeclassify0.tenant_id = #{tenantId} |
| | | and codeclassify0.tenant_id = #{tenantId} |
| | | </if> |
| | | order by id asc |
| | | </select> |