对账更新
This commit is contained in:
parent
fa9ebdc484
commit
8a9a04733f
|
@ -16,18 +16,18 @@ import org.springframework.stereotype.Component;
|
|||
@Data
|
||||
public class AliConfig {
|
||||
|
||||
@Value("${ali.appId}")
|
||||
private String appId;
|
||||
|
||||
@Value("${ali.privateKey}")
|
||||
private String privateKey;
|
||||
|
||||
@Bean
|
||||
public AlipayConfig alipayConfig() {
|
||||
AlipayConfig config = new AlipayConfig();
|
||||
config.setAppId(appId);
|
||||
config.setPrivateKey(privateKey);
|
||||
|
||||
return config;
|
||||
}
|
||||
// @Value("${ali.appId}")
|
||||
// private String appId;
|
||||
//
|
||||
// @Value("${ali.privateKey}")
|
||||
// private String privateKey;
|
||||
//
|
||||
// @Bean
|
||||
// public AlipayConfig alipayConfig() {
|
||||
// AlipayConfig config = new AlipayConfig();
|
||||
// config.setAppId(appId);
|
||||
// config.setPrivateKey(privateKey);
|
||||
//
|
||||
// return config;
|
||||
// }
|
||||
}
|
||||
|
|
|
@ -20,4 +20,8 @@ public class BillDailyAmountQuery {
|
|||
@ApiModelProperty("日期(结束)")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate dateEnd;
|
||||
|
||||
@ApiModelProperty("渠道ID")
|
||||
private Long channelId;
|
||||
|
||||
}
|
||||
|
|
|
@ -162,12 +162,14 @@ public class SmDashboardController extends BaseController {
|
|||
payQuery.setPayDateStart(query.getDateStart());
|
||||
payQuery.setPayDateEnd(query.getDateEnd());
|
||||
payQuery.setStatusList(PayBillStatus.payedList());
|
||||
payQuery.setChannelId(query.getChannelId());
|
||||
List<LocalDateDecimalVO> payList = payBillService.selectDailyAmount(payQuery);
|
||||
|
||||
RefundQuery refundQuery = new RefundQuery();
|
||||
refundQuery.setCreateDateStart(query.getDateStart());
|
||||
refundQuery.setCreateDateEnd(query.getDateEnd());
|
||||
refundQuery.setStatusList(RefundStatus.successList());
|
||||
refundQuery.setChannelId(query.getChannelId());
|
||||
List<LocalDateDecimalVO> refundList = refundService.selectDailyAmount(refundQuery);
|
||||
|
||||
List<PayDailyAmountVO> list = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue
Block a user