推广管理零售公司

master
Caps 6 years ago
parent e9ff3ded10
commit ad963c4bcb

@ -21,4 +21,6 @@ public interface PrivilageCpUserStoreDOMapper extends BaseMapper<PrivilageCpUser
Long selectOneByCpUserId(String cpuserId);
String selectCpUserIdByStoreId(Long storeId);
PrivilageCpUserStoreDO selectOneCpUser(String cpUser);
}

@ -34,5 +34,10 @@
and pcus.store_id = #{storeId}
limit 1
</select>
<select id="selectOneCpUser" resultType="com.kiisoo.ic.store.entity.PrivilageCpUserStoreDO">
select t2.* from privilage_cp_user t1,privilage_cp_user_store t2
where t1.id = t2.cp_user_id
and t1.cp_user_id = #{cpUser}
</select>
</mapper>

Loading…
Cancel
Save