mapper代码
List<X2DRetailEntity> getAppletBWareOrderByDepotId(@Param("allDepotId") List<String> allDepotId,@Param("selectField") String selectField);
xml代码
<select id="getAppletBWareOrderByDepotId" resultType="com.ellassay.x2.sync.entity.X2DRetailEntity">
select ${selectField} from X6_BILLS_GLS.D_RETAIL where setdepot_id in
<foreach collection="allDepotId" item="ids" open="(" separator="," close=")">
#{ids}
</foreach>
and setdepot_id = original_depot_id and bills_tag IS NOT NULL
</select>
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。