|
|
@@ -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> |
|
|
|