|
@@ -157,9 +157,17 @@ public class DzCardsController extends BaseController
|
|
|
return AjaxResult.success(dzCardsService.openCard(schoolId, agentId, begin, end));
|
|
return AjaxResult.success(dzCardsService.openCard(schoolId, agentId, begin, end));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @Log(title = "分配校区", businessType = BusinessType.INSERT)
|
|
|
|
|
+ @PostMapping("/changeCampus")
|
|
|
|
|
+ @ApiOperation("分配校区")
|
|
|
|
|
+ public AjaxResult changeCampus(@ApiParam("校区") Long campusId, @ApiParam("开始号") String begin, @ApiParam("结束号") String end)
|
|
|
|
|
+ {
|
|
|
|
|
+ return AjaxResult.success(dzCardsService.changeCampus(campusId, begin, end));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@Log(title = "申请开卡", businessType = BusinessType.INSERT)
|
|
@Log(title = "申请开卡", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/requestOpenCard")
|
|
@PostMapping("/requestOpenCard")
|
|
|
- @ApiOperation("分配卡")
|
|
|
|
|
|
|
+ @ApiOperation("申请开卡")
|
|
|
public AjaxResult requestOpenCard(@ApiParam("学校") Long schoolId, @ApiParam("开始号") String begin, @ApiParam("结束号") String end)
|
|
public AjaxResult requestOpenCard(@ApiParam("学校") Long schoolId, @ApiParam("开始号") String begin, @ApiParam("结束号") String end)
|
|
|
{
|
|
{
|
|
|
Long agentId = SecurityUtils.getLoginUser().getUser().getUserTypeId();
|
|
Long agentId = SecurityUtils.getLoginUser().getUser().getUserTypeId();
|