mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-12 11:19:52 +08:00
update
This commit is contained in:
@@ -38,4 +38,6 @@ public interface AdapayUnsplitRecordMapper {
|
||||
List<AdapayUnsplitRecord> selectByPaymentIds(@Param("list") List<String> paymentIds);
|
||||
|
||||
List<AdapayUnsplitRecordVO> queryList();
|
||||
|
||||
List<AdapayUnsplitRecord> queryFailedList(@Param("startTime") String startTime, @Param("endTime") String endTime);
|
||||
}
|
||||
@@ -35,4 +35,6 @@ public interface AdapayUnsplitRecordService{
|
||||
List<AdapayUnsplitRecord> selectByPaymentIds(List<String> paymentIds);
|
||||
|
||||
List<AdapayUnsplitRecordVO> queryList();
|
||||
|
||||
List<AdapayUnsplitRecord> queryFailedList(String startTime, String endTime);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.jsowell.pile.vo.AdapayUnsplitRecordVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
@Service
|
||||
public class AdapayUnsplitRecordServiceImpl implements AdapayUnsplitRecordService{
|
||||
@@ -92,4 +93,9 @@ public class AdapayUnsplitRecordServiceImpl implements AdapayUnsplitRecordServic
|
||||
return adapayUnsplitRecordMapper.queryList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AdapayUnsplitRecord> queryFailedList(String startTime, String endTime) {
|
||||
return adapayUnsplitRecordMapper.queryFailedList(startTime, endTime);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -761,4 +761,10 @@
|
||||
refund_flag IS NULL OR split_flag IS NULL
|
||||
order by pay_time
|
||||
</select>
|
||||
|
||||
<select id="queryFailedList" resultMap="BaseResultMap">
|
||||
select * from adapay_unsplit_record
|
||||
where pay_time >= #{startTime} and pay_time <= #{endTime}
|
||||
and (refund_flag = 'FAILED' or split_flag = 'FAILED')
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user