@@ -31,7 +31,7 @@ | |||||
</sql> | </sql> | ||||
<select id="findMouldIdList" parameterType="com.iformall.domain.po.sm.UserPersonMould" resultType="Long"> | <select id="findMouldIdList" parameterType="com.iformall.domain.po.sm.UserPersonMould" resultType="Long"> | ||||
select person_mould_id | |||||
select distinct person_mould_id | |||||
from user_person_mould | from user_person_mould | ||||
<if test=" null != userId "> | <if test=" null != userId "> | ||||
where c_user_id = #{userId} | where c_user_id = #{userId} | ||||
@@ -45,7 +45,7 @@ | |||||
</select> | </select> | ||||
<select id="findCUserIdList" parameterType="com.iformall.domain.po.sm.UserPersonMould" resultType="Long"> | <select id="findCUserIdList" parameterType="com.iformall.domain.po.sm.UserPersonMould" resultType="Long"> | ||||
select c_user_id | |||||
select distinct c_user_id | |||||
from user_person_mould | from user_person_mould | ||||
where person_mould_id = #{personMouldId} | where person_mould_id = #{personMouldId} | ||||
</select> | </select> | ||||
@@ -31,7 +31,7 @@ | |||||
</sql> | </sql> | ||||
<select id="findVoiceIdList" parameterType="com.iformall.domain.po.sm.UserVoiceLanguage" resultType="Long"> | <select id="findVoiceIdList" parameterType="com.iformall.domain.po.sm.UserVoiceLanguage" resultType="Long"> | ||||
select voice_language_id | |||||
select distinct voice_language_id | |||||
from user_voice_language | from user_voice_language | ||||
<if test=" null != userId "> | <if test=" null != userId "> | ||||
@@ -47,7 +47,7 @@ | |||||
</select> | </select> | ||||
<select id="findCUserIdList" parameterType="com.iformall.domain.po.sm.UserVoiceLanguage" resultType="Long"> | <select id="findCUserIdList" parameterType="com.iformall.domain.po.sm.UserVoiceLanguage" resultType="Long"> | ||||
select c_user_id | |||||
select distinct c_user_id | |||||
from user_voice_language | from user_voice_language | ||||
where voice_language_id = #{voiceLanguageId} | where voice_language_id = #{voiceLanguageId} | ||||
</select> | </select> | ||||