|
@@ -26,7 +26,6 @@
|
|
|
<result column="status_" jdbcType="TINYINT" property="status"/>
|
|
|
<result column="certificate_type_" property="certificateType"/>
|
|
|
<result column="tenant_id_" property="tenantId" />
|
|
|
- <result column="type_" property="type" />
|
|
|
<result column="type_" property="type" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
|
</resultMap>
|
|
|
|
|
@@ -341,4 +340,11 @@
|
|
|
<select id="findByByOrderId" resultMap="DegreeRegistration">
|
|
|
SELECT * FROM degree_registration WHERE order_no_ = #{orderNo}
|
|
|
</select>
|
|
|
+
|
|
|
+ <select id="selectByDegreeId" resultMap="DegreeRegistration">
|
|
|
+ SELECT *
|
|
|
+ FROM degree_registration
|
|
|
+ WHERE degree_id_ = #{degreeId}
|
|
|
+ AND status_ = 1
|
|
|
+ </select>
|
|
|
</mapper>
|