This commit is contained in:
shuo.wang
2025-04-14 18:07:53 +08:00
parent 86f3d359ad
commit 9fb39c20f8
3 changed files with 18 additions and 0 deletions

View File

@@ -185,5 +185,10 @@ public class LineInfoController {
public ResponseResult<Integer> updateLineRegion(@RequestParam("regionId")Long regionId,@RequestParam("lineId")Long lineId) {
return ResponseResult.success(lineService.updateRegionId(regionId,lineId));
}
@ApiOperation("判断是否有所属大区/分公司 0否 1是")
@GetMapping("/hasLineRegion")
public ResponseResult<Boolean> hasLineRegion(@RequestParam("lineId")Long lineId) {
return ResponseResult.success(lineService.hasRegionId(lineId));
}
}