mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
mapper缺少SQL增加
This commit is contained in:
+1
@@ -74,4 +74,5 @@ public interface PlanItemMapper extends BaseMapperX<PlanItemDO> {
|
||||
.select(PlanItemDO::getPlanId));
|
||||
}
|
||||
|
||||
List<Long> selectOrderPlateList(@Param("orderIds") List<Long> orderIds,@Param("organId") Long organId);
|
||||
}
|
||||
+18
@@ -399,4 +399,22 @@
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectOrderPlateList" resultType="java.lang.Long">
|
||||
|
||||
|
||||
select distinct
|
||||
order_id
|
||||
from order_plan_item
|
||||
|
||||
where organ_id = #{organId}
|
||||
and order_id in
|
||||
<foreach collection="orderIds" item="orderIds" open="(" close=")" separator=",">
|
||||
#{orderIds}
|
||||
</foreach>
|
||||
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user