Browse Source

fix

photo
winter 1 year ago
parent
commit
d73f85434f
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      suimangService/src/main/resources/mapper/UserPersonMouldMapper.xml
  2. +2
    -2
      suimangService/src/main/resources/mapper/UserVoiceLanguageMapper.xml

+ 2
- 2
suimangService/src/main/resources/mapper/UserPersonMouldMapper.xml View File

@@ -31,7 +31,7 @@
</sql>

<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
<if test=" null != userId ">
where c_user_id = #{userId}
@@ -45,7 +45,7 @@
</select>
<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
where person_mould_id = #{personMouldId}
</select>


+ 2
- 2
suimangService/src/main/resources/mapper/UserVoiceLanguageMapper.xml View File

@@ -31,7 +31,7 @@
</sql>

<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
<if test=" null != userId ">
@@ -47,7 +47,7 @@
</select>
<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
where voice_language_id = #{voiceLanguageId}
</select>


Loading…
Cancel
Save