mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 03:09:48 +08:00
Merge branch 'dev' of https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web into dev
This commit is contained in:
@@ -35,5 +35,7 @@ public interface AdapayUnsplitRecordMapper {
|
||||
|
||||
List<AdapayUnsplitRecord> queryUnsplitOrders(@Param("startTime") String startTime, @Param("endTime") String endTime);
|
||||
|
||||
List<AdapayUnsplitRecord> selectByPaymentIds(@Param("list") List<String> paymentIds);
|
||||
|
||||
List<AdapayUnsplitRecordVO> queryList();
|
||||
}
|
||||
@@ -32,5 +32,7 @@ public interface AdapayUnsplitRecordService{
|
||||
|
||||
List<AdapayUnsplitRecord> queryUnsplitOrders(String startTime, String endTime);
|
||||
|
||||
List<AdapayUnsplitRecord> selectByPaymentIds(List<String> paymentIds);
|
||||
|
||||
List<AdapayUnsplitRecordVO> queryList();
|
||||
}
|
||||
|
||||
@@ -79,6 +79,14 @@ public class AdapayUnsplitRecordServiceImpl implements AdapayUnsplitRecordServic
|
||||
return adapayUnsplitRecordMapper.queryUnsplitOrders(startTime, endTime);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AdapayUnsplitRecord> selectByPaymentIds(List<String> paymentIds) {
|
||||
if (paymentIds == null || paymentIds.isEmpty()) {
|
||||
return java.util.Collections.emptyList();
|
||||
}
|
||||
return adapayUnsplitRecordMapper.selectByPaymentIds(paymentIds);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AdapayUnsplitRecordVO> queryList() {
|
||||
return adapayUnsplitRecordMapper.queryList();
|
||||
|
||||
@@ -733,6 +733,16 @@
|
||||
<!--and order_code like 'C%'-->
|
||||
</select>
|
||||
|
||||
<select id="selectByPaymentIds" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from adapay_unsplit_record
|
||||
where payment_id in
|
||||
<foreach close=")" collection="list" item="item" open="(" separator=",">
|
||||
#{item,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="queryList" resultType="com.jsowell.pile.vo.AdapayUnsplitRecordVO">
|
||||
SELECT
|
||||
order_code as orderCode,
|
||||
|
||||
Reference in New Issue
Block a user