| | |
| | | private ReceiveMsgService receiveMsgService; |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @date 2025/8/19 |
| | | * @author Munch D. Luffy |
| | | * @date 2026/3/18 |
| | | * @description: 物料信息同步 |
| | | * @version 1.0 |
| | | * @version 1.1 |
| | | */ |
| | | @ApiOperation(value = "基础物料信息同步") |
| | | @PostMapping("/sync/base/matnrs") |
| | |
| | | } |
| | | receiveMsgService.syncMatnrs(matnrs); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation("基础物料信息更新") |
| | | @PostMapping("/mat/sync/auth/v1") |
| | | public R matUpdate(@RequestBody BaseMatParms baseMatParms) { |
| | | if (Objects.isNull(baseMatParms)) { |
| | | return R.error("参数不能为空!"); |
| | | } |
| | | |
| | | return receiveMsgService.matUpdate(baseMatParms); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | |
| | | } |
| | | |