同步计费优化
This commit is contained in:
+3
-2
@@ -136,9 +136,10 @@ public class TabOrderMonitorController extends BaseController
|
||||
@PostMapping("/syncByFilter")
|
||||
public AjaxResult syncByFilter(@RequestBody TabOrderMonitorQuery query)
|
||||
{
|
||||
if (!hasRequiredFilters(query))
|
||||
// 与列表查询同口径:有单号即可同步;无单号时必须客户 + 提货时间
|
||||
if (!hasListFilters(query))
|
||||
{
|
||||
return error("customerCodes and pickup time required");
|
||||
return error("orderIdentifiers or (customer and pickup time) required");
|
||||
}
|
||||
customerKeywordResolver.resolve(query);
|
||||
// 含大批量单号时,异步任务启动时会自行分批收集,这里不预先 count,避免重复全量扫描
|
||||
|
||||
Reference in New Issue
Block a user