yonge преди 2 години
родител
ревизия
e07048e7c9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/OrganizationCourseUnitPriceSettingsMapper.xml

+ 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">