|
@@ -245,4 +245,11 @@
|
|
|
<select id="selectChildNo" resultType="com.yc.ship.module.ota.dal.dataobject.distributor.DistributorDO">
|
|
<select id="selectChildNo" resultType="com.yc.ship.module.ota.dal.dataobject.distributor.DistributorDO">
|
|
|
select * from ota_distributor where deleted = 0 and is_use = 1 and cmb_short_no is not null
|
|
select * from ota_distributor where deleted = 0 and is_use = 1 and cmb_short_no is not null
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <select id="selectListByGroupUserId" resultType="com.yc.ship.module.ota.dal.dataobject.distributor.DistributorDO">
|
|
|
|
|
+ select d.* from ota_distributor d
|
|
|
|
|
+ inner join ota_distributor_category dc on dc.id = d.ota_category_id
|
|
|
|
|
+ where d.deleted = 0 and d.is_use = 1 and d.cmb_short_no is not null and dc.deleted = 0 and dc.user_id = #{userId}
|
|
|
|
|
+ </select>
|
|
|
</mapper>
|
|
</mapper>
|