yonge 2 years ago
parent
commit
e07048e7c9

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/OrganizationCourseUnitPriceSettingsMapper.xml

@@ -121,7 +121,7 @@
 		WHERE organ_id_ = #{organId} AND course_view_type_ = #{courseViewType, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 		GROUP BY course_type_
 	</select>
-	<select id="querySingle" resultType="com.ym.mec.biz.dal.entity.OrganizationCourseUnitPriceSettings">
+	<select id="querySingle" resultMap="OrganizationCourseUnitPriceSettings">
 		select * from organization_course_unit_price_settings
 		where organ_id_ = #{organId} and course_type_ = #{courseType}
 		<if test="tenantId != -1">