| | |
| | | * @param DetailList 有效的套餐 |
| | | * @return |
| | | */ |
| | | List<ConsumptionRecord> findDetailList(@Param("DetailList") List<Long> DetailList); |
| | | List<ConsumptionRecord> findDetailList(@Param("p") List<Long> DetailList); |
| | | } |
| | |
| | | where record_type=1 |
| | | and update_time is null |
| | | <where> |
| | | <if test="DetailList!=null and DetailList.size()>0"> |
| | | <if test="p!=null and p.size()>0"> |
| | | and pro_order_detail_id in |
| | | <foreach item="item" index="index" collection="DetailList" open="(" close=")" separator=","> |
| | | <foreach item="item" index="index" collection="p" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |