|
@@ -273,15 +273,17 @@ public class ReportingClubApi {
|
|
|
return ResponseJson.error("参数异常!", null);
|
|
|
}
|
|
|
for (String id : ids) {
|
|
|
- CmReportingClub cmReportingClubById = cmReportingClubService.getCmReportingClubById(id);
|
|
|
- if (null != cmReportingClubById && cmReportingClubById.orderStatus() == 1) {
|
|
|
- cmReportingClubService.updateCmReportingClub(new CmReportingClub()
|
|
|
- .id(id)
|
|
|
- .splitSettleStatus(3)
|
|
|
- .splitSettleTime(new Date())
|
|
|
- );
|
|
|
- } else {
|
|
|
- return ResponseJson.error("订单异常!", null);
|
|
|
+ if(StringUtils.isNotBlank(id)){
|
|
|
+ CmReportingClub cmReportingClubById = cmReportingClubService.getCmReportingClubById(id);
|
|
|
+ if (null != cmReportingClubById && cmReportingClubById.orderStatus() == 1) {
|
|
|
+ cmReportingClubService.updateCmReportingClub(new CmReportingClub()
|
|
|
+ .id(id)
|
|
|
+ .splitSettleStatus(3)
|
|
|
+ .splitSettleTime(new Date())
|
|
|
+ );
|
|
|
+ } else {
|
|
|
+ return ResponseJson.error("订单异常!", null);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return ResponseJson.success("确认成功!", null);
|