1
This commit is contained in:
@@ -64,6 +64,30 @@ public class ErpGoofishOrderController extends BaseController {
|
||||
return AjaxResult.success(data);
|
||||
}
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:erpGoofishOrder:edit')")
|
||||
@Log(title = "闲管家历史全量拉单", businessType = BusinessType.OTHER)
|
||||
@PostMapping("/pull/{appKey}/full")
|
||||
public AjaxResult pullOneFull(@PathVariable String appKey) {
|
||||
int n = erpGoofishOrderService.pullOrdersForAppKeyFullHistory(appKey);
|
||||
Map<String, Object> data = new LinkedHashMap<>();
|
||||
data.put("processedItems", n);
|
||||
data.put("pullFullHistoryDays", goofishProperties.getPullFullHistoryDays());
|
||||
data.put("pullTimeChunkSeconds", goofishProperties.getPullTimeChunkSeconds());
|
||||
return AjaxResult.success(data);
|
||||
}
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:erpGoofishOrder:edit')")
|
||||
@Log(title = "闲管家全账号历史全量拉单", businessType = BusinessType.OTHER)
|
||||
@PostMapping("/pullAll/full")
|
||||
public AjaxResult pullAllFull() {
|
||||
int n = erpGoofishOrderService.pullAllEnabledFullHistory();
|
||||
Map<String, Object> data = new LinkedHashMap<>();
|
||||
data.put("processedItems", n);
|
||||
data.put("pullFullHistoryDays", goofishProperties.getPullFullHistoryDays());
|
||||
data.put("pullTimeChunkSeconds", goofishProperties.getPullTimeChunkSeconds());
|
||||
return AjaxResult.success(data);
|
||||
}
|
||||
|
||||
@PreAuthorize("@ss.hasPermi('jarvis:erpGoofishOrder:edit')")
|
||||
@Log(title = "闲管家订单详情刷新", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/refreshDetail/{id}")
|
||||
|
||||
Reference in New Issue
Block a user