优化落库功能
This commit is contained in:
+2
-1
@@ -224,7 +224,7 @@ public class TabOrderMonitorController extends BaseController
|
||||
@PostMapping("/syncByFilter")
|
||||
public AjaxResult syncByFilter(@RequestBody TabOrderMonitorQuery query)
|
||||
{
|
||||
// 与列表查询同口径:有单号即可同步;无单号时必须客户 + 提货时间
|
||||
// Upstream field overwrite only (no billing). Same filters as list query.
|
||||
if (!hasListFilters(query))
|
||||
{
|
||||
return error("orderIdentifiers or (customer and pickup time) required");
|
||||
@@ -257,6 +257,7 @@ public class TabOrderMonitorController extends BaseController
|
||||
return success(task);
|
||||
}
|
||||
|
||||
/** Selected rows: overwrite local bill fields from Oracle; does not quote/rebill. */
|
||||
@PreAuthorize("@ss.hasPermi('monitor:orderSource:sync') or @ss.hasPermi('price:orderBill:rebill')")
|
||||
@Log(title = "order source sync selected", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/sync")
|
||||
|
||||
Reference in New Issue
Block a user